You are not logged in.
using dwl I can't record using obs it won't let me pick my desktop to record
using dwl 0.7
with obs-studio 31.0.1-2
pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 103
Tile Size: 65472
User Name: killertofus
Host Name: killertofus
Server Name: pulseaudio
Server Version: 17.0-43-g3e2bb
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: bluez_sink.23_11_07_B3_73_F2.a2dp_sink
Default Source: bluez_sink.23_11_07_B3_73_F2.a2dp_sink.monitor
Cookie: 16bb:a712pipewire is installed
gst-plugin-pipewire 1:1.2.7-1
libpipewire 1:1.2.7-1
pipewire 1:1.2.7-1
pipewire-session-manager 1:1.2.7-1
pipewire-v4l2 1:1.2.7-1
qemu-audio-pipewire 9.2.0-2alongside pulse
lib32-libpulse 17.0+r43+g3e2bb8a1e-1
libpulse 17.0+r43+g3e2bb8a1e-1
pulseaudio 17.0+r43+g3e2bb8a1e-1
pulseaudio-bluetooth 17.0+r43+g3e2bb8a1e-1wlroots/xdg portal is installed
wlroots 0.18.2-1
xdg-desktop-portal-wlr 0.7.1-1with wayland packages also installed
lib32-wayland 1.23.1-1
qt5-wayland 5.15.16+kde+r59-3
qt6-wayland 6.8.2-1
rofi-wayland 1.7.8.1-1
wayland 1.23.1-1
wayland-protocols 1.40-1
xorg-xwayland 24.1.5-1Last edited by killertofus (2025-03-23 20:15:00)
Offline
Update: using flatpak does not work as well
Offline
Is xdg-desktop-portal-wlr even running? This could also just be a bug/missing feature of dwl, have you tried reporting/looking for reported bugs?
Offline
asking around, it seems that they could successfully use obs in dwl
looking at the issues page it shows that it has non of my issues described
with https://wiki.archlinux.org/title/XDG_De … _not_start
setting my import environment via
systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP and
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=compositor_name systemctl --user show-environment shows
HOME=/home/killertofus
LANG=en_US.UTF-8
LOGNAME=killertofus
MAIL=/var/spool/mail/killertofus
PATH=/usr/local/bin:/usr/bin
SHELL=/usr/bin/zsh
USER=killertofus
XDG_RUNTIME_DIR=/run/user/1000
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
SSH_AUTH_SOCK=/run/user/1000/gcr/ssh
WAYLAND_DISPLAY=wayland-0
XDG_CURRENT_DESKTOP=wlroots
which is set via my .zshrc
also via my startup.sh
dwl -s "exec dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP &
waybar &
flameshot &
swww-daemon &
blueman-manager &
/opt/piavpn/bin/pia-client %u &
nm-applet &
dunst &
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &" Last edited by killertofus (2025-02-23 03:45:28)
Offline
making xdg-desktop-portal/portals.conf with
[preferred]
default=gtk
org.freedesktop.impl.portal.Screenshot=wlr
org.freedesktop.impl.portal.ScreenCast=wlr
works
you also need xdg-desktop-portal with xdg-desktop-portal-wlr and xdg-desktop-portal-gtk
Last edited by killertofus (2025-03-23 20:16:58)
Offline