Xfce Forum

Sub domains
 

You are not logged in.

#1 2024-03-20 13:03:41

rayandrews
Member
From: Vancouver B.C. Canada
Registered: 2011-12-30
Posts: 213

[SOLVED] Shorter suspend timeout?

We have that slider to set suspend timeout, but it only goes as low as 15 minutes.  Where's the actual setting stored?  I have reason to temporarily reduce it to just a couple of minutes and I presume if I know the correct file I'll be able to tweak that.

Last edited by rayandrews (2024-03-20 22:19:50)

Offline

#2 2024-03-20 13:54:24

Tamaranch
Member
Registered: 2020-12-31
Posts: 321

Re: [SOLVED] Shorter suspend timeout?

I think you're talking about this issue: https://gitlab.xfce.org/xfce/xfce4-powe … -/issues/3
It's fixed in 4.19.3, but you can already change the setting via xfconf: see https://gitlab.xfce.org/xfce/xfce4-powe … note_83785

Offline

#3 2024-03-20 14:05:17

rayandrews
Member
From: Vancouver B.C. Canada
Registered: 2011-12-30
Posts: 213

Re: [SOLVED] Shorter suspend timeout?

Thanks:

% xfconf-query -n -c xfce4-power-manager -p "/xfce4-power-manager/inactivity-on-ac" -t uint -s 1

... gives me one minute before suspend, as advertised.  But where's the file where that setting is stored?

Offline

#4 2024-03-20 14:07:38

Tamaranch
Member
Registered: 2020-12-31
Posts: 321

Re: [SOLVED] Shorter suspend timeout?

It's in ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml, but don't edit this file by hand, xfconf will probably overwrite it, use xfconf-query instead.

Offline

#5 2024-03-20 14:49:40

rayandrews
Member
From: Vancouver B.C. Canada
Registered: 2011-12-30
Posts: 213

Re: [SOLVED] Shorter suspend timeout?

Ok.  It's just a temporary thing anyway.  I'm trying to figure out the correct command in /etc/rc.local to let me wake up from suspend via the keyboard.  Used to be easy in Debian 11 but Debian 12 makes it harder.  A possible future option in xfce4?  Some folks have their machine under the desk or somewhere that the power button might not be easily accessible, so a keyboard wakeup would be a nice feature.  Thanks Tamaranch.

Offline

#6 2024-03-20 14:54:52

Tamaranch
Member
Registered: 2020-12-31
Posts: 321

Re: [SOLVED] Shorter suspend timeout?

I don't know if it's to do with Xfce, my laptop wakes up when I press a key on the keyboard (internal keyboard or usb keyboard). Maybe ToZ will have more to say about it, if he passes by.

Offline

#7 2024-03-20 15:03:46

rayandrews
Member
From: Vancouver B.C. Canada
Registered: 2011-12-30
Posts: 213

Re: [SOLVED] Shorter suspend timeout?

I think its an OS thing, still I'll bet Xfce could handle it if she wanted to.  Mind ... as I said, the rules changed between Debian 11 and 12, so maybe Xfce should stay out of it.  Wiser head will know what to do.

Offline

#8 2024-03-20 16:21:47

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: [SOLVED] Shorter suspend timeout?

rayandrews wrote:

I'm trying to figure out the correct command in /etc/rc.local to let me wake up from suspend via the keyboard.

Those would be your system wakeups. Have a look at this Arch wiki article for more information. Once you figure out the correct address and command, you can add that to a system startup file.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Registered users online in this topic: 0, guests: 2
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.011 seconds, 8 queries executed - Memory usage: 553.14 KiB (Peak: 554.42 KiB) ]