Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No keyboard Custom Shortcuts in plasma 6
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
jesnow
l33t
l33t


Joined: 26 Apr 2006
Posts: 874

PostPosted: Sun Oct 27, 2024 4:20 pm    Post subject: No keyboard Custom Shortcuts in plasma 6 Reply with quote

I recently got a compact keyboard which is great but missing <home> and <end> which I use a lot. Simple, I'll "just" create a custom shortcut. Not so fast, says KDE. We now no longer have custom shortcuts, that's so KDE 5 and somehow no good for wayland, which everyone uses now anyway because its better for gaming.

OK, is there another way of doing this so that I can map, let's say <win>+<left arrow> to <home>? It looks like it can be done by editing xorg.conf. I thought I was never going to have to do that again.

Cheers,
Jon.
Back to top
View user's profile Send private message
rab0171610
Guru
Guru


Joined: 24 Dec 2022
Posts: 416

PostPosted: Mon Oct 28, 2024 1:10 am    Post subject: Reply with quote

After looking around a bit, I can only suggest keyd:

"Linux lacks a good key remapping solution. In order to achieve satisfactory results a medley of tools need to be employed (e.g xcape, xmodmap) with the end result often being tethered to a specified environment (X11). keyd attempts to solve this problem by providing a flexible system wide daemon which remaps keys using kernel level input primitives (evdev, uinput)."

https://github.com/rvaiya/keyd

It can be found in a few overlays:
http://gpo.zugaina.org/app-misc/keyd
You could alternatively copy that ebuild and the files directory to maintain your own ebuild in a personal repo.
The ebuild appears to be able to install an openrc service, if that applies to you.
The config file is:
/etc/keyd/default.conf
and seems pretty straight forward. The ebuild appears to install a default.conf config file that is found in the overlay files directory.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum