regolith-linux / regolith-desktop

Meta package for the Regolith Desktop Environment
1.48k stars 31 forks source link

deadkeys not working on sway #1025

Open cfsmp3 opened 1 week ago

cfsmp3 commented 1 week ago

I've been troubleshooting this with @SoumyaRanjanPatnaik but wanted to leave it here as well.

For some reason, after upgrading from Ubuntu 23.10 to 24.04 and regolith from 3.1 to 3.2 beta, I can't type accented letters on my Spanish keyboard. This only happens on sway. GNOME and i3 are OK.

I played a lot with the different kbd config files, but was unable to figure it out.

What I know for sure is that this file /usr/share/X11/xkb/symbols/es

is loaded. I could trivially verify it by replacing this line:

key { [dead_acute, dead_diaeresis, braceleft, dead_caron ] };

with

key { [J, dead_diaeresis, braceleft, dead_caron ] };

That of course types a J when I press the key that should instead issue dead_acute.

So that part works.

Then this file: locale/en_US.UTF-8/Compose

: "á" aacute # LATIN SMALL LETTER A WITH ACUTE : "é" eacute # LATIN SMALL LETTER E WITH ACUTE : "í" iacute # LATIN SMALL LETTER I WITH ACUTE Contains the next step, but I'm not sure it's loaded at all. I've also tried reinstalling the packages that provide those files, just in case ( libx11-data and xkb-data). More info: ✦ ❯ localectl System Locale: LANG=en_US.UTF-8 VC Keymap: (unset) X11 Layout: es X11 Model: pc105 ✦ ❯ swaymsg -t get_inputs Input device: Dell Dell Wired Multimedia Keyboard System Control Type: Keyboard Identifier: 16700:8464:Dell_Dell_Wired_Multimedia_Keyboard_System_Control Product ID: 8464 Vendor ID: 16700 Active Keyboard Layout: Spanish Libinput Send Events: enabled Input device: Dell Dell Wired Multimedia Keyboard Type: Keyboard Identifier: 16700:8464:Dell_Dell_Wired_Multimedia_Keyboard Product ID: 8464 Vendor ID: 16700 Active Keyboard Layout: Spanish Libinput Send Events: enabled Input device: Dell Dell Wired Multimedia Keyboard Consumer Control Type: Keyboard Identifier: 16700:8464:Dell_Dell_Wired_Multimedia_Keyboard_Consumer_Control Product ID: 8464 Vendor ID: 16700 Active Keyboard Layout: Spanish Libinput Send Events: enabled Input device: Dell Dell Wired Multimedia Keyboard Mouse Type: Mouse Identifier: 16700:8464:Dell_Dell_Wired_Multimedia_Keyboard_Mouse Product ID: 8464 Vendor ID: 16700 Libinput Send Events: enabled Input device: HID 0c45:7403 Type: Mouse Identifier: 3141:29699:HID_0c45:7403 Product ID: 29699 Vendor ID: 3141 Libinput Send Events: enabled Input device: HID 0c45:7403 Type: Keyboard Identifier: 3141:29699:HID_0c45:7403 Product ID: 29699 Vendor ID: 3141 Active Keyboard Layout: Spanish Libinput Send Events: enabled Input device: AT Translated Set 2 keyboard Type: Keyboard Identifier: 1:1:AT_Translated_Set_2_keyboard Product ID: 1 Vendor ID: 1 Active Keyboard Layout: Spanish Libinput Send Events: enabled Input device: PIXA3854:00 093A:0274 Touchpad Type: Touchpad Identifier: 2362:628:PIXA3854:00_093A:0274_Touchpad Product ID: 628 Vendor ID: 2362 Libinput Send Events: enabled Input device: PIXA3854:00 093A:0274 Mouse Type: Mouse Identifier: 2362:628:PIXA3854:00_093A:0274_Mouse Product ID: 628 Vendor ID: 2362 Libinput Send Events: enabled Input device: FRMW0004:00 32AC:0006 Consumer Control Type: Mouse Identifier: 12972:6:FRMW0004:00_32AC:0006_Consumer_Control Product ID: 6 Vendor ID: 12972 Libinput Send Events: enabled Input device: FRMW0004:00 32AC:0006 Consumer Control Type: Keyboard Identifier: 12972:6:FRMW0004:00_32AC:0006_Consumer_Control Product ID: 6 Vendor ID: 12972 Active Keyboard Layout: Spanish Libinput Send Events: enabled Input device: FRMW0004:00 32AC:0006 Wireless Radio Control Type: Keyboard Identifier: 12972:6:FRMW0004:00_32AC:0006_Wireless_Radio_Control Product ID: 6 Vendor ID: 12972 Active Keyboard Layout: Spanish Libinput Send Events: enabled Input device: DP-2 Type: Mouse Identifier: 0:0:DP-2 Product ID: 0 Vendor ID: 0 Libinput Send Events: enabled Input device: DP-2 Type: Keyboard Identifier: 0:0:DP-2 Product ID: 0 Vendor ID: 0 Active Keyboard Layout: Spanish Libinput Send Events: enabled Input device: Power Button Type: Keyboard Identifier: 0:1:Power_Button Product ID: 1 Vendor ID: 0 Active Keyboard Layout: Spanish Libinput Send Events: enabled Input device: Lid Switch Type: Switch Identifier: 0:5:Lid_Switch Product ID: 5 Vendor ID: 0 Libinput Send Events: enabled Input device: Video Bus Type: Keyboard Identifier: 0:6:Video_Bus Product ID: 6 Vendor ID: 0 Active Keyboard Layout: Spanish Libinput Send Events: enabled