$conf['savedir'] = '/app/www/public/data';
====== GNOME tricks ======
{{tag>gnome linux tricks}}
===== Screen recording =====
Start and stop recording with Ctrl+Alt+Shift+R.
These are saved to ~/Videos.
Unfortunately only video is recorded, not audio.
The default length of recordings are 30 seconds, they can be set to infinite time with the following command.
gsettings set org.gnome.settings-daemon.plugins.media-keys max-screencast-length 0
===== Hibernate instead of suspend =====
By default GNOME suspends after a period of time.
This behaviour can be changed to hibernate instead, provided the system can hibernate (has sufficient swap).
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type hibernate
To see the available options ''range'' can be used instead of ''set'', and ''get'' can be used to see the current setting.
The timeout can be seen with:
gsettings get org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout