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

Swapping to keys works in some programs, but not in others #913

Open
littlesandra88 opened this issue Jan 19, 2025 · 3 comments
Open

Swapping to keys works in some programs, but not in others #913

littlesandra88 opened this issue Jan 19, 2025 · 3 comments

Comments

@littlesandra88
Copy link

littlesandra88 commented Jan 19, 2025

keyd works perfectly for me in some programs such a gnome-terminal and Chrome, but almost works in geeque, where pagedown and end is reverse of what I want.

$ cat /etc/keyd/default.conf
[ids]
*
[main]
capslock = noop
insert = delete
delete = home
home = pageup
pageup = noop 
pagedown = end
end = pagedown
grave = 0

I suppose the problem is related to swapping two keys:

pagedown = end
end = pagedown

The layout I am going for is:

delete |  pageup  | noop
------------------------
 home  | pagedown | end

Using keyd v2.5.0 () on ArchLinux.

@rvaiya
Copy link
Owner

rvaiya commented Jan 20, 2025

The input should be the same for all applications (which you can verify by looking at the output of keyd monitor). If you want pagedown to do something else for a specific application, you should look at keyd-application-mapper.

@littlesandra88
Copy link
Author

Ok, I would like it to be the same for all applications.

Is there a debug log I somehow can extract and attach here?

@nsbgn
Copy link
Collaborator

nsbgn commented Jan 21, 2025

When you say 'the same for all applications', do you mean that you want to reverse how geeque responds to pageup/pagedown keypress events? Because that would still be application-specific, ie a job for keyd-application-mapper.

Or do you mean to say - and this sounds unlikely - that geeque somehow receives keys that are different from other applications when keyd is running?

Is there a debug log I somehow can extract and attach here?

journalctl -u keyd if you are on a systemd system.

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

3 participants