Openbox and lxsession-logout
Posted: Sun Jun 07, 2009 12:29 am
Hello. I am running a debian-based system. I had only openbox with lxpanel installed. I wrote a short script to call a custom logout script and saved it as /usr/bin/lxsession-logout. So when I chose logout from the lxpanel menu, my custom logout script would run.
But I decided to do a full lxde install and give users the choice of lxde or openbox + lxpanel. The problem is my file got overwritten. Now I can only logout from the lxde session and not the openbox session. So I am trying to find a way to have openbox access my custom logout script when logout is chosen from the lxpanel menu during an openbox session. My first try was to add this line to ~/.config/openbox/autostart
ln -s /usr/bin/antix-logout /usr/bin/lxsession-logout
but it didn't work. How do I get this to work? Or should I just edit the lxpanel menu to open the custom app? Or would that need a symlink also?
Any ideas? Thanks.
john
But I decided to do a full lxde install and give users the choice of lxde or openbox + lxpanel. The problem is my file got overwritten. Now I can only logout from the lxde session and not the openbox session. So I am trying to find a way to have openbox access my custom logout script when logout is chosen from the lxpanel menu during an openbox session. My first try was to add this line to ~/.config/openbox/autostart
ln -s /usr/bin/antix-logout /usr/bin/lxsession-logout
but it didn't work. How do I get this to work? Or should I just edit the lxpanel menu to open the custom app? Or would that need a symlink also?
Any ideas? Thanks.
john