Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xfce 4.6 hibernate/suspend buttons at logout?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
h017ah
n00b
n00b


Joined: 18 Apr 2007
Posts: 46

PostPosted: Thu Mar 12, 2009 2:17 pm    Post subject: xfce 4.6 hibernate/suspend buttons at logout? Reply with quote

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
View user's profile Send private message
bobdva
Apprentice
Apprentice


Joined: 25 Nov 2003
Posts: 207
Location: Moscow

PostPosted: Thu Mar 12, 2009 3:10 pm    Post subject: Re: xfce 4.6 hibernate/suspend buttons at logout? Reply with quote

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
View user's profile Send private message
h017ah
n00b
n00b


Joined: 18 Apr 2007
Posts: 46

PostPosted: Thu Mar 12, 2009 8:50 pm    Post subject: Re: xfce 4.6 hibernate/suspend buttons at logout? Reply with quote

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
View user's profile Send private message
bobdva
Apprentice
Apprentice


Joined: 25 Nov 2003
Posts: 207
Location: Moscow

PostPosted: Fri Mar 13, 2009 9:19 am    Post subject: Re: xfce 4.6 hibernate/suspend buttons at logout? Reply with quote

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
View user's profile Send private message
Mickael
Advocate
Advocate


Joined: 05 Sep 2005
Posts: 2387
Location: ~Belfort! - France - EU

PostPosted: Fri Mar 13, 2009 9:34 am    Post subject: Re: xfce 4.6 hibernate/suspend buttons at logout? Reply with quote

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
View user's profile Send private message
Mickael
Advocate
Advocate


Joined: 05 Sep 2005
Posts: 2387
Location: ~Belfort! - France - EU

PostPosted: Fri Mar 13, 2009 9:49 am    Post subject: Reply with quote

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
View user's profile Send private message
bobdva
Apprentice
Apprentice


Joined: 25 Nov 2003
Posts: 207
Location: Moscow

PostPosted: Fri Mar 13, 2009 10:42 am    Post subject: Re: xfce 4.6 hibernate/suspend buttons at logout? Reply with quote

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
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1471
Location: /uk/sheffield

PostPosted: Mon Mar 23, 2009 8:07 pm    Post subject: Re: xfce 4.6 hibernate/suspend buttons at logout? Reply with quote

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
View user's profile Send private message
nichocouk
Guru
Guru


Joined: 10 Mar 2005
Posts: 585
Location: Glasgow

PostPosted: Mon Jun 22, 2009 10:21 pm    Post subject: Re: xfce 4.6 hibernate/suspend buttons at logout? Reply with quote

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
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1471
Location: /uk/sheffield

PostPosted: Mon Jun 22, 2009 10:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
s0ulslack
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2003
Posts: 134
Location: Idaho

PostPosted: Tue Jun 23, 2009 4:45 am    Post subject: Reply with quote

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
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1471
Location: /uk/sheffield

PostPosted: Tue Jun 23, 2009 6:21 am    Post subject: Reply with quote

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
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Tue Jun 23, 2009 7:51 am    Post subject: Reply with quote

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
View user's profile Send private message
s0ulslack
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2003
Posts: 134
Location: Idaho

PostPosted: Tue Jun 23, 2009 8:16 am    Post subject: Reply with quote

slack--line, you'll have to actually configure some things.. it won't just work (tm). Check http://www.gentoo.org/doc/en/power-management-guide.xml and see if that helps, also try searching the forums :)
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1471
Location: /uk/sheffield

PostPosted: Wed Jun 24, 2009 12:19 pm    Post subject: Reply with quote

s0ulslack wrote:
slack--line, you'll have to actually configure some things.. it won't just work (tm). Check http://www.gentoo.org/doc/en/power-management-guide.xml and see if that helps, also try searching the forums :)


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
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8710
Location: ~Brussels - Belgique

PostPosted: Fri Jun 26, 2009 1:49 pm    Post subject: Reply with quote

Hello,

According to http://forums.wolvix.org/index.php?topic=1388.0
you need HAL and emerge pm-utils

It worked for me 8)
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3267
Location: Canada

PostPosted: Fri Jun 26, 2009 2:07 pm    Post subject: Re: xfce 4.6 hibernate/suspend buttons at logout? Reply with quote

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
View user's profile Send private message
nichocouk
Guru
Guru


Joined: 10 Mar 2005
Posts: 585
Location: Glasgow

PostPosted: Sat Jun 27, 2009 10:03 am    Post subject: Reply with quote

XavierMiller wrote:
Hello,

According to http://forums.wolvix.org/index.php?topic=1388.0
you need HAL and emerge pm-utils

It worked for me 8)

Yes! I had already HAL support, and emerging pm-utils did the trick! :)
Thanks Xavier
_________________
nichocouk

L'Etat, c'est moi.
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1471
Location: /uk/sheffield

PostPosted: Sun Jun 28, 2009 8:53 pm    Post subject: Reply with quote

nichocouk wrote:
XavierMiller wrote:
Hello,

According to http://forums.wolvix.org/index.php?topic=1388.0
you need HAL and emerge pm-utils

It worked for me 8)

Yes! I had already HAL support, and emerging pm-utils did the trick! :)


Worked for me too, cheers :D
_________________
"Science is what we understand well enough to explain to a computer.  Art is everything else we do." - Donald Knuth
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum