GIMP auto-close
GIMP has been closing automatically after I "save as". I cannot find an option in GIMP's preferences to stop that. GIMP did not automatically close after using "save as" under Trisquel 4.0.1, yet now it does under Trisquel 6.0. I think it is probably a Trisquel issue, though it might be a GIMP issue. Does anybody else have this problem?
Update
The problem seems to only happen when saving as a PNG.
If you feel like building GIMP from source, you can try the attached script.
I haven't actually tested this script. What's in the script are really just my notes on what I needed to do to build GIMP on a fresh installation of Trisquel 6.0.
Attachment | Size |
---|---|
updateGIMP.sh | 1.95 KB |
I get a 403 Forbidden error when trying to download this file.
This is a known bug
You might want to run GIMP from the command line to see if you get an error message when it closes.
Running GIMP on the command line produces the following error message:
(gimp:10703): Gtk-CRITICAL **: IA__gtk_tree_model_get: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
(script-fu:10707): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error Segmentation fault
end of error message
How do you stop the underscores from turning into underlines?
Here's the script:
#!/bin/bash # Build script for GNU Image Manipulation Program 2.8 on Trisquel 6.0. GIMP_INSTALL_DIRECTORY="/opt/gimp" if [ ! -d "$GIMP_INSTALL_DIRECTORY" ]; then RANDOM_TMP=$RANDOM mkdir -p /tmp/gimp-$RANDOM_TMP/share sudo mv /tmp/gimp-$RANDOM_TMP $GIMP_INSTALL_DIRECTORY fi # Create the config.site file from Martin Nordholts' HOWTO: # http://www.gimp.org/source/howtos/gimp-git-build.html echo 'export PATH="$PREFIX/bin:$PATH" export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH" export LD_LIBRARY_PATH="$PREFIX/lib:$LD_LIBRARY_PATH" export ACLOCAL_FLAGS="-I $PREFIX/share/aclocal $ACLOCAL_FLAGS" export XDG_DATA_DIRS="$PREFIX/share:$XDG_DATA_DIRS"' > \ /opt/gimp/share/config.site export PREFIX=/opt/gimp source /opt/gimp/share/config.site # Download dependencies packages_git=( "glib" "babl" "gegl" "gimp" ) for item in "${packages_git[@]}" do if [ ! -d "$item" ]; then git clone git://git.gnome.org/$item fi done # Install available dependencies from Trisquel 6.0 repository sudo apt-get install fontconfig gtk-doc-tools intltool libcairo2 libdbus-glib-1-2 libexif-dev libfontconfig1 libfreetype6 libgdk-pixbuf2.0-0 libgtk-3-0 libjasper-dev libjpeg-dev liblcms1-dev liblcms-dev libmng-dev libopenexr-dev libpango1.0-0 libpng-dev libpoppler-dev librsvg2-common librsvg2-dev libtiff4-dev libtiff-tools libtool libwebkit-dev libwmf-dev pkg-config python-dev python-gtk2-dev ruby libgirepository1.0-dev gobject-introspection libpoppler-glib-dev libgfs-dev libcroco3-dev git asciidoc libopenraw-dev graphviz libavformat-dev libv4l-dev libspiro-dev libexiv2-dev libumfpack5.4.0 libxpm-dev libaa1-dev libgs-dev libbz2-dev # Build glib, babl, gegl and gimp cd glib echo "glib" git checkout glib-2-32 cd .. for item in "${packages_git[@]}" do cd $item echo $item git pull ./autogen.sh --prefix=/opt/gimp make make install if [ $? -ne 0 ]; then echo "Failed to make install $item." exit $? fi cd .. done
To summarize, the script does the following:
1. create the directory /opt/gimp
2. create the file /opt/gimp/share/config.site
3. download glib, babl, gegl and gimp source
4. install dependencies
5. build and install glib, babl, gegl and gimp to /opt/gimp