~/.config/autostart/bashrc-setup.desktop file is still there

garuda-inxi
System:
  Kernel: 6.0.11-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=741d7eaf-928c-47ab-b192-6c2f58e69f0e rw [email protected]
    quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    loglevel=3
  Desktop: KDE Plasma v: 5.26.4 tk: Qt v: 5.15.7 info: latte-dock
    wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: ROG Strix G513QR_G513QR v: 1.0
    serial: <superuser required>
  Mobo: ASUSTeK model: G513QR v: 1.0 serial: <superuser required>
    UEFI: American Megatrends LLC. v: G513QR.330 date: 09/07/2022
Battery:
  ID-1: BAT0 charge: 55.1 Wh (75.0%) condition: 73.5/90.0 Wh (81.6%)
    volts: 16.0 min: 15.9 model: AS3GWAF3KC GA50358 type: Li-ion
    serial: <filter> status: not charging
CPU:
  Info: model: AMD Ryzen 9 5900HX with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 3 gen: 4 level: v3 note: check built: 2021-22
    process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80) stepping: 0
    microcode: 0xA50000B
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
    L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 577 high: 3243 min/max: 400/4890 boost: enabled scaling:
    driver: amd-pstate governor: schedutil cores: 1: 400 2: 400 3: 400 4: 400
    5: 400 6: 3243 7: 400 8: 400 9: 400 10: 400 11: 400 12: 400 13: 400
    14: 400 15: 400 16: 400 bogomips: 105400
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  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: always-on, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GA104M [GeForce RTX 3070 Mobile / Max-Q] vendor: ASUSTeK
    driver: nvidia v: 525.60.11 alternate: nouveau,nvidia_drm non-free: 520.xx+
    status: current (as of 2022-10) arch: Ampere code: GAxxx
    process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 1 speed: 2.5 GT/s
    lanes: 8 link-max: gen: 4 speed: 16 GT/s lanes: 16 ports: active: none
    empty: DP-1 bus-ID: 01:00.0 chip-ID: 10de:249d class-ID: 0300
  Device-2: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
    vendor: ASUSTeK driver: amdgpu v: kernel arch: GCN-5.1 code: Vega-2
    process: TSMC n7 (7nm) built: 2018-21 pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s ports: active: HDMI-A-1,eDP-1 empty: none
    bus-ID: 05:00.0 chip-ID: 1002:1638 class-ID: 0300 temp: 31.0 C
  Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.5
    compositor: kwin_x11 driver: X: loaded: amdgpu,nvidia
    unloaded: modesetting,nouveau alternate: fbdev,nv,vesa dri: radeonsi
    gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1013x285mm (39.88x11.22")
    s-diag: 1052mm (41.43")
  Monitor-1: HDMI-A-1 mapped: HDMI-A-0 pos: right
    model: LG (GoldStar) FULL HD built: 2016 res: 1920x1080 dpi: 102 gamma: 1.2
    size: 480x270mm (18.9x10.63") diag: 551mm (21.7") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  Monitor-2: eDP-1 mapped: eDP pos: primary,left model: Sharp LQ156M1JW25
    built: 2020 res: 1920x1080 hz: 300 dpi: 142 gamma: 1.2
    size: 344x194mm (13.54x7.64") diag: 395mm (15.5") ratio: 16:9 modes:
    max: 1920x1080 min: 640x480
  API: OpenGL v: 4.6 Mesa 22.2.3 renderer: AMD Radeon Graphics (renoir LLVM
    14.0.6 DRM 3.48 6.0.11-zen1-1-zen) direct render: Yes
Audio:
  Device-1: NVIDIA GA104 High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 8
    link-max: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 01:00.1
    chip-ID: 10de:228b class-ID: 0403
  Device-2: AMD Renoir Radeon High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 05:00.1 chip-ID: 1002:1637
    class-ID: 0403
  Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: ASUSTeK
    driver: N/A alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x,
    snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_sof_amd_renoir pcie:
    gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s
    bus-ID: 05:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-4: AMD Family 17h/19h HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 05:00.6 chip-ID: 1022:15e3
    class-ID: 0403
  Sound API: ALSA v: k6.0.11-zen1-1-zen running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.61 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: e000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp2s0 state: down mac: <filter>
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-4:2
    chip-ID: 8087:0029 class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
  Local Storage: total: 953.87 GiB used: 18.81 GiB (2.0%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SK Hynix model: HFM001TD3JX013N
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 41000C20 temp: 24.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 488.28 GiB size: 488.28 GiB (100.00%)
    used: 18.78 GiB (3.8%) fs: btrfs dev: /dev/nvme0n1p6 maj-min: 259:6
  ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
    used: 26 MiB (10.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 488.28 GiB size: 488.28 GiB (100.00%)
    used: 18.78 GiB (3.8%) fs: btrfs dev: /dev/nvme0n1p6 maj-min: 259:6
  ID-4: /var/log raw-size: 488.28 GiB size: 488.28 GiB (100.00%)
    used: 18.78 GiB (3.8%) fs: btrfs dev: /dev/nvme0n1p6 maj-min: 259:6
  ID-5: /var/tmp raw-size: 488.28 GiB size: 488.28 GiB (100.00%)
    used: 18.78 GiB (3.8%) fs: btrfs dev: /dev/nvme0n1p6 maj-min: 259:6
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 15.05 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 37.9 C mobo: N/A gpu: amdgpu temp: 34.0 C
  Fan Speeds (RPM): cpu: 3500
Info:
  Processes: 385 Uptime: 20h 5m wakeups: 20 Memory: 15.05 GiB
  used: 3.92 GiB (26.0%) Init: systemd v: 252 default: graphical
  tool: systemctl Compilers: gcc: 12.2.0 Packages: pm: pacman pkgs: 1304
  libs: 329 tools: octopi,paru Shell: Bash v: 5.1.16 running-in: konsole
  inxi: 3.3.23
Garuda (2.6.10-1):
  System install date:     2022-11-29
  Last full system update: 2022-12-10 ↻
  Is partially upgraded:   No
  Relevant software:       NetworkManager
  Windows dual boot:       Probably (Run as root to verify)
  Snapshots:               Snapper
  Failed units:  

In the ~/.config/autostart I can see files for bashrc-setup.desktop and initial-user-setup.dekstop. ideally these desktop entries should get deleted upon first run. What could be the reason for these desktop entries to not run?

 ls -al ~/.config/autostart/
drwxr-xr-x 1 shiv shiv  348 Nov 29 15:35 .
drwxr-xr-x 1 shiv shiv 2040 Dec 10 04:55 ..
-rw-r--r-- 1 shiv shiv  250 Jun 24 03:39 bashrc-setup.desktop
-rwxr-xr-x 1 shiv shiv  350 Sep 27 23:51 conky.desktop
-rwxr-xr-x 1 shiv shiv  280 Sep 27 23:51 initial-user-setup.desktop
-rw-r--r-- 1 shiv shiv  213 Oct 11 10:42 octopi-notifier.desktop
-rwxr-xr-x 1 shiv shiv 2979 Sep 27 23:51 org.flameshot.Flameshot.desktop
-rw-r--r-- 1 shiv shiv 2746 Oct 11 10:42 org.kde.latte-dock.desktop
-rwxr-xr-x 1 shiv shiv 3432 Sep 27 23:51 redshift-gtk.desktop
-rwxr-xr-x 1 shiv shiv  164 Sep 27 23:51 variety.desktop
cat ~/.config/autostart/bashrc-setup.desktop
[Desktop Entry]
Categories=System;Monitor;
Comment=Does the initial Bashrc setup
Exec=mv ~/.bashrc_garuda ~/.bashrc; rm ~/.config/autostart/bashrc-setup.desktop
Icon=setup
Name=Initial Bashrc setup
StartupNotify=false
Terminal=false
Type=Application

This has been fixed on our end for a while now and should not happen again on future releases/new user accounts you create. Commit can be found here: Fix bashrc-setup (2a1ab663) · Commits · Garuda Linux / Themes and Settings / Settings / garuda-bash-config · GitLab

1 Like

Three questions:

  1. I have the default shell set to bash. Even then do I need this fix?
  2. I tried applying this fix, but it did not work either. Then I noticed that this file doesn't have executable permission as well. Do I need to change permission as well? If yes, Should this be part of a fix as well?
  3. I am facing the same issue with the initial-user-setup script as well. Any recommendations for making that work?

I suggest you run these scripts manually for now, by copying the exec parts to the terminal. This issue is fixed in newer Garuda releases.

systemctl --user enable --now gamemoded;setup_dxvk install;rm ~/.config/autostart/initial-user-setup.desktop

Failed to enable unit: Unit file gamemoded.service does not exist.
find-the-command: "setup_dxvk" is not found locally, searching in repositories...

Maybe it should be fixed as well. Seems like it is intended to be placed in gaming-specific release.

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