Hi Thomas, On 3/25/13, Thomas Kluyver <[email protected]> wrote: > On 25 March 2013 10:54, jupiter <[email protected]> wrote: > >> Thanks for the suggestion, the only problem I can think of is that we >> cannot use environmental variables such as $HOME or $XDG_DATA_HOME or >> $XDG_CONFIG_HOME in the Desktop Entry. How can I specify Exec or Path >> for each user? Is the hard coded path the only way to specify such as >> /home/user1/.... /home/user2 .....? >> > > If there's a folder of applications, like /home/user1/bin/ , you could add > it to $PATH, then just specify the executable name in the desktop entry.
That works. > You could also try using ~ for the user's home directory, but I don't know > off the top of my head if desktop implementations expand that. That does not work. I guess add all application binaries to a bin directory in $PATH can resolve the issue. Also find that NoDisplay=true can disable the desktop entry. Thank you very much. Kind regards, j > Thomas > _______________________________________________ xdg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xdg
