Results 1 to 3 of 3

Thread: shortcut without terminal

  1. #1
    Join Date
    Jun 2011
    Beans
    28

    shortcut without terminal

    Hey guys!

    I have a few programs that need to be run as root, and I'm lazy, so I like to make a shortcut on the desktop with "sudo programname" to start them up. My question is, is there a command I can put in the shortcut that will run the program but hide the terminal that pops up along with it? When i launch like this it leaves the terminal showing everything thats going on, on the desktop.

    Thanks!
    nmxdaven

  2. #2
    Join Date
    May 2009
    Location
    Fareham, UK
    Beans
    1,524
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: shortcut without terminal

    create a desktop launcher of the application type (not application in terminal) and use the gksu prefix instead of sudo, so a launcher with
    Code:
    gksu nautilus
    will open a file manager after asking for your sudo password in a non-terminal window
    Catch me on Freenode - imark

  3. #3
    Join Date
    Jun 2011
    Beans
    28

    Re: shortcut without terminal

    Im an idiot. Never thought of that. Thanks!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •