For anyone still confused by this, Vino used to have the handy configuration tool called 'vino-preferences' until about 2014, but that was removed when gnome-control-center became able to control it instead.
[ Discussion on that decision, here:
https://forums.bunsenlabs.org/viewtopic.php?id=1411 ]
There are many distributions which can usefully use vino-server (which is an excellent VNC server), such as Lubuntu which I use - being based on LXDE, that doesn't use gnome-control-center and there's little reason to install such a big block of code just for one solitary function.
Instead, to access the vino-server configuration just install dconf-editor to control it:
sudo apt-get install dconf-editor
OR if you haven't installed vino yet, do both together:
sudo apt-get install vino dconf-editor
CONFIGURATION:
a. Open dconf-editor, then:
b. VNC settings can be accessed under org -> gnome -> desktop -> remote-access
Hope this helps someone.
SECURING VNC ACCESS over SSH
Let me just add here that for those wanting to pipe VNC through an SSH tunnel for secure remote access, you can use a command from the client end, in this form, to open the tunnel:
sudo ssh -g -L 0.0.0.0:5900:127.0.0.1:5900 your_username ip_of_your_remotemachine
This means "SSH, please open a tunnel to ip_of_your_remotemachine and make a TCP connection from it, out to 127.0.0.1:5900 (ie it's own port 5900 where vino-server is listening) -would you, and tunnel all traffic back to me / I'll mirror it out of :5900 locally - thanks".
SSH then does this;
You then open your VNC client (try the excellent Remmina) to your local address:port 127.0.0.1:5900 (which is mirroring the listening port at your remote server now) and VNC opens giving you remote desktop.
Read separately on turning off passwords for your SSH server and use keys only, for highest security.
Good luck all
GUI method
From: Change Critical Battery Level and Action in Linux Mint 18 Cinnamon
you can install dconf-editor
using:
$ sudo apt-get install dconf-editor
Then go to org -> cinnamon -> settings-daemon -> plugins -> power
- Default settings are (in %):
- Critical battery action: hibernate
- Critical: 2
- Action: 2
- Low: 10
Exercise caution and tweak to your heart’s content ?
Original Answer and edits below
Review your current settings with:
$ gsettings list-recursively | grep critical
org.gnome.settings-daemon.plugins.power critical-battery-action 'shutdown'
org.gnome.settings-daemon.plugins.power percentage-critical 3
org.gnome.settings-daemon.plugins.power time-critical 300
Change your critical-battery-action
$ gsettings set org.gnome.settings-daemon.plugins.power critical-battery-action 'suspend'
Linux Mate differences
When using Linux Mate you need to substitute org.gnome
with org.mate
and possibly change your keys. From ArchWiki:
Battery discharge
To disable the notification on battery discharge, run:
$ gsettings set org.mate.power-manager.notify-discharging false
However in Ubuntu there is no equivalent.
Find all Mate power settings
To find all Mate power settings use:
$ gsettings list-recursively | grep power-manager
In Ubuntu you would use:
$ gsettings list-recursively | grep plugins.power
Best Answer
Vino settings can be found under
/org/gnome/desktop/remote-access/
. You can easily modify them usingdconf-editor
: