Setup delayed start for Application

I see the autostart option in the KDE settings but I want to delay one of the apps by about a minute. How would I do that? I know on Windows you have Task Scheduler that allows you to setup bootup time parameters. Is there any similar functionality on KDE?

System:
Kernel: 6.10.0-zen1-2-zen arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
clocksource: tsc avail: hpet,acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=4b50f2bb-29e3-46db-902d-6f9025f83b73 rw rootflags=subvol=@
quiet loglevel=3 nvidia_drm.modeset=1 ibt=off
Desktop: KDE Plasma v: 6.1.3 tk: Qt v: N/A wm: kwin_x11 dm: SDDM
Distro: Garuda base: Arch Linux
Machine:
Type: Desktop System: ASUS product: N/A v: N/A serial: N/A
Mobo: ASUSTeK model: ROG CROSSHAIR VIII DARK HERO v: Rev X.0x
serial: <filter> part-nu: SKU uuid: dccab955-4204-f11a-eeb3-04421af1eeb2
UEFI: American Megatrends v: 4702 date: 10/20/2023
Battery:
Device-1: hidpp_battery_0 model: Logitech MX Vertical Advanced Ergonomic
Mouse serial: <filter> charge: 55% (should be ignored) rechargeable: yes
status: discharging
CPU:
Info: model: AMD Ryzen 9 5900X socket: AM4 bits: 64 type: MT MCP
arch: Zen 3+ gen: 4 level: v3 note: check built: 2022 process: TSMC n6 (7nm)
family: 0x19 (25) model-id: 0x21 (33) stepping: 0 microcode: 0xA20102B
Topology: cpus: 1x cores: 12 tpc: 2 threads: 24 smt: enabled cache:
L1: 768 KiB desc: d-12x32 KiB; i-12x32 KiB L2: 6 MiB desc: 12x512 KiB
L3: 64 MiB desc: 2x32 MiB
Speed (MHz): avg: 3700 min/max: 2200/4950 boost: enabled
base/boost: 3700/4950 scaling: driver: acpi-cpufreq governor: performance
volts: 1.1 V ext-clock: 100 MHz cores: 1: 3700 2: 3700 3: 3700 4: 3700
5: 3700 6: 3700 7: 3700 8: 3700 9: 3700 10: 3700 11: 3700 12: 3700
13: 3700 14: 3700 15: 3700 16: 3700 17: 3700 18: 3700 19: 3700 20: 3700
21: 3700 22: 3700 23: 3700 24: 3700 bogomips: 177608
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities: <filter>
Graphics:
Device-1: NVIDIA AD102 [GeForce RTX 4090] vendor: Micro-Star MSI
driver: nvidia v: 555.58.02 alternate: nouveau,nvidia_drm non-free: 550.xx+
status: current (as of 2024-06) arch: Lovelace code: AD1xx
process: TSMC n4 (5nm) built: 2022+ pcie: gen: 4 speed: 16 GT/s lanes: 16
ports: active: none off: DP-1,DP-2,HDMI-A-1 empty: DP-3 bus-ID: 0b:00.0
chip-ID: 10de:2684 class-ID: 0300
Display: unspecified server: X.Org v: 21.1.13 with: Xwayland v: 24.1.1
compositor: kwin_x11 driver: X: loaded: nvidia unloaded: modesetting
alternate: fbdev,nouveau,nv,vesa gpu: nvidia,nvidia-nvswitch
display-ID: :0 screens: 1
Screen-1: 0 s-res: 5120x1440 s-dpi: 107 s-size: 1216x342mm (47.87x13.46")
s-diag: 1263mm (49.73")
Monitor-1: DP-1 mapped: DP-0 note: disabled pos: left model: VG27A
serial: <filter> built: 2021 res: 2560x1440 dpi: 109 gamma: 1.2
size: 597x336mm (23.5x13.23") diag: 685mm (27") ratio: 16:9 modes:
max: 2560x1440 min: 640x480
Monitor-2: DP-2 note: disabled pos: primary,right model: VG27AQL1A
serial: <filter> built: 2020 res: 2560x1440 dpi: 65024 gamma: 1.2
size: 1x1mm (0.04x0.04") diag: 685mm (27") ratio: 16:9 modes:
max: 2560x1440 min: 640x480
Monitor-3: HDMI-A-1 mapped: HDMI-0 note: disabled
model: LG (GoldStar) TV SSCR2 serial: <filter> built: 2021 res: 2560x1440
dpi: 61 gamma: 1.2 size: 1600x900mm (62.99x35.43") diag: 1836mm (72.3")
ratio: 16:9 modes: max: 3840x2160 min: 640x480
API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2
drv: swrast gbm: drv: nvidia surfaceless: drv: nvidia x11: drv: nvidia
inactive: wayland,device-1
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 555.58.02
glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 4090/PCIe/SSE2
memory: 23.43 GiB
API: Vulkan v: 1.3.279 layers: 7 device: 0 type: discrete-gpu
name: NVIDIA GeForce RTX 4090 driver: nvidia v: 555.58.02
device-ID: 10de:2684 surfaces: xcb,xlib
Audio:
Device-1: NVIDIA AD102 High Definition Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 0b:00.1 chip-ID: 10de:22ba class-ID: 0403
Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 0d:00.4 chip-ID: 1022:1487 class-ID: 0403
Device-3: Schiit Audio Modi 3+ driver: snd-usb-audio type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-2.2:4 chip-ID: 30be:1014
class-ID: 0102
API: ALSA v: k6.10.0-zen1-2-zen status: kernel-api with: aoss
type: oss-emulator tools: N/A
Server-1: PipeWire v: 1.2.1 status: n/a (root, process) with:
1: pipewire-pulse status: active 2: wireplumber status: active
3: pipewire-alsa type: plugin 4: pw-jack type: plugin
tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Realtek RTL8125 2.5GbE vendor: ASUSTeK driver: r8169 v: kernel
pcie: gen: 2 speed: 5 GT/s lanes: 1 port: e000 bus-ID: 05:00.0
chip-ID: 10ec:8125 class-ID: 0200
IF: enp5s0 state: down mac: <filter>
Device-2: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: kernel
pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 06:00.0
chip-ID: 8086:1539 class-ID: 0200
IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-3: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
speed: 5 GT/s lanes: 1 bus-ID: 07:00.0 chip-ID: 8086:2723 class-ID: 0280
IF: wlp7s0 state: up mac: <filter>
Info: services: NetworkManager, smbd, systemd-timesyncd, wpa_supplicant
Bluetooth:
Device-1: Intel AX200 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-6:3 chip-ID: 8087:0029
class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.2
lmp-v: 11 status: discoverable: no pairing: no class-ID: 6c0104
Drives:
Local Storage: total: 9.18 TiB used: 3.45 TiB (37.6%)
ID-1: /dev/nvme0n1 maj-min: 259:3 vendor: Samsung model: SSD 980 PRO 2TB
size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: 5B2QGXA7 temp: 51.9 C
scheme: GPT
SMART: yes health: PASSED on: 139d 6h cycles: 955
read-units: 129,175,224 [66.1 TB] written-units: 18,500,697 [9.47 TB]
ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Samsung model: SSD 980 PRO 2TB
size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: 5B2QGXA7 temp: 40.9 C
scheme: GPT
SMART: yes health: PASSED on: 350d 2h cycles: 1,511
read-units: 136,892,814 [70.0 TB] written-units: 91,129,493 [46.6 TB]
ID-3: /dev/sda maj-min: 8:0 vendor: A-Data model: SU800 family: based SSDs
size: 1.86 TiB block-size: physical: 512 B logical: 512 B sata: 3.3
speed: 6.0 Gb/s tech: SSD serial: <filter> fw-rev: 7A temp: 23 C
scheme: GPT
SMART: yes state: enabled health: PASSED on: 1y 177d 23h cycles: 1696
read: 19.35 TiB written: 25.23 TiB
ID-4: /dev/sdb maj-min: 8:16 vendor: A-Data model: SU800
family: based SSDs size: 1.86 TiB block-size: physical: 512 B logical: 512 B
sata: 3.3 speed: 6.0 Gb/s tech: SSD serial: <filter> fw-rev: 7A temp: 17 C
scheme: GPT
SMART: yes state: enabled health: PASSED on: 332d 2h cycles: 941
read: 12.39 TiB written: 19.85 TiB
ID-5: /dev/sdc maj-min: 8:32 vendor: Seagate model: ST2000DM008-2FR102
family: BarraCuda 3.5 (SMR) size: 1.82 TiB block-size: physical: 4096 B
logical: 512 B sata: 3.1 speed: 6.0 Gb/s tech: HDD rpm: 7200
serial: <filter> fw-rev: 0001 temp: 30 C scheme: GPT
SMART: yes state: enabled health: PASSED on: 9841h+46m+59.521s
cycles: 1654 read: 23.6 TiB written: 8.26 TiB Pre-Fail:
attribute: Spin_Retry_Count value: 100 worst: 100 threshold: 97
Partition:
ID-1: / raw-size: 1.82 TiB size: 1.82 TiB (100.00%) used: 1.35 TiB (74.4%)
fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p2 maj-min: 259:5
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 27.4 MiB (9.1%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1
maj-min: 259:4
ID-3: /home raw-size: 1.82 TiB size: 1.82 TiB (100.00%)
used: 1.35 TiB (74.4%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p2
maj-min: 259:5
ID-4: /var/log raw-size: 1.82 TiB size: 1.82 TiB (100.00%)
used: 1.35 TiB (74.4%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p2
maj-min: 259:5
ID-5: /var/tmp raw-size: 1.82 TiB size: 1.82 TiB (100.00%)
used: 1.35 TiB (74.4%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p2
maj-min: 259:5
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 62.7 GiB used: 447 MiB (0.7%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 24 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 47.0 C mobo: 34.0 C gpu: nvidia temp: 46 C
Fan Speeds (rpm): cpu: 0 gpu: nvidia fan: 0%
Info:
Memory: total: 64 GiB available: 62.7 GiB used: 7.71 GiB (12.3%)
Processes: 563 Power: uptime: 9m states: freeze,mem,disk suspend: deep
avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 25.04 GiB services: org_kde_powerdevil,
power-profiles-daemon, upowerd Init: systemd v: 256 default: graphical
tool: systemctl
Packages: pm: pacman pkgs: 2002 libs: 554 tools: octopi,paru,yay
pm: appimage pkgs: 0 pm: flatpak pkgs: 0 Compilers: clang: 18.1.8
gcc: 14.1.1 Shell: garuda-inxi (sudo) default: Bash v: 5.2.26
running-in: konsole inxi: 3.3.35
Garuda (2.6.26-1):
System install date:     2024-06-08
Last full system update: 2024-07-24
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut nvidia-dkms
Windows dual boot:       Yes
Failed units:

You can make a script that launches the program after a delay and add that as a “Login Script” instead of the actual application.

The script would look like this:

#!/bin/bash
sleep 3 && [command-to-launch-the-app]

sleep is in seconds so change the number as you need

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.