Hi SuSErs, gnucash package in 9.0 installs desktop menu file in /opt/gnome/share/gnome/apps/Applications/gnucash.desktop while XDG expects it to be in /usr/share/applications/gnucash.desktop. I created a symbolink link in /usr/share/applications/ and now can see gnucash in windowmaker menu. I consider it a bug (well, minor). Has anybody reported it to SuSE (or, excuse me, Novell) already? Thanks, -Kastus
gnucash package in 9.0 installs desktop menu file in /opt/gnome/share/gnome/apps/Applications/gnucash.desktop while XDG expects it to be in /usr/share/applications/gnucash.desktop. I consider it a bug (well, minor). Has anybody reported it to SuSE (or, excuse me, Novell) already?
You're wrong, it's not a bug, GnuCash is a GTK/GNOME app, and, since it's specifically GTK1, it installs it's desktop into the prefix and subdirectory that is appropriate for GNOME1. The desktop files in that directory are then picked up by the GNOME2 menu. James -- James Ogley, Webmaster, Rubber Turnip james@rubberturnip.org.uk http://www.rubberturnip.org.uk Jabber: riggwelter@myjabber.net Using Free Software since 1994, running GNU/Linux (SuSE 9.0). GNOME updates for SuSE: http://www.usr-local-bin.org
On Sun, Nov 09, 2003 at 08:58:23AM +0000, James Ogley wrote:
gnucash package in 9.0 installs desktop menu file in /opt/gnome/share/gnome/apps/Applications/gnucash.desktop while XDG expects it to be in /usr/share/applications/gnucash.desktop. I consider it a bug (well, minor). Has anybody reported it to SuSE (or, excuse me, Novell) already?
You're wrong, it's not a bug, GnuCash is a GTK/GNOME app, and, since it's specifically GTK1, it installs it's desktop into the prefix and subdirectory that is appropriate for GNOME1. The desktop files in that directory are then picked up by the GNOME2 menu.
OK, what about other window managers? Isn't XDG supposed to work in all window managers, windowmaker included? I must admit, I know really little about freedesktop standards, so can anybody enlighten me, what is the right way to incorporate gnucash into XDG menu, if I did it the wrong way? Thanks, -Kastus
On Sun, Nov 09, 2003 at 08:58:23AM +0000, James Ogley wrote:
gnucash package in 9.0 installs desktop menu file in /opt/gnome/share/gnome/apps/Applications/gnucash.desktop while XDG expects it to be in /usr/share/applications/gnucash.desktop. I consider it a bug (well, minor). Has anybody reported it to SuSE (or, excuse me, Novell) already?
You're wrong, it's not a bug, GnuCash is a GTK/GNOME app, and, since it's specifically GTK1, it installs it's desktop into the prefix and subdirectory that is appropriate for GNOME1. The desktop files in that directory are then picked up by the GNOME2 menu.
I assume gimp and gamix are GNOME applications, aren't they? Why are then gimp.desktop and gamix.desktop installed in /usr/share/applications/ ? rpm -qf /usr/share/applications/gimp.desktop gimp-1.2.5-43 rpm -qf /usr/share/applications/gamix.desktop gamix-1.99.p13-356 Thanks, -Kastus
* Kastus (NOSPAM@tprfct.net) [031109 01:25]:
On Sun, Nov 09, 2003 at 08:58:23AM +0000, James Ogley wrote:
gnucash package in 9.0 installs desktop menu file in /opt/gnome/share/gnome/apps/Applications/gnucash.desktop while XDG expects it to be in /usr/share/applications/gnucash.desktop. I consider it a bug (well, minor). Has anybody reported it to SuSE (or, excuse me, Novell) already?
You're wrong, it's not a bug, GnuCash is a GTK/GNOME app, and, since it's specifically GTK1, it installs it's desktop into the prefix and subdirectory that is appropriate for GNOME1. The desktop files in that directory are then picked up by the GNOME2 menu.
I assume gimp and gamix are GNOME applications, aren't they? Why are then gimp.desktop and gamix.desktop installed in /usr/share/applications/ ?
rpm -qf /usr/share/applications/gimp.desktop gimp-1.2.5-43
rpm -qf /usr/share/applications/gamix.desktop gamix-1.99.p13-356
If you follow his logic above then it would clearly denote that Gimp 1.2.x is a GTK1 application and therefore puts it's information into /usr/share instead of /opt/gnome which is where GTK2 apps place their configs. Do this..upgrade to Gimp 1.3.22 which is on the ULB site and I'll bet that gimp.desktop will be found in /opt/gnome/. :) -- Ben Rosenberg ---===--- #147972 ---===--- mailto:ben@whack.org ----- If two men agree on everything, you can be sure that only one of them is doing the thinking.
On Sun, Nov 09, 2003 at 01:35:57AM -0800, Ben Rosenberg wrote:
If you follow his logic above then it would clearly denote that Gimp 1.2.x is a GTK1 application and therefore puts it's information into /usr/share instead of /opt/gnome which is where GTK2 apps place their configs. Do this..upgrade to Gimp 1.3.22 which is on the ULB site and I'll bet that gimp.desktop will be found in /opt/gnome/. :)
...and be lost from menu in windowmaker? OK, I'm missing something, how do I add GTK2 apps to windowmaker menu? Thanks, -Kastus
* Kastus (NOSPAM@tprfct.net) [031109 01:48]:
On Sun, Nov 09, 2003 at 01:35:57AM -0800, Ben Rosenberg wrote:
If you follow his logic above then it would clearly denote that Gimp 1.2.x is a GTK1 application and therefore puts it's information into /usr/share instead of /opt/gnome which is where GTK2 apps place their configs. Do this..upgrade to Gimp 1.3.22 which is on the ULB site and I'll bet that gimp.desktop will be found in /opt/gnome/. :)
...and be lost from menu in windowmaker? OK, I'm missing something, how do I add GTK2 apps to windowmaker menu?
vi? -- Ben Rosenberg ---===--- #147972 ---===--- mailto:ben@whack.org ----- If two men agree on everything, you can be sure that only one of them is doing the thinking.
On Sun, Nov 09, 2003 at 01:50:06AM -0800, Ben Rosenberg wrote:
* Kastus (NOSPAM@tprfct.net) [031109 01:48]:
On Sun, Nov 09, 2003 at 01:35:57AM -0800, Ben Rosenberg wrote:
If you follow his logic above then it would clearly denote that Gimp 1.2.x is a GTK1 application and therefore puts it's information into /usr/share instead of /opt/gnome which is where GTK2 apps place their configs. Do this..upgrade to Gimp 1.3.22 which is on the ULB site and I'll bet that gimp.desktop will be found in /opt/gnome/. :)
...and be lost from menu in windowmaker? OK, I'm missing something, how do I add GTK2 apps to windowmaker menu?
vi?
vi what? WMRootMenu in 9.0 contains the following line: ("SuSE", OPEN_MENU, "| xdg_menu --format WindowMaker"), so it is generated by xdg_menu. According to release notes for 9.0, <H3>XDG Menu Structure</H3> <P>As of version 9.0, the menu system of KDE and Gnome is based on the XDG standard. The configuration files are distributed to fewer directories. Administrators can easily adapt the menu structure for their users by editing the XML file /etc/xdg/menus/application.menu. The new structure is the result of a backport from the upcoming KDE version 3.2. The included KDE version features XDG support, which was backported from KDE 3.2. Furthermore, menu branches are automatically condensed if a submenu only contains one entry. This characteristic can be deactivated with /etc/opt/kde3/share/config/kickerrc:ReduceMenuDepth.</P> And xdg_menu is nowhere documented. I know, I can trash WMRootMenu and create my own manually, but I want to learn to use xdg_menu. -Kastus
On Sun, Nov 09, 2003 at 08:58:23AM +0000, James Ogley wrote:
gnucash package in 9.0 installs desktop menu file in /opt/gnome/share/gnome/apps/Applications/gnucash.desktop while XDG expects it to be in /usr/share/applications/gnucash.desktop. I consider it a bug (well, minor). Has anybody reported it to SuSE (or, excuse me, Novell) already?
You're wrong, it's not a bug, GnuCash is a GTK/GNOME app, and, since it's specifically GTK1, it installs it's desktop into the prefix and subdirectory that is appropriate for GNOME1. The desktop files in that directory are then picked up by the GNOME2 menu.
It is a bug, though in /usr/bin/xdg_menu script. There is no way to make it look into subdirectory appropriate for GNOME1, even using XDG_DATA_DIRS. The script is designed to look for directory named "applications" under $XDG_DATA_DIRS, /usr/share, and /opt/gnome/share. GNOME1 directory is named "Applications". Symbolic link is the wrong fix, it makes gnucash appear twice in KDE menu. -Kastus
participants (3)
-
Ben Rosenberg
-
James Ogley
-
Kastus