Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Git Version | Version Git Log out button has lost suspend and hibernate
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Git Version | Version Git

Subjects Author Language Messages Last message
[Locked] Log out button has lost suspend and hibernate
Guest English 14 matttbe [Read]
13 August 2014 à 20:50

Guest, Wednesday 27 October 2010 à 03:31

Sorry I can't participate in French - I'm one of those uncultured monolingual Americans

Problem:
The 'Log Out' panel that appears when the Log Out button in Cairo-dock is clicked has lost the Power Off, Suspend and Hibernate buttons. The only two buttons now are Log Out and Switch User. (I don't think Switch User was there before - I only had four buttons in the panel.)

I have tried adding a Log out button to the Gnome panel, and it works fine. Also, pm-suspend works from the keyboard.

My system:
    • Lenovo Z61m with ATI Radeon x1400 and second monitor on VGA, both screens at 1440x900
    • Cairo-Dock version 2.2.1~0alpha0
    • Ubuntu 10.04 (with auto updates)
    • OpenGL
    • Compiz
    • Gnome
    • Bug appeared immediately after a reboot. I had not rebooted for a while, so a number of Ubuntu updates were performed over a couple of weeks - any one of them could have caused this problem. The problem appeared today (10/26).

SQP, Wednesday 27 October 2010 à 08:10


Subscription date : 03 July 2010
Messages : 1081
Logout applet has two actions : left and middle click. One will pull the logout dialog while the other will use the shutdown one.
You can swap them in the config. By default, shutdown should be the main action (left click)

Or you can, like me, add those actions to the gnome menu (save up one icon space):
gnome-session-save --shutdown-dialog
gnome-session-save --logout-dialog


uncultured users are always welcomed with such bug reports I should be the one apologising for such english torture.

matttbe, Wednesday 27 October 2010 à 11:55


Subscription date : 24 January 2009
Messages : 12573
By default, shutdown should be the main action (left click)
Currently, it's not like that

I propose this patch
$ bzr cdiff
=== modified file 'logout/data/logout.conf.in'
--- logout/data/logout.conf.in    2010-10-11 23:57:08 +0000
+++ logout/data/logout.conf.in    2010-10-27 09:54:24 +0000
@@ -99,10 +99,10 @@
frame_action=

#l- [Log out; Shut down;Lock screen] Action on left-click:
-click=0
+click=1

#l- [Log out; Shut down;Lock screen] Action on middle-click:
-middle-click=1
+middle-click=0


#F[Commands;gtk-preferences]

fabounet, Wednesday 27 October 2010 à 12:07


Subscription date : 30 November 2007
Messages : 17118
well, ok

Edit: by the way Nochka the applet now indicates when reboot is required

matttbe, Wednesday 27 October 2010 à 12:15


Subscription date : 24 January 2009
Messages : 12573
Who will do the commit?

fabounet, Wednesday 27 October 2010 à 12:27


Subscription date : 30 November 2007
Messages : 17118
I'll add an enum in the code to be cleaner, so I can do this at the same time.

matttbe, Wednesday 27 October 2010 à 13:41


Subscription date : 24 January 2009
Messages : 12573
I've committed a few other things and I've included this patch. But you can revert it if you want

fabounet, Wednesday 27 October 2010 à 16:13


Subscription date : 30 November 2007
Messages : 17118
ok thanks, I just have to remember to bzr pull ^^

matttbe, Wednesday 27 October 2010 à 16:38


Subscription date : 24 January 2009
Messages : 12573
(don't forget that you can also use bzr uncommit (and bzr diff + bzr patch) )

Guest, Thursday 17 July 2014 à 03:44

I loooooooooooooooooooooooove (spam) Cairo-Dock

Guest, Friday 08 August 2014 à 12:37

Kiss Kiss

Guest, Wednesday 13 August 2014 à 02:05

Blah

Guest, Wednesday 13 August 2014 à 11:04

Woaaw

Guest, Wednesday 13 August 2014 à 14:38

Vive cairo-dock!

matttbe, Wednesday 13 August 2014 à 20:50


Subscription date : 24 January 2009
Messages : 12573
This topic is now locked, thanks spams...

Git Version | Version Git

Subjects Author Language Messages Last message
[Locked] Log out button has lost suspend and hibernate
Guest English 14 matttbe [Read]
13 August 2014 à 20:50


Glx-Dock / Cairo-Dock List of forums Git Version | Version Git Log out button has lost suspend and hibernate Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.