Caja context menu

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
dirith

Caja context menu

Post by dirith »

I have just switched over from Ubuntu to Mint Mate, and context menu Copy To, and Move To is showing only Home Folder and Desktop. What I can do to have other locations?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
BenTrabetere
Level 7
Level 7
Posts: 1890
Joined: Sat Jul 19, 2014 12:04 am
Location: Hattiesburg, MS USA

Re: Caja context menu

Post by BenTrabetere »

Press F3 to open an new pane (or from the Main menu select View>Extra Pane), and the Copy to and Move to menus will gain an Other pane option. Set one pane as the source folder and the other to the destination folder.
Patreon sponsor since August 2022
Image
dirith

Re: Caja context menu

Post by dirith »

Thank you. It works, but in my experience is more awkward than having all other location in the right click. Especially for someone with small screen.
Thanks again
User avatar
all41
Level 19
Level 19
Posts: 9523
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: Caja context menu

Post by all41 »

Hi dirith,
I added those context functions with scripts added to /home/username/.config/caja/Scripts directory.
This is a hidden directory--Ctrl+H to show
Scripts located there will we displayed in the right-click context menu.
Sub-directories will be displayed by name and hovering over them will cause their expansion.
For example a script named 'Copy to Downloads' will add a context choice.
If the script contains:

Code: Select all

#!/bin/bash


FILE=`echo -n $CAJA_SCRIPT_SELECTED_FILE_PATHS`

DESTINATION=$HOME/Downloads
cp -i "$@" "$DESTINATION"
zenity --notification --text="Copied to Downloads"&
exit
this will copy a file to Downloads and display a message as confirmation.
context.jpg
Everything in life was difficult before it became easy.
dirith

Re: Caja context menu

Post by dirith »

Thank you, I'll try it later.
User avatar
BenTrabetere
Level 7
Level 7
Posts: 1890
Joined: Sat Jul 19, 2014 12:04 am
Location: Hattiesburg, MS USA

Re: Caja context menu

Post by BenTrabetere »

If you only want to have one pane you will need to use a Caja script. There is a discussion here - viewtopic.php?t=219329. It has a link to a Google Drive folder with several scripts from the OP, including ones for Copy to... and Move to... . Once installed (not the correct term, but whatever) they can be found in the context menu or in the Main menu under.
Patreon sponsor since August 2022
Image
vimes666
Level 6
Level 6
Posts: 1241
Joined: Tue Jan 19, 2016 6:08 pm

Re: Caja context menu

Post by vimes666 »

all41 wrote:Hi dirith,
I added those context functions with scripts added to /home/username/.config/caja/Scripts directory.
...
That is very handy!!! Thanks a lot!!
If you think the issue is solved, edit your original post and add the word solved to the title.
Locked

Return to “MATE”