Linux - any way to make a desktop icon for a sudo command?

Discussion in 'Modding and Customization' started by jonboy99, Jan 26, 2009.

  1. jonboy99

    jonboy99

    Joined:
    Oct 1, 2008
    Messages:
    3
    Likes Received:
    0
    Hi folks, i've been following the how-tos in the bluetooth forum and am now happily using my phone as a 3G modem. One slight problem is, I need to be superuser to open the dialler program, which means opening the terminal and typing in 'sudo gnome-ppp'

    Now this isn't too much of a hassle, but is there a way I could put this into a script, so I could make an icon on the desktop shortcut to it, without needing to type in my su password each time?

    I don't want the command to run at bootup because at home I use wifi rather than 3G and don't want the window popping up when not needed.

    Thanks
    Jon
     
    jonboy99, Jan 26, 2009
    #1
  2. jonboy99

    jonboy99

    Joined:
    Oct 1, 2008
    Messages:
    3
    Likes Received:
    0
    Sorry guys I have reposted this in the beginners forum as it's probably more appropriate. Maybe a mod could delete this thread?

    thanks
    Jon
     
    jonboy99, Jan 26, 2009
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.