BTRFS assistant will not launch

BTRFS assistant will not launch. Any solution or what is the alternate terminal command to revert to the currently booted image?

```text
System:
  Kernel: 6.4.1-zen2-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.1.1
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=faec081e-54c4-4bf2-afef-92a55555419d
    rw rootflags=subvol=@ quiet loglevel=3 ibt=off
  Desktop: Hyprland info: waybar vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Laptop System: Dell product: Precision 5530 v: N/A serial: <superuser required> Chassis:
    type: 10 serial: <superuser required>
  Mobo: Dell model: 0NFGCT v: A00 serial: <superuser required> UEFI: Dell v: 1.31.0
    date: 03/13/2023
Battery:
  ID-1: BAT0 charge: 36.2 Wh (100.0%) condition: 36.2/56.0 Wh (64.7%) volts: 12.5 min: 11.4
    model: LGC-LGC4.64 DELL 5D91C9C type: Li-ion serial: <filter> status: full
CPU:
  Info: model: Intel Core i7-8850H bits: 64 type: MT MCP arch: Coffee Lake gen: core 8 level: v3
    note: check built: 2018 process: Intel 14nm family: 6 model-id: 0x9E (158) stepping: 0xA (10)
    microcode: 0xF2
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache: L1: 384 KiB
    desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB L3: 9 MiB desc: 1x9 MiB
  Speed (MHz): avg: 1608 high: 2600 min/max: 800/4300 scaling: driver: intel_pstate
    governor: powersave cores: 1: 900 2: 901 3: 900 4: 900 5: 2600 6: 2600 7: 2600 8: 2600 9: 2600
    10: 900 11: 900 12: 900 bogomips: 62399
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: Dell driver: i915 v: kernel
    arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports: active: eDP-1 empty: DP-1,DP-2,DP-3
    bus-ID: 00:02.0 chip-ID: 8086:3e9b class-ID: 0300
  Device-2: NVIDIA GP107GLM [Quadro P1000 Mobile] vendor: Dell driver: nouveau v: kernel
    non-free: 530.xx+ status: current (as of 2023-05) arch: Pascal code: GP10x process: TSMC 16nm
    built: 2016-21 pcie: gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 3 speed: 8 GT/s
    bus-ID: 01:00.0 chip-ID: 10de:1cbb class-ID: 0302 temp: 51.0 C
  Device-3: Realtek Integrated_Webcam_HD driver: uvcvideo type: USB rev: 2.0 speed: 480 Mb/s
    lanes: 1 mode: 2.0 bus-ID: 1-12:4 chip-ID: 0bda:5657 class-ID: 0e02 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.2 compositor: Hyprland
    driver: X: loaded: modesetting,nouveau alternate: fbdev,intel,nv,vesa dri: iris,nouveau gpu: i915
    display-ID: 1
  Monitor-1: eDP-1 model: Sharp 0x149a built: 2018 res: 1920x1080 hz: 60 dpi: 142 gamma: 1.2
    scale: 1 size: 344x194mm (13.54x7.64") diag: 395mm (15.5") ratio: 16:9 modes: 1920x1080
  API: EGL/GBM Message: No known Wayland EGL/GBM data sources.
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Dell driver: snd_hda_intel v: kernel
    alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3 chip-ID: 8086:a348 class-ID: 0403
  API: ALSA v: k6.4.1-zen2-1-zen status: kernel-api tools: N/A
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 0.3.72 status: active 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: Intel Wireless-AC 9260 driver: iwlwifi v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1
    bus-ID: 3b:00.0 chip-ID: 8086:2526 class-ID: 0280
  IF: wlp59s0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel Wireless-AC 9260 Bluetooth Adapter driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-4:2 chip-ID: 8087:0025 class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 2 state: up address: <filter>
Drives:
  Local Storage: total: 1.82 TiB used: 4.23 GiB (0.2%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 970 EVO Plus 2TB size: 1.82 TiB
    block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 4B2QEXM7 temp: 40.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 1.82 
TiB size: 1.82 TiB (100.00%) used: 4.23 GiB (0.2%) fs: btrfs
    dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 576 KiB (0.2%) fs: vfat
    dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 1.82 TiB size: 1.82 TiB (100.00%) used: 4.23 GiB (0.2%) fs: btrfs
    dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-4: /var/log raw-size: 1.82 TiB size: 1.82 TiB (100.00%) used: 4.23 GiB (0.2%) fs: btrfs
    dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-5: /var/tmp raw-size: 1.82 TiB size: 1.82 TiB (100.00%) used: 4.23 GiB (0.2%) fs: btrfs
    dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 31.02 GiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 64.0 C pch: 51.0 C mobo: N/A gpu: nouveau temp: 51.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 285 Uptime: 1m wakeups: 1346 Memory: available: 31.02 GiB used: 1.31 GiB (4.2%)
  Init: systemd v: 253 default: graphical tool: systemctl Compilers: gcc: 13.1.1 Packages:
  pm: pacman pkgs: 1254 libs: 345 tools: pamac,paru Client: shell wrapper v: 5.1.16-release
  inxi: 3.3.27
Garuda (2.6.16-1):
  System install date:     2023-08-19
  Last full system update: 2023-08-19
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       Probably (Run as root to verify)
  Failed units:            
```

