rrogalski has quit [Quit: Quit: Dog probably tripped over power cord again.]
rrogalski has joined #foot
jmcantrell has joined #foot
Arnavion has quit []
Arnavion has joined #foot
sevz has quit [Quit: Client quit]
rrogalski has quit [Read error: Connection reset by peer]
rrogalski has joined #foot
chomwitt has joined #foot
alexherbo2 has joined #foot
romildo has joined #foot
<romildo>
When trying to launch foot with sudo in labwc, I am getting the error:
<romildo>
$ sudo -A foot
<romildo>
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
<romildo>
err: wayland.c:1456: failed to connect to wayland; no compositor running?
<romildo>
Other terminals work. Any clues?
<dutchie>
the error indicates that foot needs the XDG_RUNTIME_DIR environment variable to work, so you could `sude --preserve-env=XDG_RUNTIME_DIR`. but i'm not sure that will do what you want. perhaps `foot sudo -Ai` or something might be better
<dutchie>
if you want a foot instance with a root shell
<Consolatis>
romildo: I'd rather start foot normally and then execute sudo -i within foot. Can also be given as startup argument, so foot sudo -i
rlikon has quit [Remote host closed the connection]
<romildo>
Preserving XDG_RUNTIME_DIR works. Also using the -i option to sudo.
<romildo>
Thanks.
romildo has quit [Quit: Leaving]
chiselfuse has quit [Ping timeout: 240 seconds]
chiselfuse has joined #foot
chomwitt has quit [Ping timeout: 256 seconds]
romildo has joined #foot
xenrox has quit [Ping timeout: 240 seconds]
romildo has quit [Quit: Leaving]
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #foot
hexa- has quit [Quit: WeeChat 4.1.1]
hexa- has joined #foot
ahesford has joined #foot
alexherbo2 has quit [Remote host closed the connection]
<ahesford>
I'm noticing some weird interplay with initial-window-size-chars and fractional scaling, and I'm hoping for some guidance on fixing the behavior
<ahesford>
I have font=Hack:size=9, initial-window-size-chars=90x30, and two displays with scale 1.5
<ahesford>
opening a foot instance gives me $LINES == 29, $COLUMNS == 85
<ahesford>
if I change to scale 1 or scale 2, the window is properly sized
<ahesford>
if I set dpi-aware = yes, the window is properly sized
<ahesford>
if I go back to scale 1.5 and dpi-aware = no, but change font to Hack:size=8.5, I get 94x30
<ahesford>
I'm thinking render.c lines 3969--70 have the wrong logic
<ahesford>
hrm, maybe not
xenrox has joined #foot
<ahesford>
this seems to be a race with fractional scaling