Right click, send to my documents
Re: Right click, send to my documents
I'm sure this is as frustrating for you as it is for me. So I've selected the 'send to my documents' and moved it up the list but I just don't get where the right click comes into it. I see the box where you can press a key to perform the action but right click isn't a key.Sorry to be a pain.
Re: Right click, send to my documents
I'm afraid I'm lost you. Maybe you re-formulate slowly in simple English terms,(so I can follow).terrybull wrote: Sat Nov 04, 2023 5:39 am I'm sure this is as frustrating for you as it is for me. So I've selected the 'send to my documents' and moved it up the list but I just don't get where the right click comes into it. I see the box where you can press a key to perform the action but right click isn't a key.Sorry to be a pain.
The above sounds to me you don't know what a right-click menu is, which is obviously does no make sense to me.
So I'm not sure what you are missing.
Re: Right click, send to my documents
What I want to do is go to a file in thunar, for example an image file which is in my downloads folder and be able to right click on that file and have a menu which I can send it to my documents folder.
Re: Right click, send to my documents
Some screenshots from my system, which show you what is configured and WHERE the action appears in the context-menu (aka the 'right-click-menu')terrybull wrote: Tue Nov 21, 2023 5:31 am What I want to do is go to a file in thunar, for example an image file which is in my downloads folder and be able to right click on that file and have a menu which I can send it to my documents folder.

As you can see in the above screenshot, i placed the custom action ABOVE all other custom actions at the TOP of the list ...
... so that it appears in the context-menu (after right-clicking on the selected/highlighted file) at the FIRST custom-action position - straight after the 'Setup as Wallpaper'
and BEFORE the 'Run Command'

This two dialogs/tabs DEFINE the action

You do not have the required permissions to view the files attached to this post.
- DukeComposed
- Posts: 1499
- Joined: Thu Mar 16, 2023 1:57 pm
Re: Right click, send to my documents
I followed these steps in Thunar and was able to create a custom action called "Send to Documents" that appears at the bottom of the menu when I right-click on any file in Thunar. It does not, however, remove the file from its source directory.fehlix wrote: Sat Oct 14, 2023 4:36 pm Add a new command to Thunar's "Custom Actions" (Edit->Configure custom actions)
Add command:
Name: Send to Documents
Command:Note the quoting and the dash/hyphen before the %FCode: Select all
sh -c 'gio copy "$@" "$(xdg-user-dir DOCUMENTS)" ' - %F
Appearance Conditions:
File Pattern: *
Range: *
Appears if selection contains:
tick all Files but not "Directories"
Save with OK.
Done and Test -> [Solved]
I think the confusion here may arise from thinking that this Send to Documents custom action needs to have a shortcut key assigned to it. It does not. Leaving the "Keyboard Shortcut" setting as None still puts the custom action in the right-click menu in Thunar. For me it's at the bottom of the right-click menu, right above "Properties".terrybull wrote: Tue Nov 21, 2023 5:31 am What I want to do is go to a file in thunar, for example an image file which is in my downloads folder and be able to right click on that file and have a menu which I can send it to my documents folder.
Re: Right click, send to my documents
Re: " but I don’t get the ‘send to my documents’ when I right click a file in Thunar."terrybull wrote: Tue Oct 24, 2023 7:45 am I have followed the directions exactly, copy and paste the command but I don’t get the ‘send to my documents’ when I right click a file in Thunar. Please advise.
Just to note I am trying this on a 32bit installation.
You do, but you don't get a right-click "Send to" → "Send to Documents" option in Thunar.
https://ibb.co/26jwJ6P
====================
I get the option, i.e. it's available, but it does not send any files to Documents as a symlink, nor to Test as a folder if I substitute TEST in the command.
Code: Select all
sh -c 'gio copy "$@" "$(xdg-user-dir TEST)" ' - %F
Code: Select all
System: Kernel: 6.5.11-4-liquorix-amd64 [6.5-17~mx21ahs] x86_64 bits: 64 compiler: gcc v: 10.2.1
parameters: audit=0 intel_pstate=disable rcupdate.rcu_expedited=1
BOOT_IMAGE=/boot/vmlinuz-6.5.11-4-liquorix-amd64 root=UUID=<filter> ro quiet splash
Desktop: Xfce 4.18.1 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.18.0 vt: 7
dm: LightDM 1.26.0 Distro: MX-21.3_ahs_x64 Wildflower November 22 2021
base: Debian GNU/Linux 11 (bullseye)