[kde-linux] Working directory for Konqueror "Open with...." set to home

Kevin Krammer kevin.krammer at gmx.at
Mon Oct 9 18:38:12 UTC 2006


On Monday 09 October 2006 20:07, Matt Seitz wrote:
> Kevin Krammer wrote:
> > This is what is happening. Since the file manager is started with $HOME
> > as its working directory, any process launched by it also inherits $HOME
> > as the working directory
>
> My expectation was that the working directory changes when I open a new
> folder. In other words, when I do the following from "konqueror":

It should at least be an option. My guess is that this is already filed as a 
wishlist item on bugs.kde org where you could vote on.

<searching....>
Found one that seems suitable
http://bugs.kde.org/show_bug.cgi?id=131010

Better add your use case, i.e. clicking on a file rather than a program, 
and/or add the link to this thread from the mailinglist archives

> To make this even more confusing, if I select "Show terminal emulator" or
> "Open terminal", it sets the current working directory to the displayed
> directory, not $HOME.  So some processes do seem to have their working
> directory reset when launched from Konqueror.

Actually all processes should currently have their working directory being set 
to the one KDE was launched in, as application launching is handled by a KDE 
session daemon called klauncher and application's like Konqueror just send 
launch request through DCOP

> Personally, I think it makes more sense to treat opening a folder as "cd
> folder;ls" instead of "ls folder".

I agree. Konqueror/klauncher should still pass the full filename to the 
application but changing the working directory can't hurt.

Cheers,
Kevin

-- 
Kevin Krammer <kevin.krammer at gmx.at>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtcentre.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-linux/attachments/20061009/a00b4679/attachment.sig>


More information about the kde-linux mailing list