LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-20-2008, 08:19 PM   #1
dlublink
Member
 
Registered: Oct 2004
Location: Canada
Distribution: Ubuntu
Posts: 329

Rep: Reputation: 30
Unable to drag and drop onto bash script in gnome


Hello,

I am running ubuntu 7.10 and I made a bash script that takes a filename as a parameter ( $1 ). I want to drag and drop folders onto the script ( like I can do in Windows w/ bat files ).

How can I do this in gnome?

Thanks,

David
 
Old 02-20-2008, 09:26 PM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,441
Blog Entries: 3

Rep: Reputation: 182Reputation: 182
open it as a text file cut and paste good luck my frind it is all white paper write on it.
 
Old 02-25-2008, 08:41 AM   #3
dlublink
Member
 
Registered: Oct 2004
Location: Canada
Distribution: Ubuntu
Posts: 329

Original Poster
Rep: Reputation: 30
That's not what I meant. I wanted the script to execute with the dragged folder as the first parameter. Instead I moved the script to ~/.gnome2/nautilus-scripts and used right click, script and the name.
 
  


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
drag and drop seaking Linux - Desktop 0 05-25-2007 12:05 PM
Drag & Drop STARHARVEST Slackware 1 12-03-2006 12:35 AM
drag and drop poeta_boy Programming 4 11-23-2006 08:32 PM
LXer: Lesser known drag and drop tips in Gnome LXer Syndicated Linux News 0 07-02-2006 04:33 PM
Drag and Drop Fail kajensen Linux - General 2 09-26-2003 06:08 PM


All times are GMT -5. The time now is 08:07 AM.

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