Re: [kde] Dolphin starts programs with a wrong current directory
- From: Nikos Chantziaras <realnc@xxxxxxxx>
- Date: Tue, 08 Dec 2009 19:19:30 +0200
On 12/08/2009 03:57 PM, Kevin Krammer wrote:
On Tuesday, 2009-12-08, Nikos Chantziaras wrote:
When I start a program in Dolphin (by double clicking it), it cannot
find files it needs that are in the same directory. Is this a known
bug, intended behavior, or am I doing something wrong?
I think it will use the $HOME directory as the work directory since the
program installation directory is usually not writable and thus not a good
base path.
An application intended to be copied into a data set and run there will
usually get the path itself through using the operating system API for that.
(actually even a program working with separated data can do that if it wants
to read things like default configuration from its installation directory)
Which program are you trying to run and what kind of files doesn't it find?
It's a program I wrote myself (University assignment) and the files in
question are an SSL certificate file and a private key file. It usually
works on every other file manager, except for Dolphin, which lend me to
believe that Dolphin is doing it wrong. Common sense dictates that the
current directory should always be the directory "you are in"; if you
are in it in the CLI or a file manager shouldn't matter. The current
directory should always be "where you are now".
___________________________________________________
This message is from the kde mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
- Follow-Ups:
- References:
- [kde] Dolphin starts programs with a wrong current directory
- From: Nikos Chantziaras
- Re: [kde] Dolphin starts programs with a wrong current directory
- From: Kevin Krammer
- [kde] Dolphin starts programs with a wrong current directory
- Prev by Date: Re: [kde] Why KDE4 is called KDE?
- Next by Date: Re: [kde] Why KDE4 is called KDE?
- Previous by thread: Re: [kde] Dolphin starts programs with a wrong current directory
- Next by thread: Re: [kde] Dolphin starts programs with a wrong current directory
- Index(es):