I've been looking for "Nautilus like Scripts" for Caja but no luck. I downloaded these scripts from various places over the internet and ported them for Caja.
1. Download the scripts and copy them into /home/xxxx/.config/caja/scripts (Change xxxx to your name.) (If you don't see the .config folder click "view" and select "show hidden files")
2. Right click on each script select "Properties"
3. Click permissions tab and make sure the box is checked next to "Allow Executing File as a Program"
Now whenever you right click something you will see a "Scripts" option in the contextual menu. just click the script of your choice and it will run.
*** If a script in your script folder does not show up in the contextual menu that's because you didn't complete step 3. ***
Here are the scripts:
https://drive.google.com/folderview?id= ... sp=sharing
UPDATE: In post 7 below there is a zip file containing all the scripts edited to work with Linux Mint so you can download the .tar.gz file and just extract it to the scripts folder.
Mate Caja Scripts
Forum rules
Before you post please read how to get help
Before you post please read how to get help
Mate Caja Scripts
Last edited by zaileion on Sat Nov 02, 2019 11:08 am, edited 1 time in total.
- Minterator
- Level 5
- Posts: 596
- Joined: Thu Jan 10, 2013 8:29 am
Re: Mate Caja Scripts
Thank you. I'm curious about the Copy-To scripts. You create a variable named FILE but you don't seem to use it. How do these Copy-To scripts work with the $@ variable?
Mint 17.3 MATE, kernel 4.11.12
Re: Mate Caja Scripts
Thanks a lot for the scripts! 

LM20.3 64 Mate, i7-6770K fanless Thermalright HR22, Asus Maximus VIII Gene, 32Gb RAM, NVMe SSD Samsung 960 PRO M.2 1Tb, 25Gb ext2 /, 1GB swap, the rest is ext4 /home
Re: Mate Caja Scripts
So... instead of clicking each script and setting execute simply do the following to set execute on all scripts at once...
Open the location of the scripts
/home/xxxx/.config/caja/scripts
Right click in a blank area and select open in terminal
Then type
To use the "Open with Pluma" scripts you need to install Pluma. Linux Mint has changed text editors. I will eventually add more scripts to utilize the default text editor but for now here is the command to install the previous default text editor Pluma.
Or
Change pluma to xed in the scripts which is the default text editor in Linux Mint
Also, the scripts with "as root" need to be edited. open the script files with a text editor and replace gksudo with pkexec there are 2 scripts that are open as root. gksudo has been removed from ubuntu and replaced with pkexec.
Open the location of the scripts
/home/xxxx/.config/caja/scripts
Right click in a blank area and select open in terminal
Then type
Code: Select all
chmod +x *
To use the "Open with Pluma" scripts you need to install Pluma. Linux Mint has changed text editors. I will eventually add more scripts to utilize the default text editor but for now here is the command to install the previous default text editor Pluma.
Code: Select all
sudo apt-get install pluma
Change pluma to xed in the scripts which is the default text editor in Linux Mint
Also, the scripts with "as root" need to be edited. open the script files with a text editor and replace gksudo with pkexec there are 2 scripts that are open as root. gksudo has been removed from ubuntu and replaced with pkexec.
Last edited by zaileion on Sat Nov 02, 2019 10:53 am, edited 4 times in total.
Re: Mate Caja Scripts
So here is a huge package of scripts. They are older and written for use with Gonme, Nautilus and Gedit but some simple editing replacing Nautilus with Caja, Gedit with Xed, gksudo with pkexec, and a few others will make them work on with Mate. I'm working on them here and there, as time progresses I'll upload my edits and if anyone else makes edits share as well... Maybe over time we can get a nice bundle of scripts specifically for Linux Mint!
I cannot write scripts, i can just tinker with existing ones and get'em to work. Here is where I downloaded the scripts pack from. http://g-scripts.sourceforge.net/
I cannot write scripts, i can just tinker with existing ones and get'em to work. Here is where I downloaded the scripts pack from. http://g-scripts.sourceforge.net/
- Attachments
-
- nautilus-scripts.tar.gz
- (73.94 KiB) Downloaded 254 times
Re: Mate Caja Scripts
I have made some edits to the scripts in the original post so they work with Linux Mint. I chose to go the route of installing Pluma instead of editing the scripts to work with Xed, I guess I'm old and still prefer Pluma...
- Attachments
-
- Mate-Scripts-2_Nov_2019.tar.gz
- (2.37 KiB) Downloaded 452 times