Package: sway Version: 1.7-2 Severity: normal Dear Maintainer,
On a new install running bookworm my regular user has the wrong PATH set. The path used matches ENV_SUPATH from /etc/login.defs. I think this is because sway inherits the environment from the desktop manager (gdm3) which is run as root. One solution I found in #968910 (message #15) is to modify /usr/share/wayland-sessions/sway.desktop to run sway in a login shell. Another similar bug is #1011088 (zsh) but I installed Gnome and logged into a Wayland session and my user got the correct PATH in my bash shell (did not test under zsh, but I don't expect a difference). -- System Information: Debian Release: bookworm/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 5.17.0-1-amd64 (SMP w/4 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages sway depends on: ii libc6 2.33-7 ii libcairo2 1.16.0-5 ii libevdev2 1.12.1+dfsg-1 ii libgdk-pixbuf-2.0-0 2.42.8+dfsg-1 ii libgl1-mesa-dri 21.3.8-1 ii libgles2 1.4.0-1 ii libglib2.0-0 2.72.1-1 ii libinput10 1.20.1-1 ii libjson-c5 0.16-1 ii libpango-1.0-0 1.50.7+ds-1 ii libpangocairo-1.0-0 1.50.7+ds-1 ii libpcre3 2:8.39-14 ii libpixman-1-0 0.40.0-1 ii libsystemd0 250.4-1 ii libudev1 250.4-1 ii libwayland-client0 1.20.0-1 ii libwayland-cursor0 1.20.0-1 ii libwayland-server0 1.20.0-1 ii libwlroots10 0.15.1-2 ii libxcb1 1.14-3 ii libxkbcommon0 1.4.0-1 ii policykit-1 0.105-33 ii swaybg 1.1.1-2 Versions of packages sway recommends: ii foot 1.12.1-1 ii suckless-tools 46-2 ii sway-backgrounds 1.7-2 Versions of packages sway suggests: ii swayidle 1.7.1-2 ii swaylock 1.6-2 pn xdg-desktop-portal-wlr <none> -- no debconf information