| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 4,989
» Latest member: digi_kwic
» Forum threads: 7,730
» Forum posts: 42,017
Full Statistics
|
|
|
| Problems with AppImages. |
|
Posted by: teapot - 15 minutes ago - Forum: Installation and usage
- No Replies
|
 |
From https://download.gimp.org/gimp/v3.0/linux/
I find these AppImages work fine here:
GIMP-3.0.0-aarch64.AppImage
GIMP-3.0.2-aarch64.AppImage
GIMP-3.0.4-aarch64.AppImage
But these two later ones suffer the same problems:
GIMP-3.0.6-aarch64.AppImage
GIMP-3.2.0-RC1-aarch64.AppImage
When running 3.0.6, the first error printed seems the key one:
(gimp:12345): Gtk-CRITICAL **: 12:34:56.789:
_gtk_css_provider_load_named:
assertion '!g_str_equal (name, DEFAULT_THEME_NAME)' failed
It's repeated often along with lots of subsequent errors. GIMP's main window appears, but the "welcome" window is small, square, and empty. It does not respond to events so I can't close it. Selecting File -> New in the main window has another small, square, empty window appear, like the welcome one, so I can't enter the width, height, etc., to create an image.
I assume some change has happened in how the AppImage has been built so 3.0.4 is happy here, but 3.0.6 isn't. I'm running each from the same shell window on the same machine, etc., so the system around the AppImage is the same.
Searching found a similar problem with an AppImage for Dolphin which the developers fixed, although the problem wasn't what they first thought. Perhaps that's useful to those who understand how AppImages are built. https://github.com/pkgforge-dev/Dolphin-.../issues/20
Is anyone here running 3.0.4 and 3.0.6 AppImages from https://download.gimp.org/gimp/v3.0/linux/ ? Do you suffer the same, or do they work for you?
Any clues on how to sort this?
|
|
|
| Problem posting an update to my plugin |
|
Posted by: Scallact - Yesterday, 05:46 PM - Forum: Gimp-Forum.net
- Replies (2)
|
 |
I tried to post a new thread for my updated pl_stroke_arrows plugin, and was granted the "Your are in violation with the forum's rules" message, with a link to said rules.
I don't get what part of my message did upset the forum filter, my post was similar to the previous update.
Any idea what could be wrong?
|
|
|
| Setting a default directory to save files |
|
Posted by: Ofnuts - Yesterday, 05:30 PM - Forum: Tutorials and tips
- No Replies
|
 |
You will have noticed that Gimp is hell-bent into saving everything by default in your Documents folder. It's no completely Gimp faults, it is the behavior of the GTK file dialog thayt Gimp uses.
The simple but incomplete solution is to add your favorite folder(s) to the Bookmarks panel on the left.
But you can also make Gimp use any directory by making it think it is your Documents folder.
- The FreeDesktop standard defines several directories: DESKTOP, DOWNLOAD, TEMPLATES, PUBLICSHARE, DOCUMENTS, MUSIC, PICTURES, VIDEOS
- A configuration file called user-dirs.dirs can be used to define what actual directory is used for these symbolic directories. This is typically used to give language-dependent names.
- user-dirs.dirs is normally in ~/.config but you can tell the desktop code to use a different one by setting XDG_CONFIG_HOME environment variable to a directory that contains another version of user-dirs.dirs
- You update the file with the xdg-user-dirs-update command, and you can check it use the xdg-user-dir command. These two commands will of course check the XDG_CONFIG_HOME environment variable.
So, all that is needed is to prepare a user-dirs.dirs pointing to the required directory, and set the XDG_CONFIG_HOME environment variable to point to the alternate user-dirs.dirs directory in a script before calling Gimp.
So for instance, setting your destination directory to ~/tmp:
Do once:
Code:
export XDG_CONFIG_HOME=~/tmp/ # directory for user-dirs file, and your Gimp files
xdg-user-dirs-update --set DOCUMENTS ~/tmp # Creates/updates the user-dirs file
Before calling Gimp (so create/modify script):
Code:
export XDG_CONFIG_HOME=~/tmp/ # tell FreeDesktop where to look for directories definition
gimp # start Gimp (can also be "exec gimp" to get rid of one level of shell)
The exemple above keeps the user-dirs.dir file and the Gimp files in the same directory but using different directories is left as an exercise for the reader.
If any Windows or OSX users are reading this, I wonder if this applies in other OS as well. If you are missing the xdg-user-dirs-update command, user-dirs.dirs is a plain text file and it looks like this:
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DOCUMENTS_DIR="$HOME/tmp"
|
|
|
| Fix low resolution images |
|
Posted by: JoeCool59 - 12-05-2025, 06:33 PM - Forum: General questions
- Replies (5)
|
 |
