You are not logged in.

#1 2017-04-22 22:02:37

lnxsurf
Member
Registered: 2014-05-28
Posts: 68

[SOLVED] GNOME keyboard layout

Hello,

I have installed gnome and almost everything works fine for me. I would like to know how I can change my keyboard layout to german layout.

Thanks in advance.

Last edited by lnxsurf (2017-04-23 14:20:16)

Offline

#2 2017-04-22 22:13:09

dockland
Member
From: Sweden
Registered: 2015-06-06
Posts: 861

Re: [SOLVED] GNOME keyboard layout

lnxsurf wrote:

Hello,

I have installed gnome and almost everything works fine for me. I would like to know how I can change my keyboard layout to german layout.

Thanks in advance.

You add german (uncomment the line) in /etc/locale.gen and run sudo locale-gen.

It's all here: https://wiki.archlinux.org/index.php/locale

I was blazing fast there and now i read "keyboard layout"

/etc/vconsole.conf

KEYMAP=de

Last edited by dockland (2017-04-22 22:16:31)


I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.

Offline

#3 2017-04-22 22:26:01

lnxsurf
Member
Registered: 2014-05-28
Posts: 68

Re: [SOLVED] GNOME keyboard layout

Yes, I did that before. I used plasma and there it worked fine. Is there something different with gnome. It seems that my locale is ignored.

There I have de-latin1 as KEYMAP

Last edited by lnxsurf (2017-04-22 22:28:24)

Offline

#4 2017-04-23 06:32:03

seth
Member
Registered: 2012-09-03
Posts: 51,028

Re: [SOLVED] GNOME keyboard layout

gnome on xorg or wayland?
check "loginctl session-status"

For the latter you'll have to use the config tool provided by the gnome settings manager.

Online

#5 2017-04-23 07:17:39

lnxsurf
Member
Registered: 2014-05-28
Posts: 68

Re: [SOLVED] GNOME keyboard layout

wayland!

[dejo@coco-lap ~]$ loginctl session-status
c3 - dejo (1000)
           Since: Sun 2017-04-23 00:18:18 CEST; 9h ago
          Leader: 7295 (gdm-session-wor)
            Seat: seat0; vc2
             TTY: /dev/tty2
         Service: gdm-password; type wayland; class user
           State: active
            Unit: session-c3.scope
                  ├─ 7295 gdm-session-worker [pam/gdm-password]
c3 - dejo (1000)
           Since: Sun 2017-04-23 00:18:18 CEST; 9h ago
          Leader: 7295 (gdm-session-wor)
            Seat: seat0; vc2
             TTY: /dev/tty2
         Service: gdm-password; type wayland; class user
           State: active
            Unit: session-c3.scope
                  ├─ 7295 gdm-session-worker [pam/gdm-password]
                  ├─ 7307 /usr/bin/gnome-keyring-daemon --daemonize --login
                  ├─ 7311 /usr/lib/gdm/gdm-wayland-session gnome-session
                  ├─ 7315 /usr/lib/gnome-session/gnome-session-binary
                  ├─ 7346 /usr/bin/gnome-shell
                  ├─ 7364 /usr/bin/Xwayland :0 -rootless -noreset -listen 4 -listen 5 -displayfd 6
                  ├─ 7451 /usr/lib/gnome-settings-daemon/gnome-settings-daemon
                  ├─ 7517 python2 -m guake.main
                  ├─ 7524 /usr/lib/tracker/tracker-extract
                  ├─ 7530 /usr/lib/tracker/tracker-miner-apps
                  ├─ 7539 /usr/lib/tracker/tracker-miner-fs
                  ├─ 7543 /usr/lib/evolution/evolution-alarm-notify
                  ├─ 7544 /usr/lib/gnome-settings-daemon/gsd-printer
                  ├─ 7580 /bin/bash
                  ├─ 7659 /home/dejo/.dropbox-dist/dropbox-lnx.x86_64-24.4.16/dropbox /newerversion
                  ├─ 7809 /usr/lib/firefox/firefox
                  ├─ 7937 /usr/lib/firefox/firefox -contentproc -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/
                  ├─11206 loginctl session-status
                  └─11207 loginctl session-status

