You are not logged in.

#1 2023-02-19 22:44:23

SuperMetroid
Member
Registered: 2023-02-19
Posts: 3

Slow hotkeys in Gnome Wayland

Hi, I've this issue where, i defined a custom hotkey for opening the terminal in gnome-settings and when using the hotkey it takes between 10 to 15 seconds to open the app, this issue is exactly the same as other has pointed out

here,
here,
and here.

I saw that every time i press a hotkey combination

journalctl -f

show this:

Feb 19 18:13:59 t460 gsd-media-keys[725]: Failed to call GetEnvironment on keyring daemon: Timeout was reached

And I've checked that exactly after pressing a hotkey, a new instance of gnome-keyring-daemon spawns

$ pgrep gnome-keyring --list-full
477 /usr/bin/gnome-keyring-daemon --foreground --components=pkcs11,secrets --control-directory=/run/user/1000/keyring
2235 /usr/bin/gnome-keyring-daemon --start --foreground --components=secrets

I have to say that i installed gnome by running

$ sudo pacman -S gnome

and it installed flatpak which causes this issues for some people but i already uninstalled flatpak by running

sudo pacman -Rscn flatpak

, also for some Ubuntu users the problem seems to be resolve by uninstalling

dbus-user-session

but i don't know which is the equivalent package in arch.

Any idea how to solve this?

Last edited by SuperMetroid (2023-02-19 23:34:29)

Offline

#2 2024-08-16 21:33:41

flarebash
Member
From: CT, USA
Registered: 2024-08-16
Posts: 1

Re: Slow hotkeys in Gnome Wayland

Hi,

I ran into this same problem myself some months ago. Just today I came back to your post and took a closer look at this line from your journalctl:

SuperMetroid wrote:

show this:

Feb 19 18:13:59 t460 gsd-media-keys[725]: Failed to call GetEnvironment on keyring daemon: Timeout was reached

I figured there must have been some environment variable that the GNOME shell expects on initialization that wasn't getting passed in. I didn't trace down specifically what that environment parameter might be, but I solved my own problem by installing a display manager (specifically lightdm and lightdm-slick-greeter).

With GNOME being launched from the display manager instead of from my user account, I am now able to (for example) open a terminal with Ctrl+Alt+T without a startup delay.

Previously I was just launching GNOME from the tty1 console after logging in, but I don't mind having lightdm installed now since I can still get to a plain console on the other ttys.

Hope this gives you some insight. smile

Offline

Board footer

Powered by FluxBB