unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Latam keyboard layout changed, how can I get the old one back?
@ 2022-04-06 22:00 Luis Felipe
  2022-04-07  9:50 ` pelzflorian (Florian Pelz)
  0 siblings, 1 reply; 8+ messages in thread
From: Luis Felipe @ 2022-04-06 22:00 UTC (permalink / raw)
  To: help guix


[-- Attachment #1.1: Type: text/plain, Size: 1178 bytes --]

Hi,

I'm currently using Guix System (guix ab98b51), and noticed that I can't type less-than (<) and greater-than (>) signs anymore, even though I didn't change the keyboard-layout in my system definition (or anywhere else):

(keyboard-layout "latam" #:options '("ctrl:nocaps"))

Using this layout, I used to get less-than and greater-than by typing Alt+Shift+Z and Alt+Shift+X, respectively, but when I upgraded to guix ab98b51, I started getting single angle quotation marks instead (‹›, the sisters of «»).

Checking the layout in GNOME, I saw a 105-keys keyboard, but mine is 104 keys, so I reconfigured my system with

(keyboard-layout "latam" #:model "pc104" #:options '("ctrl:nocaps"))

but that didn't do much: less-than and greater-than are still nowhere to be found:

https://luis-felipe.gitlab.io/media/2022/04/gnome-41-distribución-de-teclado-español-latinoamericano-104-teclas.png

In the meantime, I've been typing the lost signs entering their UNICODE directly (Shift+U+UNICODE), but if anyone knows how to get the old mapping back, that'll be great.

Thanks in advance,

---
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/

[-- Attachment #1.2: publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc --]
[-- Type: application/pgp-keys, Size: 1815 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 509 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Latam keyboard layout changed, how can I get the old one back?
  2022-04-06 22:00 Latam keyboard layout changed, how can I get the old one back? Luis Felipe
@ 2022-04-07  9:50 ` pelzflorian (Florian Pelz)
  2022-04-07 15:22   ` Luis Felipe
  0 siblings, 1 reply; 8+ messages in thread
From: pelzflorian (Florian Pelz) @ 2022-04-07  9:50 UTC (permalink / raw)
  To: Luis Felipe; +Cc: help guix

On Wed, Apr 06, 2022 at 10:00:55PM +0000, Luis Felipe wrote:
> I'm currently using Guix System (guix ab98b51), and noticed that I
> can't type less-than (<) and greater-than (>) signs anymore, even
> though I didn't change the keyboard-layout in my system definition
> (or anywhere else):

Perhaps a bug in xkeyboard-config, but there are no recent commits
changing xkeyboard-config.  If so, the virtual Linux console
(Ctrl+Alt+F2 etc.) should be affected too.  Is it?  Except you could
try a commit before and after bcfff754?  But I don’t see relevant
changes in

less /gnu/store/*-xkeyboard-config*/share/X11/xkb/symbols/latam

Xorg is using xf86-input-libinput now (guix commit 2e55a4c6b915), but
that cannot be at fault, because ab98b51ef is older …  I see no other
changes to Xorg in recent commits.

Regards,
Florian


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Latam keyboard layout changed, how can I get the old one back?
  2022-04-07  9:50 ` pelzflorian (Florian Pelz)
@ 2022-04-07 15:22   ` Luis Felipe
  2022-04-07 16:55     ` Luis Felipe
  0 siblings, 1 reply; 8+ messages in thread
From: Luis Felipe @ 2022-04-07 15:22 UTC (permalink / raw)
  To: pelzflorian (Florian Pelz); +Cc: help guix


[-- Attachment #1.1: Type: text/plain, Size: 3194 bytes --]

Hi, Florian,

On Thursday, April 7th, 2022 at 9:50 AM, pelzflorian (Florian Pelz) <pelzflorian@pelzflorian.de> wrote:

> On Wed, Apr 06, 2022 at 10:00:55PM +0000, Luis Felipe wrote:
> 

> > I'm currently using Guix System (guix ab98b51), and noticed that I
> > can't type less-than (<) and greater-than (>) signs anymore, even
> > though I didn't change the keyboard-layout in my system definition
> > (or anywhere else):
> 

> 

> Perhaps a bug in xkeyboard-config, but there are no recent commits
> changing xkeyboard-config. If so, the virtual Linux console
> (Ctrl+Alt+F2 etc.) should be affected too. Is it? 


Yes, I get the same behavior in that console.

> Except you could try a commit before and after bcfff754? But I
> don’t see relevant changes in
> 

> less /gnu/store/-xkeyboard-config/share/X11/xkb/symbols/latam

If I understand correctly, bcfff754 occurred inbetween generations 75 and 76 of my system:

Generation 75	Sep 13 2021 17:51:59
  file name: /var/guix/profiles/system-75-link
  canonical file name: /gnu/store/fpxad4s3iwixqsdcrf47pblh7r5znrdh-system
  label: GNU with Linux-Libre 5.13.15
  bootloader: grub-efi
  root device: UUID: 3f651226-f53e-4944-8bf8-a0b8c28cfac5
  kernel: /gnu/store/y9r7physjpa23znb7r6rg38wpmxrkp0s-linux-libre-5.13.15/bzImage
  channels:
    guix:
      repository URL: https://git.savannah.gnu.org/git/guix.git
      branch: master
      commit: 13c3fcb3ed2f7c68dfd473479b26929046a97075
  configuration file: /gnu/store/y83wr1m9qcfzgahzrcny68yc76cd1sbg-configuration.scm
Generation 76	Dec 16 2021 12:37:52
  file name: /var/guix/profiles/system-76-link
  canonical file name: /gnu/store/lr06hmhrc5g1574dpdpgpmxh8lda6ri7-system
  label: GNU with Linux-Libre 5.15.7
  bootloader: grub-efi
  root device: UUID: 3f651226-f53e-4944-8bf8-a0b8c28cfac5
  kernel: /gnu/store/8vss0dkfda6rsjdx58bh2fp6nn4zvi5x-linux-libre-5.15.7/bzImage
  channels:
    guix:
      repository URL: https://git.savannah.gnu.org/git/guix.git
      branch: master
      commit: 94836b215630ad0f4a7c06b8e4284d923ac1197f
  configuration file: /gnu/store/64rz9n8hd1np1aljjiwvy2347abjv04w-configuration.scm

but I could type these signs normally during that period.

The last generation were things worked fine for me was

Generation 80	Feb 07 2022 11:06:06
  file name: /var/guix/profiles/system-80-link
  canonical file name: /gnu/store/75zlnfl5qmap83csa0jgm5iwdxdpzjgm-system
  label: GNU with Linux-Libre 5.15.19
  bootloader: grub-efi
  root device: UUID: 3f651226-f53e-4944-8bf8-a0b8c28cfac5
  kernel: /gnu/store/8w9v4dka10cv0r5fyw9f0pc14fszbl03-linux-libre-5.15.19/bzImage
  channels:
    guix:
      repository URL: https://git.savannah.gnu.org/git/guix.git
      branch: master
      commit: 579e9e9509f45fdc8543323b3c9f662b53dbfc6d
  configuration file: /gnu/store/64rz9n8hd1np1aljjiwvy2347abjv04w-configuration.scm


> Xorg is using xf86-input-libinput now (guix commit 2e55a4c6b915), but
> that cannot be at fault, because ab98b51ef is older … I see no other
> changes to Xorg in recent commits.

Hmm, thanks for taking a look, FLorian :)

I'll read more about xkeyboard-config.

[-- Attachment #1.2: publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc --]
[-- Type: application/pgp-keys, Size: 1815 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 509 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Latam keyboard layout changed, how can I get the old one back?
  2022-04-07 15:22   ` Luis Felipe
@ 2022-04-07 16:55     ` Luis Felipe
  2022-04-08  9:47       ` pelzflorian (Florian Pelz)
  0 siblings, 1 reply; 8+ messages in thread
From: Luis Felipe @ 2022-04-07 16:55 UTC (permalink / raw)
  To: Luis Felipe; +Cc: pelzflorian (Florian Pelz), help guix


[-- Attachment #1.1: Type: text/plain, Size: 4259 bytes --]

On Thursday, April 7th, 2022 at 3:22 PM, Luis Felipe <luis.felipe.la@protonmail.com> wrote:

> Hi, Florian,
> 

> On Thursday, April 7th, 2022 at 9:50 AM, pelzflorian (Florian Pelz) pelzflorian@pelzflorian.de wrote:
> 

> > On Wed, Apr 06, 2022 at 10:00:55PM +0000, Luis Felipe wrote:
> 

> > > I'm currently using Guix System (guix ab98b51), and noticed that I
> > > can't type less-than (<) and greater-than (>) signs anymore, even
> > > though I didn't change the keyboard-layout in my system definition
> > > (or anywhere else):
> 

> > Perhaps a bug in xkeyboard-config, but there are no recent commits
> > changing xkeyboard-config. If so, the virtual Linux console
> > (Ctrl+Alt+F2 etc.) should be affected too. Is it?
> 

> Yes, I get the same behavior in that console.
> 

> > Except you could try a commit before and after bcfff754? But I
> > don’t see relevant changes in
> 

> > less /gnu/store/-xkeyboard-config/share/X11/xkb/symbols/latam
> 

> If I understand correctly, bcfff754 occurred inbetween generations 75 and 76 of my system:
> 

> Generation 75 Sep 13 2021 17:51:59
> file name: /var/guix/profiles/system-75-link
> canonical file name: /gnu/store/fpxad4s3iwixqsdcrf47pblh7r5znrdh-system
> label: GNU with Linux-Libre 5.13.15
> bootloader: grub-efi
> root device: UUID: 3f651226-f53e-4944-8bf8-a0b8c28cfac5
> kernel: /gnu/store/y9r7physjpa23znb7r6rg38wpmxrkp0s-linux-libre-5.13.15/bzImage
> channels:
> guix:
> repository URL: https://git.savannah.gnu.org/git/guix.git
> branch: master
> commit: 13c3fcb3ed2f7c68dfd473479b26929046a97075
> configuration file: /gnu/store/y83wr1m9qcfzgahzrcny68yc76cd1sbg-configuration.scm
> Generation 76 Dec 16 2021 12:37:52
> file name: /var/guix/profiles/system-76-link
> canonical file name: /gnu/store/lr06hmhrc5g1574dpdpgpmxh8lda6ri7-system
> label: GNU with Linux-Libre 5.15.7
> bootloader: grub-efi
> root device: UUID: 3f651226-f53e-4944-8bf8-a0b8c28cfac5
> kernel: /gnu/store/8vss0dkfda6rsjdx58bh2fp6nn4zvi5x-linux-libre-5.15.7/bzImage
> channels:
> guix:
> repository URL: https://git.savannah.gnu.org/git/guix.git
> branch: master
> commit: 94836b215630ad0f4a7c06b8e4284d923ac1197f
> configuration file: /gnu/store/64rz9n8hd1np1aljjiwvy2347abjv04w-configuration.scm
> 

> but I could type these signs normally during that period.
> 

> The last generation were things worked fine for me was
> 

> Generation 80 Feb 07 2022 11:06:06
> file name: /var/guix/profiles/system-80-link
> canonical file name: /gnu/store/75zlnfl5qmap83csa0jgm5iwdxdpzjgm-system
> label: GNU with Linux-Libre 5.15.19
> bootloader: grub-efi
> root device: UUID: 3f651226-f53e-4944-8bf8-a0b8c28cfac5
> kernel: /gnu/store/8w9v4dka10cv0r5fyw9f0pc14fszbl03-linux-libre-5.15.19/bzImage
> channels:
> guix:
> repository URL: https://git.savannah.gnu.org/git/guix.git
> branch: master
> commit: 579e9e9509f45fdc8543323b3c9f662b53dbfc6d
> configuration file: /gnu/store/64rz9n8hd1np1aljjiwvy2347abjv04w-configuration.scm

I was wrong about the generation where the problem started. It seems the mapping change did occur after bcfff754, where xkeyboard-config version changed to 2.34.

I switched generations to check. In my Generation 75 (guix 13c3fcb3), I could type the signs normally. Generation 76 (guix 94836b21) had the login bug, so I couldn't check there, but in Generation 77 I was already unable to type normally:

Generación 77	21 dic 2021 19:44:33
  nombre de archivo: /var/guix/profiles/system-77-link
  nombre canónico de archivo: /gnu/store/6xf3y3fp0zq0fcbpa328vkq5c7swl2l2-system
  etiqueta: GNU with Linux-Libre 5.15.10
  cargador de arranque: grub-efi
  dispositivo raíz: UUID: 3f651226-f53e-4944-8bf8-a0b8c28cfac5
  núcleo: /gnu/store/39vhbxpsa5byrbrqx7k7092ywlmwcbim-linux-libre-5.15.10/bzImage
  canales:
    guix:
      URL del repositorio: https://git.savannah.gnu.org/git/guix.git
      rama: wip-fix-52051
      revisión: 18bc928078f10e2433b3410c30cf103f8f544540
  archivo de configuración: /gnu/store/64rz9n8hd1np1aljjiwvy2347abjv04w-configuration.scm

I found a bug report upstream that may be related to this: https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/issues/267 .

[-- Attachment #1.2: publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc --]
[-- Type: application/pgp-keys, Size: 1815 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 509 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Latam keyboard layout changed, how can I get the old one back?
  2022-04-07 16:55     ` Luis Felipe
@ 2022-04-08  9:47       ` pelzflorian (Florian Pelz)
  2022-04-08 15:49         ` Luis Felipe
  2022-04-10  0:40         ` Thiago Jung Bauermann
  0 siblings, 2 replies; 8+ messages in thread
From: pelzflorian (Florian Pelz) @ 2022-04-08  9:47 UTC (permalink / raw)
  To: Luis Felipe; +Cc: help guix

On Thu, Apr 07, 2022 at 04:55:11PM +0000, Luis Felipe wrote:
> I found a bug report upstream that may be related to this: https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/issues/267 .

I guess there’s no way around `info "(guix) Using a Custom Guix
Channel"` with (url "/home/luis/src/guix") and reverting bcfff754.

Regards,
Florian


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Latam keyboard layout changed, how can I get the old one back?
  2022-04-08  9:47       ` pelzflorian (Florian Pelz)
@ 2022-04-08 15:49         ` Luis Felipe
  2022-04-10  0:40         ` Thiago Jung Bauermann
  1 sibling, 0 replies; 8+ messages in thread
From: Luis Felipe @ 2022-04-08 15:49 UTC (permalink / raw)
  To: pelzflorian (Florian Pelz); +Cc: help guix


[-- Attachment #1.1: Type: text/plain, Size: 540 bytes --]

On Friday, April 8th, 2022 at 9:47 AM, pelzflorian (Florian Pelz) <pelzflorian@pelzflorian.de> wrote:

> On Thu, Apr 07, 2022 at 04:55:11PM +0000, Luis Felipe wrote:
> 

> > I found a bug report upstream that may be related to this: https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/issues/267 .
> 

> 

> I guess there’s no way around `info "(guix) Using a Custom Guix Channel"` with (url "/home/luis/src/guix") and reverting bcfff754.

I think I'll keep entering UNICODE for now :)

Thanks again, Florian.

[-- Attachment #1.2: publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc --]
[-- Type: application/pgp-keys, Size: 1815 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 509 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Latam keyboard layout changed, how can I get the old one back?
  2022-04-08  9:47       ` pelzflorian (Florian Pelz)
  2022-04-08 15:49         ` Luis Felipe
@ 2022-04-10  0:40         ` Thiago Jung Bauermann
  2022-04-10  9:50           ` pelzflorian (Florian Pelz)
  1 sibling, 1 reply; 8+ messages in thread
From: Thiago Jung Bauermann @ 2022-04-10  0:40 UTC (permalink / raw)
  To: pelzflorian (Florian Pelz); +Cc: Luis Felipe, help-guix


Hello,

"pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> writes:

> On Thu, Apr 07, 2022 at 04:55:11PM +0000, Luis Felipe wrote:
>> I found a bug report upstream that may be related to this:
>> https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/issues/267 .
>
> I guess there’s no way around `info "(guix) Using a Custom Guix
> Channel"` with (url "/home/luis/src/guix") and reverting bcfff754.

I think you could also use an inferior to install xkeyboard-config
from an older Guix revision:

https://guix.gnu.org/de/manual/devel/en/html_node/Inferiors.html

I don’t use Guix System though so unfortunately I can’t give more
specific instructions. Nor be sure that this can really be done, to be
honest.

-- 
Thanks
Thiago


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Latam keyboard layout changed, how can I get the old one back?
  2022-04-10  0:40         ` Thiago Jung Bauermann
@ 2022-04-10  9:50           ` pelzflorian (Florian Pelz)
  0 siblings, 0 replies; 8+ messages in thread
From: pelzflorian (Florian Pelz) @ 2022-04-10  9:50 UTC (permalink / raw)
  To: Thiago Jung Bauermann; +Cc: help-guix

On Sat, Apr 09, 2022 at 09:40:04PM -0300, Thiago Jung Bauermann wrote:
> I think you could also use an inferior to install xkeyboard-config
> from an older Guix revision:

Sorry I think this will not work.  The problem is that the GNOME
packages reference the xkeyboard-config of the current guix.
Therefore changed GNOME packages (referring to inferior or copy of old
xkeyboard-config) and a changed gnome-desktop-service-type (referring
to the changed GNOME packages) would be needed.

It is much simpler to git clone guix into /home/luis/src/guix,
git revert bcfff754, and set up `info "(guix) Using a Custom Guix
Channel"` to (url "/home/luis/src/guix") until a fixed
xkeyboard-config is released.

Regards,
Florian


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-04-10  9:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-06 22:00 Latam keyboard layout changed, how can I get the old one back? Luis Felipe
2022-04-07  9:50 ` pelzflorian (Florian Pelz)
2022-04-07 15:22   ` Luis Felipe
2022-04-07 16:55     ` Luis Felipe
2022-04-08  9:47       ` pelzflorian (Florian Pelz)
2022-04-08 15:49         ` Luis Felipe
2022-04-10  0:40         ` Thiago Jung Bauermann
2022-04-10  9:50           ` pelzflorian (Florian Pelz)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).