Dear visitor, welcome to KDE-Forum.org.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
how do i set working directory in applinks?
hi,
how can i set a "working directory" in KDE application links? i want to make a link for mldonkey on my desktop, but mldonkey needs to be started within the directory it was first started from, and so i need to fill in this directory to be changed into before "mldonkey" is called - just what "working directory" in win95 used to do.
I did not find any option for this when i created a KDE program link
i am able to set a work directory when i add a program link to the K menu, but not when i try to make a program link on the desktop. Is this by design? I think it's disturbing :oops:
You could try to set a combined command.
Something like
cd workingdir && realcommand
or create a small shellscript doing the cd
[code:1]
#!/bin/sh
cd /workingdir
realcommand
[/code:1]
an create a link to that on the desktop.
Cheers,
_
Qt/KDE Developer
Debian User
this script thing is kinda uncomfortable. but the first suggestion sounds good
Another option:
Create the link on your desktop.
edit the link's file in ~/Desktop and put the working directory into the Path entry.
Cheers,
_
Qt/KDE Developer
Debian User
hi,
maybe adding an option to do this via the GUI should be a TO-DO for the next release?
Original von arfman
hi,
maybe adding an option to do this via the GUI should be a TO-DO for the next release?
File a bug report on http://bugs.kde.org/
I think product KDesktop
Cheers,
_
Qt/KDE Developer
Debian User