Questions tagged [wakeup]

Questions referring to problems taking a computer out of standby, or the 'Wakeup' program, an application that provides things such as weather, wind speed and temprarture on startup.

Filter by
Sorted by
Tagged with
57 votes
4 answers
66k views

Run Script on Wakeup? [duplicate]

Is there a way to run a script when a computer "wakes up" (from sleeping)? I know it can be done on startup, obviously, but the issue in this case is that the backlight of my laptop seems to reset ...
Eva's user avatar
  • 883
51 votes
4 answers
84k views

Wake up from suspend using USB device

I was looking for hours, maybe more, for a solution and i just found it. I want to share it with everyone. This way it will be easier googling this problem to find the solution faster. So, just like ...
Pavlos Theodorou's user avatar
51 votes
6 answers
44k views

How do I prevent immediate wake up from suspend and/or hibernation from PCI devices?

For a few days, my Ubuntu 12.04 desktop computer has mysteriously been waking up immediately after going to suspend mode. Since installation, my Ubuntu 12.10 laptop computer has also been resuming ...
Bazon's user avatar
  • 2,700
40 votes
11 answers
70k views

Ubuntu 20.04 doesn't wake up after suspend

Ubuntu 20.04 won't wake up from sleep Issue: Whenever the laptop suspends (either due to a closed lid or due to a black screen for a certain time), I cannot wake it up. The laptop does not respond to ...
1618's user avatar
  • 511
36 votes
6 answers
32k views

not waking up from suspend ubuntu 22.04

I just upgrade my Lenovo X1 Carbon from Ubuntu 20.04.4 to 22.04. Before, I could wake up from suspend by either opening the lid or by pressing the power bottom. Now, after upgrading, I cannot wake up ...
user1571823's user avatar
31 votes
4 answers
53k views

Suspend and wake PC at certain time

I want my PC to sleep at 04:58 and wake at 05:15, every day. How do I do that?
One Zero's user avatar
  • 27.1k
27 votes
6 answers
42k views

How do I make changes to /proc/acpi/wakeup permanent?

I had a problem with my Ubuntu 12.04 waking up immediately after going into suspend. I solved the problem by changing the settings in /proc/acpi/wakeup, as suggested in this question: How do I prevent ...
Jolan's user avatar
  • 271
25 votes
5 answers
11k views

laptop fails to suspend or hibernate (wakes up after 2-5 seconds without user interaction)

This all started happening after upgrading to 13.10, now I am running 14.04 and still have the same issue. When I close the lid or I do sudo pm-suspend the laptop goes into suspend for 2-5 seconds ...
feniix's user avatar
  • 494
14 votes
3 answers
11k views

How do I schedule waking up from hibernation?

Is it possible to wake up Ubuntu from hibernation at a predefined time? It should not be WOL, but rather Ubuntu waking itself up. For example, it should do what the app WakeupOnStandBy does on MS ...
nixnotwin's user avatar
  • 5,023
13 votes
2 answers
465 views

Is there a way to play a sound file when the system wakes up after suspend?

I would like to be able to enable some sound file to play whenever I wake up or suspend my laptop.Is there any way i could do this?
user avatar
13 votes
2 answers
6k views

PC Wakes Up Immediately After Suspend

I replaced the button battery on the motherboard and now my PC wakes up immediately after suspend. I'm running Ubuntu 20.04.3LTS. A user at another site stated that this might be due to an inhibitor ...
Henry's user avatar
  • 131
12 votes
5 answers
12k views

Ubuntu wakes up immediately after suspend when USB mouse is connected

I have the problem that my Ubuntu wakes up immediately after suspend, not every time, but when I connect my USB 3.0 mouse. When I start Ubuntu, it doesn't detect my mouse, so I must plug/unplug it few ...
Mildas's user avatar
  • 133
12 votes
1 answer
22k views

How do I wake from sleep using a bluetooth Keyboard

