Cleanup dotfiles

I use xdg-ninja and antidot to cleanup dotfiles. Then add the environment variables given by xdg-ninja in ./local/share/antidot/env.sh and then add the command given by antidot (antidot init) in .profile.

I could not remove .xsession-errors from $HOME. The xdg-ninja asked to add ERRFILE="$XDG_CACHE_HOME/X11/xsession-errors" to .xinitrc. But it has not worked. How do I remove .xsession-errors too?

Edit: do try both xdg-ninja and antidot. Although I warn something might break. I could not login before because of some mess with .Xauthority file having env variable.

System:
  Kernel: 5.15.40-1-lts arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-lts
    root=UUID=bef56164-5782-4129-94fa-5969dc499b60 rw [email protected]
    quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    loglevel=3
  Desktop: Xfce v: 4.16.0 tk: Gtk v: 3.24.29 info: xfce4-panel wm: xfwm
    v: 4.16.1 dm: LightDM v: 1.30.0 Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Laptop System: HP product: HP Notebook v: Type1ProductConfigId
    serial: <filter> Chassis: type: 10 serial: N/A
  Mobo: HP model: 81EC v: 61.59 serial: <filter> UEFI: Insyde v: F.46
    date: 11/16/2018
Battery:
  ID-1: BAT1 charge: 2.5 Wh (100.0%) condition: 2.5/32.1 Wh (7.8%)
    volts: 16.4 min: 14.6 model: Hewlett-Packard PABAS0241231 type: Li-ion
    serial: <filter> status: full
