You are not logged in.

#1 2012-09-01 10:41:07

daenn
Member
Registered: 2012-09-01
Posts: 1

KDE services (klauncher, kded4, knotify4) do not change cwd

I don't use KDE, but prefer Okular for viewing .pdf/.djvu files. When I start okular for the first time after reboot, KDE services start in the directory I run Okular from and do not change their cwd ever. The problem is, sometimes the first document to view with okular is in the temporarily mounted truecrypt volume, and later umount fails saying the directory is busy and indeed lsof demonstrates it:

COMMAND     PID  USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
klauncher 29730 daenn  cwd    DIR  254,0     4096 8198 /home/daenn/conf/Documents
kded4     29733 daenn  cwd    DIR  254,0     4096 8198 /home/daenn/conf/Documents
knotify4  29759 daenn  cwd    DIR  254,0     4096 8198 /home/daenn/conf/Documents

After I kill these processes unmounting works. Is there any way to force the services to start from, say, /home/daenn?

Offline

Board footer

Powered by FluxBB