Environment
Set variables with env= lines. Dragonfruit sets up the D-Bus and systemd session environment itself.
Setting variables
env=QT_QPA_PLATFORM,wayland
env=XMODIFIERS,@im=fcitx
Variables from the config are reset on every reload.
What Dragonfruit sets
XDG_CURRENT_DESKTOP=Dragonfruit_JAVA_AWT_WM_NONREPARENTING=1WAYLAND_DISPLAY, andDISPLAYwhen XWayland runsDRAGONFRUIT_INSTANCE_SIGNATURE, used bydfmsg
It runs dbus-update-activation-environment, imports the variables into the systemd user session and starts dragonfruit-session.target. Do not add these commands yourself.
Portals
The installed dragonfruit-portals.conf uses the GTK portal by default and the wlroots portal for screencast and screenshot. Override it in ~/.config/xdg-desktop-portal/. See XDG portals.