CPU:
  Info: model: Intel Core i5-6200U socket: U3E1 bits: 64 type: MT MCP
    arch: Skylake family: 6 model-id: 0x4E (78) stepping: 3 microcode: 0xF0
  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: 2300 min/max: 400/2800 base/boost: 2200/8300 scaling:
    driver: intel_pstate governor: performance volts: 0.8 V ext-clock: 100 MHz
    cores: 1: 2300 2: 2300 3: 2300 4: 2300 bogomips: 19200
  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: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: conditional, RSB filling
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Hewlett-Packard
    driver: i915 v: kernel ports: active: eDP-1 empty: DP-1,HDMI-A-1,HDMI-A-2
    bus-ID: 00:02.0 chip-ID: 8086:1916 class-ID: 0300
  Device-2: AMD Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 M430 Radeon
    520 Mobile]
    vendor: Hewlett-Packard driver: radeon v: kernel alternate: amdgpu pcie:
    gen: 3 speed: 8 GT/s lanes: 4 link-max: lanes: 8 bus-ID: 01:00.0
    chip-ID: 1002:6660 class-ID: 0380
  Device-3: Chicony HP TrueVision HD type: USB driver: uvcvideo
    bus-ID: 1-5:3 chip-ID: 04f2:b56c class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.3 compositor: xfwm v: 4.16.1 driver:
    X: loaded: intel,radeon unloaded: modesetting alternate: fbdev,vesa
    gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 mapped: eDP1 model: BOE Display 0x0687 built: 2015
    res: 1920x1080 hz: 60 dpi: 143 gamma: 1.2 size: 340x190mm (13.39x7.48")
    diag: 394mm (15.5") ratio: 16:9 modes: 1920x1080
  Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel alternate: snd_soc_skl bus-ID: 00:1f.3
    chip-ID: 8086:9d70 class-ID: 0403
  Sound Server-1: ALSA v: k5.15.40-1-lts running: yes
  Sound Server-2: PulseAudio v: 15.0 running: no
  Sound Server-3: PipeWire v: 0.3.51 running: yes
Network:
  Device-1: Realtek RTL810xE PCI Express Fast Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 02:00.0 chip-ID: 10ec:8136
    class-ID: 0200
  IF: enp2s0 state: down mac: <filter>
  Device-2: Broadcom BCM43142 802.11b/g/n vendor: Hewlett-Packard
    driver: wl v: kernel modules: bcma pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    bus-ID: 03:00.0 chip-ID: 14e4:4365 class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
Bluetooth:
  Device-1: Broadcom BCM43142A0 Bluetooth 4.0 type: USB driver: btusb v: 0.8
    bus-ID: 1-4:2 chip-ID: 0a5c:216d class-ID: fe01 serial: <filter>
  Report: bt-adapter ID: hci0 rfk-id: 1 state: down
    bt-service: enabled,running rfk-block: hardware: no software: yes
    address: <filter>
Drives:
  Local Storage: total: 931.51 GiB used: 39.64 GiB (4.3%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Toshiba model: MQ01ABD100M
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B
    speed: 3.0 Gb/s type: HDD rpm: 5400 serial: <filter> rev: 1U scheme: GPT
Partition:
  ID-1: / raw-size: 96.68 GiB size: 96.68 GiB (100.00%)
    used: 39.6 GiB (41.0%) fs: btrfs block-size: 4096 B dev: /dev/sda7
    maj-min: 8:7
  ID-2: /boot/efi raw-size: 102 MiB size: 96 MiB (94.12%)
    used: 42.7 MiB (44.5%) fs: vfat block-size: 512 B dev: /dev/sda2
    maj-min: 8:2
  ID-3: /home raw-size: 96.68 GiB size: 96.68 GiB (100.00%)
    used: 39.6 GiB (41.0%) fs: btrfs block-size: 4096 B dev: /dev/sda7
    maj-min: 8:7
  ID-4: /var/log raw-size: 96.68 GiB size: 96.68 GiB (100.00%)
    used: 39.6 GiB (41.0%) fs: btrfs block-size: 4096 B dev: /dev/sda7
    maj-min: 8:7
  ID-5: /var/tmp raw-size: 96.68 GiB size: 96.68 GiB (100.00%)
    used: 39.6 GiB (41.0%) fs: btrfs block-size: 4096 B dev: /dev/sda7
    maj-min: 8:7
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 3.6 GiB used: 1.2 MiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 29.8 C pch: 35.5 C mobo: 27.8 C gpu: radeon
    temp: 35.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 220 Uptime: 36m wakeups: 2 Memory: 3.6 GiB used: 2.1 GiB (58.3%)
  Init: systemd v: 250 tool: systemctl Compilers: gcc: 12.1.0 Packages:
  pacman: 1219 lib: 328 Shell: garuda-inxi (sudo) default: Bash v: 5.1.16
  running-in: xfce4-terminal inxi: 3.3.15
Garuda (2.6.3-2):
  System install date:     2022-04-04
  Last full system update: 2022-05-18
  Is partially upgraded:   No
  Relevant software:       NetworkManager


  Windows dual boot:       Yes
  Snapshots:               Snapper
  Failed units:        
1 Like

Why you want it to remove?
It's always being recreated anyway.

Fine, they changed it to Xfce, but where is their garuda-inxi?

2 Likes

I want to change the location to XDG_CACHE_HOME. To reduce files in home as far as possible.

ls | grep .xsession-errors 
.rw------- 932k sgs 18 Mai 19:49  .xsession-errors

Really?

So we need your garuda-inxi :slight_smile:

Remember.

Please post the terminal/konsole input and output as text (no pictures) from the the following command:

garuda-inxi

Refusing to post the output of the required "garuda-inxi" on a help request will likely result in you not receiving any help from the Garuda team. A failure to provide your system specs may also result in your thread being closed without notice, (as without this information providing assistance is often next to impossible).

1 Like

Uninstall your desktop environment, remove all user profiles from the system, and just run your machine as a headless box. That will help you achieve the desired result.

If you want to use a desktop environment with a user profile, you are going to have to let the system have a few dotfiles. :man_shrugging:

7 Likes

Dude if you understood English you'd know 'as far as possible' != 'none'. I never said I don't want any.

System:
  Kernel: 5.15.40-1-lts arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-lts
    root=UUID=bef56164-5782-4129-94fa-5969dc499b60 rw [email protected]
    quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    loglevel=3
  Desktop: Xfce v: 4.16.0 tk: Gtk v: 3.24.29 info: xfce4-panel wm: xfwm
    v: 4.16.1 dm: LightDM v: 1.30.0 Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Laptop System: HP product: HP Notebook v: Type1ProductConfigId
    serial: <filter> Chassis: type: 10 serial: N/A
  Mobo: HP model: 81EC v: 61.59 serial: <filter> UEFI: Insyde v: F.46
    date: 11/16/2018
Battery:
  ID-1: BAT1 charge: 2.5 Wh (100.0%) condition: 2.5/32.1 Wh (7.8%)
    volts: 16.3 min: 14.6 model: Hewlett-Packard PABAS0241231 type: Li-ion
    serial: <filter> status: full
CPU:
  Info: model: Intel Core i5-6200U socket: U3E1 bits: 64 type: MT MCP
    arch: Skylake family: 6 model-id: 0x4E (78) stepping: 3 microcode: 0xF0
  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: 2299 high: 2300 min/max: 400/2800 base/boost: 2200/8300
    scaling: driver: intel_pstate governor: performance volts: 0.8 V
    ext-clock: 100 MHz cores: 1: 2300 2: 2297 3: 2300 4: 2300 bogomips: 19200
  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: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: conditional, RSB filling
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Hewlett-Packard
    driver: i915 v: kernel ports: active: eDP-1 empty: DP-1,HDMI-A-1,HDMI-A-2
    bus-ID: 00:02.0 chip-ID: 8086:1916 class-ID: 0300
  Device-2: AMD Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 M430 Radeon
    520 Mobile]
    vendor: Hewlett-Packard driver: radeon v: kernel alternate: amdgpu pcie:
    gen: 3 speed: 8 GT/s lanes: 4 link-max: lanes: 8 bus-ID: 01:00.0
    chip-ID: 1002:6660 class-ID: 0380
  Device-3: Chicony HP TrueVision HD type: USB driver: uvcvideo
    bus-ID: 1-5:3 chip-ID: 04f2:b56c class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.3 compositor: xfwm v: 4.16.1 driver:
    X: loaded: intel,radeon unloaded: modesetting alternate: fbdev,vesa
    gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 mapped: eDP1 model: BOE Display 0x0687 built: 2015
    res: 1920x1080 hz: 60 dpi: 143 gamma: 1.2 size: 340x190mm (13.39x7.48")
    diag: 394mm (15.5") ratio: 16:9 modes: 1920x1080
  Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel alternate: snd_soc_skl bus-ID: 00:1f.3
    chip-ID: 8086:9d70 class-ID: 0403
  Sound Server-1: ALSA v: k5.15.40-1-lts running: yes
  Sound Server-2: PulseAudio v: 15.0 running: no
  Sound Server-3: PipeWire v: 0.3.51 running: yes
Network:
  Device-1: Realtek RTL810xE PCI Express Fast Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 02:00.0 chip-ID: 10ec:8136
    class-ID: 0200
  IF: enp2s0 state: down mac: <filter>
  Device-2: Broadcom BCM43142 802.11b/g/n vendor: Hewlett-Packard
    driver: wl v: kernel modules: bcma pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    bus-ID: 03:00.0 chip-ID: 14e4:4365 class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
Bluetooth:
  Device-1: Broadcom BCM43142A0 Bluetooth 4.0 type: USB driver: btusb v: 0.8
    bus-ID: 1-4:2 chip-ID: 0a5c:216d class-ID: fe01 serial: <filter>
  Report: bt-adapter ID: hci0 rfk-id: 1 state: down
    bt-service: enabled,running rfk-block: hardware: no software: yes
    address: <filter>
Drives:
  Local Storage: total: 931.51 GiB used: 40.41 GiB (4.3%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Toshiba model: MQ01ABD100M
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B
    speed: 3.0 Gb/s type: HDD rpm: 5400 serial: <filter> rev: 1U scheme: GPT
Partition:
  ID-1: / raw-size: 96.68 GiB size: 96.68 GiB (100.00%)
    used: 40.37 GiB (41.8%) fs: btrfs block-size: 4096 B dev: /dev/sda7
    maj-min: 8:7
  ID-2: /boot/efi raw-size: 102 MiB size: 96 MiB (94.12%)
    used: 42.7 MiB (44.5%) fs: vfat block-size: 512 B dev: /dev/sda2
    maj-min: 8:2
  ID-3: /home raw-size: 96.68 GiB size: 96.68 GiB (100.00%)
    used: 40.37 GiB (41.8%) fs: btrfs block-size: 4096 B dev: /dev/sda7
    maj-min: 8:7
  ID-4: /var/log raw-size: 96.68 GiB size: 96.68 GiB (100.00%)
    used: 40.37 GiB (41.8%) fs: btrfs block-size: 4096 B dev: /dev/sda7
    maj-min: 8:7
  ID-5: /var/tmp raw-size: 96.68 GiB size: 96.68 GiB (100.00%)
    used: 40.37 GiB (41.8%) fs: btrfs block-size: 4096 B dev: /dev/sda7
    maj-min: 8:7
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 3.6 GiB used: 454.8 MiB (12.3%)
    priority: 100 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 29.8 C pch: 33.0 C mobo: 27.8 C gpu: radeon
    temp: 33.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 227 Uptime: 12h 43m wakeups: 3 Memory: 3.6 GiB
  used: 1.52 GiB (42.3%) Init: systemd v: 250 tool: systemctl Compilers:
  gcc: 12.1.0 Packages: pacman: 1224 lib: 328 Shell: garuda-inxi (sudo)
  default: Bash v: 5.1.16 running-in: xfce4-terminal inxi: 3.3.15
Garuda (2.6.3-2):
  System install date:     2022-04-04
  Last full system update: 2022-05-19 ↻
  Is partially upgraded:   No
  Relevant software:       NetworkManager
  Windows dual boot:       Yes
  Snapshots:               Snapper
  Failed units:            

Perhaps you are right; judging by this sentence, English appears to have changed a bit since I have been in school. :smirk:

Try adding this line to the config file at /etc/X11/Xsession instead of .xinitrc. Alternatively, if you want to disable logging you can make the line ERRFILE=/dev/null.

3 Likes

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