#1  
Old 28th December 2005, 17:57
lawson lawson is offline
Junior Member
 
Join Date: Dec 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Executing ICON script

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
Reply With Quote
Sponsored Links
  #2  
Old 28th December 2005, 18:07
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,355
Thanks: 810
Thanked 5,174 Times in 4,056 Posts
Default

If you create a shortcut on your desktop, you can chose in the advanced options if the script shall be alwasy executed in terminal.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 28th December 2005, 20:22
lawson lawson is offline
Junior Member
 
Join Date: Dec 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #4  
Old 28th December 2005, 20:51
lawson lawson is offline
Junior Member
 
Join Date: Dec 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Found it!!

Thanx!!!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Script questions && Gentoo version hagel Feature Requests 4 7th May 2006 13:19
Adding a script installer badben Developers' Forum 1 29th November 2005 14:54
Uninstalld Now Cant run older php script abselect Installation/Configuration 1 18th October 2005 09:23
DNS - call script to created named.conf entries on secondaries cstone Installation/Configuration 4 15th September 2005 01:16
DNS Config Problem bolinux Installation/Configuration 27 20th August 2005 16:12


All times are GMT +2. The time now is 17:24.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.