2

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)

PKM
  • 839

1 Answers1

0

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.