LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-06-2005, 10:54 AM   #1
jmanjohn61
Member
 
Registered: Dec 2003
Distribution: FC2
Posts: 38

Rep: Reputation: 15
Launch a ncftpput script clicking on desktop icon


I want to click on an icon on the Desktop that would automate an ncftpput. The file I created is called ftp_put.sh contains this:
ncftpput -u me -p mine -DD 192.168.1.1 remote_dir local_dir

My question is, how can I have this execute from an icon on the Desktop?

I have the pervioiusly mentioned file on the desktop and when I click on it nothing happens. When I create a launher pointing to it nothing happens.

I guess I would say I don't know what I am doing but y'all already know that.

Any help is appreciated.
 
Old 03-06-2005, 12:36 PM   #2
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 48
I would guess your problem is that the file on the desktop isn't executable. If you use the GUI, right click on your icon, and find the permissions. It should be executable, but by default most likely isn't. Or from the CLI, do a chmod u+x /path/to/your/shortcut.

Peace,
JimBass
 
Old 03-08-2005, 12:08 AM   #3
jmanjohn61
Member
 
Registered: Dec 2003
Distribution: FC2
Posts: 38

Original Poster
Rep: Reputation: 15
I have changed the properties to execute yet it does not transfer filed. In fact the terminal window breifly appears then disappears if I select run in terminal.
 
Old 03-08-2005, 01:04 AM   #4
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 48
Could be a problem with the syntax, or any other number of things. Try running it from a terminal - not in a terminal from the gui, actually open up a terminal, navigate to /home/you/desktop/, and ./filename. Please post the errors or output that you get from the program.

Peace,
JimBass
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
2 Gnome questions, mount desktop icon & launch notification McCloud Debian 3 07-02-2007 10:01 PM
Clicking desktop folders launches amaroK Conjurer Suse/Novell 2 10-17-2005 01:50 PM
Long delay after clicking on Gnome Icon Lsatenstein Fedora 1 07-11-2005 03:27 AM
Icon Ptrs to Launch Apps on GUI Desktop? penguinlnx Linux - Newbie 4 03-19-2005 06:05 AM
getting the path of a file by clicking on its icon using glade2 chaits Linux - Software 1 02-04-2004 08:48 AM


All times are GMT -5. The time now is 04:38 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration