alacritty: "unable to locate config file" error on config file save, does not seem to apply completely
Steps to Reproduce
- Copy example config file
cp /extra/alacritty.yml ~/.config/alacritty/alacritty.yml
- Run alacritty with verbose logging
alacritty -vv
- Open config file
vi ~/.config/alacritty/alacritty.yml
- Save config file (with no modifications)
:w
:x
Expected
- Config file saves, no error shows in verbose log output
Actual
- Config file saves, error shows in verbose log output
System
OS: Linux Version: alacritty 0.12.0 (5a728195) Linux/BSD: XFCE/xfwm4
Logs
crunxxi@xXxXx:~$ alacritty -vv
Created log file at "/tmp/Alacritty-13797.log"
[0.000016337s] [INFO ] [alacritty] Welcome to Alacritty
[0.000332378s] [INFO ] [alacritty] Version 0.12.0 (5a728195)
[0.000384191s] [INFO ] [alacritty] Running on X11
[0.001806901s] [INFO ] [alacritty] Configuration files loaded from:
"/home/crunxxi/.config/alacritty/alacritty.yml"
[0.014769469s] [INFO ] [alacritty] Using GLX 1.4
[0.088174496s] [INFO ] [alacritty] Window scale factor: 1.3333333333333333
[0.090672848s] [DEBUG] [alacritty] Loading "monospace" font
[0.143806126s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Book, load_flags: TARGET_LIGHT, render_mode: "Normal", lcd_filter: 1 }
[0.172269392s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Bold, load_flags: TARGET_LIGHT, render_mode: "Normal", lcd_filter: 1 }
[0.197492792s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Oblique, load_flags: TARGET_LIGHT, render_mode: "Normal", lcd_filter: 1 }
[0.227266386s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Bold Oblique, load_flags: TARGET_LIGHT, render_mode: "Normal", lcd_filter: 1 }
[0.238337938s] [INFO ] [alacritty] Running on Mesa DRI Intel(R) HD Graphics 3000 (SNB GT2)
[0.238404437s] [INFO ] [alacritty] Using OpenGL 3.3 renderer
[0.252063897s] [DEBUG] [alacritty] Filling glyph cache with common glyphs
[0.262175438s] [INFO ] [alacritty] Cell size: 12 x 24
[0.262274935s] [INFO ] [alacritty] Padding: 0 x 0
[0.262289364s] [INFO ] [alacritty] Width: 800, Height: 600
[0.263706459s] [INFO ] [alacritty] PTY dimensions: 25 x 66
[0.268496880s] [INFO ] [alacritty] Initialisation complete
[0.291309140s] [DEBUG] [alacritty_terminal] Term::resize dimensions unchanged
[7.160824224s] [DEBUG] [alacritty_terminal] [unhandled hook] params=[0], ints: [], ignore: false, action: 'z'
[7.160929291s] [DEBUG] [alacritty_terminal] [unhandled put] byte=122
[7.160967480s] [DEBUG] [alacritty_terminal] [unhandled unhook]
[7.161004931s] [DEBUG] [alacritty_terminal] [Unhandled CSI] action='m', params=[0], intermediates=[37]
[13.148710122s] [DEBUG] [alacritty] Reloading configuration file: "/home/crunxxi/.config/alacritty/alacritty.yml"
[13.148966725s] [ERROR] [alacritty_config_derive] Unable to load config "/home/crunxxi/.config/alacritty/alacritty.yml": Unable to locate config file
[13.149139525s] [DEBUG] [alacritty_terminal] New num_cols is 66 and num_lines is 21
[13.149250953s] [INFO ] [alacritty] Padding: 0 x 0
[13.149300150s] [INFO ] [alacritty] Width: 800, Height: 600
[13.224025130s] [DEBUG] [alacritty] Reloading configuration file: "/home/crunxxi/.config/alacritty/alacritty.yml"
[13.225688711s] [DEBUG] [alacritty_terminal] New num_cols is 66 and num_lines is 25
[13.229193607s] [INFO ] [alacritty] Padding: 0 x 0
[13.229293779s] [INFO ] [alacritty] Width: 800, Height: 600
[13.265863808s] [DEBUG] [alacritty] Reloading configuration file: "/home/crunxxi/.config/alacritty/alacritty.yml"
I also tried using a simple config file that works under MacOS (printed below).
The same behavior happens - and the font style and size does not change in Alacritty after saving.
font:
normal:
family: 'Some Font Name'
style: Regular
size: 14
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 20 (9 by maintainers)
It might be good to add this to the README? Ubuntu packages (and likely others) are not updated to 0.13