Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 512372 - gnome-shell-3.12.2: home applications menus does not work anymore
Summary: gnome-shell-3.12.2: home applications menus does not work anymore
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-04 11:24 UTC by Juergen Rose
Modified: 2014-06-12 09:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2014-06-04 11:24:42 UTC
I created e.g. an Rlogin menu by some subdirectories under /usr/share/gnome/apps/Rlogin/, 

root@impala:/root(32)# ll /usr/share/gnome/apps/Rlogin/
total 32
...
drwxr-xr-x 2 1000 users 4096 Feb 22 18:54 Homenet/
...
drwxr-xr-x 2 1000 users 4096 May 10  2003 Informatik_pdm/
...
In these subdirectories there are some desktop files:

root@impala:/root(33)# ll /usr/share/gnome/apps/Rlogin/Homenet/
total 144
...
-rw-r--r-- 1 root root 1153 Feb 22 18:54 Beaglebone3_Homenet.desktop
-rw-r--r-- 1 root root  238 Jan 22  2011 Caiman.desktop
...
-rw-r--r-- 1 root root  242 Apr 11  2011 Impala.desktop
...
-rw-r--r-- 1 root root 1103 Apr 19 12:42 Lynx_Homenet.desktop
...

Until gnome-3.6 together with a modified /etc/xdg/menus/applications.menu or a modified /etc/xdg/menus/gnome-applications.menu I got main menu entry Rlogin with submenue entries Homenet, Informatik_pdm etc. In the submenue Homenet I then got then the menu entries for Caiman, Impala, Lynx etc. With gnome-3.8 the submenus Homenet, Informatik_pdm entries disappeared, I then got all entries Caiman, Impala, Lynx etc direct under Rlogin which was already not very convenient. But now with the upgrade to to gnome-3.12 I have only an empty Rlogin entry. Is there any hint how can I get again my home made applications menus with gnome-3.12?

PS. In /etc/xdg/menus/gnome-applications.menu I had:

  <LegacyDir>/usr/share/gnome/apps</LegacyDir>
  ...
  <Menu>
		<Name> Login </Name>
  	<MergeFile>rlogin.menu</MergeFile>
  </Menu>
  ...

And then there was  a rlogin.menu file in /etc/xdg/menus/:

<!-- Rlogin -->
<Menu>
	<Name>Rlogin</Name>
 			<DirectoryDir>/usr/share/gnome/apps/Rlogin</DirectoryDir>
  	 	<Directory>Rlogin.directory</Directory>

 	 	  <Menu>
	 			<LegacyDir>/usr/share/gnome/apps/Rlogin/Bioinf_pdm</LegacyDir>
 	   	  <Name>Bioinf_pdm</Name>
 				<Directory>.directory</Directory>
	    	<Include>
  	    	<And>
 	    		  <Category>Login</Category>
 	    		  <Category>Bioinf_pdm</Category>
      		</And>
				</Include>
			</Menu>
...
 	 	  <Menu>
 	 			<LegacyDir>/usr/share/gnome/apps/Rlogin/Homenet</LegacyDir>
  	   	  <Name>Homenet</Name>
  				<Directory>.directory</Directory>
 	    	<Include>
   	    	<And>
     	     	<Category>Login</Category>
  	    		  <Category>Homenet</Category>
       		</And>
 				</Include>
 			</Menu>
...
Comment 1 Pacho Ramos gentoo-dev 2014-06-05 06:55:15 UTC
Please report this to upstream -> bugzilla.gnome.org, maybe they will know better how to handle this to not get the behavior changing on every bump. Also please post the link here to let us follow the issue
Comment 2 Juergen Rose 2014-06-11 15:00:24 UTC
(In reply to Pacho Ramos from comment #1)
> Please report this to upstream -> bugzilla.gnome.org, maybe they will know
> better how to handle this to not get the behavior changing on every bump.
> Also please post the link here to let us follow the issue

After moving the directory Rlogin/ from /usr/share/gnome/apps/ to /usr/share/applications/ my menues appeared again. So only the issue with the missing submenues remains.

I filed also a bug at:

https://bugzilla.gnome.org/show_bug.cgi?id=731528
Comment 3 Pacho Ramos gentoo-dev 2014-06-12 09:24:23 UTC
Will follow there then. I thought that all moved to /usr/share/applications time ago, maybe the support for older locations were dropped at some point (I remember Mandrake used them when they had their own menus but, later, they dropped that)