Hot answers tagged

3

While modifying the source of the indicator itself ( in my humble opinion ) is the best approach ( and probably the feature request for that is even better approach ) ,one can create custom session control to be placed onto the launcher , which is fairly easy to achieve. That way, we can have suspend options which does ask for user confirmation. The ....


2

Ubuntu 16.04 and above The solution by blueyed for Real hybrid suspending with Linux 3.6+ did not work for me. I suspect this is because Ubuntu 16.04 uses systemd and does not use the file /etc/pm/config.d/00-use-suspend-hybrid. First, test if hibernate and hybrid-sleep works using systemd Open a terminal by pressing Ctrl+Alt+T and enter: sudo systemctl ...


2

As per Debian's wiki, with systemd this is the new command: systemctl suspend -i


1

After confirming in the comments that the pm-suspend command works properly with your laptop, we can now tell it to use that command exclusively to suspend it. Open a terminal and type in gksudo gedit /etc/default/acpi-support Enter your admin password when prompted. Look for the line that says SUSPEND_METHODS="dbus-pm dbus-hal pm-utils" Change the line ...


1

I did some investigation on this, if your did "sudo crontab -e" with rtcwake inside the table without sudo, you will get the error message: /home/leo/autojob: line 4: rtcwake: command not found it seems that although "sudo crontab -e" is executed under root account, it cannot find the right command path. There are some other post says you shall put PATH ...


1

As you said its an old computer, this is probably a hardware issue with the reed switch from the lid. Try disabling the auto suspend when lid is closed. If it doesn't work, type in a terminal (this will prevent suspend as long as the bash session is still open, giving you time to debug the problem): sudo systemd-inhibit /bin/bash And then try to ...


1

You should start from https://wiki.ubuntu.com/Kernel/Debugging, and more specifically: Debugging Kernel Suspend -- Help debugging kernel suspend/resume problems Debugging Kernel Hibernate -- Help debugging kernel hibernate/resume problems Then probably you should submit a bug report. If you get confused or need help on what you did find you may ask here....


1

Seems to match something I've seen already for 14.04: https://bugs.launchpad.net/ubuntu/+source/xubuntu-default-settings/+bug/1303736 File a new bug, and for now try the workaround from here: map some key combination to: xrandr --auto and you'll get your screen back by pressing it.


1

Maybe shut down and take a nap. Suspend will still keep some software in RAM memory, thus eating some battery. Probably not much, but enough to make a difference in some situations. That's for laptops. If you're planning to take notes on an Ubuntu tablet or convertible, i see no reason to shut down. God, i wish i'd have a Galaxy tablet with Ubuntu on it!


1

Your solution is "wakeonlan". Most modern motherboards support it. I actually haven't come across one that doesn't yet if it is for a x86 processor. Ubuntu 14.04 sudo apt-get install wakeonlan Ubuntu 16.04 sudo apt install wakeonlan To wake your pc up, find the MAC address of your NIC and issue the command. wakeonlan <MAC_ADDRESS> That easy!...



Only top voted, non community-wiki answers of a minimum length are eligible