Xfce Forum

Sub domains
 

You are not logged in.

#1 2025-04-21 07:47:50

jacko
Member
Registered: 2024-09-14
Posts: 5
LinuxFirefox 137.0

Autostarted apps are too slow

Hi there,

I notice that my autostarted apps have a 5-10 second delay. For example, if I enter the "Session and Startup" settings app, and I create a new startup entry which opens xfce4-terminal, then it will not open until 5-10sec after I log in. This is a minor issue of course, but it is a little inconvenient when one autostarted command is `xcape` which I use to remap the Super key so I can open the whisker menu.

Here are some details about my system. First, here are my package versions:

xfce4-session 4.20.2-1
xfce4-settings 4.20.1-1
xfdesktop 4.20.1-1

Also here are my current autostarted apps. There is not much else enabled here.

Jlb2jS0.png

And here are the contents of ~/.config/autostart

total 20
-rw-r--r-- 1 user user  29 Apr 21 16:08  baloo_file.desktop
-rw-r--r-- 1 user user  29 Apr 21 16:08  blueberry-obex-agent.desktop
-rw-r--r-- 1 user user 193 Apr 21 16:08  remmina-applet.desktop
-rw-r--r-- 1 user user 186 Apr 21 17:21 'test terminal.desktop'
-rw-r--r-- 1 user user 205 Apr 21 17:18  xcape.desktop
[Desktop Entry]
Hidden=true

[Desktop Entry]
Hidden=true

[Desktop Entry]
Version=1.0
Name=Remmina Applet
Comment=Connect to remote desktops through the applet menu
Icon=org.remmina.Remmina
Exec=remmina -i
Terminal=false
Type=Application
Hidden=true

[Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=test terminal
Comment=
Exec=xfce4-terminal
OnlyShowIn=XFCE;
RunHook=0
StartupNotify=false
Terminal=false
Hidden=false

[Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=xcape
Comment=Super Key remap
Exec=xcape -e 'Super_L=Alt_L|F1'
OnlyShowIn=XFCE;
RunHook=0
StartupNotify=false
Terminal=false
Hidden=true

Thank you for your help! BTW, I do have a workaround for this particular issue. I have simply moved my time-sensitive xcape command into my ~/.xinitrc file. Just letting you know of this autostart command in case it is important.

Last edited by jacko (2025-04-21 07:48:40)

Offline

#2 2025-04-21 11:06:44

eriefisher
Wanderer
From: ON, Canada
Registered: 2008-10-25
Posts: 962
LinuxFirefox 137.0

Re: Autostarted apps are too slow

The delay is likely caused by waiting. Things are started one at a time. The next thing isn't started until the last one completes. You can change this by editing the .desktop file EXEC line and adding &. The app will continue to do what it needs to do and the next app will be initiated as well.


But it's all right, when you're all in pain and you feel the rain come down
It's alright, when you find your way, then you see it disappear
It's alright....
Chris Cornell

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.011 seconds, 7 queries executed - Memory usage: 521.77 KiB (Peak: 522.39 KiB) ]