Hot answers tagged

8 votes

How to change laptop lid close behaviour (to not suspend when the lid is closed)

The solution given by cheekyngeeky does not work for some laptops. Alternate solution: sudo vim /etc/systemd/logind.conf find line "#HandleLidSwitch=suspend" Replace line with "HandleLidSwitch=...
vaishious's user avatar
4 votes
Accepted

How to enable hibernate option in menu? [Loki]

I wanted this functionality as well but couldn't find it online anywhere. It looks like the Hibernate option was removed a long time ago because it fails on some systems (which perhaps was the case a ...
motohead99's user avatar
3 votes

How to bind power button to choice what I want

You can configure the power button by opening System Settings -> Power and making your selection from the dropdown labeled "Power button" There is not currently an option to show the end session ...
Daniel Foré's user avatar
  • 9,734
2 votes
Accepted

TLP Power Management disables USB devices in my ASUS UX305 ultrabook. Needs restart!

Check TLP Settings: All TLP settings are stored in the config file /etc/default/tlp USB USB_AUTOSUSPEND=1 Set autosuspend mode for all USB devices upon system start or a change of power source. ...
Jorge R. Marín's user avatar
2 votes

How to change laptop lid close behaviour (to not suspend when the lid is closed)

The command line 'copy-pasta' method for the impatient: gsettings set org.gnome.settings-daemon.plugins.power lid-close-ac-action 'nothing' gsettings set org.gnome.settings-daemon.plugins.power lid-...
Sysfu's user avatar
  • 771
2 votes
Accepted

power button shutdown instead of suspend on login screen

I believe this to be a solution for what you're wanting to do: Open a Files window as admin by right clicking Files and selecting "New Window as Administrator. Navigate in the File System to /etc/...
linux_tim's user avatar
  • 631
2 votes

How to get elementary os to stay awake

It's known bug: https://github.com/elementary/switchboard-plug-power/issues/89 Try this workaround: dbus-launch gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type nothing
Raj's user avatar
  • 440
2 votes
Accepted

caffeine how to work it

I found the solution. I needed to add the ppa for caffeine sudo add-apt-repository ppa:caffeine-developers/ppa sudo apt-get update sudo apt upgrade That seemed to do the trick. Now I have caffeine ...
Bhikkhu Subhuti's user avatar
1 vote

TLP Power Management disables USB devices in my ASUS UX305 ultrabook. Needs restart!

Disabling USB autosuspend completely – as described in the previous answer – will increase power consumption considerably. I finer approach would be to isolate the offending USB device by ...
linrunner's user avatar
  • 111
1 vote
Accepted

Keep USB ports powered when suspended

On terminal: cat /proc/acpi/wakeup This will show you every device that may be "awake" during sleep. "On" means awake and "off" is just off. If you want to know what ...
Maccer's user avatar
  • 1,984
1 vote

Prevent desktop from sleeping or suspending while using SSH

You can use something like systemd-inhibit to block sleep/suspend while you're running the command. This has the express benefit of being a dynamic solution, rather than masking the calls entirely. Eg:...
Schykle's user avatar
  • 86
1 vote

CPU frequency control tool?

Check this: https://snapcraft.io/auto-cpufreq Hope, this will suit your needs.
Sysadmin's user avatar
  • 822
1 vote

How to get elementary os to stay awake

Please run Commands in this order, It should definitely work: sudo su enter, then your password su - -s /bin/bash lightdm enter dbus-launch gsettings set org.gnome.settings-daemon.plugins....
Raj's user avatar
  • 440
1 vote

macbook hardware specs INCLUDING battery

You should be able to get some additional information about the battery in your system with the following command in the terminal: upower -i /org/freedesktop/UPower/devices/battery_BAT0 However, you ...
David Hewitt's user avatar
  • 1,419
1 vote
Accepted

Power usage NVIDIA on Juno

Update: Augustin found a better approach for using a SystemD service: One option to make this powertop tune permanent: Copy the command powertop executes when switching the nvidia tunable from bad ...
Peter Uithoven's user avatar
1 vote

Power Configuration Seems to Not Be Respected by OS

Try this: sudo su su - -s /bin/bash lightdm gsettings get org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type dbus-launch gsettings set org.gnome.settings-daemon.plugins....
Mudito's user avatar
  • 321
1 vote

How to auto adjust screen brightness?

You should check wether your current graphics card drivers are up-to-date. Moreover, disabling such drivers can help to see if the issue is fixed. If using the intel-based graphics card, you can use ...
Hussain Al Abu Abdullah's user avatar
1 vote

Screen lock prevention when playing video on OS level?

TL;DR It's up to apps to tell the system that they want to block sleep The problem is that there's no way to know the semantic content of an audio or video stream without the app declaring it. You ...
Daniel Foré's user avatar
  • 9,734
1 vote
Accepted

How to solve resume from suspend on MBP 2,1 17" 2006

The issue is now solved: first I followed these two tutorials: 1. Improving Power management in EOS Freya (though using Loki 0.4.1) 2. Most Effective Ways to Reduce Laptop Overheating in Linux Then I ...
Lurch's user avatar
  • 139
1 vote

elementary logs out when screen goes blank

You could use Terminal and gsettings set org.gnome.desktop.lockdown disable-lock-screen true or use dconf editor and go to: org > gnome > desktop > lockdown and set disable-lock-screen on true ...
wefunkster's user avatar
1 vote

elementary logs out when screen goes blank

I'm not sure if this will be the solution for your problem, but you could try turning of the Screen Lock (normaly it shouldn't exit applications). Got to System-Settings->Security->Locking: Also try ...
Eric G's user avatar
  • 444
1 vote

Power Settings limited

You have the option to dim the display automatically when you aren't using it (on battery). Also you can suspend your laptop automatically, saves much more energy than turning the screen off, and it ...
Maccer's user avatar
  • 1,984
1 vote

System shuts down abruptly after waking up

I have experienced this type of problem on a number of different systems, but after a lot of work I tracked it down to the lid being opened (after suspend) not being recognised. The fix was simple in ...
Stuart's user avatar
  • 121
1 vote

Computer doesn't get past BIOS start, screen goes black

you might also want to try the following at grub boot... hit e on the line with /vmlinuz ... try adding the option nomodeset towards the end of the line then boot I have found that many display ...
george Barbaz's user avatar
1 vote

Screen keeps dimming no matter what I set in power options

Install dconf-editor, and open up org/gnome/settings-daemon/plugins/power And there you can find various useful power-related settings that you can tweak/toggle:
Aleksandar Stefanović's user avatar
1 vote

OS Freya only boots in recovery mode and doesnt hibernate

Boot using the recovery option in your grub. Then open a terminal window and type: sudo nano /etc/default/grub Add nomodeset to GRUB_CMDLINE_LINUX_DEFAULT: It should now look like this ...
Shashank Shekhar's user avatar
1 vote

Overheating Issue on MacbookAir 6,2

You should install TLP and Thermald Be careful, TLP is NOT compatible with acpid or Laptop_mode_tools. One more tweak: open a terminal and type gksu gedit /etc/default/grub then look for ...
Jeff Wilson's user avatar

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