1

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
  • 1
    You could try xfwm4 --replace but I don't think its exactly restart as per say. Jan 10, 2012 at 11:29

2 Answers 2

2

I found it out:

setxkbmap -option terminate:ctrl_alt_bksp
3
  • Doesn't that kill the X server though? Such is the usual behavior for Ctrl+Alt+Backspace, and it appears to me that that's what it's setting. It isn't at all equivalent to Gnome Shell's r. Jan 26, 2012 at 5:10
  • Yup, you're right. That's the closest to what I found out for simulating the Gnome Shell's r Jan 26, 2012 at 12:08
  • I've found something much closer, which I posted as an answer. Jan 26, 2012 at 17:25
0

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .