DRAGONFRUIT PROJECT Wayland compositor · Linux Codeberg repository ↗
dragonfruitWayland compositor

Environment

Environment variables, activation and portals

Environment

Set variables with env= lines. Dragonfruit sets up the D-Bus and systemd session environment itself.

SECTION 03 · Configuration
Scope: Process Environment
Repository and source ↗

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=1
  • WAYLAND_DISPLAY, and DISPLAY when XWayland runs
  • DRAGONFRUIT_INSTANCE_SIGNATURE, used by dfmsg

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.

← Previous

Appearance

Next →

Session settings