I prefer the behavior of the PCManFM desktop over the Moksha one, so I added the line "pcmanfm --desktop" to ~/.e/e/applications/startup/startupcommands. Unfortunately, it does not close politely when I log out or shutdown, causing the system to wait. The command "killall pcmanfm" works fine, and I have been in the habit of manually running this before I log off, which causes logoff to go as desired. How can I get this process to close nicely when logging out?
From what I've read, one solution is to place a script in /etc/init.d and link to it in /etc/rc0.d and/or /etc/rc6.d, but I'd like to know if there is something slicker. Maybe I can start the desktop as a daemon?
Note that regular instances of pcmanfm don't cause any problems for logging out.