| Summary: | mate-utils desktop files unnecessarily block usage outside the mate desktop | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | andré blais <andr999> |
| Component: | RPM Packages | Assignee: | Atilla ÖNTAŞ <tarakbumba> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | doktor5000, loginov_alex, mageia, tarakbumba |
| Version: | 4 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | mate-utils-1.6.1-1.mga4.src.rpm | CVE: | |
| Status comment: | |||
|
Description
andré blais
2015-03-14 00:30:06 CET
OnlyShowIn=MATE; key is there for a logical purpose. Without it, as you suggested; they will show up and mess all unneeded desktops. Say KDE or GNOME. So, we need that they not mess up these DE's menus. So, before any changes to those desktop files, we need to ensure that they' re needed for other desktops. Adding Xfce, Lxde and LxQt maintainers to Cc. CC:
(none) =>
doktor5000, jani.valimaa, loginov_alex, tarakbumba (In reply to Atilla ÃNTAÅ from comment #1) > OnlyShowIn=MATE; key is there for a logical purpose. Without it, as you > suggested; they will show up and mess all unneeded desktops. Say KDE or > GNOME. So, we need that they not mess up these DE's menus. So, before any > changes to those desktop files, we need to ensure that they' re needed for > other desktops. Adding Xfce, Lxde and LxQt maintainers to Cc. Not at all. If the users of other desktops don't want these apps, they wouldn't install the package. If they don't expressly install the package, then they need to install task-mate-minimal, which suggests that they want a number of mate packages. If having installed task-mate-minimal, they don't want to see any particular mate package in their menu, they just have to check a box in their menu editor. Or uninstall the mate packages that they chose to install. The only advantage of a "ShowOnlyIn=MATE" line would be if a particular user has several desktops installed, and wants to see only Mate sometimes, and only another desktop at other times. This line precludes freely mixing apps from different desktops. Which is why most .desktop files don't have such lines. So the question is not if they are NEEDED for other desktops, but rather if you want to BLOCK users of other desktops from choosing to use some Mate packages. In my case, I'm choosing (for the moment) to use the XFCE desktop for some features I like better (like the panel), but at the same time using certain Mate packages that I appreciate more. (e.g. caja, pluma, and this package). No, users aren't blocked. Everybody, including you, can launch them from a terminal or create a launcher. This is not a big deal. They' re intended to be used for Mate Desktop and designed by upstream so. There is no real benefit to remove "ShowOnlyIn" key from those apps desktop files. (In reply to Atilla ÃNTAÅ from comment #3) > No, users aren't blocked. Everybody, including you, can launch them from a > terminal or create a launcher. This is not a big deal. They' re intended to > be used for Mate Desktop and designed by upstream so. There is no real > benefit to remove "ShowOnlyIn" key from those apps desktop files. My point was that if a user installs the package, the contained apps do not appear in the menu. If you don't think that is a problem, why bother creating desktop files for mate packages ? After all, as you say, "everybody, including you, can launch them from a terminal or create a launcher. This is not a big deal." Don't forget that most users use the menu rather than the command line, at least almost all the time. We are NOT typical users. The benefit of NOT putting the "ShowOnlyIn" line in the desktop files is that a user of another desktop who chooses to install them will see them in the menu, as they would expect. And maybe if they like the mate packages enough, they might switch to the mate desktop. What is the point of discouraging the use of mate packages ? If anything, wouldn't you want to encourage such use ? Try taking a look at other .desktop files. You will find that very few use the "OnlyShowIn" line.
Jani Välimaa
2015-05-21 19:34:00 CEST
CC:
jani.valimaa =>
(none) -1- I would start by saying that the ShowOnlyIn= is added by default by Mate devs.. -2- for "If the users of other desktops don't want these apps, they wouldn't install the package." i just can't agree, for ex here we are 2 users, me on KDE and the other on Mate. I don't want apps of an other DE to pollute my menu and i don't see the need to use apps dedicated to an other DE on mine. For ex i don't think you want to see systemsettings on your Mate This is just my POV but i wanted to express it :) CC:
(none) =>
mageia (In reply to andré blais from comment #4) > Try taking a look at other .desktop files. You will find that very few use > the "OnlyShowIn" line. That's subjective. Quite a lot use either NotShowIn or OnlyShowIn. On a casual installation, including XFCE, LXDE, lXQT, Cinnamon, Mate and GNOME: ââ[doktor5000@Mageia5]â[21:58:44]â[~] ââââ¼ grep -i showin /usr/share/applications/*desktop | wc -l 107 The only valid use case I see for such a setting is with NotShowIn to explicitly list other desktops where a similar tools exists for the same purpose (e.g. a polkit agent or similar). I'm closing this one, as this problem does not only apply for MATE but all desktop files and we should consider a general resolution, and not edit each and every desktop file. Status:
NEW =>
RESOLVED |