Gnome Terminal Reset Defaults

Hey all,

I’ve somehow mucked up my Gnome Terminal default by trying to install some additional themes, and now it’s not using the Garuda profile from the terminal anymore. The Garuda profile has also disappeared from the list of profiles to choose from. Is there anyway I can reset the Gnome Terminal to defaults to use the Garuda profile? Trying to avoid a fresh reinstall as I have a lot of work on this PC. Below is my garuda-inxi. I’ve tried searching for similar issues, and searched through Nautilus for the config file to use until I’m blue in the face.

System:
  Kernel: 6.5.9-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=a4c56bc9-0f01-4564-8dda-2d4fa6731708 rw rootflags=subvol=@
    quiet quiet rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3
    ibt=off
  Desktop: GNOME v: 45.1 tk: GTK v: 3.24.38 wm: gnome-shell dm: GDM
    v: 45.0.1 Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: ASUS TUF Dash F15 FX516PM_FX516PM
    v: 1.0 serial: <filter>
  Mobo: ASUSTeK model: FX516PM v: 1.0 serial: <filter> UEFI: American
    Megatrends LLC. v: FX516PM.330 date: 05/15/2023
Battery:
  ID-1: BAT0 charge: 56.4 Wh (99.1%) condition: 56.9/76.0 Wh (74.9%)
    power: 2.9 W volts: 15.8 min: 15.8 model: ASUSTeK ASUS Battery type: Li-ion
    serial: N/A status: charging cycles: 336
CPU:
  Info: model: 11th Gen Intel Core i7-11370H socket: U3E1 bits: 64
    type: MT MCP arch: Tiger Lake gen: core 11 level: v4 note: check built: 2020
    process: Intel 10nm family: 6 model-id: 0x8C (140) stepping: 1
    microcode: 0xAC
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 320 KiB desc: d-4x48 KiB; i-4x32 KiB L2: 5 MiB desc: 4x1.2 MiB
    L3: 12 MiB desc: 1x12 MiB
  Speed (MHz): avg: 1624 high: 3882 min/max: 400/4800 base/boost: 3300/4800
    scaling: driver: intel_pstate governor: performance volts: 0.8 V
    ext-clock: 100 MHz cores: 1: 3299 2: 2212 3: 2002 4: 400 5: 3882 6: 400
    7: 400 8: 400 bogomips: 52838
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: ASUSTeK
    driver: i915 v: kernel arch: Gen-12.1 process: Intel 10nm built: 2020-21
    ports: active: DP-3,DP-5 off: eDP-1 empty: DP-1, DP-2, DP-4, DP-6,
    HDMI-A-2 bus-ID: 0000:00:02.0 chip-ID: 8086:9a49 class-ID: 0300
  Device-2: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: ASUSTeK
    driver: nouveau v: kernel non-free: 545.xx+ status: current (as of 2023-10;
    EOL~2026-12-xx) arch: Ampere code: GAxxx process: TSMC n7 (7nm)
    built: 2020-2023 ports: active: none empty: HDMI-A-1 bus-ID: 0000:01:00.0
    chip-ID: 10de:2520 class-ID: 0300
  Display: server: X.Org v: 23.2.2 with: Xwayland v: 23.2.2
    compositor: gnome-shell driver: X: loaded: modesetting,nouveau
    alternate: fbdev,intel,nv,vesa dri: iris,nouveau gpu: i915 display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 5120x1440 s-dpi: 96 s-size: 1355x381mm (53.35x15.00")
    s-diag: 1408mm (55.42")
  Monitor-1: DP-3 pos: primary,left res: 2560x1440 hz: 75 dpi: 123
    size: 530x300mm (20.87x11.81") diag: 609mm (23.98") modes: N/A
  Monitor-2: DP-5 pos: right res: 2560x1440 hz: 75 dpi: 123
    size: 530x300mm (20.87x11.81") diag: 609mm (23.98") modes: N/A
  API: Vulkan v: 1.3.269 layers: 3 device: 0 type: integrated-gpu name: Intel
    Xe Graphics (TGL GT2) driver: mesa intel v: 23.2.1-arch1.2
    device-ID: 8086:9a49 surfaces: xcb,xlib device: 1 type: cpu name: llvmpipe
    (LLVM 16.0.6 256 bits) driver: mesa llvmpipe v: 23.2.1-arch1.2 (LLVM
    16.0.6) device-ID: 10005:0000 surfaces: xcb,xlib
  API: OpenGL Message: Unable to show GL data. glxinfo is missing.
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel alternate: snd_sof_pci_intel_tgl
    bus-ID: 0000:00:1f.3 chip-ID: 8086:a0c8 class-ID: 0403
  Device-2: NVIDIA GA106 High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel bus-ID: 0000:01:00.1 chip-ID: 10de:228e
    class-ID: 0403
  API: ALSA v: k6.5.9-zen2-1-zen status: kernel-api tools: N/A
  Server-1: PipeWire v: 0.3.84 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: Intel Wi-Fi 6 AX201 driver: iwlwifi v: kernel bus-ID: 0000:00:14.3
    chip-ID: 8086:a0f0 class-ID: 0280
  IF: wlo1 state: down mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK driver: r8169 v: kernel port: 3000 bus-ID: 0000:2e:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: eno2 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-10:3 chip-ID: 8087:0026
    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: 6c010c
RAID:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
    v: 0.6 port: N/A bus-ID: 0000:00:0e.0 chip-ID: 8086:9a0b rev: class-ID: 0104
Drives:
  Local Storage: total: 1.38 TiB used: 35.93 GiB (2.6%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
    model: WD BLACK SN770 1TB size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 63.2 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 731030WD temp: 47.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:5 vendor: Samsung
    model: MZVLQ512HBLU-00B00 size: 476.94 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: FXM7201Q temp: 38.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
    used: 35.93 GiB (7.5%) fs: btrfs block-size: 4096 B dev: /dev/nvme1n1p2
    maj-min: 259:7
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 580 KiB (0.2%) fs: vfat block-size: 512 B dev: /dev/nvme1n1p1
    maj-min: 259:6
  ID-3: /home raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
    used: 35.93 GiB (7.5%) fs: btrfs block-size: 4096 B dev: /dev/nvme1n1p2
    maj-min: 259:7
  ID-4: /var/log raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
    used: 35.93 GiB (7.5%) fs: btrfs block-size: 4096 B dev: /dev/nvme1n1p2
    maj-min: 259:7
  ID-5: /var/tmp raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
    used: 35.93 GiB (7.5%) fs: btrfs block-size: 4096 B dev: /dev/nvme1n1p2
    maj-min: 259:7
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 15.32 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 8 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 47.0 C mobo: N/A
  Fan Speeds (rpm): cpu: 2200
Info:
  Processes: 311 Uptime: 0m wakeups: 0 Memory: total: 16 GiB
  available: 15.32 GiB used: 3.06 GiB (20.0%) igpu: 64 MiB Init: systemd
  v: 254 default: graphical tool: systemctl Compilers: gcc: 13.2.1
  clang: 16.0.6 Packages: pm: pacman pkgs: 1687 libs: 449
  tools: gnome-software,pamac,paru pm: flatpak pkgs: 0
  Shell: garuda-inxi (sudo) default: Bash v: 5.2.15 running-in: gnome-terminal
  inxi: 3.3.31
Garuda (2.6.17-1):
  System install date:     2023-10-24
  Last full system update: 2023-11-03
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       Yes
  Failed units: 

Reset the fish configs via the Garuda Assistant in the settings tab. Closing this issue.

1 Like

The way the Gnome terminal settings are configured is kind of interesting. When the installation first boots up, this script is run: etc/skel/.config/autostart-scripts/dconf.sh · master · Garuda Linux / Themes and Settings / Settings / garuda-gnome-settings · GitLab

#!/bin/sh
dconf load / < ~/.config/garuda-dconf.ini
rm -f ~/.config/garuda-dconf.ini ~/.config/autostart-scripts/dconf.sh &
 
notify-send "GNOME settings applied! 🔥"

It sets the inital configuration with that garuda-dconf.ini file, then deletes the file and deletes itself. Like a self-destructing setup script. :sunglasses:

This is the garuda-dconf.ini file it uses for configuring the settings: etc/skel/.config/garuda-dconf.ini · master · Garuda Linux / Themes and Settings / Settings / garuda-gnome-settings · GitLab

You can load the dconf file again by saving it somewhere on your computer, then run the command:

dconf load / < /path/to/dconf.ini

If you just want the terminal settings, that is this part of the file:

[org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9]
background-color='rgb(46,52,54)'
bold-is-bright=true
cursor-shape='underline'
custom-command='/bin/fish'
default-size-columns=110
default-size-rows=30
font='FiraCode Nerd Font Mono 12'
foreground-color='rgb(211,215,207)'
palette=['rgb(46,52,54)', 'rgb(204,0,0)', 'rgb(78,154,6)', 'rgb(196,160,0)', 'rgb(52,101,164)', 'rgb(117,80,123)', 'rgb(6,152,154)', 'rgb(211,215,207)', 'rgb(85,87,83)', 'rgb(239,41,41)', 'rgb(138,226,52)', 'rgb(252,233,79)', 'rgb(114,159,207)', 'rgb(173,127,168)', 'rgb(52,226,226)', 'rgb(238,238,236)']
use-system-font=false
use-theme-colors=true
rewrap-on-resize=true
use-custom-command=true
visible-name='Garuda'

Copy and paste it into a file on your computer, then use the dconf load command above and it will restore the original settings of the terminal.

4 Likes

This is perfect. Thanks for explaining it! Should help down the road if I mess it up again.

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