AutoKey on Wayland - Features And Bugs #866
Replies: 11 comments 2 replies
-
My initial questions: What works and what doesn't (as in isn't implemented (yet))? How does this get invoked? Does it just kick in when it detects Wayland is the display server? Linux has a daemon or something watchdog, oomreaper... that watch for lockups and take some action. Is there anything analogous to that we can do in AutoKey for potential lockups? See PR #844 for the code being discussed here. As of 05/04/2024 Sam has been silent for quite a few months, but AFAIK, his code is still available. |
Beta Was this translation helpful? Give feedback.
-
@sebastiansam55 What do you notice that's different about Wayland in general from a user perspective? I have only looked into it a little bit and most of what I saw was about enhancing security and getting rid of ancient code - important, but not really user facing. |
Beta Was this translation helpful? Give feedback.
-
@sebastiansam55 Did you ever consider writing a priviledged AutoKey daemon that would handle the just the interface I/O? I wonder if that would make anything easier. |
Beta Was this translation helpful? Give feedback.
-
Hopefully some of our Wayland users will test this code out. |
Beta Was this translation helpful? Give feedback.
-
Where does this whole enhancement fit? Would it need to go into 0.97.0? |
Beta Was this translation helpful? Give feedback.
-
@sebastiansam55 Questions: How does this impact multibyte character sets (anything other than EN US)? Will the new keyboard.send_keys() just work with them? If this interface will work under X11, we may want to add an option to enable it when X11 is detected. We just had a strange report on our Google group about a mouse problem. (I asked the OP to file an issue.) If that can't be figured out/fixed quickly, then the user could try out this new interface to see if it helps. Is there any value in offering a mix and match strategy so an X11 user could keep our normal API, but also explicitly use the uinput API calls as needed? |
Beta Was this translation helpful? Give feedback.
-
I'm using Cosmic, so Wayland only. |
Beta Was this translation helpful? Give feedback.
-
If you go to the page for pull request #844, that's where work has been done on Wayland compatibility. The pull request is still in Draft mode, but the comments suggest that it's at least mostly working under Wayland. Testers for it are needed and welcome. This comment on that page gives instructions for cloning that pull request and running it on your system without installing it and without interfering with your existing AutoKey installation (you'll be running the cloned copy of AutoKey from wherever you put it). |
Beta Was this translation helpful? Give feedback.
-
This project runs on volunteer efforts.Volunteers work on whatever interests them. We can only control what gets merged.We have never had more than one main developer and never more than two active contributors. Check out issue #87. No one implemented it in all this time. There is a partial implementation (keyboard and mouse modules) referenced in this issue or in a link.We have no currently active developers to do anything. If you can help to solve that it would be immensely appreciated.We're listed at codetriage.com and are looking into Opire for bounties.OT: you're the first person I've encountered who's using Cosmic. Love to hear about that over on Gitter.im/autokey/autokey. (I'm on my phone, so the link might not be right.)Sent from my Galaxy
-------- Original message --------From: LinuxBoy-96 ***@***.***> Date: 9/5/24 3:29 PM (GMT-05:00) To: autokey/autokey ***@***.***> Cc: Joe ***@***.***>, Author ***@***.***> Subject: Re: [autokey/autokey] AutoKey on Wayland - Features And Bugs (Discussion #866)
I'm using Cosmic, so Wayland only.
Let me tell you this, Autokey is unusable right now.
It cannot detect the key when you set a new Hotkey.
I can delete the default folders but if I create a new one; Autokey crash and everything come back when I open it again.
I guess it's normal since Autokey is for X11. but that's my point how can it still not work on wayland in 2024?
I'm flabberguasted.
I use Autokey Qt
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Ok so I have A hot take.
Why Rust?:
|
Beta Was this translation helpful? Give feedback.
-
Welcome to the AutoKey community, Linuxboy-96!We'd love to have this project moving again!TL;DR: Before such a major effort, demo programs showing that each required feature works at all in Wayland need to be implemented. Wayland's security model may prevent AutoKey from doing things it needs to do.Several things: We have the keyboard and mouse modules working in Wayland, so that's not an issue.You (or anyone working on this) have to demonstrate that hotkeys and window commands, etc. will work in any language even standalone before doing a lot of coding work.All our user scripts are in Python and have to be supported regardless of what language the application itself is written in.I have never looked at rust, but I have only heard good things about it, but if someone does a rewrite they would be introducing a whole new set of potential bugs and would have to commit to long term support to make it safe for us to adopt it. This would be true even if the rewrite was in Python.If you're starting from scratch, I see no reason why the new program should support x11. We have the current one for that.Also, although there may be one or two former developers lurking here, you might not be able to get answers to your questions about the current implementation and you would have to do all the git, GitHub, and any CI/CD configurations too. Currently, we do not have any active developers to assist you.There is one junior developer who can do a lot to get you started and one former lead developer who might answer some questions.Of course, the project is GPL, so you can fork it and do almost anything you like without our permission. The only issue would be our cooperation with your efforts.Sent from my Galaxy
-------- Original message --------From: LinuxBoy-96 ***@***.***> Date: 9/7/24 7:20 PM (GMT-05:00) To: autokey/autokey ***@***.***> Cc: Joe ***@***.***>, Author ***@***.***> Subject: Re: [autokey/autokey] AutoKey on Wayland - Features And Bugs (Discussion #866)
Ok so I have A hot take.
I would like to take a look what could be done to have a good AutoKey on wayland but there is a few thing to say about that
For simplicity sake, the wayland Autokey will be diffrent source than X11 Autokey.
That version will use the Iced GUI.
That version being written in 100% Rust, (explain #2)
Why Rust?:
AutoKey possibly deal will sensible macros and passwords.
It may save some resources.
I think, at the end, this is a better path, same with the idea to think about a wayland only version, X11 won't stay for ever.
It's the only thing I think I could do, sorry :(
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
This is a catch all discussion for the new Wayland interface code.
Beta Was this translation helpful? Give feedback.
All reactions