Xfce Forum

Sub domains
 

You are not logged in.

#1 2013-11-08 07:28:53

j77h
Member
Registered: 2013-11-08
Posts: 1

xclip custom action

This is mainly for whoever takes care of the "Custom actions" page in the Docs.

Thanks for all the examples, I've added 6 to my Thunar already.  :)

'Copy Pathname to Clipboard' didn't work for me as given,
but it did when I added  -selection "clipboard",
so the the command is like this:

echo -n %f | xclip -i -selection "clipboard"

This works when pasting with Ctrl+V,
maybe the original was for a more UNIXy way of pasting.

Off-topic:
Could you add some clues about where the action 'launcher' files are stored?
On my box, ~/.local/share/Thunar/ does not exist,
and /usr/share/Thunar/ contains only sendto.
(Mint 15 Cinnamon, with Xfce installed later.)

-- j77

Offline

#2 2013-11-08 11:35:29

ToZ
Moderator
From: Toronto, Canada
Registered: 2011-06-02
Posts: 1,132

Re: xclip custom action

j77h wrote:

This is mainly for whoever takes care of the "Custom actions" page in the Docs.

Thanks for all the examples, I've added 6 to my Thunar already.  smile

'Copy Pathname to Clipboard' didn't work for me as given,
but it did when I added  -selection "clipboard",
so the the command is like this:

echo -n %f | xclip -i -selection "clipboard"

This works when pasting with Ctrl+V,
maybe the original was for a more UNIXy way of pasting.

I jus replied to another post asking the same question here.

Off-topic:
Could you add some clues about where the action 'launcher' files are stored?
On my box, ~/.local/share/Thunar/ does not exist,
and /usr/share/Thunar/ contains only sendto.
(Mint 15 Cinnamon, with Xfce installed later.)

-- j77

You mean the custom actions? Try ~/.config/Thunar/uca.xml. If you'd like this information added to the documentation, it might be better to create a bug report against wiki.xfce.org.

Offline

Board footer

Powered by FluxBB