[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1110745: console-setup: keyboard is broken after upgrade from bookworm to trixie



Sorry for replying really late. Life is a little busy on my end
recently, I hardly get to sit at the computer.

Thank you both for having a look at this. I am pretty terrible at
packaging stuff both software and in the physical world so as far afais,
you people are heros to me. I greatly appreciate the effort.

> It's been a while since I looked at the internals of console-setup but
> at least ckbcomp knows about /usr/local/share/X11/xkb, which is listed
> before /usr/share/X11/xkb, so possibly using the correct location for
> local overrides in the first place would just work?
> 

If placing the file in `/usr/local/share/X11/xkb/symbols/` or
`/usr/local/share/X11/xkb/` would work, I would have done that since
Buster - back when I was messing around with all this. But it doesn't,
hence I left it in `/usr/share/…`. Upgrading to Bookworm had no issue so
I thought I was in the clear until now - Trixie.

I just checked and yes you are correct that `console-setup` works fine
in Trixie. However, Xorg does not (iirc it didn't work at all in Buster
or Bookworm). Perhaps Xorg doesn't seems to know `/usr/local/…`? 
Is this a bug? Where/how do you suggest I should report this bug?

I am quite happy moving or removing this bug all together as you see
fit. I have really little idea on how the bug system work and everytime
I run `reportbug` it seems to take forever to load and complete (might
because network issue); then I make mistake then have to redo a couple
of times, it's abit painful. Would it be easier for you to do that? 
Regardless I would carry on this hack on my own machine as I benefit
greatly from the UX. 

————————————— 
Trần H. Trung 
————————————————— 
https://trung.fun 
tel:+84-794-819-533
mailto:work@trung.fun 
xmpp:trần.h.trung@trung.fun 
——————————————————————————— 
PGP: 272B C112 E0C1 CA52 2987  8E06 4C2E 262F 6514 7810 
———————————————————————————————————————————————————————


On 25/09/14 04:12am, Cyril Brulebois wrote:
> Control: severity -1 normal
> 
> Alban Browaeys <alban.browaeys@gmail.com> (2025-09-14):
> > On Mon, 11 Aug 2025 12:04:29 +0700 =?utf-8?B?VHLhuqduIEgu?= Trung
> > <work@trung.fun> wrote:
> > > Sure I can explain a little further…
> > > 
> > > The situation before upgrade was that I was using my own keyboard:
> > > » https://soft.trung.fun/ban-phim/ban-phim.en.html#cai-dat
> > > 
> > > which modified the symbol file `/usr/share/X11/xkb/symbols/vn`
> 
> This is definitely user error then.
> 
> > > For specific content of my (publicly available) symbol file:
> > > » https://soft.trung.fun/ban-phim/src/
> > > 
> > > This symbol file was overwritten when I upgraded to Trixie.
> 
> As it should be.
> 
> > But indeed if you want support for another location, it is likely
> > console-data does not support such custom locations, so you should open
> > a wishlist bug report to console-setup therefor (if there are no
> > upstream bug tracker, because as an upstream feature request, you are
> > best to report to the project bug tracker you want the developers to
> > implement the feature).
> 
> Local admins can use dpkg-divert to override files shipped by packages
> that they want to retain in their modified versions. (And that is
> orthogonal to the conffiles concept you've explained in the remainder of
> your mail.)
> 
> It's been a while since I looked at the internals of console-setup but
> at least ckbcomp knows about /usr/local/share/X11/xkb, which is listed
> before /usr/share/X11/xkb, so possibly using the correct location for
> local overrides in the first place would just work?
> 
> 
> Cheers,
> -- 
> Cyril Brulebois (kibi@debian.org)            <https://debamax.com/>
> D-I release manager -- Release team member -- Freelance Consultant


Attachment: signature.asc
Description: PGP signature


Reply to: