Possible Duplicate:
How to drag a folder to the launcher from Nautilus
Why isn't it allowed automatically? How can I do it? Thanks. If it's not possible, how can I access folder in the fastest way? How do you do it?
Why isn't it allowed automatically? How can I do it? Thanks. If it's not possible, how can I access folder in the fastest way? How do you do it? |
||||
marked as duplicate by Christopher Kyle Horton, Jorge Castro, 8128, jokerdino♦, fossfreedom♦ Apr 27 '12 at 9:40This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question. |
||||
|
You can use the way described by darkdragn. This way you can add your own quick menues. You find a complete guide to that method here: http://maketecheasier.com/8-really-useful-ubuntu-unity-quicklists/2011/05/07 (and on a lot of other pages) |
|||
|
|
|
What you can do is to create a bash shell script executes the application you want with the file as the argument to be opened. Save that script in /usr/local/bin and permit execution. Then create a launcher that executes your script. Here's an example where I decrypt a file display it with leafpad and when leafpad is terminated, delete the created file.
The following is the launcher file I created by editing a copy of system notecase.desktop file. Items I changed start and end with ** which you'd remove before saving as notecase.desktop. I stored it in ~/.local/share/applications/notecase.desktop and then dragged that file icon to the launcher bar.
|
||||
|
|
Exec= nautilus /media/dumpLocalin the .desktop file to open the desired folder. If they want a file, just come up with the program that launches it, and put it with a ref to the file in the exec line. – darkdragn Apr 27 '12 at 9:12