Skip to content

Select copy tool by session type on Linux#6

Open
mpeter50 wants to merge 1 commit intoraphaeltannous:masterfrom
mpeter50:unix-clipboard-priority
Open

Select copy tool by session type on Linux#6
mpeter50 wants to merge 1 commit intoraphaeltannous:masterfrom
mpeter50:unix-clipboard-priority

Conversation

@mpeter50
Copy link
Copy Markdown

The former code selected xclip when MPV was running in a wayland session, because the command was existing despite it, and so copying did not work. There is also a log message now to tell the user if the copy tool was not found; on my system wl-copy is not installed by default.

I have kept the former code for compatibility, in case xclip and wl-copy is used on systems where this environment variable is not used, but of course the fix wont apply there.

the former code selected xclip on wayland, and so copying was not working.

keep former code too for compatibility
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.

1 participant