Skip to content

Conversation

hereGittyGitty
Copy link

Choose the program 'wl-copy' that is used to copy a selection to the
clipboard by checking the value of the environment variable
'XDG_SESSION_TYPE' in addition to the pure existence of the 'wl-copy'
executable.

Choose the program 'wl-copy' that is used to copy a selection to the
clipboard by checking the value of the environment variable
'XDG_SESSION_TYPE' in addition to the pure existence of the 'wl-copy'
executable.
@kugel-
Copy link

kugel- commented Jan 3, 2022

Thanks for this fix. Works for me.

In addition, I have found that @yank_selection is ignored for wayland. But since wl-copy supports the --primary option this can be supported.

middle-click to paste seems to do "wl-paste -p" so clipboard doesn't easily work for me.

@kugel-
Copy link

kugel- commented Jan 3, 2022

@bruno- This, alternatively #131, should be merged asap. Who can do that?

@kugel-
Copy link

kugel- commented Jan 3, 2022

stackoverflow research suggests that XDG_SESSION_TYPE' is not truly reliable and WAYLAND_DISPLAY` should be checked instead. So #131

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants