Skip to content

Add other pasting backends (support wayland paste)#1541

Closed
TurtleMeds wants to merge 29 commits into
albertlauncher:mainfrom
TurtleMeds:main
Closed

Add other pasting backends (support wayland paste)#1541
TurtleMeds wants to merge 29 commits into
albertlauncher:mainfrom
TurtleMeds:main

Conversation

@TurtleMeds

@TurtleMeds TurtleMeds commented May 23, 2025

Copy link
Copy Markdown

Related to #958

Adds 3 new backends to the pasting mechanism:

  • wlrctl
  • wtype
  • ydotool

work that still needs to be done for xdotool and ydotool:

  • xdotool
    • check if compositor/wm is X11 OR supports libinput / libei (currently the only Wayland DE I know supports this is Gnome, others also probably implement it, more testing needed)
  • ydotool
    • check if ydotoold is running
    • check the YDOTOOL_SOCKET env variable exists and points to a socket that exists

TurtleMeds and others added 29 commits May 23, 2025 11:47
- Add `QString PluginInstance::readKeychain(const QString & key) const;`
- Add `void writeKeychain(const QString & key, const QString & value);`
API is versioned properly for years now.
- Add `uint limit() const;`
- Add `void setLimit(uint);`
- Support multiline entries (store in JSON format)
It is too easy to forget to properly use literals
- Remove `void open(const std::string &path);`
- Remove default param workdir in `runDetachedProcess`
- Add `long long runDetachedProcess(const QStringList&);
- Remove `open(const std::string &path);`
- Add `open(const std::filesystem::path &path);`
@TurtleMeds

Copy link
Copy Markdown
Author

i don't think i will actually be working on this anymore. if anyone wants to look at the changes i made and do something similar they absolutely should (the change is pretty simple), but having not worked on this for two years and with all the force pushes by ManuelSchneid3r i don't really want to figure this out.

@TurtleMeds TurtleMeds closed this Jun 12, 2026
@ManuelSchneid3r

Copy link
Copy Markdown
Member

I'm, sorry that i missed this one. the reason why i postponed handling this initially is that i was under the impression that there is still no proper way to achieve this under linux and hoped that time would solve it. but yea linux desktop is a slowly moving beast.

yes, sorry, these fpushes are annoying sorry about that. it shouldnt be too hard to cherry-pick it on top if the changes are pretty simple, should it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants