Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Ian Forrester | @cubicgarden
@cubicgarden@mas.to  ·  activity timestamp 5 days ago

This has modern #linux problem been annoying me for so long...

Under a Wayland session in #Ubuntu 24.04 my keyboard is en-US but under X11 its en-GB (which is correct)

I have searched, even asked Gemini and done everything (including XKB, XBB, gsettings etc ) but can not find a solution to set my Wayland session en-GB as default or even change it once logged in.

Its deeply annoying, any help or pointers would be great

#lazyweb

  • Copy link
  • Flag this post
  • Block
ch2500
@ch2500@chaos.social replied  ·  activity timestamp 5 days ago

@cubicgarden good luck. I remember the settings-on-disk<>udev<>X11 chain seems to be broken by design. Maybe wayland inherits the same mechanism.

  • Copy link
  • Flag this comment
  • Block
Marcos Dione
@mdione@en.osm.town replied  ·  activity timestamp 5 days ago

@cubicgarden not sue this helps, but at least in KDE this is handled by ibus. check if you don't have sucha a daemon associated to your session. Not sure what fronteds you have im GTK land...

  • Copy link
  • Flag this comment
  • Block
eastmad
@eastmad@blacktwitter.io replied  ·  activity timestamp 5 days ago

@cubicgarden Obviously you set the keyboard layout, there is no "correct" setting - you mean it isn't picking up a previous setting.

  • Copy link
  • Flag this comment
  • Block
Paul L
@prlzx@hostux.social replied  ·  activity timestamp 5 days ago

@cubicgarden
What desktop environment are you using with Ubuntu 24.04 LTS ?
GNOME would be the default

Language/Region (locale) is here:
(1)
And Keyboard settings (input sources) are here:
(2)

Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
  • Copy link
  • Flag this comment
  • Block
lj·rk
@ljrk@todon.eu replied  ·  activity timestamp 5 days ago

@cubicgarden This probably related to X11 controlling the key map itself, and it being set up there (maybe even in Xorg.conf/localectl), while under Wayland that's controlled by the compositor (which does not read Xorg.conf). In theory, the Ubuntu System Settings should simply offer you a way to change the layout, you may need to select something like "show more layouts"?

  • Copy link
  • Flag this comment
  • Block
Ian Forrester | @cubicgarden
@cubicgarden@mas.to replied  ·  activity timestamp 4 days ago

@ljrk Exactly what I have found, but its so strange few other people are having the same problem. Its so annoying having to find the forward slash and euro sign.

  • Copy link
  • Flag this comment
  • Block
lj·rk
@ljrk@todon.eu replied  ·  activity timestamp 4 days ago

@cubicgarden But your desktop environment's settings don't offer a way to change the keyboard layout? There should really be no issue, just open, e.g., Ubuntu System Settings and change the layout. No need to fiddle around with Wayland etc

  • Copy link
  • Flag this comment
  • Block
Seán C McCord :tux:
@ulexus@fosstodon.org replied  ·  activity timestamp 5 days ago

@ljrk @cubicgarden This is the main conceit, yes.
However, most Wayland compositors I have used use the defaults from xkbd, which are generally set with localectl (for systems systems, one of which Ubuntu should be).
`localectl set-x11-keymap uk` (yes, it says x11, but it is a more general config, despite that)

  • Copy link
  • Flag this comment
  • Block
Stevez
@theron29@witter.cz replied  ·  activity timestamp 5 days ago

@cubicgarden Well, it definitely *should* be possible....

Screenshot of GNOME settings for keyboard locale
Screenshot of GNOME settings for keyboard locale
Screenshot of GNOME settings for keyboard locale
  • Copy link
  • Flag this comment
  • Block
Josh
@joshmcr@mastodon.social replied  ·  activity timestamp 5 days ago

@cubicgarden gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'gb')]"

  • Copy link
  • Flag this comment
  • Block
Leander Lindahl
@leanderlindahl@mastodon.social replied  ·  activity timestamp 5 days ago

@cubicgarden you wouldn't have recommendation for app launcher "cmd + space" (like Mac) if you're on Ubuntu 24 with Wayland? I'm struggling to find one that doesn't require me to tinker too much...

  • Copy link
  • Flag this comment
  • Block
Ian Forrester | @cubicgarden
@cubicgarden@mas.to replied  ·  activity timestamp 5 days ago

@leanderlindahl I don't sorry, I just use the usual Gnome shell one

  • Copy link
  • Flag this comment
  • Block
Leander Lindahl
@leanderlindahl@mastodon.social replied  ·  activity timestamp 5 days ago

@cubicgarden 🙏

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.3.13 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login