Jump to content
  • 0
Sign in to follow this  
padbauer

PCManFM desktop causes logout/shutdown to wait

Question

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.

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

What if you close pcmanfm before logging out? Does it logoff 'politely'?

And what if you do not put it in the startup commands? Does it help?

 

ps: I use pcmanfm too, but I use key-bindings (or just click application) to start. Easy enough too to close it.

I do not have this problem.

 

 


Note that regular instances of pcmanfm don't cause any problems for logging out.

I see you have 'regular instances' of pcmanfm. Can you explain why you need this 'irregular instance' of pcmanfm?

Share this post


Link to post
Share on other sites
  • 0

Install xdotool, set key binding say alt+p to bring up system controls, then create this simple script...

#!/bin/sh

pkill pcmanfm && xdotool keydown alt+p keyup alt+p &
fi

Store it safely and name it something like bodhi-shutsown.sh

then call it from a key binding, or create a personal application launcher, add to desktop and use it for a custom shutdown button.

 

Not elegant, but effective.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×