Results 1 to 5 of 5

Thread: Creating Buttons...

  1. #1
    Join Date
    Feb 2007
    Location
    Wales
    Beans
    61
    Distro
    Ubuntu 8.04 Hardy Heron

    Creating Buttons...

    Is there a way I can create a button that opens Terminal that automatically runs a particular command?

  2. #2
    Join Date
    Jul 2008
    Location
    College Station, Tx
    Beans
    52
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Creating Buttons...

    I know how to make a button that opens a Terminal, but not one that opens for a specific command. I'd like to know though.
    I've got CDO. It is like OCD except all the letters are in alphabetical order, as they should be.

  3. #3
    Join Date
    Feb 2008
    Location
    US
    Beans
    2,782
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Creating Buttons...

    right click on the desktop and select "create launcher". For type select: "application in terminal" give it a name and then put the command you wish to run in the "command" field.
    Desktop: Q6600 OC: 343 x 9, 4 GB RAM, 8600 GTS Twinview (22",17"), 1.5 TB RAID 5
    Laptop: Lenovo T61 T7300 @ 2 GHz, 2GB RAM, Nvidia 140M Quadro, 160 GB harddrive
    Remember to mark posts as [SOLVED] when your problem is resolved

  4. #4
    Join Date
    Feb 2007
    Location
    Wales
    Beans
    61
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Creating Buttons...

    It works... However, the window closes straight away

  5. #5
    Join Date
    Apr 2006
    Location
    Fresno CA
    Beans
    2,790
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Creating Buttons...

    You might try putting the command in a shell script and adding a "read" command which requests input and holds the window open. "Enter" will satisfy read and the terminal window should close.
    Thank a veteran -- George 8)
    Internet Coach & Writer
    Personal Blog -- 3 Joes' Blog

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
  •