View previous topic :: View next topic |
Author |
Message |
h017ah n00b
Joined: 18 Apr 2007 Posts: 46
|
Posted: Thu Mar 12, 2009 2:17 pm Post subject: xfce 4.6 hibernate/suspend buttons at logout? |
|
|
How do I disable the "Suspend" and "Hibernate"-buttons which shows up in xfce-4.6 when you press Log out? Can't find any options for it, and my system doesn't have any suspend or hibernate-function configured.
How do you configure Hibernate and Suspend-actions in xfce anyway? |
|
Back to top |
|
|
bobdva Apprentice
Joined: 25 Nov 2003 Posts: 207 Location: Moscow
|
Posted: Thu Mar 12, 2009 3:10 pm Post subject: Re: xfce 4.6 hibernate/suspend buttons at logout? |
|
|
h017ah wrote: | How do I disable the "Suspend" and "Hibernate"-buttons which shows up in xfce-4.6 when you press Log out? Can't find any options for it, and my system doesn't have any suspend or hibernate-function configured.
How do you configure Hibernate and Suspend-actions in xfce anyway? |
no, it's only front-end for hibernate-ram & hibernate commands |
|
Back to top |
|
|
h017ah n00b
Joined: 18 Apr 2007 Posts: 46
|
Posted: Thu Mar 12, 2009 8:50 pm Post subject: Re: xfce 4.6 hibernate/suspend buttons at logout? |
|
|
bobdva wrote: | h017ah wrote: | How do I disable the "Suspend" and "Hibernate"-buttons which shows up in xfce-4.6 when you press Log out? Can't find any options for it, and my system doesn't have any suspend or hibernate-function configured.
How do you configure Hibernate and Suspend-actions in xfce anyway? |
no, it's only front-end for hibernate-ram & hibernate commands | Ok, then that's figured out.
I still hope there's a way to disable those two buttons at logout, though... |
|
Back to top |
|
|
bobdva Apprentice
Joined: 25 Nov 2003 Posts: 207 Location: Moscow
|
Posted: Fri Mar 13, 2009 9:19 am Post subject: Re: xfce 4.6 hibernate/suspend buttons at logout? |
|
|
h017ah wrote: | I still hope there's a way to disable those two buttons at logout, though... |
you able to report a bug to xfce http://bugzilla.xfce.org/
these button are from desktop manager project |
|
Back to top |
|
|
Mickael Advocate
Joined: 05 Sep 2005 Posts: 2387 Location: ~Belfort! - France - EU
|
Posted: Fri Mar 13, 2009 9:34 am Post subject: Re: xfce 4.6 hibernate/suspend buttons at logout? |
|
|
h017ah wrote: | How do I disable the "Suspend" and "Hibernate"-buttons which shows up in xfce-4.6 when you press Log out? Can't find any options for it, and my system doesn't have any suspend or hibernate-function configured.
How do you configure Hibernate and Suspend-actions in xfce anyway? |
Hi,
In order to configure Hibernate and Suspend-actions you must install xfce-extra/xfce4-power-manager. _________________ À LIRE : COMMENT POSTER ET OBTENIR DE L'AIDE ?
Qui suis-je ? Bon j'ai relu, comme d'habitude, je suis bon a rien le vendredi
Qui suis-je ? Je ne serai jamais modo |
|
Back to top |
|
|
Mickael Advocate
Joined: 05 Sep 2005 Posts: 2387 Location: ~Belfort! - France - EU
|
Posted: Fri Mar 13, 2009 9:49 am Post subject: |
|
|
I've a question about notification-deamon-xfce.
EDIT : Sorry, I erased the question, I thought I was in the discussion of XFCE 4.6 Final Released! _________________ À LIRE : COMMENT POSTER ET OBTENIR DE L'AIDE ?
Qui suis-je ? Bon j'ai relu, comme d'habitude, je suis bon a rien le vendredi
Qui suis-je ? Je ne serai jamais modo
Last edited by Mickael on Fri Mar 13, 2009 11:28 am; edited 3 times in total |
|
Back to top |
|
|
bobdva Apprentice
Joined: 25 Nov 2003 Posts: 207 Location: Moscow
|
Posted: Fri Mar 13, 2009 10:42 am Post subject: Re: xfce 4.6 hibernate/suspend buttons at logout? |
|
|
Mickael wrote: | In order to configure Hibernate and Suspend-actions you must install xfce-extra/xfce4-power-manager. |
wow! thanx a lot! |
|
Back to top |
|
|
slackline Veteran
Joined: 01 Apr 2005 Posts: 1471 Location: /uk/sheffield
|
Posted: Mon Mar 23, 2009 8:07 pm Post subject: Re: xfce 4.6 hibernate/suspend buttons at logout? |
|
|
Mickael wrote: | h017ah wrote: | How do I disable the "Suspend" and "Hibernate"-buttons which shows up in xfce-4.6 when you press Log out? Can't find any options for it, and my system doesn't have any suspend or hibernate-function configured.
How do you configure Hibernate and Suspend-actions in xfce anyway? |
Hi,
In order to configure Hibernate and Suspend-actions you must install xfce-extra/xfce4-power-manager. |
Okay, I've got xfce-extra/xfce4-power-manager installed, how do I actually configure it?
There's nothing in the Power Management Preferences that allows me to set a command to run the hibernate script which I normally do through sudo (which is configured only for a handful of applications).
The alternative that I can think of is to place symlinks to the hibernate and hibernate-ram scripts into /usr/bin and change owner and group permissions, but that doesn't seem to work.
I'm any pointers appreciated.
slack _________________ "Science is what we understand well enough to explain to a computer. Art is everything else we do." - Donald Knuth |
|
Back to top |
|
|
nichocouk Guru
Joined: 10 Mar 2005 Posts: 585 Location: Glasgow
|
Posted: Mon Jun 22, 2009 10:21 pm Post subject: Re: xfce 4.6 hibernate/suspend buttons at logout? |
|
|
Mickael wrote: | In order to configure Hibernate and Suspend-actions you must install xfce-extra/xfce4-power-manager. |
Hi,
I don't think that's correct, at least you don't have to install xfce4-power-manager. I have one laptop and everything (like hibernate when choosing the hibernate option from the logout command) has been working smoothly without xfce4-power-manager.
Yet I've now installed it and it looks great!
My reason for looking at this thread is that I have a workstation where hibernate from the Xfce logout menu used to work fine, but it seems that since the upgrade to Xfce 4.6 I cannot use the logout menu anymore to hibernate. I get something like 'hibernate script not found'.
Running /usr/sbin/hibernate from the command line works fine though.
For some reason it seems Xfce has lost touch with what command it should run to hibernate the system. How can I fix that?
Cheers _________________ nichocouk
L'Etat, c'est moi. |
|
Back to top |
|
|
slackline Veteran
Joined: 01 Apr 2005 Posts: 1471 Location: /uk/sheffield
|
Posted: Mon Jun 22, 2009 10:43 pm Post subject: |
|
|
Haven't come up with anything yet, just using the command line (which is fine since I usually need that available anyway. _________________ "Science is what we understand well enough to explain to a computer. Art is everything else we do." - Donald Knuth |
|
Back to top |
|
|
s0ulslack Tux's lil' helper
Joined: 29 Jan 2003 Posts: 134 Location: Idaho
|
Posted: Tue Jun 23, 2009 4:45 am Post subject: |
|
|
Xfce will try to use HAL for suspend/hibernate. You can also disable the buttons on the logout dialog with the following 2 commands.
xfconf-query -c xfce4-session -p /shutdown/ShowHibernate -s false
xfconf-query -c xfce4-session -p /shutdown/ShowSuspend -s false |
|
Back to top |
|
|
slackline Veteran
Joined: 01 Apr 2005 Posts: 1471 Location: /uk/sheffield
|
Posted: Tue Jun 23, 2009 6:21 am Post subject: |
|
|
Well I have HAL installed and running, but no dice. Any idea how to trouble shoot? _________________ "Science is what we understand well enough to explain to a computer. Art is everything else we do." - Donald Knuth |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Tue Jun 23, 2009 7:51 am Post subject: |
|
|
I used the slightly different (i.e. -n flag):
xfconf-query -c xfce4-session -np '/shutdown/ShowSuspend' -t 'bool' -s 'false'
xfconf-query -c xfce4-session -np '/shutdown/ShowHibernate' -t 'bool' -s 'false' |
|
Back to top |
|
|
s0ulslack Tux's lil' helper
Joined: 29 Jan 2003 Posts: 134 Location: Idaho
|
|
Back to top |
|
|
slackline Veteran
Joined: 01 Apr 2005 Posts: 1471 Location: /uk/sheffield
|
Posted: Wed Jun 24, 2009 12:19 pm Post subject: |
|
|
Thanks for the pointers s0ulslack, but I've already applied the Power Management to the desktop and laptop for some time (about two years if I remember correctly, haven't done it yet on the PS3, but that systems a lot newer and is still being tweaked).
I can hibernate and suspend no problem...as root (or user via sudo) from a terminal.
The problem I have is in configuring Xfce4's logout dialog to acknowledge that I'm running tuxonice kernels with sys-power/hibernate-scripts installed and locate the /usr/sbin/hibernate and /usr/sbin/hibernate-ram (which I have configured to allow my user account to have permission to execute via sudo).
Will try seeing if xfconf-query provides the ability to set this, but am connected over SSH at the moment and didn't touch the computers yesterday evening.
slack _________________ "Science is what we understand well enough to explain to a computer. Art is everything else we do." - Donald Knuth |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8710 Location: ~Brussels - Belgique
|
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3267 Location: Canada
|
Posted: Fri Jun 26, 2009 2:07 pm Post subject: Re: xfce 4.6 hibernate/suspend buttons at logout? |
|
|
bobdva wrote: | h017ah wrote: | How do I disable the "Suspend" and "Hibernate"-buttons which shows up in xfce-4.6 when you press Log out? Can't find any options for it, and my system doesn't have any suspend or hibernate-function configured.
How do you configure Hibernate and Suspend-actions in xfce anyway? |
no, it's only front-end for hibernate-ram & hibernate commands |
I wish, it says it requires hal installed |
|
Back to top |
|
|
nichocouk Guru
Joined: 10 Mar 2005 Posts: 585 Location: Glasgow
|
Posted: Sat Jun 27, 2009 10:03 am Post subject: |
|
|
Yes! I had already HAL support, and emerging pm-utils did the trick!
Thanks Xavier _________________ nichocouk
L'Etat, c'est moi. |
|
Back to top |
|
|
slackline Veteran
Joined: 01 Apr 2005 Posts: 1471 Location: /uk/sheffield
|
Posted: Sun Jun 28, 2009 8:53 pm Post subject: |
|
|
nichocouk wrote: |
Yes! I had already HAL support, and emerging pm-utils did the trick!
|
Worked for me too, cheers _________________ "Science is what we understand well enough to explain to a computer. Art is everything else we do." - Donald Knuth |
|
Back to top |
|
|
|