Gimp-Forum.net
How to add a script - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions)
+--- Thread: How to add a script (/Thread-How-to-add-a-script)



How to add a script - Stephen Liu - 09-30-2023

Hi all,

I have download advancedtonemapping-2.10.scm
(Advanced Tone Mapping)

Please advise where shall add this script file?

$ ls -al /etc/gimp/2.0/
total 96
drwxr-xr-x 2 root root  4096 Sep 30 23:04 .
drwxr-xr-x 3 root root  4096 Apr 20 18:56 ..
-rw-r--r-- 1 root root  2845 Feb  2  2022 controllerrc
-rw-r--r-- 1 root root 37934 Feb  2  2022 gimprc
-rw-r--r-- 1 root root   722 Feb  2  2022 gtkrc
-rw-r--r-- 1 root root   117 Feb  2  2022 menurc
-rw-r--r-- 1 root root  2778 Feb  2  2022 sessionrc
-rw-r--r-- 1 root root  9839 Feb  2  2022 templaterc
-rw-r--r-- 1 root root  6113 Feb  2  2022 toolrc
-rw-r--r-- 1 root root  1140 Feb  2  2022 unitrc

There is no script folder there.  Thanks

Regards


RE: How to add a script - Krikor - 09-30-2023

Might this be helpfull

https://youtu.be/loN4OQ53hDc?si=kzldrH-EGNLM5Ujl - Plugins folder


RE: How to add a script - rich2005 - 10-01-2023

Dear Stephen, Do not go anywhere near the Gimp 2.10 system files and folders.

Put your script-fu file in your Gimp User profile scripts folder. 

It is a hidden folder in your home partition ~/.config/GIMP/2.10/scripts  

The script registers in Filters -> Enhance -> Advanced Tone Mapping

[attachment=10422]


RE: How to add a script - Stephen Liu - 10-01-2023

(10-01-2023, 07:29 AM)rich2005 Wrote: Dear Stephen, Do not go anywhere near the Gimp 2.10 system files and folders.

Put your script-fu file in your Gimp User profile scripts folder. 

It is a hidden folder in your home partition ~/.config/GIMP/2.10/scripts  

The script registers in Filters -> Enhance -> Advanced Tone Mapping

I get it done.

/home/username/.config/GIMP/2.10/scripts/advancedtonemapping-2.10.scm  

Thanks a lot for your advice.

Regards