Questions tagged [sleep]
a command for delaying execution of a program for the given length of time. For low power mode, use *suspend* instead.
200 questions
0
votes
0
answers
45
views
Sending SIGSTOP to background sleep process does not stop it; it keeps running
I am trying to implement a shell(zsh) based Pomodoro clock and I encountered a problem: sending -STOP signal to background sleep process does not stop it.
WesternGun@MyMacBook-Pro:~ [12:13:49] 0
% ...
0
votes
1
answer
23
views
Examining jobs submitted in other sessions
A semi-hypothetical question...i've logged into a machine remotely, set up a series of tasks along the lines of
sleep 36000 ; source myjob1 &
sleep 36000 ; source myjob2 &
(etc.) and then ...
0
votes
0
answers
53
views
External USB drive with zfs pool won't go to sleep (most of the time)
I have an external hard disk with a ZFS pool on it. The data is accessed very infrequently so I would like to drive to go to sleep after some inactivity, which I set to 10min:
hdparm -S 120 /dev/disk/...
11
votes
1
answer
895
views
How do I figure out what is inhibiting my screensaver and preventing lock screen/sleep?
At some point last month, I realized my screensaver (xscreensaver in this case) was no longer blanking the screen (and therefore also not locking it, and going into dpms idle/standby) at all. I had ...
0
votes
0
answers
72
views
Black Screen after dim/sleep
I am using Ubuntu-based KDE Neon and recently added a new user to my machine.
Ever since I added the new user, whenever the machine goes to sleep - usually due to inactivity - the screen stays black, ...
1
vote
1
answer
64
views
Can Audacious be configured to keep the computer awake while playing music?
Please read before typing:
"No, it is not possible with Audacious on its own" is a totally OK answer I would accept as the answer, if so.
If you do not know that is totally OK, but please do ...
-4
votes
2
answers
187
views
What is difference between suspending a computer and just walking away from it?
I've been looking at lots of web content about sleep, suspend, hibernate modes of a computer but I have not come across any discussion of this seemingly simple question:
What, if anything, is the ...
1
vote
0
answers
136
views
Asus TUF A16 AMD Laptop wakes up immediately after sleep when External Monitor is plugged in
I'm using the ASUS TUF A16 which comes with AMD Radeon RX 7700S dedicated GPU, and an integrated Radeon 680M. It manages them through a MUX switcher in the laptop, with the only option to run ...
0
votes
0
answers
43
views
Delayed systemd slock autolock
I've been playing with this autoslock.service file:
[Unit]
Description=Lock the screen on suspend
+Before=sleep.target
[Service]
User=garrett
Environment=DISPLAY=:0
ExecStart=/usr/local/bin/slock
[...
1
vote
0
answers
60
views
Why does my KDE make such a mess when coming back?
I want to do a bunch of tasks before and after the screensaver is activated in KDE (still using X11, since Wayland has too many flaws even after 10 years).
So I made a custom script that is triggered ...
0
votes
0
answers
72
views
Fedora 40 freezes on my thinkpad t460 when chrome is being is used
So,basically the title. Although I am not 100% sure but it happens when:
I am using a browser ( happened both on firefox and chrome)
and the system has been woken up from the sleep/suspend.
Earlier I ...
0
votes
1
answer
486
views
Suspending and Resuming Thinkpad X1 Carbon Gen 10 in Debian 12
S3 suspend used to work on this machine, but then I updated the firmware and now it doesn't.
systemctl suspend makes the screen go black and print
Allocating and mlocking memory: 1050624 kb
Sleeping ....
0
votes
2
answers
136
views
How in convenient and flexible way to input time period for timer and convert it to seconds in Bash?
Like in sleep: sleep 1h 30m 50s. But ideally with even more flexibility like in time calculator with support time corrections with minus sign.
Examples:
time2seconds (t2s) 1h30m50s # basic case - ...
0
votes
1
answer
168
views
start command at given time interactively in terminal
is there similar command to sleep, but where I can specify given time, so that my command will start at given time, INTERACTIVELY in my current open terminal window?
I know about at command, but that ...
0
votes
0
answers
177
views
Why do the lights of keyboard turn on after standby?
What causes the keyboard to stay turned on (or turn back on a few min later) after standby and how to make it turn off on Debian?
There are a few lights on my USB keyboard and for a long time after ...