Alacritty warning

Alacritty now shows a warning that stays at the bottom, appeared after this last update, everything else is ok. It shows this:

[WARN] See log at /tmp/Alacritty-1810.log ($ALACRITTY_LOG):
YAML config "/home/username/.config/alacritty/alacritty.yml" is deprecated, please migrate to TOML using `alacritty migrate`

Googling about it I found a similar situation about this: Alacritty throwing errors after Migration from YAML to TOML [WARN unused config] - Issues & Assistance - Garuda Linux Forum

Since some people are having issues with the migration, I please ask for some guidance or advice about this. Thank You.

I would say take a look at the issue tracker.

It seems there are some considerations … like ‘links’ apparently.

If you’re talking about links no longer working, then that is an intended feature and there is not going to be any replacement for this in toml. You should be using imports instead (even with yaml really).

And comments

automatic migration drops all comments

If anything mentioned there is a deal-breaker I suppose you can stick with yaml.

Otherwise alacritty migrate should be a functional command.

See more at the arch wiki

https://wiki.archlinux.org/title/Alacritty

2 Likes

Sorry to respond only now, I posted this at 4 AM and then some sleep.
I did alacritty migrate
Said it did the migration sucessfully but after that it still show some warnings:

[WARN] See log at /tmp/Alacritty-3681.log ($ALACRITTY_LOG):
Unused config key: author
Unused config key: name
Unused config key: theme

Another user has reported similar warnings after migration:

[WARN ] [alacritty_config_derive] Unused config key: author · Issue #7229 · alacritty/alacritty · GitHub
alacritty.log file:
[0.000694499s] [WARN ] [alacritty_config_derive] Unused config key: author
[0.001027350s] [WARN ] [alacritty_config_derive] Unused config key: name
[0.001083784s] [WARN ] [alacritty_config_derive] Unused config key: items
[0.001111311s] [WARN ] [alacritty_config_derive] Unused config key: theme

I suggest edit alacritty configuration ~/.config/alacritty/alacritty.toml to remove unused config keys

1 Like

Thank you very much for the help, I’m gonna look into that.
I do not have much experience editing config files, I will report if I need some assistance.

In my config file I have this:

theme = "Garuda.dr460nized"

[colors]
author = "dr460nf1r3"
name = "Garuda (dr460nized)"

[colors.bright]
black = "0xa6896b"
blue = "0xF35645"
cyan = "0xFAD32F"
green = "0xEB3247"
magenta = "0xF6A73B"
red = "0x5F4149"
white = "0xeec49a"
yellow = "0xBC4349"

[colors.cursor]
cursor = "0xeec49a"
text = "0x0a1124"

[colors.normal]
black = "0x0a1124"
blue = "0xF35645"
cyan = "0xFAD32F"
green = "0xEB3247"
magenta = "0xF6A73B"
red = "0x5F4149"
white = "0xeec49a"
yellow = "0xBC4349"

[colors.primary]
background = "0x0a1124"
foreground = "0xeec49a"

[env]
LANG = "en_US.UTF-8"
LC_CTYPE = "en_US.UTF-8"
TERM = "alacritty"

[font]
size = 11.0

[font.normal]
family = "monospace"
style = "Regular" 

So do I just remove the lines:
theme = "Garuda.dr460nized"
author = "dr460nf1r3"
name = "Garuda (dr460nized)"

Just that?

Are you using Garuda or Manjaro?

Please provide the output of:

inxi --admin --verbosity=7 --filter --no-host --width

Using Manjaro XFCE but the color theme on alacritty is garuda dragonized. I really like the colors xD

Sorry if I caused some confusion, here’s the output:

System:
  Kernel: 6.1.69-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
    root=UUID=e3de76d7-c1cb-416c-98c7-3d4b9c416c5f rw quiet apparmor=1
    security=apparmor resume=UUID=4a3bd434-53f1-4ffb-b6e2-883bdd0768e9
    udev.log_priority=3
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm
    v: 4.18.0 vt: 7 dm: LightDM v: 1.32.0 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: Hewlett-Packard product: HP Pavilion 15 Notebook PC
    v: 0975110000405F00000620180 serial: <superuser required> Chassis: type: 10
    serial: <superuser required>
  Mobo: Hewlett-Packard model: 2269 v: 73.41 serial: <superuser required>
    UEFI: American Megatrends v: F.43 date: 08/19/2015
