Closed skunkfox closed 1 year ago
I just tried this on a different laptop, I upgraded my other laptop with yay and the same thing happened.
err: config.c:409: /home/fox/.config/sway/foot/fonts.ini:15: [main].dpi-aware: auto: invalid boolean value
From the changelog:
dpi-aware
now defaults to no
, and the auto
value has been removed.I.e, if the configuration explicitly sets dpi-aware=auto
(instead of relying on its default value), foot will no longer launch. Change it to either yes
or no
, depending on what you want.
Thanks for the response. I actually did previously try removing the dpi-aware line but didn't notice it made a difference. After your reply I tried both options but I'm still seeing the same issue:
sway cat foot/fonts.ini
## Copyright (C) 2020-2022 Aditya Shakya <adi1090x@gmail.com>
##
## --------------------------------------------------
font=JetBrainsMono Nerd Font:size=8
#font-bold=JetBrainsMono Nerd Font:size=8
#font-italic=JetBrainsMono Nerd Font:size=8
#font-bold-italic=JetBrainsMono Nerd Font:size=8
#line-height=10
#letter-spacing=0
#horizontal-letter-offset=0
#vertical-letter-offset=0
#underline-offset=0
#box-drawings-uses-font-glyphs=no
dpi-aware=no
sway ./scripts/terminal
warn: wayland.c:1493: fractional scaling not available
warn: wayland.c:1501: no server-side cursors available, falling back to client-side cursors
err: wayland.c:1381: failed to read events from the Wayland socket: Broken pipe
err: wayland.c:1980: failed to roundtrip Wayland display: Broken pipe
err: wayland.c:1980: failed to roundtrip Wayland display: Broken pipe
err: wayland.c:1980: failed to roundtrip Wayland display: Broken pipe
err: wayland.c:1945: failed to flush wayland socket: Broken pipe
sway cat foot/fonts.ini
## Copyright (C) 2020-2022 Aditya Shakya <adi1090x@gmail.com>
##
## --------------------------------------------------
font=JetBrainsMono Nerd Font:size=8
#font-bold=JetBrainsMono Nerd Font:size=8
#font-italic=JetBrainsMono Nerd Font:size=8
#font-bold-italic=JetBrainsMono Nerd Font:size=8
#line-height=10
#letter-spacing=0
#horizontal-letter-offset=0
#vertical-letter-offset=0
#underline-offset=0
#box-drawings-uses-font-glyphs=no
dpi-aware=yes
sway ./scripts/terminal
warn: wayland.c:1493: fractional scaling not available
warn: wayland.c:1501: no server-side cursors available, falling back to client-side cursors
err: wayland.c:1381: failed to read events from the Wayland socket: Broken pipe
err: wayland.c:1980: failed to roundtrip Wayland display: Broken pipe
err: wayland.c:1980: failed to roundtrip Wayland display: Broken pipe
err: wayland.c:1980: failed to roundtrip Wayland display: Broken pipe
err: wayland.c:1945: failed to flush wayland socket: Broken pipe
I am pleased to say that after a recent update this issue no longer occurs.
Basically what it says on the tin. I don't remember the last time I logged into my machine and noticed that I can't open up the terminal with mod+enter I updated all my packages (yay -Syyu) and I still can't. I can launch foot directly from the menu (mod+d) as well as alacritty. I noticed I have the following in my sway config:
None of the shortcuts under the 'Terminal' section function. If I inspect ~/.config/sway/scripts/terminal I find:
And If I launch the script directly from Alacritty I see:
Any ideas? Google has been non-helpful so far. Let me know if there is anything else I can provide.