Home liberachat/#xmonad: Logs Calendar

Logs on 2022-06-10 (liberachat/#xmonad)

00:23:15 doppo joins (~doppo@2604:180::e0fc:a07f)
01:58:32 × mvk quits (~mvk@2607:fea8:5ce3:8500::ba9a) (Ping timeout: 255 seconds)
02:03:16 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 246 seconds)
02:17:16 × td_ quits (~td@94.134.91.150) (Ping timeout: 246 seconds)
02:19:12 td_ joins (~td@94.134.91.132)
02:21:46 banc joins (banc@gateway/vpn/airvpn/banc)
02:41:16 × terrorjack quits (~terrorjac@2a01:4f8:1c1e:509a::1) (Quit: The Lounge - https://thelounge.chat)
02:43:46 terrorjack joins (~terrorjac@2a01:4f8:1c1e:509a::1)
02:45:44 mvk joins (~mvk@2607:fea8:5ce3:8500::ba9a)
03:18:48 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 248 seconds)
04:15:25 chomwitt joins (~chomwitt@2a02:587:dc1f:5600:b0ac:64b:5946:8d06)
05:11:45 liskin already on the way to ZuriHac, awake since 5 am 🥱
05:18:52 benin joins (~benin@183.82.179.200)
05:21:43 <Solid[m]> oh shit
05:21:45 <Solid[m]> get hyped
05:22:03 <Solid[m]> I'll be there at some point 2200 tonight so can't take part in any socialising :/
05:31:37 <liskin> I'll only socialise today with a friend from high school I haven't seen in a while, so I'll miss the opportunity to make early connections too :-/
05:32:40 <liskin> Should have thought about the warm up party earlier and made different plans. Next time. :-)
05:36:38 <Solid> ah yeah it's probably not that big of a deal
05:38:17 <Solid> the fact that ed kmett can't come is sad though, as I won't be able to join the Discord voice channels :/
05:38:24 <Solid> but, as you said, next time :)
05:43:05 <liskin> How does the bridge deal with threads, btw? Do you simply not see any messages in threads or are they mixed together with the channel?
05:44:31 <liskin> (the only active thread right now is the accommodation/camping one with a couple messages near midnight from Tobias et al)
05:45:14 <liskin> I must confess I quite like the way threads are implemented in Discord.
05:47:51 <Solid> I only see one message in #accomodation about Moxy, so my guess is that they're being swallowed
05:50:11 <liskin> That's a bit stupid :-/
05:51:50 <Solid> indeed, but I just hope nothing of interest will be communicated only through threads :)
05:55:24 <Solid> I don't know how heavily digital communication things will be used during the conference anyways
05:55:37 <Solid> surely you'd just walk up to someone?
05:57:48 <liskin> Yeah the important info is out of threads, I just thought it'd be handy for the outdoors/hallway/pub track :-)
06:18:39 Guest67 joins (~Guest67@2607:fea8:7ca0:2270:235d:ef1e:899d:eab2)
06:46:11 alternateved joins (~alternate@217.138.209.85)
06:57:02 cfricke joins (~cfricke@user/cfricke)
07:15:13 trillpoli[m]1 parts (~trillpoli@2001:470:69fc:105::da4e) ()
07:17:31 × thunderrd quits (~thunderrd@183.182.114.81) (Read error: Connection reset by peer)
08:10:08 spaceseller joins (~spacesell@31.147.205.13)
08:11:50 <spaceseller> still cannot find the solution why xmobar does not show on startup but it shows after logout/login.
08:13:25 <spaceseller> I put the ~/.local/bin/xmonad in .bashrc
08:13:57 <spaceseller> as well as in .xinitrc .bashrc_profile, everywhere
08:14:17 <davve_> have you tried spawning it from xmonad?
08:14:30 <davve_> i use polybar and use this to spwan it wehen i log in
08:14:54 <spaceseller> on xmonad 0.17?
08:15:08 <davve_> on 0.15
08:15:25 <davve_> in the startup hook
08:15:52 <lyiriyah[m]> spaceseller: You need to spawn it from xmonad. I recommend reading the tutorial: https://xmonad.org/TUTORIAL.html
08:19:28 <spaceseller> I'm reading that. Looking what exactely you mean spawn
08:20:24 <spaceseller> main :: IO ()
08:20:24 <spaceseller> main = xmonad
08:20:24 <spaceseller> . ewmhFullscreen
08:20:24 <spaceseller> . ewmh
08:20:24 <spaceseller> =<< statusBar "xmobar" def toggleStrutsKey myConfig
08:20:25 <spaceseller> where
08:20:27 <spaceseller> toggleStrutsKey :: XConfig Layout -> (KeyMask, KeySym)
08:20:29 <spaceseller> toggleStrutsKey XConfig{ modMask = m } = (m, xK_b)
08:20:31 <spaceseller> worked fine
08:20:43 <spaceseller> until I changed the version
08:21:23 <spaceseller> i.e. xmonad-git from AUR replaced with git version and compiled with stack
08:21:56 <spaceseller> and then xmonad path ~/.local/bin/
08:22:42 <spaceseller> code stayed the same
08:25:45 <spaceseller> sorry, I pasted the wrong code
08:26:00 <spaceseller> I have this i xmonad.hs
08:27:50 <spaceseller> https://pastebin.com/pnaVnz0Q
08:29:34 <spaceseller> I will be back, need to try something and reboot
08:29:36 × spaceseller quits (~spacesell@31.147.205.13) (Remote host closed the connection)
08:37:08 spaceseller joins (~spacesell@31.147.205.13)
08:37:42 <spaceseller> I'm back, not solved.
08:38:04 <spaceseller> can I see some logs from xmonad?
08:38:30 <spaceseller> it is wierd that logout and login after reboot
08:38:50 <spaceseller> shows up xmobar
08:40:09 <spaceseller> xmobar is in /usr/bin while xmonad is in ~/.local/bin
10:28:00 × spaceseller quits (~spacesell@31.147.205.13) (Remote host closed the connection)
10:31:49 spaceseller joins (~spacesell@31.147.205.13)
10:32:39 <spaceseller> it flashes for a second and dissapears.
10:46:29 × spaceseller quits (~spacesell@31.147.205.13) (Remote host closed the connection)
11:07:02 × alternateved quits (~alternate@217.138.209.85) (Remote host closed the connection)
11:44:23 <davve_> do you guys use xmobar?
11:48:39 spaceseller joins (~spacesell@31.147.205.13)
11:48:54 <geekosaur> spaceseller, logs should be in ~/.xsession-errors
11:49:10 <geekosaur> davve_, I don't, but many people here do
11:49:37 <spaceseller> yea, I found it. and it says:
11:52:19 <spaceseller> https://pastebin.com/Dazvagky
11:55:13 <geekosaur> none of those seem to be fronm xmobar
11:58:43 <spaceseller> I wonder why arch do not have the latest xmonad/xmobar in its repository.
11:59:28 <geekosaur> nobody has it for some reason
11:59:52 <spaceseller> and the reason is?
12:00:04 <geekosaur> the word we hear is haskell maintainers keep abandoning normal distributions for Nix
12:00:45 <Solid> the BSDs have it :)
12:00:56 <spaceseller> uh
12:04:39 <spaceseller> the whole world is running by someone interests?
12:14:00 <spaceseller> I thought that arch is excluded from that. That is why I start with it.
12:22:10 <spaceseller> see you, I must go.
12:22:46 × spaceseller quits (~spacesell@31.147.205.13) (Quit: Leaving)
12:53:07 <geekosaur> @tell spaceseller this is very odd because it actually suggests a bug in lightdm when something behaves that differently between sessions
12:53:07 <lambdabot> Consider it noted.
13:02:07 alternateved joins (~alternate@82.180.151.130)
13:04:49 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
13:28:40 <davve_> is xmobar still being developed?
13:33:38 <geekosaur[m]> Yes and a few of the developers hang out here
13:38:00 <davve_> cool
13:38:23 <davve_> maybe i will give it another try sometime
13:38:50 <davve_> but honestly i am liking polybar a lot... for me since im more comfortable with shell scripts than haskell atleast. simple and pretty...
13:39:26 <davve_> works well with XMonad.Hooks.EwmhDesktops
13:43:58 <geekosaur> nobody said you have to use xmobar with xmonad, it's just popular
13:44:19 <geekosaur> strictly speaking it's an unrelated project
13:45:29 <alternateved> You could easily use shell scripts with xmobar. There is a Com plugin for that.
13:56:13 × alternateved quits (~alternate@82.180.151.130) (Ping timeout: 246 seconds)
13:58:07 alternateved joins (~alternate@82.180.151.130)
14:08:19 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Quit: Leaving)
14:19:27 geekosaur joins (~geekosaur@xmonad/geekosaur)
14:32:51 × alternateved quits (~alternate@82.180.151.130) (Remote host closed the connection)
14:44:42 alternateved joins (~alternate@185.244.214.239)
14:56:48 thunderrd joins (~thunderrd@183.182.114.81)
15:36:28 × chomwitt quits (~chomwitt@2a02:587:dc1f:5600:b0ac:64b:5946:8d06) (Ping timeout: 258 seconds)
16:00:19 × aaaaa22[m] quits (~aaaaa22ma@2001:470:69fc:105::2:d11) (Quit: You have been kicked for being idle)
16:35:59 × alternateved quits (~alternate@185.244.214.239) (Remote host closed the connection)
17:06:08 stackdroid18 joins (~stackdroi@user/stackdroid)
17:19:42 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.5)
17:31:01 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
18:19:33 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
18:48:21 Guest86 joins (~Guest86@c83-251-160-169.bredband.tele2.se)
18:49:13 <Guest86> Hey! Is anybody experienced with scratchpads here?
18:51:34 <geekosaur> I use them
18:51:59 <geekosaur> well, NamedScratchpad; at the moment we have 3 different kinds of scratchpads and need to clean them up a bit :)
18:54:50 <mc47[m]> slot-[m] liskin @liskin:libera.chat: are you joining/at one of the groups this evening?
18:59:30 <Guest86> Could anyone give an idea as to why no scratchpad is showing up in my/this config? https://pastebin.com/MGQ5V967
19:01:21 × Guest67 quits (~Guest67@2607:fea8:7ca0:2270:235d:ef1e:899d:eab2) (Quit: Client closed)
19:01:38 <geekosaur> is "st" in /usr/bin, or somewhere else?
19:02:19 <Guest86> according to which: /usr/local/bin/st
19:02:31 <geekosaur> typically xmonad gets started without $PATH set, so things wokr in terminals but not directly from xmonad. which is difficult when your terminal isn't in /usr/bin
19:02:57 <Guest86> Interesting! I'll try to fix that right away!
19:03:05 <geekosaur> so either use a full PATH or use System.Environment.setEnv to set "PATH" in main
19:04:18 <geekosaur> (I use a wrapper script for xmonad instead so I don't have to update my PATH in multiple places)
19:04:41 <Guest86> Did try using the full path. Didn't work sadly. It seems weird though, the usual binding for opening 'st' has worked either way!
19:04:48 <Guest86> Ah!
19:04:53 <geekosaur> interesting
19:06:37 <geekosaur> oh. do you actually have a "section" key, or do you have to press additional keys to get it? the interface xmonad uses for key bindings only supports the core plane of the keyboard, plus added modifiers like `modm`
19:08:47 <Guest86> I do, but just to be certain i switched to xK_e, which didn't work either!
19:09:36 <Guest86> It all compiles and I've followed separate tutorials, so maybe it just doesn't work!
19:12:24 <geekosaur> just dug into st, it doesn't want -name, it wants -n
19:12:37 <geekosaur> presumably it chokes on the rest of the parameter
19:14:08 <Guest86> Oh thanks, you went beyond! I tried it (along w. full path and xK_e to be safe) but it didn't work.
19:14:27 <geekosaur> can you repaste your config?
19:14:35 <Guest86> Absolutely
19:14:47 <Guest86> I did admittedly remove some unnecessary blocks
19:15:20 <Guest86> Here's it, full: https://pastebin.com/a9wJssMy
19:15:53 twiclo1 joins (~twiclo@vpn.utahbroadband.com)
19:21:00 <geekosaur> hm, "st -n test" works here and sets WM_CLASS appropriately, and you're correctly testing `resource`
19:21:30 <geekosaur> oh! add a space before -n
19:21:43 <liskin> mc47[m]: no I'm spending the evening at my friend's home today
19:21:52 <Guest86> If it's appropriate and possible, maybe you could try the config yourself and see if a scratch shows up?
19:22:10 <Guest86> I'll try!!
19:22:26 <Guest86> IT WORKS!
19:22:26 <geekosaur> it's possible and that would be next, but as written it's trying to run "st-n scratchpad"
19:22:39 <Guest86> oh hell yeah, that even makes  sense!
19:22:50 <Guest86> A big, big thanks!
19:23:09 <geekosaur> you needed the other fixes anyway but that was the big one
19:23:24 <Guest86> Haha definitely. Thanks for the other tips as well.
19:36:56 × mvk quits (~mvk@2607:fea8:5ce3:8500::ba9a) (Ping timeout: 272 seconds)
19:40:18 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
19:43:46 × dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Client Quit)
19:49:36 mvk joins (~mvk@2607:fea8:5ce3:8500::ba9a)
19:54:40 <Solid[m]> mc47[m]: just arrived in Rapperswil, probably too late for anything but taking a shower now :)
19:56:19 <mc47[m]> See you tomorrow then, I'm so tired so I'll probably just go to sleep
19:57:16 <Solid[m]> indeed, really looking forward to it!
19:58:18 <Solid[m]> geekosaur: we should be down to two scratchpad implementations, now that DynamicScratchpads lives inside NamedScratchpad (hey, it's progress!)
19:59:19 × Guest86 quits (~Guest86@c83-251-160-169.bredband.tele2.se) (Quit: Client closed)
20:15:26 chomwitt joins (~chomwitt@2a02:587:dc1f:5600:518c:c264:c8fd:1f6b)
20:29:17 alternateved joins (~alternate@185.244.214.244)
20:42:30 <liskin> I had a wonderful time at Planet Trail and now I'm sunburnt and maybe a bit FOMOd about the drinks
20:43:13 <liskin> Probably better than having a massive hangover tomorrow though :-)
21:34:10 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 240 seconds)
21:36:14 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
21:41:19 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 256 seconds)
21:42:43 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
21:44:06 <geekosaur> maybe I'll poke at folding in Scratchpad this weekend while I'm avoiding rewriting all the color logic :) should be easy, and even possible to use with NS with a bit of cleverness (would someone think of using an empty name? or should we just warn against "scratchpad"?)
21:45:33 <geekosaur> also one reason I don't particularly want to touch that color logic is I can't convince myself the fallback logic based on root window colors is valid in the general case
21:45:53 <geekosaur> except we don't support per-window colormaps so I'm also not sure it's invalid
21:46:40 <geekosaur> and I'd prefer not to deal with WM_COLORMAP_WINDOW since we've gotten away for so long without it, but it'd break the fallback logic completely
21:48:15 liskin would love to be useful but knows nil about colours in X :-(
21:48:50 <liskin> Also I have less than 8 hours of sleep left. GN everyone
21:53:11 <geekosaur> count yourself lucky. there's an argument to be made that every visual type needs its own distinct color handling, although I think you can usually get away with using read-only colormap cells. and in 2022 you can almost(?) pretend PseudoColor doesn't exist, or at least we have been and not heard any complaints I'm aware of
21:54:16 <geekosaur> (I don't think this is what bit Lycurgus last weekend, as the terminals would have displayed *something* even if we used the wrong colormap)
22:25:28 × alternateved quits (~alternate@185.244.214.244) (Ping timeout: 246 seconds)
23:00:40 × chomwitt quits (~chomwitt@2a02:587:dc1f:5600:518c:c264:c8fd:1f6b) (Ping timeout: 248 seconds)
23:22:12 × mvk quits (~mvk@2607:fea8:5ce3:8500::ba9a) (Ping timeout: 248 seconds)

All times are in UTC on 2022-06-10.