Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


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

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


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?


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

Rep: Reputation: 253Reputation: 253Reputation: 253
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, 09:41 AM   #3
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.


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

All times are GMT -5. The time now is 05:49 AM.

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