Results 1 to 2 of 2

Thread: Always Make Executable Text Files Launch In Gnome-terminal

  1. #1
    Join Date
    Jul 2007
    Beans
    177
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Post Always Make Executable Text Files Launch In Gnome-terminal

    Hey everyone,

    So I have a bunch of executable text files that allow us to connect to various VPN sites via vpnc.

    What I want is for each of these files to automatically launch in the gnome-terminal instead of asking whether this should be run in the terminal, display the file or run it.

    I have already tried to set the default behavior to run the executable text file... but it does not run in the terminal.

    I've also tried to use the following to make it work:
    gnome-terminal -e echo "* Connecting to site via VPN...";sudo vpnc site; sleep 10
    Any ideas?

    Thank you very much,
    Johnathan
    Most of us do and say dumb things, think before you act. If you do plan on going the dumb route, please be sure to have the cameras rolling... you can at least give the rest of us a good laugh.

  2. #2
    Join Date
    Dec 2010
    Beans
    2

    Re: Always Make Executable Text Files Launch In Gnome-terminal

    What about creating a launcher with "application in terminal"?

Tags for this Thread

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
  •