You are not logged in.

#1 2023-06-08 11:11:38

screenfox
Member
Registered: 2023-05-13
Posts: 49

[Solved] Delayed Application start for gtk3

[Solved] I needed to manually start "/usr/lib/xdg-desktop-portal-gtk &" by putting it in my .xsession file.
New topic on how it should be done since this feels like a hack:
https://bbs.archlinux.org/viewtopic.php?id=286356

Hi, since about a week i have an unexplained delay for gtk3 applications which started with a system update. Sadly, i did not note which packages were updated. 
Starting applications on console does not yield any error/warning messages. 

Affected are: firefox, thunderbird, pavucontrol (which i checked to depend on gtk3) and especially Telegram, which i cannot find a definitive answer for, but seems like gtk3, too.
Not affected are: xfe, pidgin, discord (which do not depend on any version of gtk)

dmesg gets no new entries when i start one of the delayed applications, /var/log does not contain anything specific to the applications or gtk.

Xorg log for (WW) and (EE) is: 

        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     6.007] (WW) The directory "/usr/share/fonts/misc" does not exist.
[     6.007] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[     6.007] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[     6.007] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[     6.008] (WW) The directory "/usr/share/fonts/misc" does not exist.
[     6.008] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[     6.008] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[     6.008] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[     6.008] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[     6.008] (WW) Disabling Mouse0
[     6.008] (WW) Disabling Keyboard0
[     6.067] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     6.072] (WW) xf86OpenConsole: setpgid failed: Operation not permitted
[     6.072] (WW) xf86OpenConsole: setsid failed: Operation not permitted
[     7.152] (WW) AMDGPU(G0): Option "HotplugDriver" is not used

How can i get useful info on why my applications start only after a delay? Is there a known problem with gtk3 that could explain this?

Last edited by screenfox (2023-06-08 11:48:25)

Offline

#2 2023-06-08 11:16:24

hcjl
Member
From: berlin
Registered: 2007-06-29
Posts: 330

Re: [Solved] Delayed Application start for gtk3

Did you check?

The list of updated packages you can find in your pacman.log.

Offline

#3 2023-06-08 11:21:17

screenfox
Member
Registered: 2023-05-13
Posts: 49

Re: [Solved] Delayed Application start for gtk3

Thank you, manually starting either xdg-desktop-portal or xdg-desktop-portal-gtk seems to solve it. Now i just need to find out what those are and how to properly start them on boot. 

Ok, so since i have xdg-desktop-portal-gtk listed as installed it should be fine. I have fluxbox, so the specific steps for sway etc. should not apply. 

Now do i put this in my .xsession to end the mystery error of it not being started at boot? Or is there any systemctrl or other way to start this portal correctly? https://wiki.archlinux.org/title/XDG_Desktop_Portal says it should choose a backend automatically, the way i understand the wiki only sway needs any config on top of installing it wit pacman.

Last edited by screenfox (2023-06-08 11:27:47)

Offline

#4 2023-06-08 14:19:19

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

Re: [Solved] Delayed Application start for gtk3

You don't have to, nor should you manually start that service.

pacman -Qs xdg-desktop-portal-gnome
pacman -Rs xdg-desktop-portal-gnome # unless you're using gnome you don't want that package

Offline

Board footer

Powered by FluxBB