Executing ICON script

Discussion in 'Programming/Scripts' started by lawson, Dec 28, 2005.

  1. lawson

    lawson New Member

    First off I am VERY new to Scripting. I made a VERY short script for a program called rdesktop. I made a very simple script:

    #!/bin/bash

    rdesktop -fu 105 xx.xx.xx.xx


    (105 is the user and xx.xx.xx.xx is the ip address of the server)

    I drug my script to a desktop as an icon, but when I click the icon to execute it, I get a popup window asking me to click: DISPLAY, RUN IN TERMINAL, CANCEL, RUN. I need to know what to add for the script to automatically run instead of that window poping up.

    The script works fine if I click run or run in terminal.

    Thanx in advance,
    Mike
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    If you create a shortcut on your desktop, you can chose in the advanced options if the script shall be alwasy executed in terminal.
     
  3. lawson

    lawson New Member

    Do you mean by right clicking and going to the properties? I could not find an advanced option in there. Only BASIC, EMBLEMS, PERMISSIONS and NOTES.
     
  4. lawson

    lawson New Member

    Found it!!

    Thanx!!!
     

Share This Page