How are programs executed in Ubuntu?

Oliver Grawert ogra at ubuntu.com
Wed Feb 3 12:28:28 UTC 2016


hi,
Am Mittwoch, den 03.02.2016, 11:56 +1100 schrieb blind Pete:
> C
> I am very surprised.  The FHS (filesystem hierarchy standard) indicates 
> that /usr/local/ is the place to store host specific stuff.  It has 
> always been in my PATH.  Type "echo $PATH" without the quotes in a 
> terminal.  And /usr/local/share exists on my machine, although 
> /usr/local/share/applications/ does not.  

that sounds like a bug ... checking XDG_DATA_DIRS on my trusty system i
see:
ogra at anubis:~/datengrab/snappy$ env|grep XDG_DATA_DIRS
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/

so /usr/local/share is definitely in the searchpaths and apps using the
xdg standard should actually respect /usr/local/share/applications/ if
you created it and added a .desktop file ...

see http://standards.freedesktop.org/menu-spec/menu-spec-latest.html

ciao
	oli





More information about the ubuntu-users mailing list