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)

Re: [SOLVED]"paste filename" option in context menu

a context menu for the terminal ?

whats wrong with copy & paste ?

- - - - - - - - Wiki Pages - - - - - - -
#! install guide           *autostart programs, modify the menu & keybindings
configuring Conky       *installing scripts

Re: [SOLVED]"paste filename" option in context menu

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"

Re: [SOLVED]"paste filename" option in context menu

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)

Re: [SOLVED]"paste filename" option in context menu

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)

Re: [SOLVED]"paste filename" option in context menu

mzsade wrote:

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.

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: [SOLVED]"paste filename" option in context menu

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.:)

Re: [SOLVED]"paste filename" option in context menu

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.

Re: [SOLVED]"paste filename" option in context menu

On my system, I don't get the "file://". I just middle-click paste and it gives for example "/home/kevin/.bash_profile".

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: [SOLVED]"paste filename" option in context menu

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)