Hot answers tagged power-management
In Lubuntu it is an option in preferences called "Light Lock". It's annoyingly on by default.
Ok, I think I knew that. You want to check the battery status in every X interval of time. It's easiest way that you run it in the background, inside a while loop: while true do # Any script or command sleep [number of seconds] done And if you want to run the script on startup and from then on every 5 minutes, so the construction would be: Add ...
You cannot write a tutorial to create one script. That would be similar to a general python tutorial, which you can find on many places on the web. What I did is write a small script, with comments to explain what I did, to check battery charge every 10 seconds. That might be overdone. Change the line time.sleep(10) to set the interval (in seconds). The ...
Have a look at pm-action(8) and search for “/etc/pm/sleep.d” in section “FILES”. If one of these scripts returns with a non-zero exit status, suspension is stopped. Updated instructions to full clarity: So create a file /etc/pm/sleep.d/05_ssh_keepawake. Put the code mentioned in the question in this file. chmod +x /etc/pm/sleep.d/05_ssh_keepawake.
Does this do what you expect? gnome-session-quit --power-off Alternatively there are some other options to gnome-session-quit.
From Shutdown does not power off computer Which was originally found on Dell Studio 1569 Cannot Shutdown in Ubuntu 11.10 or 12.04 This worked for me : Type in terminal: sudo -i (to get a root shell, sudo gedit is not recommended) gedit /etc/default/grub Find the line: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" Change this to: ...
OK I believe the exposed arguments are related to whether or not windows and there contents are displayed behind the screen saver (this will be relevant to certain screen savers that draw on the screen and the like). So it is in short if your desktop is exposed or not. This is a educated guess, the terminology used is strange I think. I do how ever ...
I've figured out the solution, this answer helped me http://askubuntu.com/a/461978/104548. basically what you need to do is run this sudo apt-get update && apt-get install fglrx fglrx-pxpress and reboot.
Unchecking the "Dim screen to save power" is possible with gsettings set org.gnome.settings-daemon.plugins.power idle-dim false and setting the "Turn off after" to "Never" with gsettings set org.gnome.desktop.session idle-delay 0 The last command was completely sufficient for my needs.
Only top voted, non community-wiki answers of a minimum length are eligible