Shortcut to restart the X-screen in Xubuntu like 'r' is for Gnome Shell
Just like in Gnome-shell, wherein you can restart the X-screen with a terminal command 'r' without closing any of the running applications, is there something in Xubuntu which could serve the same purpose?
12 Answers
I found it out:
setxkbmap -option terminate:ctrl_alt_bksp 3 I'm not a Xubuntu user, but I did a little bit of digging. According to this page (scroll down to the bottom), you can create custom keyboard shortcuts in the keyboard preferences dialog.
So, you can create your own shortcut here. Choose an appropriate shortcut, such as Ctrl+Alt+R and map it to xfwm4 --replace.
This is basically what Gnome Shell's R command does, and it's completely different from using Ctrl+Alt+Backspace to kill the X server. When you kill the X server, every program you have open dies, too. When you run xfwm4 --replace, only the window manager dies and is restarted.