all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: wolf <wolf@wolfsden.cz>
To: "P. p. phalantha" <ningyuan.sg@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: System configuration for different keyboard options on a per-physical keyboard basis
Date: Mon, 24 Apr 2023 20:04:53 +0200	[thread overview]
Message-ID: <ZEbExROSD6fCjfi6@ws> (raw)
In-Reply-To: <CAEavL=XubnzEcXtJ0DMQskjjWRA3phgaRCdD2qVPfs-+1xR_Qw@mail.gmail.com>

[-- 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 --]

      reply	other threads:[~2023-04-24 18:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZEbExROSD6fCjfi6@ws \
    --to=wolf@wolfsden.cz \
    --cc=help-guix@gnu.org \
    --cc=ningyuan.sg@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.