Where in Fedora 20 are the suspend and hibernate options?
I'm looking for an option to suspend or hibernate the machine but I can't find it. :)
I'm looking for an option to suspend or hibernate the machine but I can't find it. :)
You can suspend the computer by holding Alt while hovering over the power button from the top-right corner menu. It will turn into a "pause button".
If you mean GNOME environment, there are no such options. You suspend by closing the lid and to hibernate I think you have to use a command in terminal. You might find an extension to modify such a behavior: https://extensions.gnome.org/
If you're using the terminal, try pm-suspend and pm-hibernate. They're part of the pm-utils package.
As vigenere has said in 2015 on fedoraforum.org , these package is no longer available, replaced by something else, aka systemctl hibernate
command
@see http://forums.fedoraforum.org/showthr...
it works perfect with fedora 25 and dell workstation
systemctl suspend or systemctl suspend -i
you may assing pause or other key to use this shortcut
answered 2015-07-03 10:29:04 -0600
This post is a wiki. Anyone with karma >750 is welcome to improve it.
In gnome click at the battery status indicator in upper right corner and then hold 'alt'. You'll see, that shutdown button transforms to suspend button.
In Fedora 24 (and I believe it is from Fedora 22 up) the hibernate or hybrid sleep is not enabled by default. To enable it run this code as root:
#!/bin/bash
# Enable hibernation
# Using info from:
# https://psohny.wordpress.com/2015/08/13/fedora_hiber/
# Enable recovery in the /etc/default/grub
sed -i -e 's|^\(GRUB_DISABLE_RECOVERY="\)true"|\1false"|' /etc/default/grub
#Find the swapdevice
SWAPDEVICE=`grep -e '^[^#].*swap' /etc/fstab | head -n 1 | cut -d ' ' -f 1`
echo "Using SWAPDEVICE=${SWAPDEVICE} for hibernation"
#add "resume=swapdevice" to the GRUB_CMDLINE_LINUX=
sed -i -e "s|^\(GRUB_CMDLINE_LINUX=\".*\)\"|\1 resume=${SWAPDEVICE}\"|" /etc/default/grub
#Regenerate the grub config
/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg
After regenerating the grub configuration, now you need to reboot your machine
reboot
Now after reboot it will be possible to hibernate or even hybrid-sleep
systemctl hibernate -i
systemctl hybrid-sleep -i
By accident, I discovered that the key combination "Superkey"-L does this. I wrote an uppercase L only for emphasis. I normally use an unshifted L.
Depending on your keyboard, the Superkey is either the Apple Command key or the Windows key.
thank's works perfekt wih a old dell workstation + fedora 25 systemctl hibernate -i -->wake up with power button --> login again --> the apps are open I like fedora
Asked: 2014-03-13 02:32:38 -0600
Seen: 37,052 times
Last updated: Mar 26 '14