Starting Directory for Aplication launchers.

Kevin Krammer kevin.krammer at gmx.at
Tue Jul 26 14:47:40 EEST 2005


On Tuesday 26 July 2005 12:12, Joan Malagarriga Duarte wrote:
> Hi,
> In the Desktop launchers the Path Key, is it allways a "satic" string,
> lets say /home/data/startmyapphere, or is it a way to pass a directory
> to it, like the %d in the Exec Key ?
> My problem is, that many aplications I use, need to be started in the
> same directory as the file they use, but using a desktop launcher for
> these aplications allways start it in my home, so they fills my home
> directory with lots of output files I've got to then sort out.

You could start a script that cd's into the target directory before launching 
the actual binary thus making the target directory the current working 
directory for the application.

Cheers,
Kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/xdg/attachments/20050726/e8c73cec/attachment.pgp 


More information about the xdg mailing list