<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 25 March 2013 10:54, jupiter <span dir="ltr"><<a href="mailto:jupiter.hce@gmail.com" target="_blank">jupiter.hce@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":2p">Thanks for the suggestion, the only problem I can think of is that we<br>
cannot use environmental variables such as $HOME or $XDG_DATA_HOME or<br>
$XDG_CONFIG_HOME in the Desktop Entry. How can I specify Exec or Path<br>
for each user? Is the hard coded path the only way to specify such as<br>
/home/user1/.... /home/user2 .....?</div></blockquote></div><br></div><div class="gmail_extra">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.<br>
<br></div><div class="gmail_extra">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.<br><br></div><div class="gmail_extra">Thomas<br>
</div></div>