Star Hype News.

Premium celebrity moments with standout appeal.

updates

Shortcut to restart the X-screen in Xubuntu like 'r' is for Gnome Shell

By Daniel Johnston

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?

1

2 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.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy