Configuration
System Environment
Set up screen sharing, clipboard managers, and keyrings.
Screen Sharing (XDG Portal)
To enable screen sharing (OBS, Discord, WebRTC), you need xdg-desktop-portal-wlr.
Install Dependencies
yay -S pipewire pipewire-pulse xdg-desktop-portal-wlrUpdate Autostart
Add this to your autostart.sh or exec config to ensure dbus knows about the environment.
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=wlrootsClipboard Manager
Use cliphist to manage clipboard history.
Dependencies: wl-clipboard, cliphist, wl-clip-persist
Autostart Config:
# Keep clipboard content after app closes
wl-clip-persist --clipboard regular --reconnect-tries 0 &
# Watch clipboard and store history
wl-paste --type text --watch cliphist store &GNOME Keyring
If you need to store passwords or secrets (e.g., for VS Code or Minecraft launchers), install gnome-keyring.
Configuration:
Create ~/.config/xdg-desktop-portal/portals.conf:
[preferred]
default=gtk
org.freedesktop.impl.portal.Secret=gnome-keyring