Apr 23 00:52:36 coco-lap org.gnome.Shell.desktop[7346]: runSafeSyncWithoutClone@resource://gre/modules/ExtensionUtils.jsm:73:129
Apr 23 00:52:36 coco-lap org.gnome.Shell.desktop[7346]: emit/promises<@resource://gre/modules/ExtensionUtils.jsm:384:55
Apr 23 00:52:36 coco-lap org.gnome.Shell.desktop[7346]: emit@resource://gre/modules/ExtensionUtils.jsm:383:20
Apr 23 00:52:36 coco-lap org.gnome.Shell.desktop[7346]: listener@chrome://extensions/content/ext-webRequest.js:31:7
Apr 23 00:52:36 coco-lap org.gnome.Shell.desktop[7346]: runChannelListener@resource://gre/modules/WebRequest.jsm:737:24
Apr 23 00:52:36 coco-lap org.gnome.Shell.desktop[7346]: errorCheck@resource://gre/modules/WebRequest.jsm:566:7
Apr 23 00:52:36 coco-lap org.gnome.Shell.desktop[7346]: runChannelListener@resource://gre/modules/WebRequest.jsm:691:20
Apr 23 00:52:36 coco-lap org.gnome.Shell.desktop[7346]: onStopRequest@resource://gre/modules/WebRequest.jsm:853:5
Apr 23 00:52:36 coco-lap org.gnome.Shell.desktop[7346]: onStopRequest@resource://gre/modules/WebRequest.jsm:349:5
Apr 23 00:52:36 coco-lap org.gnome.Shell.desktop[7346]: ]]

Last edited by lnxsurf (2017-04-23 07:21:16)

Offline

#6 2017-04-23 13:36:37

lnxsurf
Member
Registered: 2014-05-28
Posts: 68

Re: [SOLVED] GNOME keyboard layout

So I have to use gsettings to set the layout?

Edit:
Ok... I did it over the settings for language/region. There I could add an input source and I chose german.

Last edited by lnxsurf (2017-04-23 14:13:02)

Offline

#7 2017-04-23 14:19:38

lnxsurf
Member
Registered: 2014-05-28
Posts: 68

Re: [SOLVED] GNOME keyboard layout

Sorry, how can I mark this thread as solved?

Edit:
I got it...

Last edited by lnxsurf (2017-04-23 14:20:44)

Offline

#8 2018-04-08 11:49:42

attila123
Member
Registered: 2012-04-20
Posts: 11

Re: [SOLVED] GNOME keyboard layout

Hi,
Finally I made it work, but it made me hate Gnome Shell...
I installed gnome shell from AntergOS (with `sudo pacman -S gnome gnome-extra`).
I edited /etc/locale.gen and uncommented entries for Hungarian locales (lines starting with hu_HU). Then I ran `sudo locale-gen`. When I go to Region & Language, only English is listed there (and a vertical ...). When I click the vertical "...", I can search, so I type "Hun", then "Hungarian" appears. If I click it there will be a "<" (collapse, I think) in the left side of it. But in any case I could not add it.
Finally, I realized that this is a resizing dialog box ("Add an Input Source"), which appeared by default so small that only one row was visible in it. I have no idea why it appeared so small by default. So the user has to solve this puzzle and resize this dialog first, then the keyboard layouts appear. No indication for resizability, e.g. no scrollbar, no nothing!!!
Update: the scollbar is there in the list, but disappears after a short while (WTF), and was not useful anyway.
I have used several DEs so far, but solving the keyboard setting was the most painful here.
(At some point I also run `sudo loadkeys hu` (read it somewhere), but I am not sure if it was necessary.)
(During my struggles I also logged out and in at some point, and even rebooted, I am not sure if those were necessary.)
Hope this helps someone...

Last edited by attila123 (2018-04-08 11:57:24)

Offline

#9 2018-04-08 12:02:18

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,845
Website

Re: [SOLVED] GNOME keyboard layout

Thanks for sharing. Please note that Antergos is not Arch, but I appreciate that you are sharing this in the hopes that it helps Arch users.

I'm going to go ahead and close this old solved topic now.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB