Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
1  
You could try xfwm4 --replace but I don't think its exactly restart as per say. –  sagarchalise Jan 10 '12 at 11:29

2 Answers 2

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.

share|improve this answer
up vote 2 down vote accepted

I found it out:

setxkbmap -option terminate:ctrl_alt_bksp
share|improve this answer
    
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. –  Scott Severance Jan 26 '12 at 5:10
    
Yup, you're right. That's the closest to what I found out for simulating the Gnome Shell's r –  subeh.sharma Jan 26 '12 at 12:08
    
I've found something much closer, which I posted as an answer. –  Scott Severance Jan 26 '12 at 17:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.