I am using Terminator, because it has cool ability to split itself into more terminals. But can it be run as root, without need to type sudo -i after launch? (adding Run as root into Terminator shell for example)

  • Just curious: why do you need a root shell? – edwinksl Jun 22 '16 at 14:26
  • I'm assuming you don't want to start it from another terminal? – anonymous2 Jun 22 '16 at 14:31
  • @edwinksl Sincerely, I'm lazy to type password everytime I use sudo command. – PKM Jun 22 '16 at 14:37
  • 1
    @PKM You can just tell sudo to use the NOPASSWD setting (as it says — no password asked) as a safer method than a permanent root shell. – UniversallyUniqueID Jun 22 '16 at 14:38
  • 1
    @PKM You can choose. Go here to disable asking for all programs or here to disable for chosen ones. – UniversallyUniqueID Jun 22 '16 at 14:52

Copy the .desktop file from /usr/share/applications (or just add it to desktop and then create a copy) so that you don't have to edit all from the start and then:

  1. First option

    Change the Exec= line to:

    Exec=terminator -e "sudo -i"

    This will ask for your password when you open terminator.

  2. Second option

    Install gksu (sudo apt-get install gksu) and change the Exec= line to:

    Exec=gksu terminator

    This will open a pop up which will ask you your password and give you a root terminator without any user preferences though.

NOTE: Never run sudo terminator because it might change the user folder ownership or cause other problems, always use gksu for gui applications.

| improve this answer | |

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.