You are not logged in.

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.

1

Sunday, April 27th 2003, 11:58pm

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

2

Monday, April 28th 2003, 12:07am

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:

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

3

Monday, April 28th 2003, 8:19pm

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

4

Monday, April 28th 2003, 8:40pm

this script thing is kinda uncomfortable. but the first suggestion sounds good

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

5

Monday, April 28th 2003, 10:50pm

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

6

Tuesday, April 29th 2003, 12:06am

hi,

maybe adding an option to do this via the GUI should be a TO-DO for the next release?

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

7

Tuesday, April 29th 2003, 12:54pm

Quoted

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