[opensuse-gnome] Re: [opensuse-packaging] Menu handling
Hi, Moving part of this thread to opensuse-gnome. Le mercredi 23 avril 2008, à 10:50 +0200, Vincent Untz a écrit :
Le lundi 21 avril 2008, à 21:37 +0200, Jakub 'Livio' Rusinek a écrit :
Hi,
Many years ago, SuSE used selfmade menu. Now, according to freedesktop.org's specs and implementations in software there's no need.
Upstream provides .desktop files, mostly well translated.
By creating .desktop files, you're reinventing the wheel, making SUSE's menu entries inconsistent with other distros, and messing in menu.
You may ask "what's that mess?".
The mess is: * more categories than entries in those categories * entries duplication * wrong categories set (Liferea is RSS aggregator, not newsgroups client/whatever, same applies for Miro) * configuration apps not in GNOME's control center but in usual "Applications" menu and/or application browser
openSUSE should stop that. Apps already provide .desktop files, as said before. desktop-file-install should be used to install them (probably with --vendor and --delete original as schema).
Screenshots from GNOME: http://www.sendspace.com/file/mtf3lw I'll probably have to find better host for these screenshots. Tell me, when this doesn't work.
That's most probably because of the menu files that are used. We have applications.menu, applications.menu.kde and applications.menu.gnome -- I'm not sure all GNOME applications use applications.menu.gnome (and looking at this file, it seems outdated). So we can fix it in the packaging of gnome-menus, I believe.
Two questions here: + applications.menu.gnome seems to be outdated. Can we kill it/replace it/do whatever I want with it? + I'd really love to use upstream applications.menu for GNOME. It's much much cleaner. Really. This would make the menu bar and upstream main menu more usable. But I don't know what's the impact on the application browser. 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, 2008-04-23 at 15:33 +0200, Vincent Untz wrote:
+ I'd really love to use upstream applications.menu for GNOME. It's much much cleaner. Really. This would make the menu bar and upstream main menu more usable. But I don't know what's the impact on the application browser.
The application browser looks ok-ish, but there are way too many icons in the "Other" category. I think this could be a reasonable thing to do, if we can fix the apps' categories. Others who want to test: Download the menu from http://svn.gnome.org/svn/gnome-menus/trunk/layout/applications.menu and put it in ~/.config/menus/ . The run the app browser. -- Hans Petter -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
FWIW, I've submitted a gnome-menus update this week-end (will reach factory soon, hopefully) that will help improve the experience for people not using gnome-main-menu: + instead of only having a yast item in the system menu of the menu bar, you'll have direct access to the capplets (with the same content as the one displayed in the gnome-control-center shell) + you can set the XDG_MENU_PREFIX environment variable to "gnome-" (without quotes) to use the upstream menu structure. IMHO, the upstream structure is better than the one we currently have, but that's obviously subjective -- and we'll have to fix the categories for quite a few desktop files so that they appear in the right place. It seems to me that it's not reasonable to set XDG_MENU_PREFIX by default at the moment, but it might be something we want to do for 11.1. Note that setting XDG_MENU_PREFIX will also affect the application browser. 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
Dnia 19-05-2008, Pn o godzinie 01:35 +0200, Vincent Untz pisze:
+ you can set the XDG_MENU_PREFIX environment variable to "gnome-" (without quotes) to use the upstream menu structure. IMHO, the upstream structure is better than the one we currently have, but that's obviously subjective -- and we'll have to fix the categories for quite a few desktop files so that they appear in the right place. It seems to me that it's not reasonable to set XDG_MENU_PREFIX by default at the moment, but it might be something we want to do for 11.1. Note that setting XDG_MENU_PREFIX will also affect the application browser.
Vincent, I knew this community is smart :) . Thanks for this one change. -- Jakub 'Livio' Rusinek http://liviopl.jogger.pl/
Le lundi 19 mai 2008, à 01:35 +0200, Vincent Untz a écrit :
FWIW, I've submitted a gnome-menus update this week-end (will reach factory soon, hopefully) that will help improve the experience for people not using gnome-main-menu:
+ instead of only having a yast item in the system menu of the menu bar, you'll have direct access to the capplets (with the same content as the one displayed in the gnome-control-center shell)
+ you can set the XDG_MENU_PREFIX environment variable to "gnome-" (without quotes) to use the upstream menu structure. IMHO, the upstream structure is better than the one we currently have, but that's obviously subjective -- and we'll have to fix the categories for quite a few desktop files so that they appear in the right place. It seems to me that it's not reasonable to set XDG_MENU_PREFIX by default at the moment, but it might be something we want to do for 11.1. Note that setting XDG_MENU_PREFIX will also affect the application browser.
I'd like us to use XDG_MENU_PREFIX="gnome-" by default in 11.1. I'd love to submit a package with this change so we can get early feedback. Also, what do people think about renaming the System submenus to Administration (that's the 4th category in the control center shell, fwiw)? It will be better for people not using gnome-main-menu (else, they end up with System->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
Dnia 2008-07-25, pią o godzinie 14:45 +0200, Vincent Untz pisze:
Le lundi 19 mai 2008, à 01:35 +0200, Vincent Untz a écrit :
FWIW, I've submitted a gnome-menus update this week-end (will reach factory soon, hopefully) that will help improve the experience for people not using gnome-main-menu:
+ instead of only having a yast item in the system menu of the menu bar, you'll have direct access to the capplets (with the same content as the one displayed in the gnome-control-center shell)
+ you can set the XDG_MENU_PREFIX environment variable to "gnome-" (without quotes) to use the upstream menu structure. IMHO, the upstream structure is better than the one we currently have, but that's obviously subjective -- and we'll have to fix the categories for quite a few desktop files so that they appear in the right place. It seems to me that it's not reasonable to set XDG_MENU_PREFIX by default at the moment, but it might be something we want to do for 11.1. Note that setting XDG_MENU_PREFIX will also affect the application browser.
I'd like us to use XDG_MENU_PREFIX="gnome-" by default in 11.1. I'd love to submit a package with this change so we can get early feedback.
Also, what do people think about renaming the System submenus to Administration (that's the 4th category in the control center shell, fwiw)? It will be better for people not using gnome-main-menu (else, they end up with System->System).
I love you and your initiative :D . gnome- as default is great idea. This will end up my complaining about messy menu ;) . "System" category is not so good idea. I think that "More" looks better than System, but is it really needed? BTW, next problem was, that many configurations program landed in Applications instead of System menu. Same for YaST2 modules - they should never appear in Applications, but they did. Not sure if this is still actual. -- Jakub 'Livio' Rusinek http://liviopl.jogger.pl/
participants (3)
-
Hans Petter Jansson
-
Jakub 'Livio' Rusinek
-
Vincent Untz