xdg-desktop-portal
ydotool
Our great sponsors
xdg-desktop-portal | ydotool | |
---|---|---|
154 | 62 | |
515 | 1,233 | |
4.1% | - | |
9.4 | 5.2 | |
7 days ago | 18 days ago | |
C | C | |
GNU Lesser General Public License v3.0 only | GNU Affero General Public License v3.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
xdg-desktop-portal
- Flathub: One million active users and growing
- Changes to xdg.portals?
-
PCSX2 Disables Wayland Support
>Not losing all the work every time your windows manager crashes
https://news.ycombinator.com/item?id=37509703
>remapping keys
>Use xinput to change parameters of their input devices (libinput dropped most configuration options present with evdev)
Up to the compositor.
>Global shortcuts
Also up to the compositor. Was added to xdp in https://github.com/flatpak/xdg-desktop-portal/blob/main/data... so it's up to the compositor's xdp impl to provide it. It was created by a KDE dev so I assume KDE implements it at least.
>tunnelling over ssh
-
Gnome developer proposes removing the X11 session
> - O proper screen recording support
Works just fine. I use OBS.
> - broken screen sharing
Never had any trouble with it.
> - No proper global keyboard shortcut
> - No push to talk support
On its way: https://github.com/flatpak/xdg-desktop-portal/pull/711 / https://flatpak.github.io/xdg-desktop-portal/#gdbus-org.free...
> - Several problems with multiple screens
Haven't had any more than on X11, but then again I do use Nvidia hardware on Linux.
-
Unpacking Elixir: Syntax
I don't use Wayland, but it seems xdg-desktop-portal since 1.16.0 has a 'Global Shortcuts portal'. Perhaps check it out.
-
Advice: TW or Aeon
The first bug report was filed in early 2022 but unfortunately no progress yet on the matter, even after numerous similar reports ever since.
-
Xdg portal hyprland and launching gui apps
Yeah been having the same issue since I changed to using the unstable branch, supposedly noticed and fixed upstream for a few variants of the problem (different people with different configurations of DE and xdg-* deps installed report the same issue due to timeouts of the other portals)
-
GTK apps taking ages to startup
Afaik they're libraries that get loaded by xdg-desktop-portal. And for some reason it's loading the wrong one, or loading ones that aren't actually running on the system... or something. 1 3
-
KDE-Connect keyboard input works on Wayland now!!
Persistent token storake of for screencasts is in xdg-desktop-portal since November 2021, and in the KDE portal since March 2022. Persistent storage for remote desktop sessions in xdg-desktop-portal are being worked on right now.
ydotool
-
Improving cursor rendering on Wayland
Wayland provides little by design, so this is quite typical. For example:
Screensharing is handled by pipewire [0], changing keyboard layouts aren't defined [1] by wayland, and generally anything Wayland devs think would 'corrupt' their protocol.
They leave most things to the compositor to implement, which leads to significant fragmentation as every compositor implements it differently.
Long gone are the days of xset and xdotool working across nearly every distro due to a common base, now the best you'll get is running a daemon as root to directly access `/dev/uinput` [2] or implementing each compositors accessibility settings (if they have them) as a workaround.
[0] https://superuser.com/questions/1221333/screensharing-under-...
[1] https://unix.stackexchange.com/questions/292868/how-to-custo...
-
how hard is it to program pinch zoom for my touchpad in linux?
I personally use libinput-gestures to call commands using touchpad gestures. You can also combine it with ydotool to bind macros and such to your gestures, e.g. 4 fingers swipe down closes the current window, 3 fingers swipe left or right changes workspace, etc
-
ydotoold background process?
Have you tried using the systemd unit file supplied with ydotool? It's probably installed somewhere on your system. Else you can get it here and just change the install location of ydotoold.
I'm trying to use ydotool, which specifies that it needs ydotoold running in the background. How should I go about that? I found a pull request from 2020 that's been closed, asking for a systemd service but it doesn't appear to come with one. The README doesn't include anything that I can find about how to set up the background process properly.
-
KDE-Connect keyboard input works on Wayland now!!
For simulated keyboard there are tools such as dotool or ydotool and KeePass extensions such as KPUInput that work by giving the user access to /dev/uinput. That works, but it's a bit inelegant; I guess in the future a Wayland protocol for simulated keyboard input will emerge, like wlroots already has, also for virtual pointers.
-
Curious to know what are your general experiences on using keyboard and mouse input automations on Wayland...
Autokey does not work yet, but there is Hawck and Espanso that you could play around with. And there is ydotool if all you need is simulating basic input (as in ydotool mousemove -x -10 -y -10, ydotool type 'Hello world!' and so on).
-
Asahi Linux To Users: Please Stop Using X.Org
Does ydotool do what you need? I haven't even tried Wayland in years. I'm sure someday I'll find the need.
- Somehow AutoHotKey is kinda good now
- How to emulate mouse clicks with keyboard shortcuts
-
TUTORIAL: Making Caps do both Control and Esc like Caps2Esc, but with only hyprland+ydotool
This solution depends on ydotool which you must install first
What are some alternatives?
xdotool - fake keyboard/mouse input, window management, and more
wtype - xdotool type for wayland
AutoKey - AutoKey, a desktop automation utility for Linux and X11.
gamescope - SteamOS session compositing window manager [Moved to: https://github.com/ValveSoftware/gamescope]
evsieve - A utility for mapping events from Linux event devices.
sway - i3-compatible Wayland compositor
key-mapper - 🎮 An easy to use tool to change the mapping of your input device buttons. [Moved to: https://github.com/sezanzeb/input-remapper]
fusuma-plugin-sendkey - Fusuma plugin that sending virtual keyboard events
awesome-wayland - A curated list of Wayland code and resources.
wayfire - A modular and extensible wayland compositor
Fusuma - Multitouch gestures with libinput driver on Linux
gtk-layer-shell - A library to create panels and other desktop components for Wayland using the Layer Shell protocol