#1  
Old 28th December 2005, 18: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
  #2  
Old 28th December 2005, 19:07
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 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
--
http://www.projektfarm.com/en/
Reply With Quote
  #3  
Old 28th December 2005, 21: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, 21: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 14:19
Adding a script installer badben Developers' Forum 1 29th November 2005 15:54
Uninstalld Now Cant run older php script abselect Installation/Configuration 1 18th October 2005 10:23
DNS - call script to created named.conf entries on secondaries cstone Installation/Configuration 4 15th September 2005 02:16
DNS Config Problem bolinux Installation/Configuration 27 20th August 2005 17:12


All times are GMT +2. The time now is 00:22.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Sponsored Links: Unified Communications: Thoughts, Strategies and Predictions
Join the discussion.
www.seamlessenterprise.com

IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com

Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com

Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com

Red Hat Virtual Experience - a free virtual event. Dec. 9th