You are not logged in.

1

Thursday, September 9th 2004, 6:27pm

Default path for file open dialog in KMail

Hi,

Is it possible to set the default directory for kmails file open dialog without affecting the file open dialog for other KDE applications?

I have so far found two possible ways to do set the path:

- Set the Documents path in the kdeglobal config file. Unfortunately, this affects all KDE applications, not just kmail.

- set current working directory to the desired directory. Unfortunately, this would require me to always start kmail from a script. This also wouldn't work if a user decided to start kmail from KDE "Run Command" dialog.

Can someone point me to a better way?

Guido

m4ktub

Intermediate

Posts: 257

Location: Lisbon, Portugal

Occupation: Software Engineer

  • Send private message

2

Friday, September 10th 2004, 5:11pm

I think every file open dialog is treated the same way and is not application specific so I can only figure those two ways also.

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

3

Saturday, September 11th 2004, 5:27pm

Unfortunately KMail doesn't save the last used directory.

You could move the kmail executable to kmail-bin and save the start script with name kmail

Then all methods would start KMail through the script.

Cheers,
_
Qt/KDE Developer
Debian User