Note: Gnome's new default image viewer is called Loupe.
If you are using the other image viewer called Eye of Gnome you can install loaders for that from the kra-gdk-pixbuf repository here.
Adds support for image/openraster (.ora)
and application/x-krita (.kra)
files.
For Gnome 45 environment that comes with Loupe pre-installed, please see the relevant section below.
Please note if you uninstall or re-install Loupe Image Viewer, then you will need to copy these files again.
At the moment all setups require some manual interventions.
This assumes you have installed the Loupe Image Viewer from FlatHub.
Download glycin_krita_<VERSION>_amd64.zip
from the releases page and extract the contents.
There are two files included:
- glycin-krita (the loader binary)
- glycin-krita.conf (the loader config file)
Copy these to the following locations.
<loupe_install_location>/files/libexec/glycin-loaders/1 /glycin-krita
<loupe_install_location>/files/share/glycin-loaders/1 /conf.d/glycin-krita.conf
<loupe_install_location>
is the path returned from:
flatpak info --show-location org.gnome.Loupe
You will need to restart Loupe after that.
Demo:
glycin_krita_install_recording.mp4
This is for environments that come with Loupe pre-installed.
This is the similar to the previous section "Installing for FlatPak" except the paths change.
- Download
glycin_krita_<VERSION>_amd64.zip
from the releases page and extract the contents. - Update the paths in
glycin-krita.conf
to point to/usr/libexec/..
instead of/app/libexec/..
- Copy
glycin-krita
to:/usr/libexec/glycin-loaders/1 /glycin-krita
- Copy
glycin-krita.conf
to:/usr/share/glycin-loaders/1 /conf.d/glycin-krita.conf
If you are familiar with building rust applications run the following commands. Depending on if you installed the application per-user or system-wide, you will need to choose where to copy the loader files.
git clone https://github.com/vurentjie/glycin_krita
cd glycin_krita
cargo build --release
#flatpak per-user install
LOUPE_INSTALL_PATH=$(flatpak info --user --show-location org.gnome.Loupe)
[[ -d "${LOUPE_INSTALL_PATH}" ]] && cp ./target/release/glycin-krita ${LOUPE_INSTALL_PATH}/files/libexec/glycin-loaders/1 /glycin-krita
[[ -d "${LOUPE_INSTALL_PATH}" ]] && cp ./glycin-krita.conf ${LOUPE_INSTALL_PATH}/files/share/glycin-loaders/1 /conf.d/glycin-krita.conf
#flatpak system-wide install
LOUPE_INSTALL_PATH=$(flatpak info --system --show-location org.gnome.Loupe)
[[ -d "${LOUPE_INSTALL_PATH}" ]] && sudo cp ./target/release/glycin-krita ${LOUPE_INSTALL_PATH}/files/libexec/glycin-loaders/1 /glycin-krita
[[ -d "${LOUPE_INSTALL_PATH}" ]] && sudo cp ./glycin-krita.conf ${LOUPE_INSTALL_PATH}/files/share/glycin-loaders/1 /conf.d/glycin-krita.conf
#gnome 45 with loupe pre-installed
sudo cp ./target/release/glycin-krita /usr/libexec/glycin-loaders/1 /glycin-krita
sudo cp ./glycin-krita.preinstalled.conf /usr/share/glycin-loaders/1 /conf.d/glycin-krita.conf
This mostly a stripped down version of the base loader in the 1.0.1 tag of glycin source repository found here. I haved kept parts related to loading png images and added support to extract "mergedimage.png" from the .kra or .ora file.