I have a Mac book pro, and a Henge dock. The dock is nothing more then a holder that allows you to easily plug in a few devices so you can "dock" your MBP. I also have a Apple wireless keyboard. The ...
coteyr's user avatar
  • 18.2k
12 votes
9 answers
26k views

Ubuntu 14.04 freezes after wake up

After wake up the login screen appears, but I cannot type the password to log in. Furthermore, the buttons on the system panel (e. g. to shut down) are disabled, so clicking does not take effect. I'm ...
gabesz's user avatar
  • 121
12 votes
5 answers
29k views

Where to troubleshoot wake-up from 'suspend'?

CONFIGURATION: HP Elitebook 8440p: NVIDIA Corporation GT218M [NVS 3100M] (rev a2) Ubuntu 16.04 SYMPTOMS of failed wake-up from suspend: "TV Static" black screen: suspend invoked by lid-close white ...
gatorback's user avatar
  • 5,755
11 votes
3 answers
8k views

Ubuntu 16.10 screen flicker after monitor wake up

In Ubuntu 16.10, when my monitors wake up on my 3rd generation Intel Core i7 laptop (HD 4000 graphics), I get flickering on both my built in laptop screen and my external display. It goes away when I ...
Snuggle Bear's user avatar
9 votes
2 answers
3k views

After upgrade to Kubuntu 18.04, System wakes up immediately after suspend. Bug?

I recently upgraded to Kubuntu 18.04 (therefor to kernel 4.15.0-23). I can't suspend my computer anymore. However, booting on a previous kernel version still lets me suspend my computer. This is what ...
knarx's user avatar
  • 201
9 votes
6 answers
7k views

No sound on wake, Dummy Output always takes over. 'pulseaudio -k' the fix

When it goes to sleep, sound working, when it wakes from sleep the sound doesn't work. So I go into gnome settings > sound and the output device has been reset to 'dummy output'. Instead of HDMI ...
John Mee's user avatar
  • 943
9 votes
3 answers
14k views

Ubuntu will suspend but won't wake up

I installed Ubuntu 12.10 on an Apple MacBook Pro 9,1 Mid 2012 15inch non retina. Suspend suspends it but when I open the lid, it doesn't wake up. I tried pressing Ctrl + Alt + F1 but nothing works. ...
pratnala's user avatar
  • 749
6 votes
2 answers
603 views

Standby password

My problem is that every five minutes my screen is getting dark and then asks me for a password. How can I turn off the password request after computer's standby wakeup? Please show me where I can ...
Marko Horvat's user avatar
6 votes
1 answer
888 views

How to run a script when password is entered at the lock screen?

To toggle the enabling/disabling of my notebook's touchpad according to connected USB mouse, I used touchpad-indicator, which runs a daemon to monitor connected devices and take appropriate action. ...
mekkanizer's user avatar
6 votes
1 answer
3k views

Laptop wakes up by itself a few seconds after suspend or lidclose

I am running an Ubuntu 18.04.1 with kernel 4.15.0-29-generic, and my laptop (Macbookpro retina 15inch, mid 2015, MacBookPro11,5) wakes up automatically a few seconds after sleep. When I look at the ...
Mostafa's user avatar
  • 161
5 votes
2 answers
5k views

How to check if my device supports Wake on WLAN?

There seems to be very little documentation about this. I didn't find much more than this page from Canonical documentation for Ubuntu Core: Wake on WLAN How can I check if my Wi-Fi device supports ...
Mehdi's user avatar
  • 426
5 votes
1 answer
2k views

How to run scripts on screen sleep / wake

I'm wondering how to run a script when the screen times out and when it wakes. I am not talking about hibernate or suspend, but only when the screen turns off. The reason is I have a LED keyboard and ...
John Petryk's user avatar
5 votes
2 answers
6k views

How to use a key press to wake a suspended laptop when using a KVM switch?

I'm using a wireless Logitech Keyboard with a Logitech Unifying Receiver plugged into a KVM switch. I created a systemd suspend shortcut to suspend the laptop, a Lenovo IdeaPad. The laptop's lid is ...
KCinAZ's user avatar
  • 190
