Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this still work? #1

Open
RJDan opened this issue Oct 31, 2022 · 4 comments
Open

Does this still work? #1

RJDan opened this issue Oct 31, 2022 · 4 comments

Comments

@RJDan
Copy link

RJDan commented Oct 31, 2022

Is this still working? Do you know if it works on wayland?

@nightuser
Copy link
Owner

Hi @RJDan

It should work, at least in theory. Although it is probably incompatible with the current Ubuntu styling and some other stuff.

Regarding the Wayland support, no, it uses LibXklavier as the main library. However, this project used Xfce's layout indicator as an inspiration, so if it supports Wayland (I'm not sure), then it should be possible to backport it.

May I ask you why do you need an alternative layout indicator? From my experience, the Gnome one improved quite a bit since the time I wrote this indicator.

@RJDan
Copy link
Author

RJDan commented Nov 3, 2022

Hello
I am searching for a xkb layer indicator app but there doesn't seem to be one. I thought I might try search for something that could be co-opted.

@nightuser
Copy link
Owner

nightuser commented Nov 3, 2022

@RJDan I can try to build and test it tomorrow in a VM. Since XKB – which states for X Keyboard – is a part of Xorg, I'm a bit confused about your question about Wayland. Anyway, I expect it to work with minimal changes, except for the indicator images for layouts: the current implementation relies on some hardcoded paths from an old Ubuntu release, although it's quite easy to fix.

UPD: Have you tried https://code.launchpad.net/~indicator-applet-developers/indicator-keyboard/trunk ?

@RJDan
Copy link
Author

RJDan commented Nov 23, 2022

Hello @nightuser
Sorry for ghosting. Thanks for the offer. I was looking for a quick solution which doesnt seem to exist.
I am on sway (so wayland) and I have started using kmonad for keyboard layers. I thought it would be good to have a way to "see" what layer I am on (shift, level three etc). I tried using the LEDs built into the laptop but I didnt get very far with that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants