public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] xkeyboard-config overwrote files in CONFIG_PROTECT-ed directory (/usr/share/X11/xkb/symbols)
Date: Sun, 27 Jul 2025 19:44:14 -0500	[thread overview]
Message-ID: <8cc13959-b065-26d4-dc7d-abf553165326@gmail.com> (raw)
In-Reply-To: <m35xfdgnip.fsf@lugabout.jhcloos.org>

James Cloos wrote:
> I just looked at the file /usr/lib64/libxkbcommon.so with strings(1).
>
> (The src is better, but this was quicker.)
>
> It includes these strings in succession:
>
> ,----
> | Include path added: %s
> | Include path failed: %s (%s)
> | /etc/xkb
> | XKB_CONFIG_EXTRA_PATH
> | /usr/share/X11/xkb
> | XKB_CONFIG_ROOT
> | %s/xkb
> | %s/.config/xkb
> | %s/.xkb
> | XKB_LOG_LEVEL
> `----
>
> So /etc/xkb ought to work.  As ought ~/.xkb and ~/.config/xkb.
>
> Ang you should be able to use the environmental variables (set them
> before starting Xorg) XKB_CONFIG_EXTRA_PATH to add another path, or
> XKB_CONFIG_ROOT to completely replace /usr/share/X11/xkb.
>
> I also tried running:
>
> ,----
> | strace xkbcli how-to-type --layout us U+0229|&fgrep /etc
> `----
>
> which invluded the line:
>
> ,----
> | newfstatat(AT_FDCWD, "/etc/xkb", 0x7ffdcd70b0d0, 0) = -1 ENOENT (No such file or directory)
> `----
>
> which strongly suggests /etc/xkb is supported.  At least by default.
>
> Did anything show up in your /var/log/Xorg.0.log when you tried /etc/xkb?
>
> -JimC


Could it be that it doesn't want a sub directory but to be in /etc/xkb
itself?  I know most software supports that but maybe this one doesn't? 

Just a thought. 

Dale

:-)  :-) 


  reply	other threads:[~2025-07-28  0:45 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-27 12:18 [gentoo-user] xkeyboard-config overwrote files in CONFIG_PROTECT-ed directory (/usr/share/X11/xkb/symbols) gevisz
2025-07-27 13:02 ` Michael
2025-07-27 13:39   ` gevisz
2025-07-27 13:06 ` Dale
2025-07-27 13:24   ` Dale
2025-07-27 13:41   ` gevisz
2025-07-27 14:47     ` Dale
2025-07-27 15:01       ` gevisz
2025-07-27 15:24         ` gevisz
2025-07-27 15:32           ` Dale
2025-07-27 15:40             ` gevisz
2025-07-27 23:57           ` gevisz
2025-07-28  0:35             ` James Cloos
2025-07-28  0:44               ` Dale [this message]
2025-07-28  0:37             ` Dale
2025-07-28  0:41             ` James Cloos
2025-07-28  0:50             ` James Cloos

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=8cc13959-b065-26d4-dc7d-abf553165326@gmail.com \
    --to=rdalek1967@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox