Hello community,
Just implemented the latest update to Kernel: 6.12.61-1-MANJARO (Plasma 6.5.3)
Session type seems to be Wayland only. Cannot change session type to X11 through the login screen, so I assume it is meant to stay Wayland
Now xclip is not working. Since xclip was designed for X11, I assume this is the reason.
Does anyone know of a workaround, replacement or a way to safely change session type back to X11?
Thank you very much for any assistance
Oren
Please have a look at this, from the Update Announcement thread:
Cheers! ![]()
2 Likes
xclip is replaced under Wayland with wl-copy. But check the syntax before dropping it into any scripts, as I think it’s different.
4 Likes
You can use wl-clipboard package which provides similar functionality for Wayland - the actions provided named wl-copy and wl-paste
sudo pacman -S wl-clipboard
man wl-clipboard
$ wl-copy -h
Usage:
wl-copy [options] text to copy
wl-copy [options] < file-to-copy
Copy content to the Wayland clipboard.
Options:
-o, --paste-once Only serve one paste request and then exit.
-f, --foreground Stay in the foreground instead of forking.
-c, --clear Instead of copying, clear the clipboard.
-p, --primary Use the "primary" clipboard.
-n, --trim-newline Do not copy the trailing newline character.
-t, --type mime/type Override the inferred MIME type for the content.
-s, --seat seat-name Pick the seat to work with.
-v, --version Display version info.
-h, --help Display this message.
Mandatory arguments to long options are mandatory for short options too.
See wl-clipboard(1) for more details.
$ wl-paste -h
Usage:
wl-paste [options]
Paste content from the Wayland clipboard.
Options:
-n, --no-newline Do not append a newline character.
-l, --list-types Instead of pasting, list the offered types.
-p, --primary Use the "primary" clipboard.
-w, --watch command Run a command each time the selection changes.
-t, --type mime/type Override the inferred MIME type for the content.
-s, --seat seat-name Pick the seat to work with.
-v, --version Display version info.
-h, --help Display this message.
Mandatory arguments to long options are mandatory for short options too.
See wl-clipboard(1) for more details.
1 Like
Thank you! Works perfectly.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.