You are not logged in.

#1 2025-02-27 09:45:23

early_adopter
Member
Registered: 2011-03-30
Posts: 27

AltGr no longer working in Chromium

I'm using ungoogled-chromium. Since my last upgrade the AltGr key has stopped functioning. This is maddening since I use it a lot to write accented characters like á ó é.

Anyone know anything about this?

Offline

#2 2025-02-27 13:24:20

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,775

Re: AltGr no longer working in Chromium

What makes you believe it's the AltGr key itself and not the keyboard layout/IM?

X11, native wayland or xwayland?
What is your keybord layout config? (on X11, "setxkbmap -print -query" - this has limited value in any wayland context)
Do you use an IM (and which)?

Offline

#3 2025-03-03 10:23:42

early_adopter
Member
Registered: 2011-03-30
Posts: 27

Re: AltGr no longer working in Chromium

Thanks for your reply.

I think it's a Chromium issue because the AltGr key works in the desired way on every other app including terminals, Firefox, Emacs.

I'm using dwm on X11. Qwerty layout. I don't use an input manager.

$ setxkbmap -print -query
xkb_keymap {
	xkb_keycodes  { include "evdev+aliases(qwerty)"	};
	xkb_types     { include "complete"	};
	xkb_compat    { include "complete"	};
	xkb_symbols   { include "pc+us+inet(evdev)+terminate(ctrl_alt_bksp)"	};
	xkb_geometry  { include "pc(pc104)"	};
};
rules:      evdev
model:      pc105+inet
layout:     us
options:    terminate:ctrl_alt_bksp

Offline

#4 2025-03-03 17:56:17

Huru-Ukko
Member
Registered: 2011-05-01
Posts: 3

Re: AltGr no longer working in Chromium

Add to your ~/.config/chromium-flags.conf

 --disable-gtk-ime

Last edited by Huru-Ukko (2025-03-03 17:57:21)

Offline

#5 2025-03-04 12:57:37

early_adopter
Member
Registered: 2011-03-30
Posts: 27

Re: AltGr no longer working in Chromium

That doesn't work, I'm afraid. Neither does it work as a command line argument.

It did lead me to this though. I tried several options there but to no avail.

    https://wiki.archlinux.org/title/Chromium

From there I found two bug reports which seem related. I'll monitor them and report back here if there are any developments.

    https://issues.chromium.org/issues/40259478

    https://issues.chromium.org/issues/392060823

Offline

#6 2025-03-04 14:33:57

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,775

Re: AltGr no longer working in Chromium

The default US layout has not 3rd-level shift, try

setxkbmap -variant intl

Makes me wonder how and where and why altgr would work otherwise

Offline

#7 2025-04-08 07:23:19

CBiX
Member
Registered: 2013-07-15
Posts: 22

Re: AltGr no longer working in Chromium

Same here with chromium 135.0.7049.52-1 on GNOME/Wayland. Alt-Gr works everywhere but in Chromium, however the --disable-gtk-ime flag fixes it, thanks @Huru-Ukko ! My chromium-flags.conf is now

--ozone-platform-hint=auto
--use-gl=angle
--use-angle=vulkan
--enable-features=VaapiVideoEncoder,Vulkan,VulkanFromANGLE,DefaultANGLEVulkan,UseMultiPlaneFormatForHardwareVideo,VaapiIgnoreDriverChecks
--disable-gtk-ime

(IIRC ozone-platform-hint is required for native Wayland support)

Offline

#8 2025-04-08 08:49:53

pvizc
Member
Registered: 2018-04-09
Posts: 6

Re: AltGr no longer working in Chromium

I was having the same issue but --disable-gtk-ime fixed it.

Offline

Board footer

Powered by FluxBB