Home liberachat/#xmonad: Logs Calendar

Logs on 2022-04-03 (liberachat/#xmonad)

00:35:58 × benin quits (~benin@183.82.204.110) (Ping timeout: 260 seconds)
01:28:48 mvk joins (~mvk@2607:fea8:5ce3:8500::3800)
02:04:38 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 260 seconds)
02:24:47 banc joins (banc@gateway/vpn/airvpn/banc)
03:37:31 benin joins (~benin@183.82.204.110)
04:31:00 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
04:32:09 <anon_kun600[m]> geekosaur: I only used a small example config with some explanations for how everything worked, it seems its a little outdated since I get some error on startup, also with errors I have to highlight the text to make it appear since I guess I need to change the basic color but other than that it seems to work.
04:43:42 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
04:53:21 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 256 seconds)
05:13:38 × benin quits (~benin@183.82.204.110) (Ping timeout: 246 seconds)
05:26:14 benin joins (~benin@183.82.204.110)
05:31:00 × mvk quits (~mvk@2607:fea8:5ce3:8500::3800) (Ping timeout: 240 seconds)
05:32:23 <abastro[m]> I wonder why there are not so many tutorials pointing out that PATH needs to be set up. I used to struggle a lot at some errors, and it turns out to be from "xmonad not on PATH" issues.
05:37:35 <Solid> installing with stack or cabal puts the xmonad executable into a non-standard (i.e., probably not already in your $PATH) directory
05:37:55 <Solid> many display managers have trouble finding it in that case
05:44:03 <abastro[m]> Indeed, and I could not find the help around that
05:44:42 <abastro[m]> In fact, while currently I have it solved, when I was wondering and searching I could not find the culprit for months. Is this documented somewhere?
05:47:55 <Solid> it should be in INSTALL
05:55:37 <abastro[m]> Oh, it says that "Make sure to add that directory to your $PATH". Tho it does not specify how. Given how startup shell is different from terminal emulators, wouldn't it better to specify it with more details?
05:57:42 <abastro[m]> Like putting command to update $PATH in `.xsession`
05:58:55 <abastro[m]> For me, `xmonad` worked well in terminal emulators because `.bashrc` took care of it. However, it does not apply to .xsessions
06:05:27 <Solid> I think it goes into quite some detail in https://xmonad.org/INSTALL.html#make-xmonad-your-window-manager
06:05:31 <Solid> what do you think is missing?
06:09:30 <abastro[m]> IIRC, simply `exec xmonad` does not work there. You need to manually change PATH variable beforehand.
06:09:50 <abastro[m]> PATH update at `~/.bashrc` does not apply there.
06:11:25 <Solid> I see
06:11:41 <Solid> I don't use a display manager but if you want to open a PR with a doc fix that would be greatly appreciated!
06:18:57 <abastro[m]> Yep, perhaps it only applies my case though, so I'll first put in the case about my setup (ubuntu - gdm) first.
07:29:00 iqubic joins (~iqubic@2601:602:9502:c70:1794:2be1:4637:cbf5)
07:29:17 <iqubic> How does one set their default mouse cursor when using XMonad?
07:35:00 <Yehoshua> With xsetroot
07:36:20 <iqubic> Thanks.
07:36:52 × iqubic quits (~iqubic@2601:602:9502:c70:1794:2be1:4637:cbf5) (Quit: Client closed)
07:40:38 iqubic joins (~iqubic@2601:602:9502:c70:1794:2be1:4637:cbf5)
07:41:25 <iqubic> Is it fine to just put an xsetroot in my .xinitrc, or do I need to do something more fancy for xmonad to pick up my new cursor?
07:55:22 × x88x88x quits (~x88x88x@149.28.53.172) (Quit: ZNC - https://znc.in)
09:00:06 × GustavoNasciment quits (~gutsvaomm@2001:470:69fc:105::1:cfca) (Quit: You have been kicked for being idle)
09:00:09 × M5271[m] quits (~fivetwose@2001:470:69fc:105::1:d0e7) (Quit: You have been kicked for being idle)
09:00:11 × liskin[m] quits (~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle)
09:00:45 x88x88x joins (~x88x88x@2001:19f0:5:39a8:5400:3ff:feb6:73cb)
09:47:39 <Solid[m]> you can just put it into your xinitrc
10:03:13 × Natch quits (~natch@c-67bae255.014-297-73746f25.bbcust.telenor.se) (Remote host closed the connection)
10:05:37 <geekosaur> abastro[m], how you set up $PATH depends on how your session is set up and to some extent on what system you're on; it rapidly becomes a bit of a mess
10:05:52 liskin[m] joins (~liskinmat@2001:470:69fc:105::768)
10:08:36 Natch joins (~natch@c-67bae255.014-297-73746f25.bbcust.telenor.se)
10:57:40 <geekosaur> anon_kun600[m], you can pastebin your config and we can look it over
10:57:44 <geekosaur> @where paste
10:57:44 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
10:59:45 <MrElendig> iqubic: consider using XMonad.Util.Cursor
13:46:09 <Ether[m]> How do I toggle monocle with Mod and f?
13:46:46 <Ether[m]> Rather than Mod-f for full screen I would like to use monocle layout.
13:57:52 mekeor[m] joins (~mekeormat@2001:470:69fc:105::17e4)
13:58:10 <mekeor[m]> hello fellows :)
13:58:39 <mekeor[m]> my XMonad.Prompt won't show up anymore. how can i debug this?
14:06:38 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
14:08:21 <Solid> mekeor[m]: check your xsession.errors or similar (though when the prompt doesn't show up at all it's almost always a font issue)
14:08:31 <Solid> Ether[m]: what's the monocle layout?
14:36:50 <mekeor[m]> Solid: i set `XPC { font = "xft:Hack:pixelsize=12", ... }` and i have the Hack font installed as confirmed with fc-list. also, my ~/.local/share/xorg/Xorg.0.log does not show any errors when i try to invoke my prompt :/
14:39:09 mekeor[m] wonders why files called "-no-pie" keep occuring in ~/.xmonad
14:41:03 mc47 joins (~mc47@xmonad/TheMC47)
14:41:30 <vrs> proto-indoeuropean locale sounds unlikely
14:44:34 <mekeor[m]> ah, it was occuring every time i ran ~/.xmonad/build myself manually -- without passing xmonad-x86_64-linux as first cli-parameter
14:45:18 <mekeor[m]> anyway, my prompt is still not showing up. hm
14:49:53 <geekosaur> Xorg.0.log won't be the place to look, that's the server log and xft: designates a client-sidefont
14:50:04 <geekosaur> you want your session log (often ~/.xsession-errors)
15:21:00 <mekeor[m]> thank you. for me, my logs were actually stdout because i call `xinit` directly. it stated that there was a problem with my xpc-config. instead of defining from scratch myself, i switched to update the default implementation `def` per update-syntax. it works now, yay! :)
15:22:13 <geekosaur> it didn't tell you what the problem was?
15:30:43 <mekeor[m]> it did. that my xpc-config was missing a field and it also told me the fields name :)
15:31:23 <Solid> so it was a compilation error?
15:32:02 <Solid> oh, you might be able to construct partial records if fields are non-strict
15:32:09 <Solid> which would then fail at runtime
15:33:09 <abastro[m]> Oh.. haskell records..
15:35:43 <Solid> are you going to elaborate on that or...? :)
15:39:03 <abastro[m]> * haskell records.. why do you let us to shoot on foot by allowing undefined fields
15:39:26 <Solid> there's probably at least a warning emitted there
15:39:37 <Solid> (definitely with -Wall)
15:39:49 <Solid> but most people just compiling their xmonad configs don't care too much about that ;)
15:41:40 <abastro[m]> Yep, indeed
15:41:40 <abastro[m]> Even -W is easy to miss for average user
15:41:43 <mekeor[m]> Solid: exactly, fields were non strict.
15:43:11 mekeor[m] adds -Wall to build-script
15:44:39 <abastro[m]> I wonder if -Werror would help or undermine
15:44:59 <Solid> I've wondered whether we should add -XStrictData to the build options a few times
15:45:10 <Solid> surely any breakage that it would cause would be a bug
16:00:06 × AngryBromide[m] quits (~angrybrom@2001:470:69fc:105::1:cfb3) (Quit: You have been kicked for being idle)
16:00:13 × liskin[m] quits (~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle)
16:09:01 superusercode[m] joins (~sudousrco@2001:470:69fc:105::1:ee77)
16:21:27 superusercode[m] is now known as superusercode
16:30:36 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 272 seconds)
16:52:51 × iqubic quits (~iqubic@2601:602:9502:c70:1794:2be1:4637:cbf5) (Quit: Client closed)
17:05:01 <geekosaur> Solid, no actually. we already have a few cases where we warn people to use hacky workarounds for strict fields because you end up with a cycle otherwise (see for example https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Util-EZConfig.html#v:checkKeymap)
17:05:16 liskin[m] joins (~liskinmat@2001:470:69fc:105::768)
17:24:50 × superusercode quits (~sudousrco@2001:470:69fc:105::1:ee77) (Quit: Reconnecting)
17:25:04 superusercode joins (~sudousrco@2001:470:69fc:105::1:ee77)
17:27:51 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
17:30:06 <Solid> huh interesting
17:30:27 <Solid> but I don't suppose we have many mutually recursive fields in contrib
17:31:15 <geekosaur> none by default, but you do have to watch out for that with the strict fields
17:31:38 <geekosaur> (note that strict is only t WHNF which is why a simple `return ()` works as a loop-breaker)
17:31:55 mc47 joins (~mc47@xmonad/TheMC47)
18:05:27 rekahsoft joins (~rekahsoft@cpe001b21a2fd89-cm64777ddc63a0.cpe.net.cable.rogers.com)
18:46:03 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
19:16:02 × rekahsoft quits (~rekahsoft@cpe001b21a2fd89-cm64777ddc63a0.cpe.net.cable.rogers.com) (Read error: Connection reset by peer)
19:16:26 rekahsoft joins (~rekahsoft@cpe001b21a2fd89-cm64777ddc63a0.cpe.net.cable.rogers.com)
19:20:36 mvk joins (~mvk@2607:fea8:5ce3:8500::3800)
19:56:48 × mvk quits (~mvk@2607:fea8:5ce3:8500::3800) (Ping timeout: 260 seconds)
22:09:36 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
22:25:32 srk- joins (~sorki@user/srk)
22:28:23 × srk quits (~sorki@user/srk) (Ping timeout: 260 seconds)
22:28:26 srk- is now known as srk
22:29:13 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
22:30:53 geekosaur joins (~geekosaur@xmonad/geekosaur)
22:42:16 srk- joins (~sorki@user/srk)
22:45:23 × srk quits (~sorki@user/srk) (Ping timeout: 260 seconds)
22:45:23 srk- is now known as srk
23:29:44 steve_ joins (~steve@ool-182c2b80.dyn.optonline.net)
23:58:58 × jludwig quits (~justin@user/jludwig) (Quit: ZNC - https://znc.in)
23:59:58 jludwig joins (~justin@user/jludwig)

All times are in UTC on 2022-04-03.