5 votes
2 answers
9k views

Wake on lan with suspend - Ubuntu server 20.04

I'm using an Ubuntu server 20.04 and I've set up the wake on lan. Everything is working fine when I shutdown the computer, I can wake it. But when I suspend it : impossible to wake it by the lan. Have ...
Benoit Bonavia's user avatar
5 votes
2 answers
10k views

How to wake from suspend with USB keyboard (16.04 LTS)

I have been banging my head against a wall for a couple days on this...I have read through several forums...etc. and nothing has worked. My machine is a Dell Optiplex 330 which originally ran Windows ...
Mike Oberdick's user avatar
5 votes
1 answer
952 views

Trouble adapting sleep hook to systemd

for some reason my machine has problems with suspension, specifically, it resumes as soon as it suspends. After some research I was able to solve this problem on 14.04 by using the following loop, as ...
user3207377's user avatar
5 votes
1 answer
2k views

Execute a network script at wake-up with systemd (15.04)

I would like to connect my VPN after wake-up. 1) I have created a script in my home (wakeup.sh) #! /bin/bash (echo "Sortie de veille: lancement de wakeup le $(date '+%d/%m/%Y a %H:%M')" sleep 30 ...
Guillaume's user avatar
  • 2,101
5 votes
1 answer
1k views

How do I prevent immediate wake up from suspend (version II)?

This question covers one reason a computer might immediately wake after suspend: How do I prevent immediate wake up from suspend and/or hibernation? I seem to have a different one. After a recent ...
Bryce's user avatar
  • 1,937
5 votes
0 answers
7k views

rtcwake: write error

I'm trying to send my system to sleep using e.g. rtcwake -v -m disk -s 60 and receive the following output rtcwake: RTC wird als UTC interpretiert UTC wird verwendet. delta = 1 tzone = ...
Bernd's user avatar
  • 51
5 votes
1 answer
241 views

Notebook wakes up from Standby

