Hey guys. I like being able to have privacy when using my computer so I really need to figure out how I can change when the computer automatically goes to sleep and also make sure that it wakes up to a locked screen.I looked in the control center and was only able to find screen blanking settings, and even went through the trouble of looking through all the files in the"Edit fluxbox settings""Global Desktop-session""User Desktop-session","Edit config files" and related config files in Geany, and was unable to find anything that looked remotely close to what I wanted (I even tried ctrl+f"sleep" in all these various files with no results). I also looked very thoroughly through searching up"site:antix.freeforums.org sleep" and was unable to find anything related to my problem.
What can I do to change the sleep and lock time intervals? And please don't try to make me build anything from the source code this time __{{emoticon}}__
topic title: change when the computer sleeps and locks
4 posts
• Page 1 of 1
-
Posts: 28
- Joined: 06 Apr 2017
#1
Last edited by Skyroz on 01 Jun 2017, 23:01, edited 2 times in total.
-
Posts: 4,164
- Joined: 20 Feb 2009
#2
I just close my laptop and re-login in. Just type in my password and hit enter to get back to a desktop.
Mainly because we do not use systemctl which is part of Gnome and systemd.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://wiki.debian.org/Suspend"
linktext was:"https://wiki.debian.org/Suspend"
====================================
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://forums.debian.net/viewtopic.php?f=30&t=121879"
linktext was:"http://forums.debian.net/viewtopic.php?f=30&t=121879"
====================================
So I have no simple answer to your question. Maybe others do. Unless I am misunderstanding. But you said"sleep" was used in your search term.
Mainly because we do not use systemctl which is part of Gnome and systemd.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://wiki.debian.org/Suspend"
linktext was:"https://wiki.debian.org/Suspend"
====================================
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://forums.debian.net/viewtopic.php?f=30&t=121879"
linktext was:"http://forums.debian.net/viewtopic.php?f=30&t=121879"
====================================
So I have no simple answer to your question. Maybe others do. Unless I am misunderstanding. But you said"sleep" was used in your search term.
__{{emoticon}}__What can I do to change the sleep
-
Posts: 1,445
- Joined: 09 Feb 2012
#3
Instead of"sleep", I searched the forum for"suspend"
and found these likely-to-be-helpful past topics:
post49415.html?hilit=suspend%20time#p49415
viewtopic.php?f=49&t=5071&hilit=suspend%20time
post25008.html?hilit=suspend%20time#p25008
and found these likely-to-be-helpful past topics:
post49415.html?hilit=suspend%20time#p49415
viewtopic.php?f=49&t=5071&hilit=suspend%20time
post25008.html?hilit=suspend%20time#p25008
-
Posts: 604
- Joined: 27 Feb 2009
#4
FYI, I'm no expert, but you are welcome to benefit from my experiences with similar needs.
The packages I installed are:
xtrlock
xautolock
acpitool
On my system as root I edited desktop-session/startup and
added 2 lines to blank the screen and lock it after 25 min:
# setup sceen lock timeout
xautolock -time 25 -locker"xtrlock -b" &
I don't know flubox but in the fluxbox settings I see they have Ctrl-Alt-l (that's a lower case L) set to run xlock. That also is the same as WindowsKey-l on my machine. On my IceWM by default that key runs slock instead, which locks the keyboard. If you have xtrlock installed you could change it from xlock to xtrlock -b
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
Other easier possibilities that I thought were memory/disk hogs:
xscreensaver is a good package that might also do what you want without much hassle but takes up space and memory on a low end machine.
xfce4-power-manager is another good package that you could install that might do the job, but took 20 mb of memory
The packages I installed are:
xtrlock
xautolock
acpitool
On my system as root I edited desktop-session/startup and
added 2 lines to blank the screen and lock it after 25 min:
# setup sceen lock timeout
xautolock -time 25 -locker"xtrlock -b" &
I don't know flubox but in the fluxbox settings I see they have Ctrl-Alt-l (that's a lower case L) set to run xlock. That also is the same as WindowsKey-l on my machine. On my IceWM by default that key runs slock instead, which locks the keyboard. If you have xtrlock installed you could change it from xlock to xtrlock -b
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
Other easier possibilities that I thought were memory/disk hogs:
xscreensaver is a good package that might also do what you want without much hassle but takes up space and memory on a low end machine.
xfce4-power-manager is another good package that you could install that might do the job, but took 20 mb of memory