You are not logged in.

#1 2019-11-12 23:47:25

csmall
Member
Registered: 2019-11-03
Posts: 6

GTK apps very slow to launch

A while back my GTK apps opened quickly. Months ago after an update they all of the sudden take a very long time to open.

Anyone else experience this? Have you resolved it? I have no idea what is causing this. It is all GTK apps.

Offline

#2 2019-11-12 23:52:15

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: GTK apps very slow to launch

Can you run one of the apps from a terminal and see if it throws any errors? Anything in your journal?

Moving to Newbie Corner.

Offline

#3 2019-11-13 00:04:34

csmall
Member
Registered: 2019-11-03
Posts: 6

Re: GTK apps very slow to launch

I'm not seeing any errors when launching various GTK apps from the terminal.

The journal is interesting though. It mentions xdg-desktop-portal.service failing with a timeout.

This post may be the solution I will try and report back.

https://bbs.archlinux.org/viewtopic.php?id=224787

*UPDATE*

The solution in the above link resolved the issue. Thank you for pointing me to the journal!

Last edited by csmall (2019-11-13 00:11:53)

Offline

#4 2019-11-13 00:11:07

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: GTK apps very slow to launch

Do you have flatpak installed? How did you install Arch (what guide did you use) ?

Offline

#5 2019-11-13 00:12:55

csmall
Member
Registered: 2019-11-03
Posts: 6

Re: GTK apps very slow to launch

I've been running Arch for a long time everything is fine. This looks like a bug and the link I posted above resolved it for me by adding the suggested line to .xinitrc.

Offline

#6 2019-11-13 07:53:53

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

Re: GTK apps very slow to launch

This smells fishy, esp. since your evasive reply omitted whether you actually use flatpak.
Can you please post your complete .xinitrc?

Online

#7 2019-11-13 11:22:56

csmall
Member
Registered: 2019-11-03
Posts: 6

Re: GTK apps very slow to launch

seth wrote:

This smells fishy, esp. since your evasive reply omitted whether you actually use flatpak.
Can you please post your complete .xinitrc?

Fishy? My evasive reply? I apologize I overlooked the flatpak part. I have signal installed.

My entire xinitrc is irrelevant. Adding the line to it from the post I linked to resolved the issue for me and gtk apps open normally again. If anyone else has the same problem I suggest they look at it as well.

The helpful post here was telling me to check the journal which ultimately led me to the solution.

Last edited by csmall (2019-11-13 11:23:37)

Offline

#8 2019-11-13 11:29:02

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,668

Re: GTK apps very slow to launch

This line would inherently be called if you were following the reccommended .xinitrc to prevent similar/future issues I suggest you follow the blue notes there.

Offline

#9 2019-11-13 13:02:13

csmall
Member
Registered: 2019-11-03
Posts: 6

Re: GTK apps very slow to launch

V1del wrote:

This line would inherently be called if you were following the reccommended .xinitrc to prevent similar/future issues I suggest you follow the blue notes there.

I'll check this out. Thank you.

Offline

#10 2019-11-13 13:45:52

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

Re: GTK apps very slow to launch

Also ensure to not have some "dbus-launch" there, I'm usually not asking for "irrelevant" stuff… and if i wanted to expose that you're actually not using archlinux, I'd have asked for the dmesg or so. Your xinitrc should not reveal that at all.

Online

#11 2019-11-13 16:23:36

csmall
Member
Registered: 2019-11-03
Posts: 6

Re: GTK apps very slow to launch

Thanks. I'll check that as well. I'm definitely using Arch, I dont mind proving it but also dont feel it's needed.

To the earlier question on how did I install Arch, I basically used several guides specific to my hardware (Dell XPS 15 9560) and took the relevant parts that were not outdated and completed the installation with uefi ..systemd instead of grub..lvm with luks...power consumption tweaks..bumblebee and bbswitch for the nvidia card etc.. it took a little while but I am very pleased with the results.

I previously had been a Debian guy for years.. (distro hopping happens of course smile)

Offline

Board footer

Powered by FluxBB