All Questions
Tagged with ubuntu-mate suspend
16
questions
1
vote
1
answer
2k
views
Trap Ctrl+C in script
I have this just about the way I would like it.
But I can figure out how to trap Ctrl+C, so that if I want to end the script early, it can re-enable the suspend and hibernation modes.
I looked at ...
3
votes
1
answer
2k
views
Misunderstanding about systemd-inhibit
I did an experiment. I used K3b to burn an iso on a CD-RW. During that process, I issued
systemctl suspend.
The computer did suspend.
Am I misunderstanding systemd-inhibit?
I looked at this and not ...
0
votes
0
answers
138
views
Run script in sleep mode
I thought scripts in /lib/systemd/system-sleep/ were run when computer resumes from a sleep state.
(Pushing the sleep button on my computer.)
Everything works except the cvlc line.
#!/bin/sh
if [ &...
0
votes
0
answers
363
views
Ubuntu Mate 22.04: System shuts down after it was suspended
Summary of the problem
I close the lid of my notebook and it seems to me that it's suspended correctly as it is configured in power management.
If I opened the lid after a while, I'd expect my ...
5
votes
2
answers
1k
views
Ubuntu Mate Desktop not asking for password after suspend
I am struggling with this problem for few days.
I have Ubuntu 20.04 installed with ubuntu-mate-desktop. When I suspend the system, on resume it does not ask for password.
Is there any way to set it so ...
1
vote
0
answers
64
views
Ubuntu 20.04 mate strange behavior after suspend
I moved not long time ago to Ubuntu 20.04, and installed mate.
After installing apache2, I have a very strange behavior after suspending the system:
I am not asked to introduce password in order to ...
4
votes
1
answer
522
views
How to select custom waiting time before putting screen to sleep in Mate Power Management?
Simple and probably very dumb question, but I'm very new to Linux and I don't really know where to look for something like this
I'm trying to set a custom wait/idle time before putting the screen to ...
0
votes
1
answer
44
views
Script does not execute when returning from sleep state
I have this in /usr/lib/pm-utils/sleep.d/ but it does not execute when returning from the sleep state.
#!/bin/sh
PATH=/usr/bin/:/usr/share/sounds/
case "$1" in
resume|thaw)
...
1
vote
1
answer
51
views
Will script continue if what it checks for changes?
I have a question about this.
I have it as a startup program.
If a download ends or I delete .part files, will the script then suspend?
for file in /home/andy/Downloads/*.part ; do
if [[ -f ...
0
votes
0
answers
997
views
How can I change sleep timeout when on AC on Ubuntu MATE?
I used dconf editor to change my sleep timeout to 300 seconds when on AC, but the change doesn't seem to be effective.
I'm using ubuntu MATE 18.04
Is the sleep timeout not configurable?
1
vote
5
answers
2k
views
Download aborted when computer went to sleep
I was downloading a large file in my browser when my computer went to sleep.
The download was lost.
Any way to prevent that?
6
votes
1
answer
2k
views
Suspending has started to require authentication
My laptop has started to requiring authentication to suspend.
This means that it never suspends automatically when the lid is closed or power is low.
I am currently running 17.10. This was definitely ...
1
vote
0
answers
117
views
Bug: 100% brightness on resume?
When I wake my system from resume, its brightness is 100%, each time. I have xfce, but it did not work. xfce also is not sending me critically low battery notifications. Any advice?
1
vote
0
answers
149
views
Ubuntu MATE 16.04 sends me back to login page when waking from suspend
For some reason, whenever I wake my computer from suspend and log in, five seconds later it sends me back to a login screen, but its different. instead of the classic GNOME 2 login screen, it sends me ...
0
votes
0
answers
2k
views
Ubuntu MATE suspend during boot and shutdown
I recently installed Ubuntu MATE 16.04 onto an Acer Aspire One netbook.
During the install, the netbook went into suspend every 30 seconds. Pressing the power button would wake the netbook up and the ...