The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
6 views

Why does my Before=sleep.target service run *after resuming*?

I've defined the following service to start a screen locker before suspending: $ cat /etc/systemd/system/screenlock.service [Unit] Description=Lock X session using slock Before=sleep.target ...
1
vote
0answers
43 views

Debian jessie cannot suspend anymore

I'm using Crunchbang Waldorf with the Jessie repositories, and suspend functionality has recently been broken. It seems that UPower, the tool Crunchbang used to suspend, just removed suspend ...
0
votes
0answers
25 views

Enable suspend in linux mint in a dell xps-17

In my vain attempt to get hibernation working in a dell xps-17 by installing (I'm seriously considering getting a mac cause it just works) a hibernate package I have lost my ability to suspend. How ...
2
votes
0answers
34 views

how to run a user script after systemd wakeup?

When my debian jessie desktop box wakes up from sleep (via the new shiny systemd) my mouse settings are returned to their defaults, having reset my customisation xinput set-prop 12 'Device Accel ...
5
votes
0answers
152 views

How to run systemd user service to trigger on sleep (aka. suspend, hibernate)?

Based on various sources I have cobbled together ~/.config/systemd/user/screenlock.service: [Unit] Description=Lock X session Before=sleep.target [Service] Environment=DISPLAY=:0 ...
0
votes
0answers
6 views

automatic suspend does not work in Gnome [duplicate]

I have configured automatic suspend in Settings->Power, then one hour later nothing happen when the suspend time came. I checked the internet for some information and found there is a bug in Gnome ...
0
votes
0answers
19 views

Automatic sleep not working in Gnome

I have configured automatic suspend in Settings->Power, then one hour later nothing happen when the suspend time came. I checked the internet for some information and found there is a bug in Gnome ...
0
votes
0answers
58 views

Resume from Suspend/Hibernate issues

I have a peculiar problem while trying to resume from both suspend and hibernate. I believe the problem to be within the kernel itself since I have tried different distros (Ubuntu, Suse, Mageia) on ...
2
votes
1answer
75 views

How to suspend with a keyboard shortcut?

I would like to suspend my xubuntu (14.04) system from a keyboard shorcut without entering my superuser password (sudo). I'm looking a command line which I can convert to a shortcut. So far, I tried ...
0
votes
1answer
74 views

Hard disk drive spins up on laptop sleep/wake, can I stop it doing this?

I have in my Arch Linux-running laptop an SSD and an HDD; the latter I use seldom. It is mounted as /mnt/sdb5 and configured to spin down proactively when on battery (/etc/default/tlp, ...
2
votes
1answer
15 views

How can I ignore KDE's power-saving features for certain programs?

I want to use KDE Power Saving capabilities on my Desktop computer, such as suspend and screen-off. But, I want these capabilities be enabled only when some programs aren't running; for instance, I ...
3
votes
0answers
53 views

Play sound when suspending and resuming

I'm trying to get my sound theme all working how I want it. Reading the sound naming spec by freedesktop, it has an entry "suspend-start" and "suspend-end", which is supposed to fire when the ...
1
vote
1answer
48 views

How to suspend an USB device?

I want to suspend a connected USB device at my pc manually. I tried the following instructions in Debian (Kernel 3.2.0). uname output: Linux debian7-dev-gnome 3.2.0-4-686-pae #1 SMP Debian ...
0
votes
0answers
168 views

Debian wheezy FN key inverted after resume from suspend

I have debian wheezy installed on my new laptop (Toshiba Satellite L70), with Kernel 3.14 from backports. After I resume from suspend, all function keys (F1 - F12) behaviour is inverted, for example, ...
2
votes
1answer
33 views

Suspend from console without leaving authenticated terminam on wake up

I want to suspend my computer from terminal (one obtained by CTR+ALT+F1). If I call: # echo -n mem > /sys/power/state after wakeup I'm leaving authenticated console with (possibly) root ...
0
votes
0answers
97 views

pm-suspend fails to wake up

I use pm-suspend on Debian 7.5. Most of the time everything works perfect, but sometimes it fails to wake up. The fans spin up, even the hard disk shows activity, but there is only a blank screen. ...
0
votes
0answers
44 views

Kermit locked after suspend

I use kermit to communicate through RS-232 with my embedded system target. My host is Ubuntu 14.04. Every time I suspend my host while kermit still is connected to the target, I cannot reconnect with ...
4
votes
1answer
43 views

How can I tell what woke my laptop from suspend? [duplicate]

On other operating systems, there are ways to see what process or event woke them from suspend. I leave my laptop often for multiple days in suspend, sometimes to find that it has woken itself up and ...
3
votes
3answers
100 views

How to find reason a notebook wakes up?

I'm having a problem with my notebook suspending, but then waking up when I don't want it to (either immediately, or much later when in the bag - I may have two issues to solve here). But for the ...
1
vote
1answer
115 views

Touchpad doesn't wake up from suspend

I've been trying to figure out how I can make my touchpad work after waking up from suspend. Until recently I could at least reactivate it by typing: ls /lib/modules/`uname ...
3
votes
0answers
109 views

How to prevent the Linux kernel from waking a secondary HDD from sleep

Is there a way to instruct the (Linux) kernel not to wake up a secondary hdd after a system sleep/wake-up cycle? I'm asking because in my laptop I have an SSD as a primary drive containing the system ...
4
votes
3answers
121 views

A way for saving running state of a program

I have a program that will perform a lengthy calculation which may take several days to be completed. Is there a way to save the program's running state; so I will be able to turn off the computer ...
2
votes
0answers
1k views

Linux Mint 16 randomly freezing and freezes always after suspend wakeup

I've just installed Linux Mint 16 Cinnamon on Dell Latitude E6420. During an hour of use the desktop would become unresponsive and I was unable to access any TTY. It just froze up. The same thing ...
3
votes
3answers
64 views

Intelligently switch between multiple BASH processes

Say you're in a directory and you want to check something in another directory, so you type bash to spawn a new shell so you can cd and check that thing and then type exit to get out and go back to ...
2
votes
0answers
334 views

Linux Mint 16: Petra - Can't wake from hibernate

I have used Linux Mint 16 Petra - cinammon version for a few months. At first hibernate worked pretty well. Now I cannot wake from it - when I try to, the screen just goes blank and nothing responds ...
2
votes
1answer
118 views

Locking console when computer suspends/hibernates

In X I've used the following script (from here) to lock the computer with i3lock each time pm-suspend or pm-hibernate are invoked. /etc/pm/sleep.d/00screensaver-lock: #!/bin/sh # ...
1
vote
0answers
51 views

Suspend Linux (Mint) with external hard drive plugged in

I simply try to suspend the session while my external hard drive is plugged in (doesn't matter whether I have mounted or dismounted it, and this error does not apply to other filesystems, like flash ...
2
votes
1answer
662 views

Not wake up after suspension

My OS is Ubuntu 12.04 on my laptop Lenovo T400. I had been using it quite well until this week. After suspending Ubuntu, whenever I lift the laptop lid (if the lid is closed), or press "Fn" key (if ...
9
votes
3answers
275 views

Is there a risk of data corruption if suspended laptop runs out of battery?

I often tend to just put my laptop on suspend using xfce4-power-manager, and although usually the battery is sufficiently charged up until the next time (when I plug in the charger), sometimes I ...
0
votes
0answers
312 views

keyboard doesn't respond after suspend in Ubuntu 12

When I put my Ubuntu on suspend mode, the keyboard stops working, and I cannot get out of suspend. I need to shutdown my laptop manually and reboot. I have VAIO laptop. Ubuntu version 12. I edited ...
4
votes
1answer
971 views

“Memory corruption detected in low memory” kernel messages?

I have some memory corruption detected in low memory messages. I have read about it here, but I'm afraid I can't really make anything out of the discussion. It does indeed happen when I ...
0
votes
2answers
82 views

Command to prevent suspend while another command executes?

Is there a command to prevent the suspending of a system while another command executes? For example; lets say I have an upload that I want to complete but it gets interrupted because of my machine ...
0
votes
0answers
151 views

Arch sometimes won't suspend

Sometimes the computer won't auto-suspend when the lid has been closed. When this happens re-closing the lid won't make it suspend until next reboot. After the reboot the auto-suspend works again. ...
4
votes
2answers
2k views

How to lock my session in Xfce?

I am looking a simple way to lock my session in Xfce (Debian Unstable). I don't want to have to write my password at every wake-up but I want to be able to press to a shortcut (which launches a ...
0
votes
0answers
254 views

Suspend-to-ram fails on Gentoo with i915

I am struggling with suspend-to-ram on my Acer Aspire V3 772G with Gentoo. My configuration: Gentoo 3.12.5 kernel (.config) /etc/portage/make.conf Portage world file 1) It works in Windows 7 and ...
3
votes
2answers
254 views

Auto restart ssh session after sleep

I have an active ssh session to a remote server that it would be nice to be able to restart upon waking from sleep/hibernate (ubuntu), and seamlessly restore tunnels. The Gnome Terminal window is ...
8
votes
3answers
880 views

Samsung Ultra book won't wake up after hibernate and suspend on Crunchbang

I've been struggling for a few hours to get suspend and hibernate working on my Samsung ATIV BOOK 9 Lite. When I try to resume the screen power led goes on, but screen stays black. The capslock led ...
7
votes
1answer
373 views

Auto-Mounting CIFS Shares on Laptop

I've seen questions similar to this asked before in several variations, but I have yet to locate a satisfactory answer. Here's what I have: A highly mobile Debian laptop that switches networks ...
1
vote
0answers
48 views

Ubuntu Precise — suspend wedges GDM — help!

I've been a very happy Ubuntu user for many years, and worked my way past any number of problems, but I've never seen anything like this. Recently I got a new machine and installed 12.04 Precise on ...
1
vote
0answers
206 views

Configuring what commands xfce4-session-logout runs

The suspend command run when selecting ‘suspend’ from xfce4-session-logout does not work on my machine. I need it to run s2ram -f -a 1. Where do I change what is being run to suspend the system?
0
votes
1answer
2k views

Linux Mint 15: Oliva can't wake from suspend/hibernate?

As most issues people have had, I can't wake my laptop from suspend or hibernate mode. The computer goes to the lock screen and then freezes up to the point where the mouse won't move, forcing me to ...
2
votes
1answer
656 views

LinuxMint15: Suspend to RAM not working

I just installed LinuxMint15 on an Acer Aspire V3-771G-73638G500Maii. Hibernation works. But suspend to RAM does not. When clicking suspend: After a few seconds the screen goes grey and then off. ...
1
vote
1answer
257 views

How to trigger mount/umount before/after hibernation?

How to trigger mount/umount before/after hibernation? I use s2disk. Note: Debian
9
votes
2answers
7k views

How to disable USB autosuspend on kernel 3.7.10 or above?

I've updated my HTPC from kernel 3.7.10 to 3.10.7 and it seems CONFIG_USB_SUSPEND is now gone from the kernel options and included in PM. The main problem I'm facing is that I have an external HDD ...
2
votes
2answers
313 views

command not running in cron (systemctl suspend)

I have this cronjob set : * * * * * /usr/bin/systemctl suspend And it is not working. But I can run it in a shell and it works. I don't understand what could be not working. EDIT Redirecting error ...
10
votes
1answer
1k views

How do I make my laptop sleep when it reaches some low battery threshold?

I'm using Ubuntu, but I have i3 as my window manager. Under i3, when my battery reaches 0%, the computer will just abruptly shut down, no warning or anything. Is there a simple script or ...
4
votes
1answer
1k views

Where is the log for ACPI events?

Running Mint 14. Sometimes I can suspend fine, but after my computer is on for a while, it no longer suspends. It wakes up after a second or so without any external inputs. My guess is that I'm ...
5
votes
1answer
3k views

suspend AND lock screen on closing lid in arch/systemd

what is the most straightforward way to lock the screen AND suspend when closing the lid? I'm using event hooks in /etc/systemd/logind.conf and successfully suspend upon closing the lid. However I'm ...
3
votes
0answers
138 views

how to stop Clementine playback on suspend using systemd

As the title says, I'm trying to stop Clementine playback using DBus before entering suspend mode. Here is my service file right now: [Unit] Description=Stop Clementine playback before suspend ...
2
votes
0answers
169 views

Waking an Ibook G4 (powerpc) running Debian Linux from suspend based on timer

I have recently received an Ibook G4 from a friend. I plan to use it as a server and have installed Debian Wheezy (7.0.0, release version) on it. However, I would like to suspend it at some points ...