Home liberachat/#xmonad: Logs Calendar

Logs on 2022-11-21 (liberachat/#xmonad)

00:25:56 mncheck joins (~mncheck@193.224.205.254)
00:26:55 × mncheck quits (~mncheck@193.224.205.254) (Remote host closed the connection)
01:05:40 mvk joins (~mvk@2607:fea8:5ce3:8500::efb)
01:05:55 × mvk quits (~mvk@2607:fea8:5ce3:8500::efb) (Client Quit)
01:08:24 <xmonadtrack> New xmonad-contrib branch created: pull/781 (1 commit) https://github.com/xmonad/xmonad-contrib/pull/781
01:32:44 <liskin> Uh wtf. The Firefox bug report is 7 years old, and full screen worked with Firefox for quite a while
01:33:51 <liskin> So rather than trying to get this new thing perfect, why don't we step back and figure out why suddenly Firefox doesn't work
01:33:59 srz joins (~srz@181.228.49.93)
01:46:18 <geekosaur> I was wondering why FF would suddenly start caring when at tis point EWMH is basically DOA
01:46:25 <geekosaur> *this
02:20:06 × srz quits (~srz@181.228.49.93) (Remote host closed the connection)
03:03:39 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 260 seconds)
03:05:44 × td_ quits (~td@83.135.9.29) (Ping timeout: 256 seconds)
03:07:12 td_ joins (~td@83.135.9.24)
03:24:09 banc joins (banc@gateway/vpn/airvpn/banc)
03:42:24 × terrorjack quits (~terrorjac@2a01:4f8:1c1e:509a::1) (Quit: The Lounge - https://thelounge.chat)
03:45:00 terrorjack joins (~terrorjac@2a01:4f8:1c1e:509a::1)
03:54:12 noex joins (~null@user/noex)
04:02:47 × td_ quits (~td@83.135.9.24) (Ping timeout: 260 seconds)
04:04:14 td_ joins (~td@83.135.9.7)
04:50:57 DangerBird joins (~DangerBir@dhcp-v215-170.vp.reshsg.uci.edu)
04:51:28 × DangerBird quits (~DangerBir@dhcp-v215-170.vp.reshsg.uci.edu) (Client Quit)
04:57:11 DangerBird joins (~DangerBir@dhcp-v215-170.vp.reshsg.uci.edu)
04:57:52 × DangerBird quits (~DangerBir@dhcp-v215-170.vp.reshsg.uci.edu) (Client Quit)
04:58:35 DangerBird joins (~DangerBir@dhcp-v215-170.vp.reshsg.uci.edu)
04:58:48 × DangerBird quits (~DangerBir@dhcp-v215-170.vp.reshsg.uci.edu) (Remote host closed the connection)
04:59:17 DangerBird joins (~DangerBir@dhcp-v215-170.vp.reshsg.uci.edu)
04:59:45 × DangerBird quits (~DangerBir@dhcp-v215-170.vp.reshsg.uci.edu) (Remote host closed the connection)
05:00:32 DangerBird joins (~DangerBir@dhcp-v215-170.vp.reshsg.uci.edu)
05:00:55 × DangerBird quits (~DangerBir@dhcp-v215-170.vp.reshsg.uci.edu) (Remote host closed the connection)
05:02:25 DangerBird joins (~DangerBir@dhcp-v215-170.vp.reshsg.uci.edu)
05:03:49 × DangerBird quits (~DangerBir@dhcp-v215-170.vp.reshsg.uci.edu) (Remote host closed the connection)
05:10:37 DangerBird joins (~DangerBir@dhcp-v215-170.vp.reshsg.uci.edu)
05:10:52 × DangerBird quits (~DangerBir@dhcp-v215-170.vp.reshsg.uci.edu) (Remote host closed the connection)
06:42:45 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 260 seconds)
08:19:18 × ft quits (~ft@p508dbd59.dip0.t-ipconnect.de) (Quit: leaving)
08:46:34 cfricke joins (~cfricke@user/cfricke)
11:05:23 × mightybyte quits (~mightybyt@ec2-52-201-220-249.compute-1.amazonaws.com) (Read error: Software caused connection abort)
11:05:38 mightybyte joins (~mightybyt@ec2-52-201-220-249.compute-1.amazonaws.com)
13:39:03 thunderrd joins (~thunderrd@183.182.110.138)
14:27:54 <kora9> Hmm. I've set Xmessage*font (to the proper font/size) in .Xresources but xmonad error logs still shows up with too small a font size. Running `xmessage test` in a terminal shows the font size I set just fine. I `xrdb -merge .Xresources` before `exec xmonad` in my .xinitrc -- any ideas what the issue is?
14:30:59 srz joins (~srz@181.228.49.93)
14:37:06 <geekosaur> xmonad passes an explicit fontset on the command line; see https://github.com/xmonad/xmonad/blob/master/src/XMonad/Core.hs#L463
14:39:06 <kora9> geekosaur: That explains a lot! To modify this behaviour, do I just copy that section into my config and modify it?
14:39:38 <geekosaur> there is, sadly, no good way to handle this in general; we need to specify a fontset so it gets the right i18n behavior, but then it also fixes the font size
14:39:59 <geekosaur> this is why newer stuff uses fontconfig instead
14:40:30 <geekosaur> you would have to copy the whole recompile logic, I think 😞
14:41:03 <kora9> geekosaur: jeez! This is the first time I've run into a limitation in Xmonad's config I think :) I guess it was bound to happen sooner or later
14:41:39 <geekosaur> well, it's not a complete loss; you can ignore the xmessage and look in xmonad.errors afterward
14:42:36 <geekosaur> we should really consider upgrading to a better message display at some point; we used xmessage because when xmonad was written it was the only message program guaranteed to be installed, but these days that's no longer true
14:43:22 <Solid[m]> liskin: mh, are we sure there _is_ a problem with firefox fullscreen? Maybe they just used that as an example to give their PR more weight
14:43:38 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.7.1)
14:43:52 <Solid[m]> In https://github.com/xmonad/xmonad-contrib/issues/771 they talked about needing those changes for an application of theirs, so maybe this PR is similar
14:45:59 <kora9> geekosaur: Yeah, the issue I'm having with xmessage is that I'm on a high DPI display so I have to use xrandr dpi/scale workarounds to get a proper size, which unfortunately means I need to modify the fonts in the applications instead
14:46:55 <kora9> If xmonad switched to an application that respected the dpi setting it wouldn't be as much of an issue
14:49:29 <geekosaur> I personally use a wrapper for zenity, which has its shortcomings but I expect it would respect dpi. https://github.com/geekosaur/xmonad.hs/blob/skkukuk/xmessage
14:50:03 <kora9> geekosaur, thanks! I'll give that a try :)
14:50:09 <geekosaur> just noticed I could simplify things too, there's an XMONAD_XMESSAGE envar 🙂 but it still has to accept xmessage-style parameters so you can't just set it to zenity
14:55:47 <kora9> geekosaur: Does that env var accept xmessage -fn for font size?
14:56:24 <geekosaur> no, it still passes the fontset which overrides the font size
14:56:39 <kora9> argh :)
15:08:02 Ehllie joins (~Thunderbi@217-67-208-66.itsa.net.pl)
15:24:30 × Ehllie quits (~Thunderbi@217-67-208-66.itsa.net.pl) (Ping timeout: 240 seconds)
15:34:03 Ehllie joins (~Thunderbi@217-67-208-66.itsa.net.pl)
15:46:34 × Ehllie quits (~Thunderbi@217-67-208-66.itsa.net.pl) (Ping timeout: 268 seconds)
15:46:57 srk- joins (~sorki@user/srk)
15:49:29 clu joins (~clu@user/varjax)
15:50:12 × srk quits (~sorki@user/srk) (Ping timeout: 248 seconds)
15:50:12 srk- is now known as srk
15:58:58 <kora9> geekosaur: How do you use your xmessage wrapper? Do you replace the system-wide binary with it? I've tried sticking it in my $HOME/.local/bin and setting XMONAD_XMESSAGE="/.local/bin/xmessage" but that didn't work (Sorry, I'm not extremely knowledgable)
16:00:22 × elpfen[m] quits (~elpfenmat@2001:470:69fc:105::2:a75f) (Quit: You have been kicked for being idle)
16:09:56 <geekosaur> I currently stick it somewhere in front of /usr/bin in $PATH, but if you use XMONAD_XMESSAGE you need to (a) make sure the new xmessage is executable (chmod +x) and (b) use a full path to it in XMONAD_XMESSAGE
16:10:15 <geekosaur> what you have is not a full path, there is probably no /.local on your system
16:10:46 <geekosaur> /home/kora9/.local/bin/xmessage (or whatever your username is in place of kora9)
16:29:09 <kora9> geekosaur: Ah, yeah I mistyped on the path. I used "$HOME/.local/bin/xmessage" -- but xmonad is still using regular xmessage for some reason
16:29:37 <kora9> echo $XMONAD_XMESSAGE returns "/home/kora9/.local/bin/xmessage"
16:29:57 <kora9> I put it next to my other XMONAD vars which works
16:30:58 × srz quits (~srz@181.228.49.93) (Ping timeout: 256 seconds)
16:34:22 <geekosaur> hm. it'll do that if it doesn't understand the parameters passed to it, so it doesn't break non-xmonad uses of xmessage, but it should work for that
16:35:30 <geekosaur> whoops, I was going to do a quick test but it's recompiling everything instead…
16:35:58 <geekosaur> (my test might not work anyway as I use a build script and cabal, and cabal sends output to the wrong place)
16:37:09 <kora9> geekosaur: Ah, I'm just intentionally making an error in my xmonad.hs and reloading to test the xmessage error prompt
16:37:27 <geekosaur> yeh, I did the same
16:37:44 <geekosaur> but my setup is a lot more complex
16:39:55 <geekosaur> in particular, I use dbus to log to mate-panel and dbus depends on both conduit and lens so I have half of hackage as dependencies 🙂
16:44:17 <kora9> geekosaur: Cool, so you use mate-panel instead of the more common panels (xmobar etc)? Got any screenshots?
16:44:59 <geekosaur> I run xmonad as window manager for MATE, and maintain the support for it
16:46:14 <geekosaur> https://imgur.com/VhaT5Fz.png
16:48:00 <kora9> geekosaur: That's pretty neat! Why do you do that? Are there any advantages vs something like xmobar?
16:48:22 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
16:51:50 × ml| quits (~ml|@user/ml/x-5298235) (Ping timeout: 268 seconds)
17:00:19 <geekosaur> I just prefer having a full desktop environment including panel
17:00:31 <geekosaur> and I'm not particularly fond of xmobar
17:00:42 × gknux quits (~gknux@user/galaxy-knuckles/x-3015990) (Quit: ....and i am outta here....)
17:01:18 <geekosaur> also my build just finished and my xmessagte fell back to the standard one, so apparently I need to adjust the parameter checking again, sorry 😞
17:02:12 <kora9> geekosaur: np :)
17:02:13 gknux joins (~gknux@user/galaxy-knuckles/x-3015990)
17:02:45 × gknux quits (~gknux@user/galaxy-knuckles/x-3015990) (Remote host closed the connection)
17:03:04 <geekosaur> ironically, it seems to be the fontset it's falling over on
17:05:49 gknux joins (~gknux@user/galaxy-knuckles/x-3015990)
17:06:57 <geekosaur> typo, it seems, I was looking for "fontset" but it's "fontSet"
17:07:54 × gknux quits (~gknux@user/galaxy-knuckles/x-3015990) (Client Quit)
17:09:27 <geekosaur> okay, I just pushed it after verifying it runs zenity. I may need to adjust a bit more though as it comes up really narrow
17:09:30 gknux joins (~gknux@user/galaxy-knuckles/x-3015990)
17:10:08 <geekosaur> oh, I don't set the width, so it's something zenity is doing. sigh
17:10:29 <geekosaur> at one point I was computing a width but that was nonviable as I had to guess at the font width
17:12:12 <kora9> geekosaur: Cool, I'll check it out in a bit :)
17:25:00 srz joins (~srz@181.228.49.93)
18:00:26 <liskin> Solid[m]: of course we're not sure, that's my whole point
18:00:53 <liskin> But I've been away from a laptop for ages so can't really write a meaningful comment there
18:26:45 Ehllie joins (~Thunderbi@79.184.239.57.ipv4.supernova.orange.pl)
18:31:06 × Ehllie quits (~Thunderbi@79.184.239.57.ipv4.supernova.orange.pl) (Ping timeout: 256 seconds)
18:40:05 diep joins (~diep@2a01:cb11:2d7:4a00:b230:54de:5188:7aeb)
19:25:35 × zawaken quits (~zawaken@user/zawaken) (Quit: ZNC - https://znc.in)
19:27:16 zawaken joins (~zawaken@user/zawaken)
19:29:30 <kora9> geekosaur: Hmm, grabbed your latest xmessage and it's now not displaying anything at all (no zenity or xmessage fallback)
19:31:27 × diep quits (~diep@2a01:cb11:2d7:4a00:b230:54de:5188:7aeb) (Ping timeout: 260 seconds)
19:35:00 <geekosaur> 😞
19:35:09 <geekosaur> does your zenity support --no-markup ?
19:36:51 <kora9> geekosaur: It's in the manpage so I assume so
19:37:03 <kora9> I have zenity v3.42.1
19:40:04 <geekosaur> hm. can you run manually: zenity --no-markup --title=xmessage --class=Xmessage --name=xmessage --text-info --filename=/path/to/xmonad.errors ? (change the path obviously)
19:40:20 <geekosaur> it works here but I wonder if yours has different usage
19:40:59 <geekosaur> I have 3.32.0 since ubuntu is debian based
19:42:55 <kora9> geekosaur: Yeah, works fine when I do it manually
19:43:18 <kora9> I'll try switching out the system-wide xmessage bin just to rule out the env var being the issue
19:45:21 <kora9> That didn't work either
19:45:53 <kora9> geekosaur: Perhaps it's the perl version?
19:46:06 <geekosaur> shouldn't be
19:46:06 <kora9> I'm on perl 5.34.1
19:46:13 <geekosaur> this is very portable perl
19:46:38 <geekosaur> I'm on 5.30.0
19:46:44 <kora9> Ah. I'm on Fedora, not sure if it does something very different from Ubuntu
19:48:08 ft joins (~ft@p508dbd59.dip0.t-ipconnect.de)
19:48:15 <kora9> geekosaur: I see that the file references a "xmessages-wrapper" is that what you've named it? I just named it xmessages since that was the file on github
19:49:44 <geekosaur> that's it's "proper" name, but it's kinda useless unless it's named "xmessage". that is mostly so errors /; warnings from the wrapper can be distinguished from those by xmessage itself, since it will find and run the real xmessage if it decides it doesn't understand the parameters rather than possibly mangle someone's output
19:51:01 <kora9> geekosaur: Got it to work, it was my fault it seems. When I pasted the file I missed the initial # in the perl shebang
19:51:04 <kora9> Sorry about that :)
19:51:53 <kora9> Now it's working fine, this really helps! Thanks for the script!
19:52:30 <geekosaur> you're welcome
20:14:23 × srz quits (~srz@181.228.49.93) (Ping timeout: 260 seconds)
20:19:30 diep joins (~diep@2a01:cb11:2d7:4a00:b230:54de:5188:7aeb)
20:39:51 × gknux quits (~gknux@user/galaxy-knuckles/x-3015990) (Quit: ....and i am outta here....)
20:42:12 gknux joins (~gknux@user/galaxy-knuckles/x-3015990)
21:05:23 mc47 joins (~mc47@xmonad/TheMC47)
21:27:53 × diep quits (~diep@2a01:cb11:2d7:4a00:b230:54de:5188:7aeb) (Remote host closed the connection)
21:37:45 Ehllie joins (~Thunderbi@79.184.239.57.ipv4.supernova.orange.pl)
22:00:19 Ehllie1 joins (~Thunderbi@79.184.239.57.ipv4.supernova.orange.pl)
22:00:34 × Ehllie quits (~Thunderbi@79.184.239.57.ipv4.supernova.orange.pl) (Ping timeout: 260 seconds)
22:00:34 Ehllie1 is now known as Ehllie
22:05:14 × Ehllie quits (~Thunderbi@79.184.239.57.ipv4.supernova.orange.pl) (Ping timeout: 260 seconds)
22:18:28 × clu quits (~clu@user/varjax) (Ping timeout: 248 seconds)
22:18:32 srz joins (~srz@181.228.49.93)
22:31:24 × srz quits (~srz@181.228.49.93) (Remote host closed the connection)
22:35:31 srz joins (~srz@181.228.49.93)
22:37:48 Ehllie joins (~Thunderbi@79.184.239.57.ipv4.supernova.orange.pl)
22:42:34 × Ehllie quits (~Thunderbi@79.184.239.57.ipv4.supernova.orange.pl) (Ping timeout: 260 seconds)
22:49:59 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
23:07:30 zawaken- joins (~zawaken@user/zawaken)
23:09:20 × zawaken quits (~zawaken@user/zawaken) (Ping timeout: 268 seconds)
23:12:14 × zawaken- quits (~zawaken@user/zawaken) (Client Quit)
23:14:09 zawaken joins (~zawaken@user/zawaken)
23:15:54 × zawaken quits (~zawaken@user/zawaken) (Client Quit)
23:19:29 zawaken joins (~zawaken@user/zawaken)
23:28:16 × aliosablack quits (~chomwitt@2a02:587:7a08:f700:1ac0:4dff:fedb:a3f1) (Ping timeout: 252 seconds)
23:33:11 × zawaken quits (~zawaken@user/zawaken) (Quit: ZNC - https://znc.in)
23:34:51 zawaken joins (~zawaken@user/zawaken)
23:37:04 c209e6dc-4d76-47 joins (~aditya@2601:249:4300:1296:195:dac6:592c:a55a)
23:48:26 × zawaken quits (~zawaken@user/zawaken) (Quit: ZNC - https://znc.in)
23:49:15 zawaken joins (~zawaken@user/zawaken)

All times are in UTC on 2022-11-21.