You are not logged in.
Pages: 1
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.
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
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.
I AM CANADIAN!
Siduction
Debian Sid
Xfce 4.20 with Wayland/Labwc
Offline
Pages: 1
[ Generated in 0.007 seconds, 9 queries executed - Memory usage: 527.14 KiB (Peak: 527.77 KiB) ]