Dolphin starts programs with a wrong current directory

Kevin Krammer kevin.krammer at gmx.at
Tue Dec 8 13:57:56 GMT 2009


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?

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde/attachments/20091208/8babeb59/attachment.sig>
-------------- next part --------------
___________________________________________________
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.


More information about the kde mailing list