I'm a casual GIMP user. I have some old digital images shot or digitized in low resolution (pixelated). The one I'm currently working on was a jpeg from around 1990. I opened it and screenshot it and now it's a 600ppi png, but the image retains all the compression artifacts that are left over from its original life as a 70ppi jpeg. Is depixelating it an art? I recognize that GIMP is incapable of knowing what information should be in the image. I'm eager to learn new things in GIMP.
|
|
|
| GIMP 3 script-fu not loading and run with error when Loaded through Console |
|
Posted by: markhahn2000 - 12-04-2025, 09:06 PM - Forum: Scripting questions
- Replies (1)
|
 |
new to v3 and having scripting issues.
My test case is a published "hello World"script. (https://testing.developer.gimp.org/resou...script-fu/)
On MacOS I have given GIMP full access in system settings. I have placed this .scm in a subdirectory with the same name as the executable .scm file. In Folders, this script directory is the first listed.
It does not show up when I restart GIMP.
I've read that I can load it in the Console, and when I do this, I get the error:
"Error: eval: unbound variable: (/Users/mark/GIMP_scriptfu/mh_hello_world3/mh_hello_world.scm : 35) [] "
On line 35 in the script, it holds the copyright year. How is this causing this script to error out?
I have tried different example scripts and am getting similar errors.
I am new to this. Thanks for any help!
Code:
#!/usr/bin/env gimp-script-fu-interpreter-3.0
(define (script-fu-zemarmot-hello-world
image
drawables
font
compute-size
size
text)
(script-fu-use-v3)
(let* ((layer (gimp-text-layer-new image text font size UNIT-PIXEL)))
(gimp-image-undo-group-start image)
(gimp-image-insert-layer image layer -1 0)
(if (= compute-size TRUE)
(let* ((image-width (gimp-image-get-width image))
(layer-width (gimp-drawable-get-width layer)))
(begin
(set! size (* size (/ image-width layer-width)))
(gimp-text-layer-set-font-size layer size UNIT-PIXEL)
)
)
)
(gimp-image-undo-group-end image)
)
)
(script-fu-register-filter "script-fu-zemarmot-hello-world"
"Script-Fu v3 Hello World"
"Official Hello World Tutorial in Script-Fu v3"
"Jehan"
"Jehan, Zemarmot project"
"2025"
"*"
SF-ONE-OR-MORE-DRAWABLE
SF-FONT "Font" "Sans-serif"
SF-TOGGLE "Compute Ideal Size" #f
SF-ADJUSTMENT "Font size (pixels)" '(20 1 1000 1 10 0 1)
SF-STRING "Text" "Hello World!"
)
(script-fu-menu-register "script-fu-zemarmot-hello-world" "<Image>/Hello W_orlds")
|
|
|
| Déformation par "Cage" |
|
Posted by: Bart Simpson - 12-02-2025, 05:06 PM - Forum: General questions
- Replies (7)
|
 |
Bonjour,
je souhaite poser une question sur l'outil de déformation par cage.
Mais avant d'aller plus loin et de poser ma question, je doit préciser que je suis français et que je ne parle pas anglais.
Aussi j'utilise le fonction de traduction automatique.
Et avant d'entamer la discussion je souhaite vérifier que le traducteur fonctionne et que vous recevez bien mon message en anglais.
La communication français/anglais est elle correcte?
Bien à vous,
Bart
|
|
|
|