Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packaging/AppImage/AppRun
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ HERE="$(dirname "$(readlink -f "${0}")")"

source "$HERE"/apprun-hooks/"linuxdeploy-plugin-gtk.sh"

# The GTK linuxdeploy plugin forces GDK_BACKEND=x11 as a workaround for
# older crashes. Darktable supports Wayland natively, so override this
# and fall back to x11 only if Wayland is unavailable.
export GDK_BACKEND="wayland,x11"

export CAMLIBS=$HERE/usr/lib/libgphoto2/`ls -1 --group-directories-first $HERE/usr/lib/libgphoto2|head -1`

export IOLIBS=$HERE/usr/lib/libgphoto2_port/`ls -1 --group-directories-first $HERE/usr/lib/libgphoto2_port|head -1`
Expand Down