[opensuse-gnome] Fwd: Re: [opensuse-packaging] Shared applications.menu... or not
Hi,
I'm leaning towards using gnome-applications.menu and switching soon.
It's just a single line in /usr/bin/gnome:
export XDG_MENU_PREFIX=gnome-
It'd be great if people could test it on their machines, and shout out
loud if there's any issue with the structure of the applications menu.
Thanks,
Vincent
----- Forwarded message from Vincent Untz
* Vincent Untz
[2010-06-04 20:10]: Where can I see the menu from LXDE?
It's in lxmenu-data.
It turns out it's based on the one from GNOME, and it's still highly similar to the GNOME one. The two differences I can see is that there are some tweaks in how categories are used (with some <Not> that were added) and that you put the prefs/administration stuff in the same menu file, while in GNOME we used a different one (settings.menu). Else, it's the same thing. So if we choose to use gnome-applications.menu for GNOME, this would actually work pretty well with what you're using in LXDE -- even if we don't share the same applications.menu. Of course, an alternative is to change the applications.menu shipped in desktop-data-openSUSE to look like ours; but that'd mean getting agreement from KDE.
We should simply not change the categories in our spec files and make the changes upstream instead; else, we'll diverge in a way that can easily break our menus later.
Well, depends on the quality of the upstream desktop-files which varies, you might need to push changes upstream.
Sure. And that's my point: we should not change categories downstream without pushing the change upstream. Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org ----- End forwarded message ----- -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
-----Original Message----- From: Vincent Untz [mailto:vuntz@opensuse.org] Sent: Thursday, June 10, 2010 12:11 PM To: The Wonderful GNOME Monkeys Subject: [opensuse-gnome] Fwd: Re: [opensuse-packaging] Shared applications.menu... or not
Hi,
I'm leaning towards using gnome-applications.menu and switching soon. It's just a single line in /usr/bin/gnome:
export XDG_MENU_PREFIX=gnome-
It'd be great if people could test it on their machines, and shout out loud if there's any issue with the structure of the applications menu.
Thanks,
Vincent
Don´t worry, we´ll take a look ;-) -- S pozdravom / Best regards, Rasto -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
On Thu, 2010-06-10 at 12:11 +0200, Vincent Untz wrote:
Hi,
I'm leaning towards using gnome-applications.menu and switching soon. It's just a single line in /usr/bin/gnome:
export XDG_MENU_PREFIX=gnome-
Would this not create a really messy menu if people also have KDE installed, but are using GNOME? Anyway, I was trying out this menu structure on a Gnome-only 11.3 M7 system, and the menu definitely looks much better here. The duplications from the gnome-control-centre are mostly gone and that means less items in the System category as well. There is now a new category "Accessories". So everything looks okay right now, except that there are four items in a group called "Others" that might require fixing:- 1. Liferea [should be in the "Internet" category] 2. Install/Remove software [this can be hopefully just black-listed from the menu as it also appears in the menu itself as well as in the control-centre] 3. Linux 32-bit terminal 4. Manage Printing Thanks for looking into the menu structure. -- Atri -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
Le jeudi 10 juin 2010, à 21:43 +0530, Atri Bhattacharya a écrit :
On Thu, 2010-06-10 at 12:11 +0200, Vincent Untz wrote:
Hi,
I'm leaning towards using gnome-applications.menu and switching soon. It's just a single line in /usr/bin/gnome:
export XDG_MENU_PREFIX=gnome-
Would this not create a really messy menu if people also have KDE installed, but are using GNOME?
Hrm, it shouldn't: since if you edit the menu, it should also get named gnome-applications.menu in your home directory -- I didn't check, though. Note that LXDE uses a really similar to structure to the GNOME upstream one, so on the other hand, we'd come much close to LXDE ;-) Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
On Thu, 2010-06-10 at 18:21 +0200, Vincent Untz wrote:
Hi,
I'm leaning towards using gnome-applications.menu and switching
soon.
It's just a single line in /usr/bin/gnome:
export XDG_MENU_PREFIX=gnome-
I notice that with this setting of the menu, all sub-categorisation of the applications in menu-bar and traditional main-menu are gone. Is this intentional? Of course the default gnome-main-menu [application-browser] does not show sub-categories. -- Atri -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
Le mardi 15 juin 2010, à 09:28 +0530, Atri Bhattacharya a écrit :
On Thu, 2010-06-10 at 18:21 +0200, Vincent Untz wrote:
Hi,
I'm leaning towards using gnome-applications.menu and switching
soon.
It's just a single line in /usr/bin/gnome:
export XDG_MENU_PREFIX=gnome-
I notice that with this setting of the menu, all sub-categorisation of the applications in menu-bar and traditional main-menu are gone. Is this intentional? Of course the default gnome-main-menu [application-browser] does not show sub-categories.
Yes it is. And being a user of the menu bar, it's much better this way :-) Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
-----Original Message----- From: Atri Bhattacharya [mailto:badshah400@aim.com] Sent: Tuesday, June 15, 2010 5:59 AM To: opensuse-gnome@opensuse.org Subject: Re: [opensuse-gnome] Fwd: Re: [opensuse-packaging] Shared applications.menu... or not
On Thu, 2010-06-10 at 18:21 +0200, Vincent Untz wrote:
Hi,
I'm leaning towards using gnome-applications.menu and switching
soon.
It's just a single line in /usr/bin/gnome:
export XDG_MENU_PREFIX=gnome-
I notice that with this setting of the menu, all sub-categorisation of the applications in menu-bar and traditional main-menu are gone. Is this intentional? Of course the default gnome-main-menu [application-browser] does not show sub-categories. -- Atri
Guys, i´d like to propose adding "YaST" and "Control Center" items to the "System" in menu-bar and traditional main-menu. What do you think? -- S pozdravom / Best regards, Rasto -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
Le mardi 15 juin 2010, à 13:40 +0200, Rastislav Krupanský a écrit :
Guys, i´d like to propose adding "YaST" and "Control Center" items to the "System" in menu-bar and traditional main-menu. What do you think?
Yast is already there (in the System submenu). As for the control center, it's not there by design since it would show the same content as the menu (it was discussed upstream a few years ago). That being said, you can enable it by just editing the menu (I see it's not at the right place at the moment, let me fix this :-)) Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
Dňa 15.6.2010 13:59, Vincent Untz wrote / napísal(a):
Le mardi 15 juin 2010, à 13:40 +0200, Rastislav Krupanský a écrit :
Guys, i´d like to propose adding "YaST" and "Control Center" items to the "System" in menu-bar and traditional main-menu. What do you think?
Yast is already there (in the System submenu).
As for the control center, it's not there by design since it would show the same content as the menu (it was discussed upstream a few years ago). That being said, you can enable it by just editing the menu (I see it's not at the right place at the moment, let me fix this :-))
Vincent
Just a quick test with factory build, 0673. I added new item "Control Center" in the "Preferences" via edit "Main menu" and unchecked Hardware, Look and feel, Personal and System [1]. Control Center is not started correctly. It just starts a window with "Other" item with icon Control Center.[2]. If i check Hardware, Look and feel, Personal and System, then is Control Center started correctly. Do you mean YaST was always there, or have you added there? Because it´s missing in the "System", as you can see it on the screenshot [2]. Or do you mean "Application" -> "System". I´m not sure we are talking about the same thing. [1] http://img15.imageshack.us/img15/5396/screenshotmainmenu.png [2] http://img337.imageshack.us/img337/5962/screenshotpl.png -- S pozdravom / Best regards, Rasto -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
Le mardi 15 juin 2010, à 22:13 +0200, Rastislav Krupanský a écrit :
I added new item "Control Center" in the "Preferences" via edit "Main menu" and unchecked Hardware, Look and feel, Personal and System [1]. Control Center is not started correctly. It just starts a window with "Other" item with icon Control Center.[2]. If i check Hardware, Look and feel, Personal and System, then is Control Center started correctly.
Yeah, that's because the shell and the menus are showing the same thing. Hadn't thought of that. Hrm.
Do you mean YaST was always there, or have you added there? Because it´s missing in the "System", as you can see it on the screenshot [2]. Or do you mean "Application" -> "System". I´m not sure we are talking about the same thing.
I'm talking about System->System, and it's been there for a few cycles already :-) Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
-----Original Message----- From: Vincent Untz [mailto:vuntz@opensuse.org] Sent: Wednesday, June 16, 2010 1:30 AM To: opensuse-gnome@opensuse.org Subject: Re: [opensuse-gnome] Fwd: Re: [opensuse-packaging] Shared applications.menu... or not
Le mardi 15 juin 2010, à 22:13 +0200, Rastislav Krupanský a écrit :
I added new item "Control Center" in the "Preferences" via edit "Main menu" and unchecked Hardware, Look and feel, Personal and System [1]. Control Center is not started correctly. It just starts a window with "Other" item with icon Control Center.[2]. If i check Hardware, Look and feel, Personal and System, then is Control Center started correctly.
Yeah, that's because the shell and the menus are showing the same thing. Hadn't thought of that. Hrm.
Do you mean YaST was always there, or have you added there? Because it´s missing in the "System", as you can see it on the screenshot [2]. Or do you mean "Application" -> "System". I´m not sure we are talking about the same thing.
I'm talking about System->System, and it's been there for a few cycles already :-)
Vincent
Ok, i see you mean traditional gnome menu. Yes, YaST has been in System -> System for a few cycles already. But i mean menu-bar, which uses Application, Places and System. That´s on the screenshot [2]. I think YaST could be in System also by default, forasmuch as it´s system control center. -- S pozdravom / Best regards, Rasto -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
Le mercredi 16 juin 2010, à 07:32 +0200, Rastislav Krupanský a écrit :
Ok, i see you mean traditional gnome menu. Yes, YaST has been in System -> System for a few cycles already. But i mean menu-bar, which uses Application, Places and System. That´s on the screenshot [2]. I think YaST could be in System also by default, forasmuch as it´s system control center.
I'm talking about the menu bar too: it's there in a submenu of System, not directly in System. Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
-----Original Message-----
From: Vincent Untz [mailto:vuntz@opensuse.org] Sent: Wednesday, June 16, 2010 11:42 AM To: opensuse-gnome@opensuse.org Subject: Re: [opensuse-gnome] Fwd: Re: [opensuse-packaging] Shared applications.menu... or not
Le mercredi 16 juin 2010, à 07:32 +0200, Rastislav Krupanský a écrit :
Ok, i see you mean traditional gnome menu. Yes, YaST has been in System -> System for a few cycles already. But i mean menu-bar, which uses Application, Places and System. That´s on the screenshot [2]. I think YaST could be in System also by default, forasmuch as it´s system control center.
I'm talking about the menu bar too: it's there in a submenu of System, not directly in System.
Vincent
Couldn´t it be directly in System? I think it´s a better place, becasue it´s is not just an usual application, but you can set all system. What do you think? -- S pozdravom / Best regards, Rasto -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
Le mercredi 16 juin 2010, à 12:15 +0200, Rastislav Krupanský a écrit :
Couldn´t it be directly in System? I think it´s a better place, becasue it´s is not just an usual application, but you can set all system. What do you think?
My personal opinion is that I'm happy where it is. But if there's a strong feeling it should be changed, we can change this. What do other people think? Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
Le jeudi 10 juin 2010, à 21:43 +0530, Atri Bhattacharya a écrit :
So everything looks okay right now, except that there are four items in a group called "Others" that might require fixing:-
1. Liferea [should be in the "Internet" category] 2. Install/Remove software [this can be hopefully just black-listed from the menu as it also appears in the menu itself as well as in the control-centre] 3. Linux 32-bit terminal 4. Manage Printing
Can you drag and drop those items in a terminal and tell me what files are they coming from? (and also which packages) Thanks, Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
On Mon, 2010-06-14 at 12:11 +0200, Vincent Untz wrote:
1. Liferea [should be in the "Internet" category] 2. Install/Remove software [this can be hopefully just black-listed from the menu as it also appears in the menu itself as well as in the control-centre] 3. Linux 32-bit terminal 4. Manage Printing
Can you drag and drop those items in a terminal and tell me what files are they coming from? (and also which packages)
Here is the location where they are coming from and the corresponding package-name:- 1. /usr/share/applications/liferea.desktop | liferea 2. /usr/share/applications/package-manager.desktop | gnome-packagekit 3. /usr/share/applications/linux32.desktop | linux32 4. /usr/share/applications/cups.desktop | cups The package-manager.desktop file executes the gnome-packagekit command package-manager --install %F as the command to execute but that particular .desktop file is not listed in the list of files provided by the gnome-packagekit package. -- Atri -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
Le lundi 14 juin 2010, à 16:45 +0530, Atri Bhattacharya a écrit :
On Mon, 2010-06-14 at 12:11 +0200, Vincent Untz wrote:
1. Liferea [should be in the "Internet" category] 2. Install/Remove software [this can be hopefully just black-listed from the menu as it also appears in the menu itself as well as in the control-centre] 3. Linux 32-bit terminal 4. Manage Printing
Can you drag and drop those items in a terminal and tell me what files are they coming from? (and also which packages)
Here is the location where they are coming from and the corresponding package-name:- 1. /usr/share/applications/liferea.desktop | liferea
This one I knew; fixed it already :-)
2. /usr/share/applications/package-manager.desktop | gnome-packagekit
It actually comes from libzypp (see rpm -q -f /usr/share/applications/package-manager.desktop). Okay, need to fix it.
3. /usr/share/applications/linux32.desktop | linux32
Can you look at the categories and potentially submit a fix? I've never used nor heard of this package...
4. /usr/share/applications/cups.desktop | cups
Weird, it doesn't appear in Other here. Anyway, I don't think we want to see this item in GNOME. I'll fix this. Thanks, Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
Vincent, On Mon, 2010-06-14 at 14:45 +0200, Vincent Untz wrote:
Le lundi 14 juin 2010, à 16:45 +0530, Atri Bhattacharya a écrit :
On Mon, 2010-06-14 at 12:11 +0200, Vincent Untz wrote:
[...]
3. /usr/share/applications/linux32.desktop | linux32
Can you look at the categories and potentially submit a fix? I've never used nor heard of this package...
This comes from the linux32 package which is installed by default on 64bit installs. Cheers, Magnus -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
On Mon, 2010-06-14 at 14:45 +0200, Vincent Untz wrote:
3. /usr/share/applications/linux32.desktop | linux32
Can you look at the categories and potentially submit a fix? I've never used nor heard of this package...
I have branched this package out and updated the .desktop file. The updated file is now located in my repository http://download.opensuse.org/repositories/home:/badshah400:/branches:/Base:/... but I do not know if I should now file a bug report and add the bug-owner as CC, or if I should submit this package in factory [something I have never done]. Anyway the only change in the .desktop file is this ------- Index: linux32.desktop =================================================================== --- linux32.desktop (revision 4) +++ linux32.desktop (revision 3) @@ -7,6 +7,7 @@ Name=Linux 32-bit Terminal GenericName=32-bit Terminal Program +Categories=System;Shell; X-DCOP-ServiceType=Multi X-KDE-AuthorizeAction=shell_access ------- I installed the version corresponding to 11.2 from the above repository and it now shows in the System Tools category [gnome- menu] as I believe it should. Thanks -- Atri -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
Le mardi 15 juin 2010, à 09:19 +0530, Atri Bhattacharya a écrit :
On Mon, 2010-06-14 at 14:45 +0200, Vincent Untz wrote:
3. /usr/share/applications/linux32.desktop | linux32
Can you look at the categories and potentially submit a fix? I've never used nor heard of this package...
I have branched this package out and updated the .desktop file. The updated file is now located in my repository http://download.opensuse.org/repositories/home:/badshah400:/branches:/Base:/... but I do not know if I should now file a bug report and add the bug-owner as CC, or if I should submit this package in factory
Ah, nice. So here's what you should do: 1) first, add an entry in linux32.changes to explain your change. You can do it with "osc vc". Just say something like "Add categories to linux32.desktop to have it appear at the right place in applications menus" 2) then, you can submit this package to Base:System. Make sure that everything is committed, and then, if you're in the right directory: osc sr -m "Add categories to linux32.desktop" Or if you're in another directory: osc sr -m "Add categories to linux32.desktop" home:badshah400:branches:Base:System linux32 Base:System And that's all :-) Someone will review your changes and push them to Factory if they're okay. Thanks, Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
On Tue, 2010-06-15 at 12:37 +0200, Vincent Untz wrote:
1) first, add an entry in linux32.changes to explain your change. You can do it with "osc vc". Just say something like "Add categories to linux32.desktop to have it appear at the right place in applications menus"
2) then, you can submit this package to Base:System. Make sure that everything is committed, and then, if you're in the right directory: osc sr -m "Add categories to linux32.desktop" Or if you're in another directory: osc sr -m "Add categories to linux32.desktop" home:badshah400:branches:Base:System linux32 Base:System
And that's all :-) Someone will review your changes and push them to Factory if they're okay.
OK. Thanks for such detailed help. created request id 41487 Hope that does it. -- Atri -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
Le jeudi 10 juin 2010, à 12:11 +0200, Vincent Untz a écrit :
Hi,
I'm leaning towards using gnome-applications.menu and switching soon. It's just a single line in /usr/bin/gnome:
export XDG_MENU_PREFIX=gnome-
FWIW, this is done in GNOME:Factory. However, I wanted to have this in RC1 to make sure it'd be okay for 11.3. And I see the timeline I had in mind was wrong, since RC1 will be out tomorrow, so it's too late. So at this point, it's too late for 11.3, IMHO: there's just one RC2, which should be the GM version if there's no major bug. Too bad. Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
On Wed, 2010-06-16 at 01:34 +0200, Vincent Untz wrote:
So at this point, it's too late for 11.3, IMHO: there's just one RC2, which should be the GM version if there's no major bug. Too bad.
Considering that it does improve the openSUSE menu categories in GNOME quite a lot, it would be very nice if you could reconsider this. The present menu has lots of duplicated entries that should only be visible in the control-centre, and this option helps remove such duplication. In case it is simply not possible to include this for 11.3, it would be nice to figure out a way of just having such items as "Appearance" and "Display" black-listed from appearing in the application-browser since they already appear in the control-centre. In my testing I have not encountered any unpleasant side-effects of this new menu organisation. Reference: https://bugzilla.novell.com/show_bug.cgi?id=595912 [bug filed in April] Thanks. -- Atri -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
Le mercredi 16 juin 2010, à 09:59 +0530, Atri Bhattacharya a écrit :
On Wed, 2010-06-16 at 01:34 +0200, Vincent Untz wrote:
So at this point, it's too late for 11.3, IMHO: there's just one RC2, which should be the GM version if there's no major bug. Too bad.
Considering that it does improve the openSUSE menu categories in GNOME quite a lot, it would be very nice if you could reconsider this. The present menu has lots of duplicated entries that should only be visible in the control-centre, and this option helps remove such duplication.
I know how important it feels -- I'm affected by this too. The thing is that there's a risk that many other applications don't appear in the right place in the menus. And that's something we won't be able to fix in time. I just asked coolo about it and he also thinks that's really not something for RC2. It's also worth pointing out that it's nothing new -- it's been like that since 11.1 or even 11.0 at least.
In case it is simply not possible to include this for 11.3, it would be nice to figure out a way of just having such items as "Appearance" and "Display" black-listed from appearing in the application-browser since they already appear in the control-centre.
If anybody can find a simple way to achieve this, then it might get in. I couldn't find one. My suggestion for 11.3 is to document how to fix this: I guess putting XDG_MENU_PREFIX=gnome- in some user config file could work as long as it's sourced during the login session. Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
participants (4)
-
Atri Bhattacharya
-
Magnus Boman
-
Rastislav Krupanský
-
Vincent Untz