Topic: [SOLVED]"paste filename" option in context menu
Hi, I find this very convenient when having to type the file path in the terminal, please consider including this option for #!. Thanks.
Last edited by mzsade (2010-04-27 08:36:24)
CrunchBang Linux Forums » Feedback & Suggestions » [SOLVED]"paste filename" option in context menu
Hi, I find this very convenient when having to type the file path in the terminal, please consider including this option for #!. Thanks.
Last edited by mzsade (2010-04-27 08:36:24)
a context menu for the terminal ?
whats wrong with copy & paste ?
sorry i failed to make myself clear; for e.g. i want to run "python3.0 /home/myusername/downloads/hello.py", i go to file manager, right click on that file and copy, then come back to the terminal and instead of having to type out "/home/myusername/downloads/hello.py", i right click and have the option "paste filenames"
You need a custom action (in Thunar). See here:
http://crunchbanglinux.org/forums/topic
m-actions/
First link ... "Saving the selected file/folder's pathname to the clipboard"
Last edited by Toolz (2010-03-31 11:15:19)
I don't have Thunar, isn't there a script or something that i can add somewhere as i did with Mint in this case: http://forums.linuxmint.com/viewtopic.p mp;t=37555. Replacing pcmanfm seems too long-drawn a process to me, and if it is good as the default for the developer...
Last edited by mzsade (2010-04-01 03:49:45)
Replacing pcmanfm seems too long-drawn a process to me, and if it is good as the default for the developer...
FYI #! Statler now has Thunar. Just saying.
FYI #! Statler now has Thunar. Just saying.
How time flies! It seems like only yesterday when people were looking to replace the previous default with pcmanfm. Can't avoid new install anymore, i guess.:)
Hi, I have statler xfce and Thunar now, went to the link Toolz suggested and added the command for "Copy file-path to clipboard (echo -n %f | xclip -i), got what i wanted, but it is displayed with a right click only in Thunar. What i want is to be able to right-click and copy a file then to paste the entire file path in the terminal or gedit or wherever. Maybe a keybind? Right now a paste gives, for e.g. "file:///home/sade/documents/.conkyrc"
, if i could just have it so that the "file:" and the two slashes are removed.
On my system, I don't get the "file://". I just middle-click paste and it gives for example "/home/kevin/.bash_profile".
middle-click doesn't give me anything...
Edit: echo -n %f | xclip -selection "clipboard" did the trick. Thanks.
Last edited by mzsade (2010-04-27 08:37:58)
Posts [ 10 ]
CrunchBang Linux Forums » Feedback & Suggestions » [SOLVED]"paste filename" option in context menu
Forums powered by PunBB. Hosted by Linode.
Copyright © CrunchBang Linux.
Proudly powered by Debian GNU/Linux.
Debian is a registered trademark of Software in the Public Interest, Inc.