You are not logged in.

#1 2020-08-23 19:52:08

elbrus
Member
Registered: 2019-04-03
Posts: 7

Swedish keyboard works in terminal but not in Firefox

I can type Swedish letters öäå in the terminal.
However, in Firefox, the same input produce ;'[ that correspond to the English keyboard (*).
How to fix this?

(* unless I manually delete and add Swedish in Input Sources in the currently logged in session)

Last edited by elbrus (2020-08-24 07:34:36)

Offline

#2 2020-08-23 20:12:31

tucuxi
Member
From: Switzerland
Registered: 2020-03-08
Posts: 291

Re: Swedish keyboard works in terminal but not in Firefox

What did you configure so that the terminal works as you want it?

Offline

#3 2020-08-24 06:19:38

elbrus
Member
Registered: 2019-04-03
Posts: 7

Re: Swedish keyboard works in terminal but not in Firefox

In Settings --> Region & Language --> Input Sources, I added Swedish.

Offline

#4 2020-08-24 07:13:32

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,741

Re: Swedish keyboard works in terminal but not in Firefox

Desktop environment and display server at use?
Chances are you're on wayland and FF uses xwayland?

Offline

#5 2020-08-24 07:26:51

elbrus
Member
Registered: 2019-04-03
Posts: 7

Re: Swedish keyboard works in terminal but not in Firefox

I have installed both wayland and xwayland.
I could type the swedish letters in FF if I manually delete and add Swedish in Input Sources. But that expires every login. Is this a bug?

Offline

#6 2020-08-24 12:49:59

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,741

Re: Swedish keyboard works in terminal but not in Firefox

What is installed is less relevant than what you're actually running

loginctl session-status

Offline

#7 2020-08-24 13:22:59

elbrus
Member
Registered: 2019-04-03
Posts: 7

Re: Swedish keyboard works in terminal but not in Firefox

I saw a output: Service: gdm-password; type wayland; class user
But I don't understand how it is related to my problem. Can you tell me how to fix it specifically or point me to some page for basics? Thanks

Offline

#8 2020-08-24 13:31:11

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,741

Re: Swedish keyboard works in terminal but not in Firefox

Please post the entire output…

The working theory is that you're on wayland (confirmed) but firefox is actually on X11 (we're waiting for the output) and the display server is not forwarding the layout in which case configuring X11 would do.
https://wiki.archlinux.org/index.php/Xo … tion_files

But we won't get there anywhere soon if I have to extract the relevant information bit by bit.

Offline

#9 2020-08-24 18:08:37

elbrus
Member
Registered: 2019-04-03
Posts: 7

Re: Swedish keyboard works in terminal but not in Firefox

You are right. Here's the entire output of loginctl session-status

3 - elbrus (1000)
           Since: Sun 2020-08-23 22:53:56 CEST; 21h ago
          Leader: 747 (gdm-session-wor)
            Seat: seat0; vc2
             TTY: tty2
         Service: gdm-password; type wayland; class user
           State: active
            Unit: session-3.scope
                  ├─  747 gdm-session-worker [pam/gdm-password]
                  ├─  772 /usr/bin/gnome-keyring-daemon --daemonize --login
                  ├─  776 /usr/lib/gdm-wayland-session /usr/bin/gnome-session
                  ├─  780 /usr/lib/gnome-session-binary
                  └─33680 /usr/bin/ssh-agent -D -a /run/user/1000/keyring/.ssh

Aug 24 13:33:17 M57 gdm-password][34384]: gkr-pam: unlocked login keyring
Aug 24 13:33:17 M57 gdm-password][34384]: pam_systemd_home(gdm-password:account): Failed to query user record: Unit dbus-org.freedesktop.home1.service not found.
Aug 24 14:54:02 M57 gdm-password][34647]: gkr-pam: unlocked login keyring
Aug 24 14:54:02 M57 gdm-password][34647]: pam_systemd_home(gdm-password:account): Failed to query user record: Unit dbus-org.freedesktop.home1.service not found.
Aug 24 16:29:51 M57 gdm-password][35322]: gkr-pam: unlocked login keyring
Aug 24 16:29:51 M57 gdm-password][35322]: pam_systemd_home(gdm-password:account): Failed to query user record: Unit dbus-org.freedesktop.home1.service not found.
Aug 24 18:15:08 M57 gdm-password][35880]: gkr-pam: unlocked login keyring
Aug 24 18:15:08 M57 gdm-password][35880]: pam_systemd_home(gdm-password:account): Failed to query user record: Unit dbus-org.freedesktop.home1.service not found.
Aug 24 19:44:43 M57 gdm-password][36178]: gkr-pam: unlocked login keyring
Aug 24 19:44:43 M57 gdm-password][36178]: pam_systemd_home(gdm-password:account): Failed to query user record: Unit dbus-org.freedesktop.home1.service not found.

Last edited by elbrus (2020-08-24 18:15:46)

Offline

#10 2020-08-24 19:21:28

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,741

Re: Swedish keyboard works in terminal but not in Firefox

But that's w/o firefox (or xwayland) running, is it?
I don't even see a terminal process.

Offline

#11 2020-08-25 07:57:32

elbrus
Member
Registered: 2019-04-03
Posts: 7

Re: Swedish keyboard works in terminal but not in Firefox

seth wrote:

But that's w/o firefox (or xwayland) running, is it?
I don't even see a terminal process.

I had firefox open while querying those.
From the manual of loginctl, it shows the runtime status info about one or more sessions. Is a session = a login? I thought the problem is related to some input keymap of firefox.

Offline

#12 2020-08-25 12:41:56

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,741

Re: Swedish keyboard works in terminal but not in Firefox

Yes, the point is to learn what processes are actually running in which constallation.

Just try to configure the keyboard for X11 and see whether that works.

Offline

Board footer

Powered by FluxBB