Application Autostart Delay

Here is where you can post tips and tricks to share with other users of MX. Do not ask for help in this Forum.
Message
Author
User avatar
davidy
Posts: 818
Joined: Sat Jul 03, 2021 1:59 pm

Application Autostart Delay

#1 Post by davidy »

I had a problem with the tray icon for Flameshot (Prt sc) not displaying properly when I boot. It showed an icon that was too small compared to the other seven I have. Adding a delay, I gave it 10s, to it's .desktop file (/.config/autostart/Flameshot.desktop) fixes this.
Add this line to the end of the file using whichever txt editor you like.

Code: Select all

Exec= sh -c 'sleep 10 && flameshot'
If you need a delayed start for apllications that may be starting too soon this should work.
I'm running MX23.4_ahs w/6.10.11-2 liqourix kernel & XFCE.
Sys76 LemurPro-mx-23.4, EliteMinis HM90-mx-21.3, Deskmini UM350-phoenixLite win10, Qnap 12tb nas, Protectli FW4C-opnsense(=゜ω゜)

zero privacy = zero security . All MX'd Up
UAP = up above people

Return to “Tips & Tricks by users (not for help)”