In my Ubuntu 12.04, in keyboard settings, I didn't find a shortcut for restarting X, so in "Custom Shortcut", I set up Ctrl + Alt + Backspace for the command sudo restart lightdm
. But the shortcut doesn't work. Is it because it requires root privilege?
Also I have a SysRq key on my keyboard, which I think is the "Magic SysReq Key". My SysRq key is shared with PrtSc key (for screen shot), and is in blue which means I have to press Fn key at the same time to invoke SysRq instead of PrtSC.
But every time I press Fn + SysRq, it always produces a screenshot, just as when I hit PrtSc without hitting Fn. I wonder how to use the Magic SysReq Key? Does it mean the shortcut has not been linked to any command that is defined for Magic SysReq Key yet?
PS: My laptop is Lenovo T400 and OS is Ubuntu 12.04.