I have an Acer Aspire V5 Notebook with Ubuntu 14.04 installed on a SSD an Windows 8.1 on a HDD. I experience that my Notebook wakes up from standby randomly after a certain time (can be a few ...
Merlin1896's user avatar
5 votes
1 answer
1k views

Disable keyboard input wake up

I want to disable making my laptop wakes up from suspend on keyboard input. I searched a lot and I disabled all devices in /proc/acpi/wakeup but it still wakes up when clicking any button. I checked ...
Mohamed Bassem's user avatar
5 votes
0 answers
365 views

How to tell if laptop was woken by rtc?

Say I set my laptop to wake every morning with rtcwake (e.g. echo $(date +%s 'tomorrow 08:00') > /sys/class/rtc/rtc0/wakealarm in a cron job or in /etc/pm/sleep.d/99-set-alarm.sh). Now, I'd like ...
unhammer's user avatar
  • 2,251
4 votes
2 answers
3k views

Suspend instantly restarting - editing acpi/wakeup with systemd service

My 18.04 Ubuntu Ryzen desktop will wake itself up instantly after it suspends. I've tracked the problem down to /proc/acpi/wakeup In the list of enabled services there are two services (labeled for ...
dalaeck's user avatar
  • 41
4 votes
1 answer
7k views

Wake up monitor from standby and show the screen without blocking further standby [Ubuntu 16.04]

After some time the monitor goes to standby mode. I want to wake up the monitor by a shell script. I already can wake up the monitor itself by xset -display "$DISPLAY" dpms force on. But I only see a ...
Michael's user avatar
  • 371
4 votes
2 answers
2k views

Wake-on-LAN works with Windows 8 but not with Ubuntu

I have a PC that has a Windows 8 partition and an Ubuntu 13.04 partition. I am trying to get wake-on-lan to work. Everything works fine on the Windows 8 partition: I can wake-on-lan from both the ...
mushroom's user avatar
  • 111
4 votes
1 answer
1k views

Dell XPS 9370 blank screen on wakeup after Dell TB16 docking station unplug/disconnect (Ubuntu 18.04 and 16.04)

I bought a new Dell XPS 9730 (Intel UHD Graphics 620) along with Dell TB16 docking station, and everything works perfectly, only when I disconnect it from TB16 docking station while in hibernation - ...
urko99's user avatar
  • 61
4 votes
2 answers
324 views

IP command using to 100% CPU on wakeup

On laptop wakeup I see a process called ip that uses 100% CPU. It won't stop on its own, I need to manually kill it every time. By looking for it in ps I could find that the command being run is ip ...
Dean Elbaz's user avatar
4 votes
0 answers
434 views

17.10 - Closing applications on lock [closed]

I lock (Super-L) and when I log in again is like I've restarted the computer. All applications are closed and the network is disconnected. Is that a configuration or a bug?
Igorzovisk's user avatar
4 votes
1 answer
1k views

Ubuntu 16.04: restore screen refresh rate after suspend/resume

Even after googling, I cannot find an answer to this maybe easy question. One of my computers is connected to the home main TV with a DP/HDMI cable. Everything works fine. The screen resolution is ...
MaxAuray's user avatar
  • 231
3 votes
3 answers
2k views

18.04 Avoid click and drag screen to access Desktop

Fresh installation of 18.04 Wakeup system displays the time in the center of the screen. Click and drag to top is needed to access the desktop. I couldn't find how to avoid clicking and dragging, I ...
dstonek's user avatar
  • 349
3 votes
5 answers
544 views

Why is 'wake from suspend' suddenly ejecting my CD tray?

CD tray has started opening by itself when I wake from suspend. I wouldn't usually regard as a big deal, but my case has a door on the front, and my CD is actually a DVD-RAM drive (not easily ...
Mike Albert's user avatar
3 votes
1 answer
2k views

Mouse movement wakes computer from suspend, can't disable it

When my laptop goes to suspend, a slight mouse movement wakes my laptop up. This is bad when I am packing my pc into my bag and accidentally move my mouse. PC stays up during the ride consuming ...
Saren Tasciyan's user avatar
3 votes
1 answer
577 views

Troubles with suspend

I have some troubles with putting my PC in suspend mode. 1. I can't put it to sleep completely It suspends current session and goes to the log-in screen, it makes all the screens black, but it doesn'...
Slava Fomin II's user avatar
3 votes
1 answer
1k views

Dell Latitude 7490 laptop running Ubuntu 18.04 black screen when locked

My Dell Latitude 7490 running Ubuntu 18.04 (dock with USB-C) goes black with no way of turning it back on, whenever I lock it. Sometimes the screen goes black instantly, sometimes it goes to the lock ...
benuuts's user avatar
  • 31
3 votes
0 answers
407 views

Ubuntu does wake up from suspend for no particular reason

I'm running this version Distributor ID: Ubuntu Description: Ubuntu 22.04 LTS Release: 22.04 Codename: jammy Linux yoga-2 5.18.0-051800-generic #202205222030 SMP PREEMPT_DYNAMIC Sun May 22 20:...
Pavel Niedoba's user avatar
3 votes
0 answers
218 views

How do I reduce usb mouse wake up sensitivity?

Ubuntu by default can wake up by any tiny little movement of the mouse. Even 1 millimetre of mouse movement makes my system wake up. So there are many situations when the system wakes up by accident. ...
ali HOZA's user avatar
  • 434
3 votes
0 answers
920 views

Command to find out which program is keeping ubuntu awake or waking it up

Windows has powercfg -lastwake and powercfg -requests to find out what last woke up windows or which program last requested keep awake. Is there Ubuntu equivalent?
Aks's user avatar
  • 131
3 votes
0 answers
1k views

Run script after wake up [duplicate]

I have a Toshiba notebook(Toshiba c50d a-133) and problems after waking up. When I close the lid Ubuntu go to sleep mode. After opening, it wakes up, but sometimes mouse and keyboard don't work. Then ...
Andre Nitschke's user avatar