* System configuration for different keyboard options on a per-physical keyboard basis
@ 2023-04-02 13:49 P. p. phalantha
2023-04-24 18:04 ` wolf
0 siblings, 1 reply; 2+ messages in thread
From: P. p. phalantha @ 2023-04-02 13:49 UTC (permalink / raw)
To: help-guix
Hi all,
I am running the GNU Guix operating system on my laptop. I want to swap
caps lock with control (ctrl:swapcaps) when using the laptop keyboard, but
not when using a bluetooth external keyboard. Is there a way to configure
this behavior? Thanks in advance!
Best regards,
Ning
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: System configuration for different keyboard options on a per-physical keyboard basis
2023-04-02 13:49 System configuration for different keyboard options on a per-physical keyboard basis P. p. phalantha
@ 2023-04-24 18:04 ` wolf
0 siblings, 0 replies; 2+ messages in thread
From: wolf @ 2023-04-24 18:04 UTC (permalink / raw)
To: P. p. phalantha; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 647 bytes --]
Hello,
On 2023-04-02 13:49:56 +0000, P. p. phalantha wrote:
> Hi all,
>
> I am running the GNU Guix operating system on my laptop. I want to swap
> caps lock with control (ctrl:swapcaps) when using the laptop keyboard, but
> not when using a bluetooth external keyboard. Is there a way to configure
> this behavior? Thanks in advance!
Not really guix specific answer, but I'm pretty sure you could achieve using
this setxkbmap's --device parameter. The device ID should be possible to get
from xinput list.
W.
--
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-04-24 18:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-02 13:49 System configuration for different keyboard options on a per-physical keyboard basis P. p. phalantha
2023-04-24 18:04 ` wolf
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.