This repository has been archived by the owner on Nov 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 342
Data device testing
Simon Ser edited this page Feb 4, 2021
·
3 revisions
Wayland's "data device" manages selections used for clipboard, drag-and-drop, and primary selection. This page contains tips to test this functionality.
- GTK3, Wayland-native
- gedit: for simple plain-text
- Epiphany: for copying rich text and images
- LibreOffice Writer (lowriter): for pasting rich text and images
- X11
- Firefox: for copying rich text and images
- Gimp (GTK2): for pasting images
- Chromium: for copying rich text and images
- CLI tools: useful to inspect/debug the selection contents
- wl-clipboard: Wayland-native,
wl-paste -l
to list MIME types,wl-paste -t <type>
to paste - xclip: X11 (must be run from an X11 terminal emulator like xterm),
xclip -selection clipboard -o -t TARGETS
ti list MIME types,xclip -selection clipboard -o [-t <type>]
to paste
- wl-clipboard: Wayland-native,