Specific Applications Take A While To Open

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
kartious
Posts: 3
Joined: 2016-03-08 15:53

Specific Applications Take A While To Open

#1 Post by kartious »

Hello All

On my install there are a few applications which when attempted to open they can take a while (about 20-30 seconds) before they show up. This happens when I either use a keyboard shortcut, using the menu and opening in a terminal.

When I tell the terminal to open the application it just holds on the next line until it opens up, it appears to mainly affect GTK based applications as Remmina, Thunar and Gedit have been the main culprits that I have noticed taking a while to open.

Here is an example image of when trying to launch through terminal how it just hangs on the next line with no output until it opens finally:
https://ibb.co/jWf2vdQ

I had a look online and found mostly posts on Arch Forums and Reddit about the issue. It generally appears to suggest adding adding a dbus line of some variation to .xinitrc or .xsession which I have put down below but I have not had much luck (but I may be doing it wrong).

Code: Select all

dbus-update-activation-enviroment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY
A couple of example pages I have looked at are:

https://bbs.archlinux.org/viewtopic.php?id=224787
https://www.reddit.com/r/archlinux/comm ... o_open_up/
https://bbs.archlinux.org/viewtopic.php?id=243737

On the last post suggested an incorrect .xinitrc file, mine only has the one line to start openbox but on all the other previous and current Debian & Arch installs I never had this issue before like this.

.xinitrc

Code: Select all

exec openbox-session

Would you guys know a good place to start looking to trouble shoot this? I am using Openbox on Debian 10 if that helps.

User avatar
sunrat
Global Moderator
Global Moderator
Posts: 3750
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 3 times
Been thanked: 11 times

Re: Specific Applications Take A While To Open

#2 Post by sunrat »

Check journal log and ~/.xsessionerrors file.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

arochester
Global Moderator
Global Moderator
Posts: 2059
Joined: 2010-12-07 19:55
Has thanked: 1 time
Been thanked: 3 times

Re: Specific Applications Take A While To Open

#3 Post by arochester »

Any information about your computer? How much RAM have you got?

The output of inxi might help us. You might have to install it.

kartious
Posts: 3
Joined: 2016-03-08 15:53

Re: Specific Applications Take A While To Open

#4 Post by kartious »

sunrat wrote: 2021-07-28 08:52 Check journal log and ~/.xsessionerrors file.
Hey man, Thanks for the info, ill look into the journal to see if there is anything, here is my ~/.xsession-errors file in the mean time if anyone would like to have a look.:


https://pastebin.com/iD2AwvMn


I have ran gedit within this session which took the usual 15-30 seconds to load so hopefully something is in there.

arochester wrote: 2021-07-28 09:02 Any information about your computer? How much RAM have you got?

The output of inxi might help us. You might have to install it.

Thanks man, here is the output:

CPU: Quad Core Intel Core i7-2600 (-MT MCP-) speed/min/max: 1605/1600/3800 MHz
Kernel: 4.19.0-17-amd64 x86_64
Up: 3h 06m
Mem: 5382.3/16007.0 MiB (33.6%)
Storage: 689.34 GiB (27.8% used)
Procs: 232
Shell: bash 5.0.3
inxi: 3.0.32

Post Reply