Terminal and Thunar starting in /

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Sat Jan 6 01:10:54 CET 2007


Brian J. Tarricone wrote:
>> thunar-vfs now chdir()'s when listing folder contents to avoid inode
>> lookups for each and every file. Afterwards thunar-vfs chdir() to "/" to
>> avoid blocking a folder removal with certain file systems (i.e. smbfs).
> 
> That sounds pretty evil.  A library is changing the app's working
> directory out from under it?  Boooooo!

Yes, I refused to do that for a long time. But since it really saves
expensive inode lookups, it's worth it, and I thought that when
launching applications, we all pass a sane working directory.

>> Looks like xfdesktop doesn't specify a working directory when launching
>> applications from the menu.
> 
> It uses xfce_exec(), so it can't.

Meh, why doesn't xfce_exec() have a working_directory parameter.

> 	-brian

Benedikt



More information about the Xfce mailing list