Right click, send to my documents

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
terrybull
Posts: 26
Joined: Thu Apr 10, 2014 11:55 am

Re: Right click, send to my documents

#11 Post by terrybull »

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.

User avatar
fehlix
Developer
Posts: 12877
Joined: Wed Apr 11, 2018 5:09 pm

Re: Right click, send to my documents

#12 Post by fehlix »

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.
I'm afraid I'm lost you. Maybe you re-formulate slowly in simple English terms,(so I can follow).
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.

terrybull
Posts: 26
Joined: Thu Apr 10, 2014 11:55 am

Re: Right click, send to my documents

#13 Post by terrybull »

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.

User avatar
l0dr3
Posts: 463
Joined: Wed Jun 28, 2023 11:06 am

Re: Right click, send to my documents

#14 Post by l0dr3 »

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.
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') ;)
Screenshot_2023-11-21_13-03-45.jpg
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' :fox:

This two dialogs/tabs DEFINE the action :exclamation:
Screenshot_2023-11-21_13-08-57.jpg
Screenshot_2023-11-21_13-09-13.jpg
HTH l0dr3
You do not have the required permissions to view the files attached to this post.

User avatar
DukeComposed
Posts: 1499
Joined: Thu Mar 16, 2023 1:57 pm

Re: Right click, send to my documents

#15 Post by DukeComposed »

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:

Code: Select all

sh -c 'gio copy "$@" "$(xdg-user-dir DOCUMENTS)" ' - %F
Note the quoting and the dash/hyphen before the %F
Appearance Conditions:
File Pattern: *
Range: *
Appears if selection contains:
tick all Files but not "Directories"
Save with OK.
Done and Test -> [Solved]
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.
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.
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".

MXRobo
Posts: 1840
Joined: Thu Nov 14, 2019 12:09 pm

Re: Right click, send to my documents

#16 Post by MXRobo »

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.
Re: " but I don’t get the ‘send to my documents’ when I right click a file in Thunar."
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) 
Maybe I'm doing something wrong.

Post Reply

Return to “MX Help”