I am running Lubuntu 16.04
How can I add a shortcut-key (Ctrl + Alt + BackSpace) to kill the X server?
To restart from the command line, I can do it using
sudo pkill X. I must insert the password too.
I want to be able to restart the X server without typing in a password, and by using a shortcut key combination.
By the way, I tried adding the following to the
~/.config/openbox/lubuntu-rc.xml file, but it needs root.
<keybind key="C-A-BackSpace"> <action name="Execute"> <command>pkill X</command> </action> </keybind>
I reload the settings using