Shutdown does not work in LXDE

Bug #685347 reported by Roman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cairo-Dock Plug-ins
Invalid
Low
Fabounet
LXDE
New
Undecided
Unassigned

Bug Description

Using cairo-dock version 2.1.3-10-lucid under the LXDE Desktop Environment (which uses the Openbox window manager) the "logout" applet does not work. The error log says "couldn't guess what to do to shutdown," but the correct command to bring up the menu of shutdown, restart, etc. is "lxde-logout," though this doesn't use the custom image banner header. I've attached a debug log as instructed, see around line 800 for the error thrown.

How to reproduce:

1) Run LXDE desktop environment (Trisquel-Mini from trisquel.info is a good one) and install cairo-dock from Synaptic.
2) Click the "logout" applet.
3) Observe that nothing happens.
4) Compare with a GNOME-based distribution and note that the proper menu pops up, asking if you want to shutdown, restart, etc.

Revision history for this message
Roman (thezub) wrote :
Revision history for this message
Matthieu Baerts (matttbe) wrote :

Hello and thank you for this bug report!

Is there another command to logout and or change user session?

Changed in cairo-dock-core:
assignee: nobody → Fabounet (fabounet03)
Revision history for this message
Roman (thezub) wrote :

In LXDE the command is lxde-logout, the problem is that if you set a custom header graphic for that menu it doesn't seem to show up if you run lxde-logout from terminal, but does work if you run it from the menu, so maybe there's some argument, though the man page is empty on this regard.

description: updated
affects: cairo-dock-core → cairo-dock-plug-ins
Revision history for this message
Fabounet (fabounet03) wrote : Re: [Bug 685347] Re: Shutdown does not work in LXDE

thanks for reporting this !
I think that the correct way is to set up the custom command in the applet's
config (there are 2 fields reserved for that puspose).
if you know a way to detect the LXDE environment, we could handle it like we
do with the others.
do you know for instance any environment variable that would indicate an
LXDE session ?
also, does LXDE use gvfs to access files ?

2010/12/5 Matthieu Baerts <email address hidden>

> ** Project changed: cairo-dock-core => cairo-dock-plug-ins
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/685347
>
> Title:
> Shutdown does not work in LXDE
>
> Status in Cairo-Dock : Plug-ins:
> New
> Status in LXDE - Lightweight X11 Desktop Environment:
> New
>
> Bug description:
> Using cairo-dock version 2.1.3-10-lucid under the LXDE Desktop
> Environment (which uses the Openbox window manager) the "logout" applet does
> not work. The error log says "couldn't guess what to do to shutdown," but
> the correct command to bring up the menu of shutdown, restart, etc. is
> "lxde-logout," though this doesn't use the custom image banner header. I've
> attached a debug log as instructed, see around line 800 for the error
> thrown.
>
> How to reproduce:
>
> 1) Run LXDE desktop environment (Trisquel-Mini from trisquel.info is a
> good one) and install cairo-dock from Synaptic.
> 2) Click the "logout" applet.
> 3) Observe that nothing happens.
> 4) Compare with a GNOME-based distribution and note that the proper menu
> pops up, asking if you want to shutdown, restart, etc.
>
>
>
>
>

Revision history for this message
Fabounet (fabounet03) wrote :

according to http://wiki.lxde.org/en/LXSession#Logging_Out, running "lxsession-logout" will open the window.
the point now is how to know we are on an LXDE session?

anyway, I think we can consider the bug as fixed (or invalid on our side), since you can set this command to the applet and it should then launch it. please reopen it if you think something is wrong.

Changed in cairo-dock-plug-ins:
importance: Undecided → Low
status: New → Invalid
Revision history for this message
Vedran Rodic (vrodic) wrote :

Does this bug still happen for you?

In current Ubuntu 14.04, LXDE logout button (or lxsession-logout, or lxde-logout) does not show the logout menu every time, but it does sometimes. I did a test now, and menu showed 5 out of 10 times tried.

I've opened an upstream bug here: https://sourceforge.net/p/lxde/bugs/643/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.