Are you launching the “Garuda Hyprland” session from SDDM when you log in?

image

It launches with a wrapper script that sets some needed environment variables.

I don’t understand what this means.

2 Likes

In terminal use

sudo -E btrfs-assistant

I use alias in config.fish like

alias garuda-boot-options='sudo -E garuda-boot-options'
alias garuda-network-assistant='sudo -E garuda-network-assistant'
alias btrfs-assistant='sudo -E btrfs-assistant'
1 Like

Much appreciated. The Garuda Hyprland option is missing however the other two are there. User SGS below helped with the terminal command portion...

Hmm, it looks like the special desktop file we set up to launch Hyprland using the wrapper script is missing on the latest ISO for some reason. The wrapper script sets a bunch of environment variables before launching Hyprland, which resolves a lot of these issues where things don't work correctly in Hyprland. It's not that bad to just set it up yourself though.

First, double-check that /usr/local/bin/hyprstart exists (this is the wrapper script). If not, go ahead and make it:

sudo micro /usr/local/bin/hyprstart

Copy and paste the config into the file:

#!/bin/sh

cd ~

export XCURSOR_SIZE=24

export EDITOR=/usr/bin/micro
export BROWSER=librewolf
export TERM=foot
export MAIL=thunderbird
export QT_QPA_PLATFORMTHEME=qt5ct
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"

# Session
export XDG_SESSION_TYPE=wayland
export XDG_SESSION_DESKTOP=hyprland
export XDG_CURRENT_DESKTOP=hyprland

# GTK
export MOZ_ENABLE_WAYLAND=1             # only start firefox in wayland mode and no other GTK apps
export MOZ_DBUS_REMOTE=1                # fixes firefox is already running, but is not responding
export MOZ_WAYLAND_USE_VAAPI=1
export GDK_BACKEND=wayland             # this can prevent programs from starting (e.g. chromium and electron apps). therefore, this should be set per app instead of globally.

# clutter
#export CLUTTER_BACKEND=wayland          # this can prevent programs from starting. therefore, this should be set per app instead of globally.

# elementary
export ECORE_EVAS_ENGINE=wayland-egl
export ELM_ENGINE=wayland_egl
#export ELM_DISPLAY=wl
#export ELM_ACCEL=gl

# java
export _JAVA_AWT_WM_NONREPARENTING=1
export NO_AT_BRIDGE=1
export BEMENU_BACKEND=wayland

# sdl
export SDL_VIDEODRIVER=wayland           # this can prevent programs from starting old sdl games. therefore, this should be set per app instead of globally.

# Qt
export QT_QPA_PLATFORM=wayland
export QT_STYLE_OVERRIDE=kvantum-dark  

export FZF_DEFAULT_OPTS=" \
--color=bg+:-1,bg:#1e1e2e,spinner:#f5e0dc,hl:#f38ba8 \
--color=fg:#cdd6f4,header:#f38ba8,info:#cba6f7,pointer:#f5e0dc \
--color=marker:#f5e0dc,fg+:#a6e3a1,prompt:#cba6f7,hl+:#f38ba8"

export BAT_THEME="catppuccin-mocha"
export MICRO_TRUECOLOR=1

exec Hyprland

Source: Create hyprstart (2fb5a459) · Commits · Garuda Linux / Tools / iso-profiles · GitLab

This file should be executable.

sudo chmod +x /usr/local/bin/hyprstart

Then, create a desktop file that will run the wrapper script instead of just running Hyprland.

sudo micro /usr/share/wayland-sessions/garuda-hyprland.desktop

