Mate Caja Scripts

Forum rules
Before you post please read how to get help
Post Reply
zaileion
Level 3
Level 3
Posts: 165
Joined: Sun Jan 25, 2015 6:01 pm

Mate Caja Scripts

Post by zaileion » Sun Mar 27, 2016 12:57 am

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

User avatar
Minterator
Level 5
Level 5
Posts: 596
Joined: Thu Jan 10, 2013 8:29 am

Re: Mate Caja Scripts

Post by Minterator » Sun Jun 05, 2016 5:41 pm

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

vistad
Level 4
Level 4
Posts: 273
Joined: Tue Feb 08, 2011 9:17 am

Re: Mate Caja Scripts

Post by vistad » Mon Jul 29, 2019 3:59 pm

Thanks a lot for the scripts! :D
LM19-1 64 Mate, i7-6770K fanless Thermalright HR22, Asus Maximus VIII Gene, 32Gb RAM, NVMe SSD Samsung 960 PRO M.2, 25Gb ext2 /, 1GB swap, the rest is ext4 /home, Vbox Win8.1-64

zaileion
Level 3
Level 3
Posts: 165
Joined: Sun Jan 25, 2015 6:01 pm

Re: Mate Caja Scripts

Post by zaileion » Mon Aug 05, 2019 8:23 am

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

Code: Select all

sudo 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
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 Mon Aug 05, 2019 9:55 am, edited 1 time in total.

gm10
Level 18
Level 18
Posts: 8140
Joined: Thu Jun 21, 2018 5:11 pm

Re: Mate Caja Scripts

Post by gm10 » Mon Aug 05, 2019 8:41 am

You don't need sudo to change permissions of your own files.

FYI: viewtopic.php?p=1635189#p1635189
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

Post Reply

Return to “MATE”