question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[feat request] Allow user to specify X-clipboard tool

See original GitHub issue

I already have xclip installed and use it as my primary x-clipboard tool. This project lists xsel as a dependency, and I see that in rofimoji.py, xsel is run through a Popen call. I think it would be nice if the user could specify their preferred x selection tool in running rofimoji, to eliminate the strict dependency on xsel.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:25 (21 by maintainers)

github_iconTop GitHub Comments

1reaction
fdwcommented, Aug 21, 2020

I have pushed a very experimental branch. If someone has Wayland or other tools running, please check it out and maybe add a configuration for your tools. Also, I’m interested in feedback regarding the architecture. I think it should work, but I hope it’s not slow…

1reaction
fdwcommented, Dec 28, 2019

Some more thought on this: As Wayland is becoming a thing now, I’d rather not depend on X. If someone knows of a nice abstraction for both, I’d welcome it (or a PR 😉)!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Operate X clipboard from command line - Unix Stack Exchange
prints the contents of the clipboard (as filled with Ctrl - C in a GUI application). The equivalent option for xsel is -b...
Read more >
Accessing the system clipboard | Vim Tips Wiki - Fandom
I have found using the autocutsel package on X11 in conjunction with set clipboard=unnamed provides a seamless experience. For communication with X's CLIPBOARD...
Read more >
linux - How can I copy the output of a command directly into ...
One way of doing it follows: Install xclip , such as: sudo apt-get install xclip. Pipe the output into xclip to be copied...
Read more >
XCLIPBOARD(1) manual page - X.Org
It stores each CLIPBOARD selection as a separate string, each of which can be selected. Each time CLIPBOARD is asserted by another application,...
Read more >
How To Copy Command Output To Linux Clipboard Directly
Let us see how to use the xclip command/xsel command as a copy command ... You need to use XA_SECONDARY constant to select...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found