Paste this into the file:

[Desktop Entry]
Name=Garuda Hyprland
Comment=The Garuda Linux Community Hyprland spin
Exec=hyprstart
Type=Application

Save and exit, then you should be able to run this from the SDDM login screen.


If you would like, instead of making a new desktop file you can edit the existing one (/usr/share/wayland-sessions/hyprland.desktop) and change the Exec= line from Hyprland to hyprstart. This change will be overwritten every time Hyprland gets updated though, so to protect the file you will have to apply the immutable attribute to it.

sudo chattr +i /usr/share/wayland-sessions/hyprland.desktop

You should choose one or the other--make a new desktop file, or edit the existing one and apply the immutable attribute.

3 Likes

Much appreciated SGS!

Much appreciated. You may have already checked this in. but I also noticed that after installing I ran updates and received a red bar across the top regarding hyprland.conf new blur settings. They are correct in the hyprlnd wiki but seem to be missing the fact that it recently changed....

Blur

subcategory decoration:blur:
name description type default
enabled enable kawase window background blur bool true
size blur size (distance) int 8
passes the amount of passes to perform int 1
ignore_opacity make the blur layer ignore the opacity of the window bool false
new_optimizations whether to enable further optimizations to the blur. Recommended to leave on, as it will massively improve performance. bool true
xray if enabled, floating windows will ignore tiled windows in their blur. Only available if blur_new_optimizations is true. Will reduce overhead on floating blur significantly. bool false
noise how much noise to apply. 0.0 - 1.0 float 0.0117
contrast contrast modulation for blur. 0.0 - 2.0 float 0.8916
brightness brightness modulation for blur. 0.0 - 2.0 float 0.8172

A subcategory is a nested category:

decoration {
    # ...
    # ...

    blur {
        # ...
        # ...
    }
}

I believe the blur config was already fixed here: Fix blur (aa2cf132) · Commits · Garuda Linux 🦅 / Themes and Settings / Settings / Garuda Hyprland Settings · GitLab

You can just copy the new config out of /etc/skel if you’d like.

cp /etc/skel/.config/hypr/hyprland.conf .config/hypr/

Do you have an old ISO? I’m not sure why you’re missing the most recent changes.

3 Likes

My ISO was from July. It was the latest one available as a few days ago. Now a new one is posted today. I tried it and After install there is a Hyprland and Garuda Hyprland but no KDE. There are also a few harmless errors on the login screen about missing plasma theme. But BTRFS assistance does indeed load under the Garuda Hyprland. One strange thing is the system hangs on boot sometimes on the loading ramdrive line. ALso once booted into Hyperland super+o does not bring up the browser..

System:
  Kernel: 6.4.11-zen2-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1 clocksource: tsc
    available: acpi_pm parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=608dbf72-5fcb-4783-9eea-eefff63d03e1 rw rootflags=subvol=@ quiet loglevel=3 ibt=off
  Desktop: Hyprland info: waybar vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Laptop System: Dell product: Precision 5530 v: N/A serial: <superuser required> Chassis:
    type: 10 serial: <superuser required>
  Mobo: Dell model: 0NFGCT v: A00 serial: <superuser required> UEFI: Dell v: 1.31.0
    date: 03/13/2023
Battery:
  ID-1: BAT0 charge: 36.2 Wh (100.0%) condition: 36.2/56.0 Wh (64.7%) volts: 12.5 min: 11.4
    model: LGC-LGC4.64 DELL 5D91C9C type: Li-ion serial: <filter> status: full
CPU:
  Info: model: Intel Core i7-8850H bits: 64 type: MT MCP arch: Coffee Lake gen: core 8 level: v3
    note: check built: 2018 process: Intel 14nm family: 6 model-id: 0x9E (158) stepping: 0xA (10)
    microcode: 0xF4
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache: L1: 384 KiB
    desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB L3: 9 MiB desc: 1x9 MiB
  Speed (MHz): avg: 3702 high: 4107 min/max: 800/4300 scaling: driver: intel_pstate
    governor: powersave cores: 1: 4001 2: 2600 3: 4099 4: 4099 5: 4000 6: 4107 7: 4100 8: 4028
    9: 4100 10: 2600 11: 2600 12: 4099 bogomips: 62399
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: Dell driver: i915 v: kernel
    arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports: active: eDP-1 empty: DP-1,DP-2,DP-3
    bus-ID: 00:02.0 chip-ID: 8086:3e9b class-ID: 0300
  Device-2: NVIDIA GP107GLM [Quadro P1000 Mobile] vendor: Dell driver: nvidia v: 535.98
    alternate: nouveau,nvidia_drm non-free: 535.xx+ status: current (as of 2023-08) arch: Pascal
    code: GP10x process: TSMC 16nm built: 2016-21 pcie: gen: 1 speed: 2.5 GT/s lanes: 16 link-max:
    gen: 3 speed: 8 GT/s bus-ID: 01:00.0 chip-ID: 10de:1cbb class-ID: 0302
  Device-3: Realtek Integrated_Webcam_HD driver: uvcvideo type: USB rev: 2.0 speed: 480 Mb/s
    lanes: 1 mode: 2.0 bus-ID: 1-12:4 chip-ID: 0bda:5657 class-ID: 0e02 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.2.0 compositor: Hyprland
    driver: X: loaded: modesetting,nvidia unloaded: nouveau alternate: fbdev,intel,nv,vesa dri: iris
    gpu: i915 display-ID: 1
  Monitor-1: eDP-1 model: Sharp 0x149a built: 2018 res: 1920x1080 hz: 60 dpi: 142 gamma: 1.2
    scale: 1 size: 344x194mm (13.54x7.64") diag: 395mm (15.5") ratio: 16:9 modes: 1920x1080
  API: EGL/GBM Message: No known Wayland EGL/GBM data sources.
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Dell driver: snd_hda_intel v: kernel
    alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3 chip-ID: 8086:a348 class-ID: 0403
  API: ALSA v: k6.4.11-zen2-1-zen status: kernel-api tools: N/A
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 0.3.77 status: active 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: Intel Wireless-AC 9260 driver: iwlwifi v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1
    bus-ID: 3b:00.0 chip-ID: 8086:2526 class-ID: 0280
  IF: wlp59s0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel Wireless-AC 9260 Bluetooth Adapter driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-4:2 chip-ID: 8087:0025 class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.1 lmp-v: 10 status:
    discoverable: no pairing: no class-ID: 6c010c
Drives:
  Local Storage: total: 1.82 TiB used: 5.19 GiB (0.3%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 970 EVO Plus 2TB size: 1.82 TiB
    block-size: physical: 512 B logica
l: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 4B2QEXM7 temp: 34.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 1.82 TiB size: 1.82 TiB (100.00%) used: 5.19 GiB (0.3%) fs: btrfs
    dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 576 KiB (0.2%) fs: vfat
    dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 1.82 TiB size: 1.82 TiB (100.00%) used: 5.19 GiB (0.3%) fs: btrfs
    dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-4: /var/log raw-size: 1.82 TiB size: 1.82 TiB (100.00%) used: 5.19 GiB (0.3%) fs: btrfs
    dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-5: /var/tmp raw-size: 1.82 TiB size: 1.82 TiB (100.00%) used: 5.19 GiB (0.3%) fs: btrfs
    dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 31.02 GiB used: 0 KiB (0.0%) priority: 100 comp: zstd
    avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 12 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 72.0 C pch: 48.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Processes: 273 Uptime: 52m wakeups: 36372 Memory: total: 32 GiB note: est. available: 31.02 GiB
  used: 2.2 GiB (7.1%) Init: systemd v: 254 default: graphical tool: systemctl Compilers:
  gcc: 13.2.1 Packages: pm: pacman pkgs: 1174 libs: 332 tools: pamac,paru Client: shell wrapper
  v: 5.1.16-release inxi: 3.3.29
Garuda (2.6.16-1):
  System install date:     2023-08-20
  Last full system update: 2023-08-20
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut nvidia-dkms
  Windows dual boot:       Probably (Run as root to verify)
  Failed units:            

Seems the co-maintainer and me differ in the favorite internet browser :slight_smile:

In .config/hypr/hyprland.conf search for

bind = $mainMod, O, exec, firedragon

install

sudo pacman -S firedragon

or change the line to

bind = $mainMod, O, exec, librewolf

or to your installed preferred internet browser.

Correct, thanks for pointing out.

4 Likes

Please install in terminal

sudo pacman -S plasma-framework

to fix the issue.

3 Likes

Much appreciated I installed firedragon and added the bind line and it works great. Just FYI some of the bind lines have a comma on the end of them. It likely does not matter. Best Wishes

1 Like

This worked great. What a difference one package makes.

1 Like

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