Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Keyboard Custom Shortcuts in plasma 6 [solved]

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
jesnow
l33t
l33t
Posts: 905
Joined: Wed Apr 26, 2006 11:20 pm

Keyboard Custom Shortcuts in plasma 6 [solved]

  • Quote

Post by jesnow » Sun Oct 27, 2024 4:20 pm

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.
Last edited by jesnow on Sun Nov 03, 2024 1:44 pm, edited 1 time in total.
Top
rab0171610
l33t
l33t
Posts: 721
Joined: Sat Dec 24, 2022 1:41 am

  • Quote

Post by rab0171610 » Mon Oct 28, 2024 1:10 am

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.
Top
muddle
n00b
n00b
Posts: 32
Joined: Tue May 01, 2007 10:09 pm

  • Quote

Post by muddle » Thu Oct 31, 2024 6:12 am

I'm using Plasma 6.2.2. There you can find the shortcuts: Systemsettings -> Keyboard -> Shortcuts.

The shortcuts for "Beginning of Line" and "End of Line" can be set under Navigation.
Top
rab0171610
l33t
l33t
Posts: 721
Joined: Sat Dec 24, 2022 1:41 am

  • Quote

Post by rab0171610 » Thu Oct 31, 2024 6:25 am

I just wanted to point out the difference between those two approaches, in case it is not obvious. Keyboard shortcuts are available once logged into the Plasma session. Since Keyd uses kernel level input, those shortcuts would be available once the keyd service is loaded. If the home and end keys would never be needed in the shell or outside of a Plasma session, then Plasma shortcuts would be the easiest solution. Otherwise, if you need early loading or always available full keyboard remapping, then consider something like keyd.
Top
CaptainBlood
Advocate
Advocate
User avatar
Posts: 4237
Joined: Sun Jan 24, 2010 9:38 am

  • Quote

Post by CaptainBlood » Thu Oct 31, 2024 9:04 am

Very interesting...
Emerged here as a reminder.

Thks 4 ur attention, interest & support.
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Top
jesnow
l33t
l33t
Posts: 905
Joined: Wed Apr 26, 2006 11:20 pm

  • Quote

Post by jesnow » Sun Nov 03, 2024 1:43 pm

Thanks everybody, two very useful and non-obvious solutions.
Top
Post Reply

6 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic