PasteBar/PasteBarApp

Linux port

Closed this issue · 3 comments

Will there be a linux version?

@iQiexie I get this question a lot but unfortunately, I could not find a way to recreate some of my core functionality like direct paste from task menu or the app to other apps or shell. It required root access in many Linux distributions like Ubuntu, so I could not find a way to overcome this limitation.

This library requires root access to simulate key presses: https://github.com/PasteBar/PasteBarApp/tree/main/src-tauri/libs/inputbot

I am not an expect on linux systems, maybe somebody can help and create a PR in the future to point me in the right direction, but right now I have no plans to work on linux version.

Thank you for the answer!

@iQiexie I get this question a lot but unfortunately, I could not find a way to recreate some of my core functionality like direct paste from task menu or the app to other apps or shell. It required root access in many Linux distributions like Ubuntu, so I could not find a way to overcome this limitation.@iQiexie我经常遇到这个问题,但不幸的是,我找不到重新创建一些核心功能的方法,例如从任务菜单或应用程序直接粘贴到其他应用程序或 shell。在许多 Linux 发行版(如 Ubuntu)中,它需要 root 访问权限,因此我找不到克服此限制的方法。

This library requires root access to simulate key presses: https://github.com/PasteBar/PasteBarApp/tree/main/src-tauri/libs/inputbot该库需要 root 访问权限才能模拟按键: https://github.com/PasteBar/PasteBarApp/tree/main/src-tauri/libs/inputbot

I am not an expect on linux systems, maybe somebody can help and create a PR in the future to point me in the right direction, but right now I have no plans to work on linux version.我不是 Linux 系统的期望,也许将来有人可以帮助并创建 PR 来为我指明正确的方向,但现在我没有计划在 Linux 版本上工作。

Hello, I am one of the developers of the open source software EcoPaste. Our version currently supports Linux. Although users need to make some additional settings, it is currently the best solution for Linux. Our implementation is to use the xlib library to simulate the Shift + Insert keys. You can click on the link to view the specific code. I hope it can be helpful to you.