4

I am using Debian Linux and I am setting some shortcuts on it. So in keyboard window I went to shortcut, added gnome-terminal, and set Ctrl + t as the keys.

But in Debian we also have "Root Terminal" so we can open a terminal session as root. I want to set a shortcut for this. What command I should allocate to it?

  • Just use sudo... – jasonwryan Jul 10 '14 at 7:34
  • I don't want define sudo user...thank you – MLSC Jul 10 '14 at 7:39
  • You're doing it wrong. Just type su in any terminal. – qawerharh Jul 10 '14 at 14:05
  • I know the usage of su. I think you couldn't understand me.... I wanted a shortcut for opening gksu commadn so that when I do Ctrl+Shift+t it also opens a root terminal again for me..See my answer that works and please test it to see what is happening..thank you for response – MLSC Jul 10 '14 at 19:17
4

Go to Keyboard window and in the Custom Shortcut part the command is:

gksu gnome-terminal

enter image description here

0

Your question has way too much unnecessary information, but I'll answer anyway.

Your best option is to open the menu in your menu editor(depends on what desktop enviroment you're using as to how you do it), when in the menu editor just mark the "Root Terminal" entry and figure out which command is used and then set that to your keyboard combo.

  • I didn't want to do that..I wanted to set shortcut for doing that. Please see the answer I found – MLSC Jul 10 '14 at 7:31

Your Answer

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

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