2022/09/08

2022-09-08 00:09:13 +0200 <mesaoptimizer> what's OC?
2022-09-08 00:09:28 +0200 <geekosaur> OpenCollective
2022-09-08 00:09:41 +0200 <geekosaur> they manage our donations
2022-09-08 00:20:28 +0200 <mesaoptimizer> sweet
2022-09-08 00:22:50 +0200realsun[m](~realsunma@2001:470:69fc:105::2:7b7a)
2022-09-08 00:57:17 +0200sogens(~sogens@pa49-182-80-226.pa.qld.optusnet.com.au) (Ping timeout: 252 seconds)
2022-09-08 01:02:55 +0200 <liskin> Solid: I feel uncomfortable about the money accumulating so please go ahead
2022-09-08 01:04:05 +0200 <liskin> somewhat relatedly, today I got about a dozen emails from Sumana that those training session we had early this year were finally publicly documented somewhere
2022-09-08 01:05:33 +0200 <liskin> https://buttondown.email/Changeset/archive/maintainer-guides-spending-succession-more/
2022-09-08 01:06:11 +0200 <geekosaur> hm, are you actually allowed to post that publicly?
2022-09-08 01:07:08 +0200 <liskin> I haven't configured mutt on this laptop so I just googled this now, so yes, I think I am :-)
2022-09-08 01:07:45 +0200 <liskin> Solid: https://docs.oscollective.org/guides/deciding-on-how-to-use-your-money says we need to spend money lest people start thinking we don't need it.
2022-09-08 01:08:44 +0200 <liskin> and I should probably read the one about burnout and career planning
2022-09-08 01:09:38 +0200 <liskin> if only I had time to do that amid all that burning out
2022-09-08 01:11:20 +0200 <liskin> (might be a good idea to go to MuniHac to calm down a bit…)
2022-09-08 01:52:09 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
2022-09-08 01:55:39 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-09-08 02:49:26 +0200 <mightybyte> Hi, I've got an idea for a layout and would like some help in figuring out how to implement it.
2022-09-08 02:50:52 +0200 <mightybyte> It's basically an overlapping layout where one window is always full screen in the background (for me this is usually always a terminal) and another consumes ~80% of the rest of the screen.
2022-09-08 02:51:45 +0200 <mightybyte> Anyone know if a layout like this exists already?
2022-09-08 02:51:53 +0200 <geekosaur> I don't think it does
2022-09-08 02:52:10 +0200 <geekosaur> almost all layouts tile, rather than overlapping
2022-09-08 02:52:44 +0200 <mightybyte> Yeah, I don't like to have my console windows resizing
2022-09-08 02:53:24 +0200 <mightybyte> Floating has some commonalities here.
2022-09-08 02:53:26 +0200 <geekosaur> but it should be fairly easy to implement
2022-09-08 02:53:42 +0200 <mightybyte> But I saw something in the docs that said floating isn't intended for significant use.
2022-09-08 02:53:58 +0200 <geekosaur> right, but this wouldn't be floating
2022-09-08 02:54:05 +0200 <mightybyte> Yeah
2022-09-08 02:54:31 +0200 <mightybyte> Any pointers about where I should go to figure out how to make something like this? I'm just coming back to XMonad after something like a 15 year hiatus.
2022-09-08 02:56:22 +0200 <geekosaur> I would start by looking at XMonad.Layout.IM to see how to match windows to be fullscreened, other windows would take up a specified-by-ratio part of the screen
2022-09-08 02:57:24 +0200 <geekosaur> runLayout would apply the specified Query to each window and set its rectangle based on the result
2022-09-08 02:59:20 +0200 <geekosaur> the layout as put in the layoutHook would look something like: myLayout (Resource "alacritty") 0.8 L
2022-09-08 03:01:12 +0200 <geekosaur> (see https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Util-WindowProperties.html for Resource and friends, and https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Actions-Navigation2D.html#t:… for L (or R, U, D)
2022-09-08 03:02:33 +0200 <geekosaur> (you could also omit the Navigation2D and do it with Mirror and/or Reflext)
2022-09-08 03:02:38 +0200 <geekosaur> *Reflect
2022-09-08 03:05:44 +0200sogens(sogens@gateway/vpn/protonvpn/sogens)
2022-09-08 04:05:02 +0200banc(banc@gateway/vpn/airvpn/banc) (Ping timeout: 268 seconds)
2022-09-08 04:16:23 +0200steve_(~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 252 seconds)
2022-09-08 04:23:50 +0200banc(banc@gateway/vpn/airvpn/banc)
2022-09-08 04:38:45 +0200td_(~td@94.134.91.56) (Ping timeout: 252 seconds)
2022-09-08 04:40:47 +0200td_(~td@muedsl-82-207-238-024.citykom.de)
2022-09-08 04:48:02 +0200zeitgeist(~zeitgeist@124-170-152-71.dyn.iinet.net.au)
2022-09-08 04:59:46 +0200sogens(sogens@gateway/vpn/protonvpn/sogens) (Quit: WeeChat 3.5)
2022-09-08 05:00:12 +0200sogens(sogens@gateway/vpn/protonvpn/sogens)
2022-09-08 05:05:50 +0200sogens(sogens@gateway/vpn/protonvpn/sogens) (Quit: WeeChat 3.5)
2022-09-08 05:06:14 +0200sogens(sogens@gateway/vpn/protonvpn/sogens)
2022-09-08 05:09:41 +0200sogens(sogens@gateway/vpn/protonvpn/sogens) (Client Quit)
2022-09-08 05:10:04 +0200sogens(sogens@gateway/vpn/protonvpn/sogens)
2022-09-08 05:11:20 +0200zeitgeist(~zeitgeist@124-170-152-71.dyn.iinet.net.au) (Quit: WeeChat 3.6)
2022-09-08 05:11:57 +0200zeitgeist(~zeitgeist@124-170-152-71.dyn.iinet.net.au)
2022-09-08 05:13:20 +0200 <zeitgeist> hello, i've just started using/configuring xmonad and i've been having a couple of issues that i need some help with
2022-09-08 05:21:44 +0200zeitgeist(~zeitgeist@124-170-152-71.dyn.iinet.net.au) (Quit: WeeChat 3.6)
2022-09-08 05:42:23 +0200zeitgeist(~zeitgeist@124-170-152-71.dyn.iinet.net.au)
2022-09-08 05:50:24 +0200spiceusabtc[m](~spiceusab@2001:470:69fc:105::2:7b92)
2022-09-08 05:53:50 +0200zeitgeist(~zeitgeist@124-170-152-71.dyn.iinet.net.au) (Quit: WeeChat 3.6)
2022-09-08 05:59:32 +0200[Leary](~Leary]@user/Leary/x-0910699)
2022-09-08 06:33:10 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 244 seconds)
2022-09-08 06:41:49 +0200spiceusabtc[m]Lucybtc[m]
2022-09-08 07:50:20 +0200Lucybtc[m](~spiceusab@2001:470:69fc:105::2:7b92) (Quit: User was banned)
2022-09-08 08:24:47 +0200steve_(~steve@ool-182c2b80.dyn.optonline.net)
2022-09-08 08:42:45 +0200nomadxx3(~lanomadx@180-150-32-38.b49620.mel.static.aussiebb.net) (Quit: ZNC 1.8.2 - https://znc.in)
2022-09-08 08:53:59 +0200nomadxx3(~lanomadx@180-150-32-38.b49620.mel.static.aussiebb.net)
2022-09-08 09:05:38 +0200alternateved(~user@staticline-31-183-146-203.toya.net.pl)
2022-09-08 10:02:30 +0200m5zs7k(aquares@web10.mydevil.net) (Ping timeout: 264 seconds)
2022-09-08 10:04:43 +0200tv(~tv@user/tv) (Ping timeout: 252 seconds)
2022-09-08 10:05:33 +0200m5zs7k(aquares@web10.mydevil.net)
2022-09-08 10:08:19 +0200cfricke(~cfricke@user/cfricke)
2022-09-08 10:17:08 +0200cfricke(~cfricke@user/cfricke) (Quit: WeeChat 3.6)
2022-09-08 10:17:17 +0200cfricke(~cfricke@user/cfricke)
2022-09-08 10:19:25 +0200tv(~tv@user/tv)
2022-09-08 10:21:08 +0200mvk(~mvk@2607:fea8:5ce3:8500::a1ec) (Remote host closed the connection)
2022-09-08 10:21:35 +0200mvk(~mvk@2607:fea8:5ce3:8500::a1ec)
2022-09-08 10:46:35 +0200ft(~ft@p4fc2a0f5.dip0.t-ipconnect.de) (Quit: Lost terminal)
2022-09-08 10:57:24 +0200benin0(~benin@183.82.29.130)
2022-09-08 11:24:20 +0200logzet(~quassel@2001:9e8:e503:f900:dabb:c1ff:fed3:a1b9)
2022-09-08 11:27:39 +0200sogens(sogens@gateway/vpn/protonvpn/sogens) (Ping timeout: 244 seconds)
2022-09-08 11:29:17 +0200sogens(~sogens@pa49-182-80-226.pa.qld.optusnet.com.au)
2022-09-08 11:36:40 +0200sogens(~sogens@pa49-182-80-226.pa.qld.optusnet.com.au) (Quit: WeeChat 3.5)
2022-09-08 11:36:57 +0200sogens(~sogens@pa49-182-80-226.pa.qld.optusnet.com.au)
2022-09-08 11:39:39 +0200sogens(~sogens@pa49-182-80-226.pa.qld.optusnet.com.au) (Client Quit)
2022-09-08 11:39:57 +0200sogens(~sogens@pa49-182-80-226.pa.qld.optusnet.com.au)
2022-09-08 11:45:56 +0200sogens(~sogens@pa49-182-80-226.pa.qld.optusnet.com.au) (Quit: WeeChat 3.5)
2022-09-08 11:46:13 +0200sogens(~sogens@pa49-182-80-226.pa.qld.optusnet.com.au)
2022-09-08 11:50:38 +0200sogens(~sogens@pa49-182-80-226.pa.qld.optusnet.com.au) (Client Quit)
2022-09-08 11:50:56 +0200sogens(~sogens@pa49-182-80-226.pa.qld.optusnet.com.au)
2022-09-08 12:04:16 +0200mvk(~mvk@2607:fea8:5ce3:8500::a1ec) (Remote host closed the connection)
2022-09-08 12:04:44 +0200mvk(~mvk@2607:fea8:5ce3:8500::a1ec)
2022-09-08 12:26:36 +0200mvk(~mvk@2607:fea8:5ce3:8500::a1ec) (Remote host closed the connection)
2022-09-08 12:27:01 +0200mvk(~mvk@2607:fea8:5ce3:8500::a1ec)
2022-09-08 12:48:20 +0200 <Solid> I guess the next hardest thing it to decide on a number...
2022-09-08 12:53:13 +0200benin0(~benin@183.82.29.130) (Quit: The Lounge - https://thelounge.chat)
2022-09-08 12:56:18 +0200 <mesaoptimizer> there's an extremely strange bug I've encountered, where firefox freezes whenever it throws a (native) notification
2022-09-08 12:56:29 +0200 <mesaoptimizer> and I noticed it only after I began using xmonad
2022-09-08 13:12:56 +0200 <xmonadtrack> xmonad-contrib Tony Zorman * v0.17.1-6-g9b6bef7e: X.D.Extending: Add links to headings (3 days ago, 1 file, 5+ 5-) https://github.com/xmonad/xmonad-contrib/commit/9b6bef7e9dc0
2022-09-08 13:12:57 +0200 <xmonadtrack> xmonad-contrib Tony Zorman * v0.17.1-7-g9809b201: X.D.Extending: Update hooks (3 days ago, 1 file, 18+ 19-) https://github.com/xmonad/xmonad-contrib/commit/9809b2013ff3
2022-09-08 13:13:02 +0200 <xmonadtrack> xmonad-contrib Tony Zorman * v0.17.1-8-gcedb8d7c: X.D.Extending: Rewrite keyDel (3 days ago, 1 file, 52+ 31-) https://github.com/xmonad/xmonad-contrib/commit/cedb8d7c785f
2022-09-08 13:13:09 +0200 <xmonadtrack> ... and 2 more commits
2022-09-08 13:16:35 +0200Guest16(~Guest16@2001:9e8:29e6:4200:76e2:be0e:9189:900e)
2022-09-08 13:17:23 +0200Guest16(~Guest16@2001:9e8:29e6:4200:76e2:be0e:9189:900e) (Client Quit)
2022-09-08 13:38:38 +0200benin0(~benin@183.82.28.141)
2022-09-08 14:27:00 +0200 <liskin> Solid: that's a hard one indeed :-/
2022-09-08 14:28:00 +0200 <liskin> there are all these roadmap/planning/contracting/whatever exercises Sumana's docs suggest we should be doing to get a better idea but I'd personally rather not get paid than to do most of that :-)
2022-09-08 14:29:45 +0200 <liskin> good thing is we don't really need to account for myself, cause I don't really have time these days, and if I got fired and needed help with rent for some time it'd be so massively unfair (because the rent is insane) I wouldn't ask for it anyway
2022-09-08 14:30:13 +0200 <liskin> so it's really just about do we have a better idea what to do with it or not
2022-09-08 14:30:57 +0200 <liskin> there was a time about a year ago when I was eager to discuss this but now I really have no idea and no extra cycles to actually organise any reasonable spending :-/
2022-09-08 14:34:32 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-09-08 14:35:15 +0200alternateved(~user@staticline-31-183-146-203.toya.net.pl) (Remote host closed the connection)
2022-09-08 14:36:00 +0200alternateved(~user@staticline-31-183-146-203.toya.net.pl)
2022-09-08 15:01:17 +0200 <Solid> liskin: I'm almost tempted to roll a die, but with my luck it'd be something massively unfair :/
2022-09-08 15:02:53 +0200 <geekosaur> mesaoptimizer, are you running a notification daemon and dbus?
2022-09-08 15:03:16 +0200 <geekosaur> xmonad is not a desktop manager and doesn't include or run desktop services
2022-09-08 15:03:33 +0200 <geekosaur> dunst is common as a notification daemon
2022-09-08 15:03:54 +0200 <geekosaur> you still need dbus though; this will depend on how you're starting xmonad
2022-09-08 15:34:49 +0200 <liskin> Solid: it's gonna be unfair one way or another anyway
2022-09-08 15:39:55 +0200 <liskin> just go and spill a drink over your laptop and get a new one and don't bother with taxes, that's what I'd do
2022-09-08 15:40:14 +0200 <liskin> because I just can't be arsed to do any of this bureacratic nonsense
2022-09-08 15:40:29 +0200 <liskin> unfortunately they don't make good laptops any more :-)
2022-09-08 15:40:50 +0200 <liskin> although I did manage to get used to the modern thinkpad keyboard after 4 months
2022-09-08 15:41:34 +0200 <alternateved> That really sounds difficult
2022-09-08 15:41:44 +0200 <liskin> now I'm actually able to seamlessly switch between having pageup/down near arrows and having them at the top right without much fuss
2022-09-08 15:41:47 +0200 <alternateved> Like how do you even go about it
2022-09-08 15:41:57 +0200 <liskin> alternateved: go about what?
2022-09-08 15:45:31 +0200 <liskin> also I've been using s2idle on this new thinkpad and it just works and it's amazing, resumes before I finish opening the lid
2022-09-08 15:47:20 +0200 <alternateved> opensource, money, non-profit when there is profit etc.
2022-09-08 15:48:14 +0200 <geekosaur> we're going to need a fair amount of money to pay someone to do a wayland port, given that none of us is up to it
2022-09-08 15:48:19 +0200 <alternateved> I mean, I never thought about that
2022-09-08 15:49:04 +0200 <liskin> alternateved: there's quite a bit of docs on that topic around opencollective, and now also these: https://buttondown.email/Changeset/archive/maintainer-guides-spending-succession-more/
2022-09-08 15:49:41 +0200 <liskin> I'm not really the person to ask about doing this in the most legal way because I just don't know/care
2022-09-08 15:50:02 +0200 <alternateved> liskin: oh yeah, that is helpful
2022-09-08 15:50:39 +0200 <liskin> I *think* that expensing a €1000 piece of hardware once a while that you then use for some personal projects many of which are open-source is completely fair
2022-09-08 15:51:57 +0200 <liskin> but then I was born in pre-1989 Czechoslovakia where people expensed millions to government-run industries and used it to kickstart their business, so my moral radar may be biased
2022-09-08 15:53:20 +0200 <liskin> good thing is that by using OpenCollective, there's a lawyer/accountant on their side verifying every expense of ours, so I don't think we need to care at all
2022-09-08 15:53:33 +0200 <liskin> as long as we keep the Twitter mobs away, we'll be fine :-D
2022-09-08 15:55:39 +0200 <liskin> geekosaur: hiring a person to do that won't be easy though
2022-09-08 15:55:47 +0200 <geekosaur> yeh
2022-09-08 15:56:11 +0200 <geekosaur> that's part of what I'm figuring into the expected cost though
2022-09-08 15:56:40 +0200 <liskin> good point
2022-09-08 15:57:05 +0200 <liskin> paying someone like Sumana to help with the hiring/project management might help
2022-09-08 16:18:37 +0200mvk(~mvk@2607:fea8:5ce3:8500::a1ec) (Remote host closed the connection)
2022-09-08 16:19:04 +0200mvk(~mvk@2607:fea8:5ce3:8500::a1ec)
2022-09-08 16:23:13 +0200alternateved(~user@staticline-31-183-146-203.toya.net.pl) (Remote host closed the connection)
2022-09-08 16:23:47 +0200 <Solid> liskin: I can't buy a new laptop, I will never get all of the stickers off of this one! :D
2022-09-08 16:24:23 +0200 <liskin> Solid: you could by a 51nb motherboard from xyte.ch though!
2022-09-08 16:25:15 +0200mvk(~mvk@2607:fea8:5ce3:8500::a1ec) (Ping timeout: 244 seconds)
2022-09-08 16:25:32 +0200mvk(~mvk@2607:fea8:5ce3:8500::a1ec)
2022-09-08 16:26:22 +0200 <Solid> oh, they have something for the x220?
2022-09-08 16:32:02 +0200 <liskin> not sure but would be weird if they didn't
2022-09-08 16:36:52 +0200 <mesaoptimizer> geekosaur: I see. I do have dbus and dunst works as expected but firefox reliably uses its own native "web push" notifications instead of dunst, and I assume this is a firefox issue
2022-09-08 16:37:47 +0200 <Solid> anyways, 1k seems very much on the side of "unfair" :/
2022-09-08 16:37:50 +0200 <Solid> god I'm bad at this
2022-09-08 16:38:22 +0200 <mesaoptimizer> I don't understand, unfair to whom?
2022-09-08 16:38:33 +0200 <geekosaur> mesaoptimizer, sorry, I understood "native" incorrectly
2022-09-08 16:38:51 +0200 <geekosaur> you may need to identify the firefox notifications and exclude them from management
2022-09-08 16:39:20 +0200 <geekosaur> or from something else (I run picom and have to exclude notifications from it)
2022-09-08 16:39:24 +0200 <mesaoptimizer> any docs you could point me to?
2022-09-08 16:39:27 +0200 <mesaoptimizer> or code?
2022-09-08 16:40:29 +0200 <geekosaur> I only have the picom config, xmonad ignores my notifications already (but I run chrome and it uses the standard desktop notifications)
2022-09-08 16:40:55 +0200 <liskin> Solid: unfair which way? :-)
2022-09-08 16:41:20 +0200 <mesaoptimizer> maybe I should switch entirely to chromium if that is the case, since I barely use firefox anyway
2022-09-08 16:41:34 +0200 <Solid> liskin: hahahahaha
2022-09-08 16:43:17 +0200 <mesaoptimizer> nice, chromium uses dunst to create notifications, unlike firefox. It feels wrong to give up on firefox tbh, I guess I'll need to switch to chromium full time
2022-09-08 16:43:24 +0200 <Solid> (I'm working like 50 hours a week while I'm getting paid for 20 so you can imagine how my paycheck looks :)
2022-09-08 16:45:48 +0200 <liskin> well as long as you're having fun
2022-09-08 16:46:18 +0200 <liskin> I used to do this when I was younger, and my then manager told me that the light that shines twice as bright shines twice less long
2022-09-08 16:47:32 +0200 <liskin> and now I can't any more
2022-09-08 16:47:34 +0200 <geekosaur> in the US there's a nasty tendency for managers to demand that kind of thing 😞
2022-09-08 16:47:57 +0200 <liskin> there's lots of short-sighetdness in US :-)
2022-09-08 16:48:14 +0200 <geekosaur> no argument
2022-09-08 16:48:28 +0200 <geekosaur> but there's also lots of eager kids who can be sucked dry and replaced
2022-09-08 16:50:57 +0200 <Solid> few people in this business who don't work that much
2022-09-08 16:51:13 +0200 <Solid> maybe this is why mathematicians are generally burned out once they hit like 45 or so :]
2022-09-08 17:21:58 +0200 <fizzie> Fun fact: Chrom(e|ium) has a (pretty modest) list of capabilities it requires the notification daemon to support (speficially, 'body' and 'actions'), otherwise it falls back to its own custom ones (that for me on XMonad more often than not end up behind windows).
2022-09-08 17:22:08 +0200 <fizzie> (I imagine any "serious" notification thing meets those requirements, I just looked into this when thinking what'd be the minimum requirements for getting desktop notifications to go into my hand-made status bar.)
2022-09-08 17:26:58 +0200cfricke(~cfricke@user/cfricke) (Quit: WeeChat 3.6)
2022-09-08 17:31:54 +0200 <liskin> s/Fun/useful/, actually
2022-09-08 17:32:52 +0200 <liskin> now I remember that back when I had time to tweak my xmonad to perfection I did actually look into chromium's source code to figure out what I need to do to get it to notify via a notifications daemon instead of doing its own thing
2022-09-08 17:33:06 +0200 <liskin> shame I didn't document what I found
2022-09-08 17:34:03 +0200 <liskin> also chromium does the equivalent of wmctrl -m when it starts to decide how to handle moving of tabs
2022-09-08 17:35:04 +0200 <liskin> if it detects xmonad it uses override-redirect windows and if not then it expects a traditional floating window manager and tries to XMoveWindow which fails in xmonad
2022-09-08 17:35:33 +0200 <liskin> (yes it does actually check for "xmonad" specifically, because there are still super-senior googlers using it)
2022-09-08 17:37:43 +0200 <geekosaur[m]> Heh
2022-09-08 17:38:03 +0200 <mesaoptimizer> wow
2022-09-08 17:43:04 +0200 <Solid> :)
2022-09-08 17:46:44 +0200 <geekosaur> guess this explains why they keep trying to hire me 🙂 unfortunately today's being a good example of why I'm off the market 😞
2022-09-08 17:50:14 +0200 <mesaoptimizer> what happened today?
2022-09-08 17:51:26 +0200 <geekosaur> I have neurological issues, they're kinda severe today
2022-09-08 17:52:07 +0200 <geekosaur> I could work through them when I was in my 30s, it doesn't work any more so neither can I reliably 😞
2022-09-08 17:56:26 +0200 <mesaoptimizer> ouch
2022-09-08 17:56:42 +0200 <mesaoptimizer> It is nice that you don't need to work full time to live then
2022-09-08 18:06:59 +0200Guest909(~Guest90@2001:9e8:29e6:4200:8f19:2585:b1eb:d28e)
2022-09-08 18:16:34 +0200 <Guest909> hi guys, I'm new to xmonad and currently doing  the Tutorial. I stuck when I tried to integrate the xmobar. I got the error that StatusBar just exist in xmobar => 0.17.0
2022-09-08 18:16:35 +0200 <Guest909> Yes I saw  the hint in the tutorial and checked my version which I installed via package manger (Ubuntu 22). I was 0.15.0 so I removed it and installed it manually as described here: https://xmonad.org/INSTALL.html via cabal. I did the same with xmobar. My versions now:
2022-09-08 18:16:36 +0200 <Guest909> xmobar: 0.36
2022-09-08 18:16:36 +0200 <Guest909> xmonad: 0.17.1.9
2022-09-08 18:16:37 +0200 <Guest909> Can anybody help me or give me a hint what I am doing wrong?
2022-09-08 18:20:35 +0200 <geekosaur> (the next Ubuntu release should have 0.17.0 since Debian finally updated and Ubuntu draws from Debian testing)
2022-09-08 18:22:27 +0200 <geekosaur> can you pastebin your config and the full error message?
2022-09-08 18:22:30 +0200 <geekosaur> @where paste
2022-09-08 18:22:30 +0200 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
2022-09-08 18:23:09 +0200 <Guest909> sure, just a moment...
2022-09-08 18:25:47 +0200 <Guest909> hm, I have this message box but it looks like a cannot copy the message from there is the error also stored to a file?
2022-09-08 18:31:10 +0200 <mesaoptimizer> Guest909: perhaps the message is stored in `~/.xmonad/xmonad.errors` (assuming that is the directory where xmonad.hs is stored)
2022-09-08 18:31:41 +0200 <Guest909> yes found it at the moment you wrote, thanks
2022-09-08 18:34:39 +0200 <Guest909> https://paste.tomsmeding.com/cwsvauq8
2022-09-08 18:35:26 +0200logzet(~quassel@2001:9e8:e503:f900:dabb:c1ff:fed3:a1b9) (Ping timeout: 260 seconds)
2022-09-08 18:35:59 +0200 <geekosaur> odd. you sure the Ubuntu package isn't still installed?
2022-09-08 18:37:20 +0200 <geekosaur> (also the import line you have commented out is slightly wrong, "PP" should be uppercase. module names are case sensitive and always start with uppercase letters to distinguish them from variable names)
2022-09-08 18:37:32 +0200 <Guest909> hm what i can say I removed via apt-get remove
2022-09-08 18:37:48 +0200 <Guest909> which xmonad gives me the path where installed it manually
2022-09-08 18:38:01 +0200 <Guest909> xmonad --version gives me 0.17.0
2022-09-08 18:39:29 +0200 <geekosaur> mm, but unless you're using startx or setting the PATH in ~/.xsession it only looks in /usr/bin
2022-09-08 18:39:39 +0200 <Guest909> ok thanks for the hint (pp)
2022-09-08 18:40:07 +0200 <geekosaur> only fedora's smart enough to incorporate the user's PATH in X11 (or Wayland) startup
2022-09-08 18:41:34 +0200 <Guest909> in ~/.xsession I just call
2022-09-08 18:41:34 +0200 <Guest909> exec xmonad
2022-09-08 18:41:35 +0200 <Guest909> expecting this is "my" Version
2022-09-08 18:42:02 +0200 <geekosaur> is there a /usr/bin/xmonad ?
2022-09-08 18:42:18 +0200 <Guest909> no
2022-09-08 18:42:33 +0200 <Guest909> but a xmobar
2022-09-08 18:43:27 +0200 <geekosaur> interesting. normally ubuntu doesn't use $PATH and tends to stick to stuff in /usr/bin
2022-09-08 18:44:09 +0200 <geekosaur> (I have to use a wrapper script since I use xmonad as MATE's window manager)
2022-09-08 18:44:41 +0200 <geekosaur> maybe they changed it in 22.04 finally
2022-09-08 18:45:39 +0200 <geekosaur> in any case it sounds like it's still finding xmonad-contrib 0.16 probably from ubuntu apt, did you also remove that?
2022-09-08 18:46:17 +0200 <Guest909> ohm no!
2022-09-08 18:47:04 +0200 <Guest909> is there a way to check the version of contrib which is used?
2022-09-08 18:47:19 +0200 <geekosaur> not easily since it's a library, not a program
2022-09-08 18:48:10 +0200 <Guest909> ok when I remove it now I would expect I have to reconfigure something, right?
2022-09-08 18:48:30 +0200 <geekosaur> hopefully not, the "reconfigure" would be recompiling your config
2022-09-08 18:48:55 +0200 <geekosaur> in particular, the xmonad executable doesn't depend on contrib, it's a library for user configs to use
2022-09-08 18:52:30 +0200Guest902(~Guest90@146-241-159-106.dyn.eolo.it)
2022-09-08 18:53:00 +0200 <Guest909> apt wasn't able to locate xmonad-contrib so I think it was removed when I removed xmonad
2022-09-08 18:54:06 +0200 <geekosaur> mm, that would make sense. but it's still finding the older contrib library for some reason
2022-09-08 18:54:14 +0200Guest266(~Guest266@146-241-159-106.dyn.eolo.it)
2022-09-08 18:54:45 +0200 <Guest909> package manger find xmobar could that be the reason?
2022-09-08 18:55:45 +0200 <Guest266> Hello all! I'm trying to customize xmobar, using dynamic logs, but dynamic logs itself are deprecated by status bar, and all the guides i saw are only with status bar.
2022-09-08 18:56:19 +0200 <Guest266> I'm using linux mint vanessa, and xmonad's version is still behind 0.17
2022-09-08 18:57:03 +0200 <Guest266> Xmonad's version 0.15-4build2.1
2022-09-08 18:57:47 +0200 <Guest266> Is there a ppa I can follow, or do I need help with dynamic logs?
2022-09-08 18:58:19 +0200 <Solid> Guest266: the tutorial should work for versions below 0.17.0
2022-09-08 18:58:25 +0200Guest902(~Guest90@146-241-159-106.dyn.eolo.it) (Quit: Client closed)
2022-09-08 18:59:07 +0200 <geekosaur> I'm surprised you can only find guides using StatusBar given how long it took distros to update to 0.17.0
2022-09-08 18:59:24 +0200 <Solid> that too :)
2022-09-08 18:59:49 +0200 <Guest266> I'm having trouble in this part: main :: IO ()
2022-09-08 18:59:49 +0200 <Guest266> main = xmonad
2022-09-08 18:59:50 +0200 <Guest266>      . ewmhFullscreen
2022-09-08 18:59:50 +0200 <Guest266>      . ewmh
2022-09-08 18:59:51 +0200 <Guest266>    =<< statusBar "xmobar" def toggleStrutsKey myConfig
2022-09-08 18:59:51 +0200 <Guest266>   where
2022-09-08 18:59:52 +0200 <Guest266>     toggleStrutsKey :: XConfig Layout -> (KeyMask, KeySym)
2022-09-08 18:59:52 +0200 <Guest266>     toggleStrutsKey XConfig{ modMask = m } = (m, xK_b)
2022-09-08 19:00:00 +0200 <geekosaur> ugh. please use a pastebin
2022-09-08 19:00:03 +0200 <geekosaur> @where paste
2022-09-08 19:00:04 +0200 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
2022-09-08 19:00:09 +0200 <Guest266> is it necessarily needed to add a key shortcut?
2022-09-08 19:00:45 +0200 <geekosaur> the statusBar function (which despite its name is actually the older DyanmicLog mechanism) requires one, yes
2022-09-08 19:01:01 +0200 <Guest266> So what can I do?
2022-09-08 19:01:07 +0200 <geekosaur> the newer mechanism lets you skip that part by using withSB instead of withEasySB
2022-09-08 19:01:29 +0200 <Guest266> my main:
2022-09-08 19:01:34 +0200 <Solid> Guest266: that code should run on 0.15/0.16
2022-09-08 19:01:47 +0200 <Guest266> main = do
2022-09-08 19:01:48 +0200 <Guest266>     h <- spawnPipe "xmobar -options -foo -bar"
2022-09-08 19:01:48 +0200 <Guest266>     xmonad $ docks defaults {
2022-09-08 19:01:49 +0200 <Guest266>         logHook = dynamicLogWithPP $ def { ppOutput = hPutStrLn h }
2022-09-08 19:01:49 +0200 <Guest266>     }
2022-09-08 19:02:19 +0200 <Guest266> how can I merge those two pieces? I tried every way..
2022-09-08 19:03:21 +0200 <geekosaur> Guest909, xmobar version should not affect what packages xmonad can find
2022-09-08 19:04:30 +0200 <geekosaur> Guest266 (again, please use a pastebin instead of pasting code into IRC) those are two different ways of configuring xmobar, they don't mix very well
2022-09-08 19:05:15 +0200 <geekosaur> but if you are using the second one, the only part you need from the first is the ewmh config which goes in the same place as docks
2022-09-08 19:05:25 +0200 <Solid> since you don't use ewmh, just replace your main with something like http://ix.io/49Y5
2022-09-08 19:06:12 +0200 <Guest909> if found a xmonad-contrib-0.16.conf in /var/lib/ghc/package.conf
2022-09-08 19:06:42 +0200 <Guest266> Ok, and how do I link it with myPP? should I change def with myPP?
2022-09-08 19:06:47 +0200 <Guest266> Solid
2022-09-08 19:06:54 +0200 <Solid> yes
2022-09-08 19:07:18 +0200 <Guest266> ok, thanks! I'll try
2022-09-08 19:08:38 +0200 <Guest909> and there is also a xmonad-0.15.conf
2022-09-08 19:08:51 +0200 <geekosaur> hrm, those should no longer be there
2022-09-08 19:09:06 +0200 <geekosaur> oh, debian. although it should have removed those as deps
2022-09-08 19:09:42 +0200 <geekosaur> sudo apt remove libghc-xmonad-dev libghc-xmonad-contrib-dev
2022-09-08 19:09:44 +0200 <Guest909> can / should I remove both manually?
2022-09-08 19:11:28 +0200 <Guest909> hm
2022-09-08 19:11:42 +0200 <Guest909> now the error is on line 11
2022-09-08 19:11:46 +0200 <Guest909> import XMonad
2022-09-08 19:12:13 +0200 <Guest909> ok, i go thrue the install.md again would solve it.\
2022-09-08 19:13:03 +0200 <geekosaur> cabal install --lib xmonad xmonad-contrib — make sure you run this in ~/.xmonad
2022-09-08 19:13:19 +0200 <geekosaur> (or ~/.config/xmonad if you used that directory for your config)
2022-09-08 19:14:18 +0200 <Guest909> yes Sir
2022-09-08 19:14:18 +0200 <Guest266> now the program gives me this https://pastebin.com/SUYM7RCe
2022-09-08 19:14:22 +0200 <Guest909> Lot of thanks!
2022-09-08 19:14:35 +0200 <Guest266> oops not that
2022-09-08 19:15:45 +0200mvk(~mvk@2607:fea8:5ce3:8500::a1ec) (Ping timeout: 244 seconds)
2022-09-08 19:17:46 +0200 <geekosaur> Guest909, without the --lib it builds and installs but doesn't register the install where we need it to be. if you already have it installed then it may do nothing except create the package registry in ~/.xmonad
2022-09-08 19:17:58 +0200 <liskin> geekosaur: I'd be surprised if their trying to hire you was actually due to xmonad as in someone knowing what it is and wanting you because of that; more likely just a general this person does open source in their free time they must be good kind of thing
2022-09-08 19:19:03 +0200 <geekosaur> yeh, that was half joking
2022-09-08 19:20:14 +0200 <geekosaur> but it suggests they know who I am and they almost certainly have used their own search resources to figure out things like how long I've been active and therefore a guess at my age — and it's somewhat surprising they'd be after an older man, tbh
2022-09-08 19:21:41 +0200 <geekosaur> (they'd also know I'm self-taught and therefore somewhat weak on things like formal algorithms training)
2022-09-08 19:23:23 +0200 <xmonadtrack> xmonad Tony Zorman * v0.17.1-6-gfb1f332: TUTORIAL: Remove ewmhFullscreen from < 0.17.0 instructions (11 minutes ago, 1 file, 0+ 1-) https://github.com/xmonad/xmonad/commit/fb1f33258e14
2022-09-08 19:23:23 +0200 <xmonadtrack> xmonad Tony Zorman * v0.17.1-7-gfd9de89: TUTORIAL: Add separators for < 0.17.0 instructions (13 minutes ago, 1 file, 32+ 12-) https://github.com/xmonad/xmonad/commit/fd9de8903f39
2022-09-08 19:32:56 +0200 <Guest266> Solid what does ‘m’ stand for in your code? myModMask?
2022-09-08 19:33:19 +0200 <Guest909> geekosaur thanks again and also for the additional hint with the --lib
2022-09-08 19:33:38 +0200 <Solid> Guest266: It's the modMask that you (probably) set in defaults
2022-09-08 19:33:50 +0200 <Solid> E.g., Super or something like that
2022-09-08 19:34:25 +0200 <geekosaur> `XConfig {modMask = m}` extracts the modMask from the XConfig that was passed as a parameter
2022-09-08 19:34:27 +0200 <Solid> arguably that line should read `toggleStrutsKey XConfig{ modMask } = (modMask, xK_b)` but you need a language extension for that, which might intimidate new people :)
2022-09-08 19:34:34 +0200 <geekosaur> and it can be used as `m`
2022-09-08 19:41:28 +0200mvk(~mvk@2607:fea8:5ce3:8500::191)
2022-09-08 19:43:22 +0200Guest909(~Guest90@2001:9e8:29e6:4200:8f19:2585:b1eb:d28e) (Quit: Client closed)
2022-09-08 19:51:16 +0200_qw(~eqw@31.134.178.99) (Ping timeout: 260 seconds)
2022-09-08 20:05:42 +0200_qw(~eqw@31.134.178.99)
2022-09-08 20:37:24 +0200mvk(~mvk@2607:fea8:5ce3:8500::191) (Ping timeout: 244 seconds)
2022-09-08 20:37:24 +0200Guest266(~Guest266@146-241-159-106.dyn.eolo.it) (Quit: Client closed)
2022-09-08 20:43:20 +0200ft(~ft@p4fc2a0f5.dip0.t-ipconnect.de)
2022-09-08 21:19:44 +0200 <liskin> geekosaur: oh okay, that seems like they upped their recruitment game a bit :-)
2022-09-08 21:21:17 +0200 <geekosaur> depends on whether it's them directly (which it was in my case) or a headhunting agency, which I gather they use to get kids
2022-09-08 21:23:18 +0200 <geekosaur> they don't waste their time digging up go monkeys 🙂
2022-09-08 21:27:49 +0200 <liskin> I do have to admit that my experience was back when I was a kid
2022-09-08 21:29:42 +0200 <geekosaur> IIRC, first time they contacted me was before I'd gotten seriously involved with Haskell, tbh. I was in my upper 30s and staff at Carnegie Mellon ECE
2022-09-08 21:30:35 +0200 <geekosaur> but even early on they still farmed out hiring college grads and such
2022-09-08 21:32:14 +0200 <geekosaur> (hobnobbing with SCS grad students meant I got to compare and contrast the headhunters going after them…)
2022-09-08 22:07:21 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Quit: Lost terminal)
2022-09-08 22:07:38 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2022-09-08 22:42:53 +0200benin0(~benin@183.82.28.141) (Read error: Connection reset by peer)
2022-09-08 22:43:05 +0200benin0(~benin@183.82.29.130)
2022-09-08 22:44:39 +0200 <ChaoticMist[m]> Is there some sort of reading list that introduces XMonad features? As in: `Did you know you could do X in XMonad?`
2022-09-08 22:45:26 +0200 <geekosaur> not that I'm aware of, aside things like distrotube's coverage
2022-09-08 22:51:07 +0200benin09(~benin@183.82.28.141)
2022-09-08 22:52:53 +0200benin0(~benin@183.82.29.130) (Ping timeout: 252 seconds)
2022-09-08 22:54:21 +0200benin0(~benin@183.82.29.130)
2022-09-08 22:56:22 +0200benin09(~benin@183.82.28.141) (Ping timeout: 244 seconds)
2022-09-08 23:19:26 +0200 <ChaoticMist[m]> <geekosaur> "not that I'm aware of, aside..." <- Was thinking more like short segments (blog/video) that explains a certain feature, but I guess there seems to be none
2022-09-08 23:19:53 +0200 <ChaoticMist[m]> Distrotube's videos are generally "Here is my setup" based videos
2022-09-08 23:20:05 +0200 <ChaoticMist[m]> Although I do give him credit for making tutorials about xmonad
2022-09-08 23:23:38 +0200 <geekosaur> we have a stalled ticket (for several years) about making something like that
2022-09-08 23:26:05 +0200 <ChaoticMist[m]> Short animated videos/gifs + borrowing text from documentation and adding to it should create good enough segments imo
2022-09-08 23:26:18 +0200 <ChaoticMist[m]> Other's will most likely make a "better" follow up => more content out there
2022-09-08 23:26:32 +0200 <ChaoticMist[m]> So there is no loss, no matter how bad/good the posts are
2022-09-08 23:27:02 +0200 <ChaoticMist[m]> I'll do my part after figuring out how to setup a modular setup, trying to write my own xmonad config and not use other people's work so that I can get the hang of it atm :)
2022-09-08 23:29:11 +0200 <mesaoptimizer> I think the docs are quite useful
2022-09-08 23:29:53 +0200 <mesaoptimizer> but yes, I stumbled upon the custom key sequence keybinds (and was motivated to make them) after seeing distrotube mention them offhandedly in his doom emacs video
2022-09-08 23:30:08 +0200 <mesaoptimizer> s/mention/mention and show/
2022-09-08 23:31:37 +0200mvk(~mvk@2607:fea8:5ce3:8500::875a)
2022-09-08 23:34:22 +0200 <geekosaur> right now I think you pretty much just have to read through all the xmonad-contrib haddocks. of which there are over 300…
2022-09-08 23:35:30 +0200 <ChaoticMist[m]> Figured that part out.. lol
2022-09-08 23:35:39 +0200 <ChaoticMist[m]> I guess I have to endure that somehow..
2022-09-08 23:37:47 +0200 <geekosaur> https://github.com/xmonad/xmonad-contrib/issues/160 is the stalled ticket I was thinking of. it only covers layouts though, not things like the Prompt tree or Actions
2022-09-08 23:40:55 +0200 <ChaoticMist[m]> Damn.. that was 5 years ago
2022-09-08 23:41:44 +0200 <ChaoticMist[m]> And apparently only `modifiers.hs` was completed.. seems like a daunting task judging from the speed of that thread xD