Terminal and Thunar starting in /
Brian J. Tarricone
bjt23 at cornell.edu
Sat Jan 6 01:51:46 CET 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Benedikt Meurer wrote:
> 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.
Are you accusing me of sanity? How dare you!
>>> 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.
Blame Jasper... he wrote it ^_^
-brian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFFnvKi6XyW6VEeAnsRA+wZAJ9ZsUqryjT/NupSPsprmpQokE8fyQCeIjCL
gFNB7FK7cbLjmXxhOHrLiIo=
=ocjg
-----END PGP SIGNATURE-----
More information about the Xfce
mailing list