Memory:
  System RAM: total: 4 GiB note: est. available: 3.27 GiB
    used: 1.87 GiB (57.2%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD A8-6410 APU with AMD Radeon R5 Graphics bits: 64 type: MCP
    arch: Puma level: v2 built: 2014-15 process: GF 28nm family: 0x16 (22)
    model-id: 0x30 (48) stepping: 1 microcode: 0x7030105
  Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 256 KiB
    desc: d-4x32 KiB; i-4x32 KiB L2: 2 MiB desc: 1x2 MiB
  Speed (MHz): avg: 1922 high: 2000 min/max: 1000/2000 boost: enabled
    scaling: driver: acpi-cpufreq governor: performance cores: 1: 2000 2: 2000
    3: 1689 4: 2000 bogomips: 15979
  Flags: 3dnowprefetch abm acc_power aes aperfmperf apic arat avx bmi1 bpext
    clflush cmov cmp_legacy constant_tsc cpb cpuid cr8_legacy cx16 cx8 de
    decodeassists extapic extd_apicid f16c flushbyasid fpu fxsr fxsr_opt ht
    hw_pstate ibs lahf_lm lbrv lm mca mce misalignsse mmx mmxext monitor movbe
    msr mtrr nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae pat
    pausefilter pclmulqdq pdpe1gb perfctr_llc perfctr_nb pfthreshold pge pni
    popcnt pse pse36 ptsc rdtscp rep_good sep skinit ssbd sse sse2 sse4_1
    sse4_2 sse4a ssse3 svm svm_lock syscall topoext tsc tsc_scale vme vmmcall
    wdt xsave xsaveopt
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  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 mitigation: untrained return thunk; SMT disabled
  Type: spec_rstack_overflow 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, STIBP: disabled, RSB filling,
    PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Mullins [Radeon R4/R5 Graphics] vendor: Hewlett-Packard
    driver: radeon v: kernel alternate: amdgpu arch: GCN-2 code: Sea Islands
    process: GF/TSMC 16-28nm built: 2013-17 ports: active: eDP-1
    empty: HDMI-A-1 bus-ID: 00:01.0 chip-ID: 1002:9851 class-ID: 0300
  Device-2: AMD Topaz XT [Radeon R7 M260/M265 / M340/M360 M440/M445 530/535
    620/625 Mobile] vendor: Hewlett-Packard driver: amdgpu v: kernel
    arch: GCN-3 code: Volcanic Islands process: TSMC 28nm built: 2014-19 pcie:
    gen: 1 speed: 2.5 GT/s lanes: 4 link-max: gen: 3 speed: 8 GT/s lanes: 8
    bus-ID: 01:00.0 chip-ID: 1002:6900 class-ID: 0380 temp: 44.0 C
  Device-3: Chicony HP Truevision HD camera driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 2-1.2:3
    chip-ID: 04f2:b40e class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.10 compositor: xfwm v: 4.18.0 driver: X:
    loaded: amdgpu,radeon unloaded: modesetting alternate: fbdev,vesa
    dri: radeonsi gpu: radeon display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99")
    s-diag: 414mm (16.31")
  Monitor-1: eDP-1 mapped: eDP model: Samsung 0x4951 built: 2013
    res: 1366x768 hz: 60 dpi: 101 gamma: 1.2 size: 344x194mm (13.54x7.64")
    diag: 395mm (15.5") ratio: 16:9 modes: max: 1366x768 min: 640x480
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: radeonsi device: 2 drv: swrast gbm: drv: kms_swrast
    surfaceless: drv: radeonsi x11: drv: radeonsi inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 23.1.9-manjaro1.1
    glx-v: 1.4 direct-render: yes renderer: KABINI ( LLVM 16.0.6 DRM 2.50
    6.1.69-1-MANJARO) device-ID: 1002:9851 memory: 500 MiB unified: no
  API: Vulkan v: 1.3.274 layers: 4 device: 0 type: discrete-gpu name: AMD
    Radeon R7 M260 (RADV ICELAND) driver: mesa radv v: 23.1.9-manjaro1.1
    device-ID: 1002:6900 surfaces: xcb,xlib
Audio:
  Device-1: AMD Kabini HDMI/DP Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel bus-ID: 00:01.1 chip-ID: 1002:9840
    class-ID: 0403
  Device-2: AMD FCH Azalia vendor: Hewlett-Packard driver: snd_hda_intel
    v: kernel bus-ID: 00:14.2 chip-ID: 1022:780d class-ID: 0403
  API: ALSA v: k6.1.69-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.0.0 status: off tools: pw-cli
  Server-3: PulseAudio v: 16.1 status: active with: pulseaudio-alsa
    type: plugin tools: pacat,pactl,pavucontrol
Network:
  Device-1: Realtek RTL8723BE PCIe Wireless Network Adapter
    vendor: Hewlett-Packard driver: rtl8723be v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 02:00.0 chip-ID: 10ec:b723
    class-ID: 0280
  IF: wlo1 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Realtek RTL810xE PCI Express Fast Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: c000 bus-ID: 03:00.0 chip-ID: 10ec:8136 class-ID: 0200
  IF: eno1 state: down mac: <filter>
  WAN IP: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth Radio driver: btusb v: 0.8 type: USB rev: 2.1
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-1.3:3 chip-ID: 0bda:b001
    class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 465.76 GiB used: 262.41 GiB (56.3%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Toshiba model: MQ01ABF050
    size: 465.76 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: HDD rpm: 5400 serial: <filter> fw-rev: 2C scheme: GPT
  Optical-1: /dev/sr0 vendor: hp model: DVDRW DU8A5SHL rev: ZH63
    dev-links: cdrom
  Features: speed: 24 multisession: yes audio: yes dvd: yes
    rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition:
  ID-1: / raw-size: 458.26 GiB size: 449.99 GiB (98.20%)
    used: 262.35 GiB (58.3%) fs: ext4 dev: /dev/sda2 maj-min: 8:2 label: N/A
    uuid: e3de76d7-c1cb-416c-98c7-3d4b9c416c5f
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 312 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1 label: NO_LABEL
    uuid: 0136-D163
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: yes
    compressor: zstd max-pool: 20%
  ID-1: swap-1 type: partition size: 7.21 GiB used: 65.5 MiB (0.9%)
    priority: -2 dev: /dev/sda3 maj-min: 8:3 label: swap
    uuid: 4a3bd434-53f1-4ffb-b6e2-883bdd0768e9
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: full speed or root hub ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-2: 1-1:2 info: Advanced Micro Devices Root Hub ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
    chip-ID: 0438:7900 class-ID: 0900
  Device-1: 1-1.3:3 info: Realtek Bluetooth Radio type: bluetooth
    driver: btusb interfaces: 2 rev: 2.1 speed: 12 Mb/s (1.4 MiB/s) lanes: 1
    mode: 1.1 power: 500mA chip-ID: 0bda:b001 class-ID: e001 serial: <filter>
  Hub-3: 2-0:1 info: full speed or root hub ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-4: 2-1:2 info: Advanced Micro Devices Root Hub ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
    chip-ID: 0438:7900 class-ID: 0900
  Device-1: 2-1.2:3 info: Chicony HP Truevision HD camera type: video
    driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1
    mode: 2.0 power: 500mA chip-ID: 04f2:b40e class-ID: 0e02
  Hub-5: 3-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 3-1:2 info: Microsoft Xbox360 Controller type: <vendor specific>
    driver: xpad interfaces: 1 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1
    mode: 1.1 power: 500mA chip-ID: 045e:028e class-ID: ff00
  Device-2: 3-2:3 info: Sunplus Innovation GameMouse type: mouse,keyboard
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 500mA chip-ID: 1bcf:08b8 class-ID: 0300
  Hub-6: 4-0:1 info: super-speed hub ports: 2 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 48.4 C mobo: N/A
  Fan Speeds (rpm): N/A
  GPU: device: amdgpu temp: 44.0 C device: radeon temp: 43.0 C
Info:
  Processes: 229 Uptime: 1h 42m wakeups: 0 Init: systemd v: 254
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6
  Packages: 1629 pm: pacman pkgs: 1541 libs: 428 tools: pamac pm: flatpak
  pkgs: 84 pm: snap pkgs: 4 Shell: Bash v: 5.2.21 running-in: xfce4-terminal
  inxi: 3.3.31 

It’s an old laptop I know…

It’s a very colouful theme, indeed; perhaps too much for my tired eyes.

Inxi: No need, although it might be helpful to someone. I’m not familiar with Alacritty; or, at least, not familiar enough to offer advice with it. I tried it once on macOS, and it (or I) failed miserably, and I haven’t looked at it again.

Good luck.

I edited and provided the inxi output above if you still wanna look into it.

just remove the keys complained about and that’s it

Do I also remove the line [colors] before author = "dr460nf1r3" or just leave it there?
To my understanding the offending lines are:
theme = "Garuda.dr460nized"
author = "dr460nf1r3"
name = "Garuda (dr460nized)"

Try commenting the lines (not the header) with # and see what happens. You might also consider finding an updated theme (suitable for TOML), which your Garuda.dr460nized theme doesn’t seem to be.

The error message itself gives the command to migrate to the newer format alacritty migrate. The new configuration file should then have a .toml extension, I’m guessing.

I think you can likely download a similar colour theme, and perhaps edit its configuration file to reflect the dr460nized theme colours, though alacritty / alacritty-theme seems to have plenty to choose from otherwise, along with instructions.

I found An Example and Concise Guide to Alacritty Configuration through TOML, which might also be useful.

Beyond this, I have nothing more to offer. Good luck.

Aside:- You might consider obtaining more RAM for this machine, if possible. 4GB is insufficient. 8GB would be preferable for Manjaro.

1 Like

Thanks for the help, I’m gonna just backup the TOML config file and proceed with the changes.
As for the RAM, Manjaro XFCE works very well even with only 4 GB of RAM, much snappier than Windows 10 or even Windows 8.1
Since support for many apps will end (or ended) on Windows 8.1 (Steam one of them) I started migrating to Manjaro almost 4 years ago, I droped Windows entirely almost 2 years now.

I commented the offending lines on alacritty.toml with # and no more warnings, thank you all for the help.

Click the tick under the post you feel helped you the most, and then this thread can be closed. Cheers.

1 Like

More than one post helped me out!
Thank you cscs, nikgnomic and soundofthunder specially, I can tick only one tho.
Anyways thank you guys so much!

1 Like

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