Hacker News new | ask | show | jobs
by wuch 3256 days ago
What exactly do you mean by "stealing each other keybindings"? From what you have described so far, it would seem to me that you are describing problem specific to X11 where global keybindings are often implemented in spyware manner, i.e., listening to all keyboard events (regardless of current window focus) and reacting accordingly. They may conflict with each other, they may interfere with each other, they may spy on user, in other words they are not working together at all.

There is no standard way to register global keybindings under Wayland yet, but this is bound to happen eventually. Not as a builtin part of Wayland, but it doesn't matter. It will of course use D-Bus interface, as KDE does it now for example - but if an application doesn't support this interface, it can't steal keybindings, it just doesn't get to install global keybindings itself.

Not sure what you have exactly against D-Bus, but clearly modern Linux desktop embraced it.

1 comments

I have something against dbus. Bout the protocol and the implementation are very much over-engineered. The protocol at least has an excuse.

In the desktop things, that wayland aims to do, dbus is useless. (actually i don't know what it's useful for at all, other then quickly hacking some object oriented (gui)client-server desktop program)

I do recommend reading the dbus protocol (the protocol, not the API).

Sorry to sound negative but "modern linux" now means "desktop crap", and it is all crap. Freedesktop.org (the linux "desktop" "standards" authority) has gone from "ehh, passable" to "complete crap" in the last... idk 5-10 years (the "desktop" quoting is because it has gone pass the actual desktop problems).