I accidentaly deleted all the autostart files and i don't know how to bring them back!

I accidentaly deleted all the autostart files and i don't know how to bring them back!
i now miss the bars on the top and bottom and other stuff

╭─[email protected] in ~
╰─λ garuda-inxi
System:
Kernel: 6.0.2-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=dfe5bf94-1815-4637-8c7d-e497a89c54b8 rw [email protected]
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
loglevel=3
Desktop: KDE Plasma v: 5.26.1 tk: Qt v: 5.15.6 wm: kwin_x11 vt: 1
dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: FUJITSU product: LIFEBOOK E544 v: 10601583226
serial: Chassis: type: 10 v: LIFEBOOK E544
serial:
Mobo: FUJITSU model: FJNB281 v: F2 serial:
UEFI: FUJITSU // Phoenix v: Version 1.05 date: 11/17/2014
Battery:
ID-1: CMB1 charge: 28.8 Wh (100.0%) condition: 28.8/62.6 Wh (46.0%)
volts: 12.2 min: 10.8 model: Fujitsu CP700281-01 type: Li-ion
serial: status: full
CPU:
Info: model: Intel Core i5-4210M bits: 64 type: MT MCP arch: Haswell
gen: core 4 level: v3 note: check built: 2013-15 process: Intel 22nm
family: 6 model-id: 0x3C (60) stepping: 3 microcode: 0x28
Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache:
L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB
L3: 3 MiB desc: 1x3 MiB
Speed (MHz): avg: 3048 high: 3200 min/max: 800/3200 scaling:
driver: intel_cpufreq governor: performance cores: 1: 2594 2: 3200 3: 3200
4: 3200 bogomips: 20753
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: mmio_stale_data status: Unknown: No mitigations
Type: retbleed status: Not affected
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
STIBP: conditional, RSB filling, PBRSB-eIBRS: Not affected
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Fujitsu
driver: i915 v: kernel arch: Gen-5.75 process: Intel 45nm built: 2010
ports: active: eDP-1 empty: DP-1, DP-2, DP-3, HDMI-A-1, HDMI-A-2,
HDMI-A-3, VGA-1 bus-ID: 00:02.0 chip-ID: 8086:0416 class-ID: 0300
Device-2: Chicony FJ Camera type: USB driver: uvcvideo bus-ID: 1-12:4
chip-ID: 04f2:b413 class-ID: 0e02
Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.3
compositor: kwin_x11 driver: X: loaded: modesetting
alternate: fbdev,intel,vesa dri: crocus gpu: i915 display-ID: :0
screens: 1
Screen-1: 0 s-res: 1600x900 s-dpi: 96 s-size: 423x238mm (16.65x9.37")
s-diag: 485mm (19.11")
Monitor-1: eDP-1 model: LG Display 0x03fc built: 2013 res: 1600x900
hz: 60 dpi: 132 gamma: 1.2 size: 309x174mm (12.17x6.85") diag: 355mm (14")
ratio: 16:9 modes: 1600x900
OpenGL: renderer: Mesa Intel HD Graphics 4600 (HSW GT2) v: 4.6 Mesa
22.2.1 direct render: Yes
Audio:
Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio
vendor: Fujitsu driver: snd_hda_intel v: kernel bus-ID: 00:03.0
chip-ID: 8086:0c0c class-ID: 0403
Device-2: Intel 8 Series/C220 Series High Definition Audio
vendor: Fujitsu driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
chip-ID: 8086:8c20 class-ID: 0403
Sound API: ALSA v: k6.0.2-zen1-1-zen running: yes
Sound Server-1: PulseAudio v: 16.1 running: no
Sound Server-2: PipeWire v: 0.3.59 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Fujitsu driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: 3000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp2s0 state: down mac:
Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel pcie: gen: 1
speed: 2.5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 8086:08b1 class-ID: 0280
IF: wlp3s0 state: up mac:
Bluetooth:
Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
bus-ID: 1-8:3 chip-ID: 8087:07dc class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 0 state: up address:
Drives:
Local Storage: total: 1.04 TiB used: 125.93 GiB (11.8%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: MZ7TE128HMGR-00004
size: 119.24 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: rev: 300Q scheme: MBR
ID-2: /dev/sdb maj-min: 8:16 type: USB model: SSD 1TB size: 931.51 GiB
block-size: physical: 4096 B logical: 512 B type: SSD serial:
rev: 1101 scheme: GPT
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
ID-3: /dev/sdc maj-min: 8:32 type: USB vendor: Toshiba model: TransMemory
size: 14.41 GiB block-size: physical: 512 B logical: 512 B type: N/A
serial: rev: PMAP scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
ID-1: / raw-size: 931.22 GiB size: 931.22 GiB (100.00%) used: 16.86 GiB
(1.8%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 608 KiB
(0.2%) fs: vfat dev: /dev/sdb1 maj-min: 8:17
ID-3: /home raw-size: 931.22 GiB size: 931.22 GiB (100.00%) used: 16.86
GiB (1.8%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
ID-4: /var/log raw-size: 931.22 GiB size: 931.22 GiB (100.00%) used: 16.86
GiB (1.8%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
ID-5: /var/tmp raw-size: 931.22 GiB size: 931.22 GiB (100.00%) used: 16.86
GiB (1.8%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 7.66 GiB used: 2 MiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 61.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 213 Uptime: 14m wakeups: 1 Memory: 7.66 GiB used: 2.67 GiB
(34.9%) Init: systemd v: 251 default: graphical tool: systemctl
Compilers: gcc: 12.2.0 Packages: pm: pacman pkgs: 2001 libs: 554
tools: octopi,pamac,paru Shell: fish v: 3.5.1 default: Bash v: 5.1.16
running-in: konsole inxi: 3.3.22
Garuda (2.6.8-1):
System install date: 2022-10-19
Last full system update: 2022-10-19
Is partially upgraded: No
Relevant software: NetworkManager
Windows dual boot: No/Undetected
Snapshots: Snapper
Failed units: irqbalance.service
McFly: Importing shell history for the first time. This may take a minute or two...done.

i have tried finding a history button but to no avail

You can copy the defaults that are installed from /etc/skel/.config/autostart

  • conky.desktop
  • octopi-notifier.desktop
  • org.flameshot.Flameshot.desktop
  • org.kde.latte-dock.desktop
  • redshift-gtk.desktop
  • variety.desktop

If you had created your own, and deleted them through dolphin, you might be able to find them in Trash in the sidebar of dolphin to the left. If you did it from command line, you will most likely have to recreate them again (System Settings->Startup and Shutdown->Autostart).

Also, thank you for including your garuda-inxi output. Please edit your post to format like so adding ~~~ one line before and last line

~~~
garuda-inxi output
~~~

And Welcome to the forum.

6 Likes

Hi there, welcome to the forum.

This can be fixed with Garuda Assistant, flagging latte to reset.

4 Likes

In case it is needed, if you have no panels ("bars"), you can start:

  • dolphin with Meta + E
  • krunner with Alt + Shift + F2
1 Like

some files do not seem to be excecutables:
file:///etc/skel/.config/autostart/org.flameshot.Flameshot.desktop
file:///etc/skel/.config/autostart/org.kde.latte-dock.desktop
file:///etc/skel/.config/autostart/bashrc-setup.desktop

Yes, though on my install octopi-notifier.desktop and org.kde.latte-dock.desktop are the ones not set as executable. I believe KDE handles .desktop files correctly whether they are executable or not, though other DE/WMs may not. If you have a problem with one you can set the x bit.

As you are on a working install, you most likely don't need to copy

  • bashrc-setup.desktop
  • garuda-welcome.desktop
  • initial-user-setup.desktop
2 Likes

i get this:

‘/etc/skel/.config/autostart/octopi-notifier.desktop’ does not appear to be an executable program.

I was only partially correct, KDE assumes from the menu/launcher that you want to execute it. From dolphin, you would need to click Execute when prompted. From terminal you would need to use

  • kioclient exec /path/to/file_name.desktop
    or
  • gtk-launch file_name.desktop .

Also, you will want to copy the files you want from /etc/skel/.config/autostart to $HOME/.config/autostart

cp /etc/skel/.config/autostart/replace_with_file_name.desktop $HOME/.config/autostart/.

Once you have them there

  • cd $HOME/.config/autostart
  • do chmod 755 replace_with_actual_file_name.desktop

The chmod is not usually needed in my experience.

1 Like

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