Skip to content

Wayland tools

See also Useful add ons for sway

Clipboards

wayland-clipboard

Ubuntu eoan packaged wl-clipboard 1.0 won't work with sway 1.2

Build and install:

cd ~/projects/wayland/wl-clipboard
gup
rm -rf build; meson build && ninja -C build && sudo ninja -C build install

Libappindicator tray

Electron apps

from Libappindicator tray #21:

You need libappindicator-gtk3 (added to AUR package) and launch apps with env XDG_CURRENT_DESKTOP=Unity slack

Notifications

Sway notification center

Mako

Notification daemon

Battery warning notifications

Screenshots with grim + slurp

grim

apt install grim slurp

grim -g "$(slurp)" /tmp/s.png

Screencast / screen recording

Arch wiki: Screen recording

wf-recorder

wf-recorder is a utility program for screen recording of wlroots-based compositors

Install:

 git clone https://github.com/ammen99/wf-recorder.git && cd wf-recorder
 sudo apt install ocl-icd-opencl-dev libavdevice-dev
 meson build --prefix=/usr --buildtype=release
 ninja -C build

green-recorder

Debug input events

sudo libinput debug-events