2024/06/24

2024-06-24 01:29:05 +0200andrea_r(~user@93-49-96-212.ip366.fastwebnet.it) (Ping timeout: 252 seconds)
2024-06-24 01:29:24 +0200andrea_r(~user@93-49-96-212.ip366.fastwebnet.it)
2024-06-24 03:49:35 +0200ml|(~ml|@user/ml/x-5298235) (Ping timeout: 260 seconds)
2024-06-24 04:02:53 +0200ml|(~ml|@user/ml/x-5298235)
2024-06-24 04:51:40 +0200td_(~td@i53870927.versanet.de) (Ping timeout: 256 seconds)
2024-06-24 04:53:39 +0200td_(~td@i5387092F.versanet.de)
2024-06-24 06:08:59 +0200wlhn(~wlhn@82-181-39-15.bb.dnainternet.fi)
2024-06-24 06:12:42 +0200wlhn_(~wlhn@dl46fx8hbfttwvhb-h1ly-3.rev.dnainternet.fi) (Ping timeout: 256 seconds)
2024-06-24 06:25:26 +0200thunderrd(~thunderrd@118.174.53.52) (Remote host closed the connection)
2024-06-24 06:25:57 +0200ml|(~ml|@user/ml/x-5298235) (Ping timeout: 255 seconds)
2024-06-24 06:40:15 +0200ml|(~ml|@user/ml/x-5298235)
2024-06-24 07:11:01 +0200wlhn(~wlhn@82-181-39-15.bb.dnainternet.fi) (Remote host closed the connection)
2024-06-24 07:11:34 +0200wlhn(~wlhn@dl46fx8ym7lwsvqknt7by-3.rev.dnainternet.fi)
2024-06-24 08:14:40 +0200ChubaDuba(~ChubaDuba@37.112.230.23)
2024-06-24 08:15:23 +0200ChubaDuba(~ChubaDuba@37.112.230.23) (Client Quit)
2024-06-24 08:17:37 +0200ChubaDuba(~ChubaDuba@37.112.230.23)
2024-06-24 08:21:33 +0200ChubaDuba(~ChubaDuba@37.112.230.23) (Client Quit)
2024-06-24 08:23:09 +0200ChubaDuba(~ChubaDuba@37.112.230.23)
2024-06-24 09:05:06 +0200ChubaDuba(~ChubaDuba@37.112.230.23) (Ping timeout: 268 seconds)
2024-06-24 09:29:45 +0200cfricke(~cfricke@user/cfricke)
2024-06-24 10:33:39 +0200ft(~ft@p3e9bcb39.dip0.t-ipconnect.de) (Quit: leaving)
2024-06-24 11:08:35 +0200Nixkernal(~Nixkernal@240.17.194.178.dynamic.cust.swisscom.net)
2024-06-24 12:07:22 +0200hightower2(~hightower@94.253.189.0)
2024-06-24 14:14:22 +0200cfricke(~cfricke@user/cfricke) (Ping timeout: 268 seconds)
2024-06-24 14:27:42 +0200cfricke(~cfricke@user/cfricke)
2024-06-24 16:12:31 +0200Leary(~Leary@user/Leary/x-0910699) (Ping timeout: 260 seconds)
2024-06-24 17:22:17 +0200mekeor(~user@2001:a61:24d2:9401:96ac:ce90:6d78:efe3)
2024-06-24 17:35:23 +0200catman(~catman@user/catman) (Quit: WeeChat 4.3.0-dev)
2024-06-24 17:36:36 +0200catman(~catman@user/catman)
2024-06-24 18:19:18 +0200cfricke(~cfricke@user/cfricke) (Quit: WeeChat 4.2.2)
2024-06-24 18:27:06 +0200 <haskellbridge> <iqubic (she/her)> Does xmonad actually set "_NET_DESKTOP_NAMES"?
2024-06-24 18:27:57 +0200 <haskellbridge> <iqubic (she/her)> Running "xprop -root _NET_SUPPORTED" shows that atom in the output list, but running "xprop -root _NET_DESKTOP_NAMES" gives "_NET_DESKTOP_NAMES: not found."
2024-06-24 18:29:55 +0200 <geekosaur> it's supposed to https://github.com/xmonad/xmonad-contrib/blob/master/XMonad/Hooks/EwmhDesktops.hs#L370
2024-06-24 18:30:44 +0200 <geekosaur> https://github.com/xmonad/xmonad-contrib/blob/master/XMonad/Hooks/EwmhDesktops.hs#L576-L583
2024-06-24 18:31:10 +0200 <geekosaur> hilfy «xmonad-contrib*debugEvents-fixes-2» ⁅xmonad-contrib⁆ Z$ xprop -root _NET_DESKTOP_NAMES
2024-06-24 18:31:10 +0200 <geekosaur> _NET_DESKTOP_NAMES(UTF8_STRING) = "shell", "emacs", "mail", "irc", "keep", "dev", "windows", "crawl", "games", "spare", "calibre", "xmonadtrack", "spare1", "spare2", "spare3", "spare4", "NSP"
2024-06-24 18:31:58 +0200 <haskellbridge> <iqubic (she/her)> I'm using this: https://dpaste.com/46MTUL64V
2024-06-24 18:32:15 +0200 <haskellbridge> <iqubic (she/her)> And then I'm layering my own changes on top of that.
2024-06-24 18:32:55 +0200 <geekosaur> looks correct to me
2024-06-24 18:33:11 +0200 <haskellbridge> <iqubic (she/her)> Yeah... I know.
2024-06-24 18:33:47 +0200 <haskellbridge> <iqubic (she/her)> So why is "xprop" telling me that it can't find the things?
2024-06-24 18:35:52 +0200 <haskellbridge> <iqubic (she/her)> Is this some weird NixOS specific bug?
2024-06-24 18:40:49 +0200 <geekosaur> I have no idea. you might ask on e.g. reddit if other people have the problem
2024-06-24 18:41:43 +0200 <haskellbridge> <iqubic (she/her)> Sure thing.
2024-06-24 18:54:17 +0200 <geekosaur> I wonder if any other atoms are missing
2024-06-24 18:55:25 +0200 <geekosaur> unfortunately you can't just run through the list in _NET_SUPPORTED because some are root window properties, some are client window properties, and some are items in a client window's _NET_WM_STATE property
2024-06-24 19:00:50 +0200 <haskellbridge> <iqubic (she/her)> I can tell you that "_NET_WM_NAME" isn't set for me either.
2024-06-24 19:01:24 +0200 <haskellbridge> <iqubic (she/her)> I just made a reddit post.
2024-06-24 19:02:45 +0200hightower2(~hightower@94.253.189.0) (Ping timeout: 256 seconds)
2024-06-24 19:03:00 +0200 <haskellbridge> <iqubic (she/her)> https://www.reddit.com/r/xmonad/comments/1dnigra/xmonad_polybar_and_nixos_woes/?
2024-06-24 19:03:03 +0200 <haskellbridge> <iqubic (she/her)> * https://www.reddit.com/r/xmonad/comments/1dnigra/xmonad_polybar_and_nixos_woes/
2024-06-24 19:03:56 +0200 <geekosaur> it's a client window property, won't be set on root
2024-06-24 19:04:26 +0200 <haskellbridge> <iqubic (she/her)> What other properties should I check for?
2024-06-24 19:05:25 +0200hightower2(~hightower@dh207-112-225.xnet.hr)
2024-06-24 19:09:37 +0200 <geekosaur> here's my root window list, pruned to EWMH properties
2024-06-24 19:09:39 +0200 <geekosaur> https://paste.tomsmeding.com/SXSBmVdz
2024-06-24 19:10:48 +0200 <haskellbridge> <iqubic (she/her)> How did you get that? "xprop -root"?
2024-06-24 19:11:42 +0200 <haskellbridge> <iqubic (she/her)> This is what I get from "xprop -root": https://paste.tomsmeding.com/uDqMEiuE
2024-06-24 19:13:35 +0200 <geekosaur> wow, you're missing a lot of stuff
2024-06-24 19:14:03 +0200 <haskellbridge> <iqubic (she/her)> I know...
2024-06-24 19:14:04 +0200 <geekosaur> basically everything set by ewmh's loghook
2024-06-24 19:14:26 +0200 <geekosaur> can you check your X session log to make sure the logHook isn't throwing an exception?
2024-06-24 19:15:18 +0200 <haskellbridge> <iqubic (she/her)> ".xsession-errors" has a single line of text: "Environment variable $SSH_AUTH_SOCK not set, ignoring."
2024-06-24 19:16:05 +0200 <geekosaur> nixos may store the session log somewhere else (in particular, in systemd's logs meaning you would need to use journalctl)
2024-06-24 19:16:07 +0200 <haskellbridge> <iqubic (she/her)> Guess who's a major idiot: https://gist.github.com/IQubic/70d20a41347a88577fecb50579e2f463#file-xmonad-hs-L229
2024-06-24 19:16:13 +0200 <geekosaur> (but I don't know details)
2024-06-24 19:16:15 +0200 <haskellbridge> <iqubic (she/her)> No... That's not the error.
2024-06-24 19:16:33 +0200 <haskellbridge> <iqubic (she/her)> Look at the line I just linked to in my config.
2024-06-24 19:16:43 +0200 <geekosaur> no, the `ewmh` combinator adds to the `logHook`
2024-06-24 19:16:43 +0200 <haskellbridge> <iqubic (she/her)> I'm literally never calling the exwmLogHook.
2024-06-24 19:16:57 +0200 <haskellbridge> <iqubic (she/her)> Oh?
2024-06-24 19:17:01 +0200 <geekosaur> you don't need to do it yourself and you'll get a deprecation warning if you do
2024-06-24 19:17:18 +0200 <geekosaur> pointing you to the `ewmh` combinator
2024-06-24 19:19:16 +0200 <haskellbridge> <iqubic (she/her)> Yes, I know that. But I'm taking the baseconfig, and replacing the entire logHook with one that only runs dynamicLogWithPP.
2024-06-24 19:19:36 +0200 <geekosaur> nope, ewmh applies _after_ your config
2024-06-24 19:19:40 +0200 <geekosaur> it appends to it
2024-06-24 19:19:58 +0200 <haskellbridge> <iqubic (she/her)> Oh?
2024-06-24 19:20:27 +0200 <geekosaur> that's the whole point, we're moving away from "list a lot of hooks yourself" to "list a combinator that appends to your config"
2024-06-24 19:21:00 +0200 <geekosaur> especially for things like ewmh that need to modify multiple hooks to work right (startupHook, logHook, handleEventHook, etc.)
2024-06-24 19:23:11 +0200ft(~ft@p3e9bcb39.dip0.t-ipconnect.de)
2024-06-24 19:44:01 +0200 <geekosaur> fwiw, it looks like on nixos you want `journalctl -t xsession`
2024-06-24 19:44:44 +0200 <haskellbridge> <iqubic (she/her)> Yeah, it literally wasn't running the ewmh logHook.
2024-06-24 19:58:03 +0200 <haskellbridge> <iqubic (she/her)> Is it possible to modify the ewmhLogHook so it doesn't output info about named scratchpad workspaces?
2024-06-24 19:59:57 +0200 <geekosaur> https://hackage.haskell.org/package/xmonad-contrib-0.18.0/docs/XMonad-Hooks-StatusBar-PP.html#v:fi…
2024-06-24 20:02:34 +0200 <haskellbridge> <iqubic (she/her)> Yeah, but I'm trying to get the ewmhLogHook to not set a _NET_DESKTOP_NAMES value for named scratchpads. I'm not using a PP. I'm telling polybar to just read the _NET_DESKTOP_NAMES property of the root window.
2024-06-24 20:03:34 +0200 <haskellbridge> <iqubic (she/her)> Well, currently I am, but I'm planning on not doing that in the future.
2024-06-24 20:05:38 +0200 <geekosaur> https://hackage.haskell.org/package/xmonad-contrib-0.18.0/docs/XMonad-Hooks-EwmhDesktops.html#g:3
2024-06-24 20:05:45 +0200 <geekosaur> where it's the second example
2024-06-24 20:06:00 +0200 <haskellbridge> <iqubic (she/her)> Thanks.
2024-06-24 20:07:50 +0200 <haskellbridge> <iqubic (she/her)> Also, I fixed my logHook issues by using this line: "logHook = logHook baseConfig <> dynamicLogWithPP (myXMobarPP xmproc)"
2024-06-24 20:08:10 +0200 <haskellbridge> <iqubic (she/her)> It literally wasn't running the ewhm logHook.
2024-06-24 20:08:59 +0200 <geekosaur> oh, right, you aren't doing things the way we expect. `ewmh`, `docks`, etc. should apply _after_ your config, not before, but that's what your `baseConfig` is doing
2024-06-24 20:09:20 +0200 <haskellbridge> <iqubic (she/her)> Oh? If I do it after will it work better?
2024-06-24 20:09:43 +0200 <geekosaur> you don't have to remember to put the hooks from `baseConfig` back in
2024-06-24 20:09:52 +0200 <haskellbridge> <iqubic (she/her)> You're also doing it before, I think...
2024-06-24 20:09:53 +0200 <haskellbridge> <iqubic (she/her)> https://github.com/geekosaur/xmonad.hs/blob/hilfy-2023/xmonad.hs#L59
2024-06-24 20:10:32 +0200 <geekosaur> yes, because debugManageHookOn happens to be safe
2024-06-24 20:10:43 +0200 <geekosaur> altghough I should move ewmhFullscreen
2024-06-24 20:10:58 +0200 <geekosaur> I don't fullscreen stuff very often
2024-06-24 20:12:12 +0200 <haskellbridge> <iqubic (she/her)> See, the example here also requires you to remember to put in all the hooks yourself: https://hackage.haskell.org/package/xmonad-contrib-0.18.0/docs/XMonad-Config-Desktop.html#g:3
2024-06-24 20:13:53 +0200 <geekosaur> yes, that's the problem with the desktop configs
2024-06-24 20:14:01 +0200 <geekosaur> I think we have an open ticket about that
2024-06-24 20:14:24 +0200 <haskellbridge> <iqubic (she/her)> There doesn't seem to be a function of the type "mkDesktopConfig :: Layout a => XConfig a -> XConfig a", so I'm having to do it this way.
2024-06-24 20:14:29 +0200 <geekosaur> I think liskin wants them to go away for that reason?
2024-06-24 20:15:16 +0200 <haskellbridge> <iqubic (she/her)> Oh, liskin wants to just remove the desktopConfigs?
2024-06-24 20:19:15 +0200 <geekosaur> Possibly replacing them, but as is they're somewhat problematic, so yes
2024-06-24 20:19:41 +0200 <geekosaur> X.C.Desktop itself in particular doesn't do anything you can't do with a couple combinators
2024-06-24 20:19:50 +0200 <geekosaur> and misses some things you probably want
2024-06-24 20:21:46 +0200 <haskellbridge> <iqubic (she/her)> You're right... I literally don't need it.
2024-06-24 20:32:30 +0200 <haskellbridge> <iqubic (she/her)> I just switched to this, which does the same thing, but now I don't need to remember to add the default hooks! YAY. https://paste.tomsmeding.com/1oFk2cye
2024-06-24 20:43:34 +0200 <liskin> I do
2024-06-24 20:43:38 +0200 <liskin> Don't
2024-06-24 20:43:52 +0200 <liskin> Blah, touch keyboards, let's try again
2024-06-24 20:44:32 +0200 <liskin> I don't think it was me who wanted X.C to go away but yeah they aren't particularly extensible
2024-06-24 20:45:00 +0200 <haskellbridge> <iqubic (she/her)> What is X.C?
2024-06-24 20:45:07 +0200 <geekosaur> XMonad.Config
2024-06-24 20:45:14 +0200 <liskin> If anything, my mission was using ExtensibleConf to make more stuff extensible as is
2024-06-24 20:45:39 +0200 <haskellbridge> <iqubic (she/her)> Ah. Yeah... that makes sense. I just refactored my config to no longer use X.C
2024-06-24 20:45:41 +0200 <liskin> But I have so many missions I'm unlikely to make much progress on any :-(
2024-06-24 20:46:18 +0200 <liskin> (also I don't really have much time besides day job and hobbies)
2024-06-24 21:38:37 +0200 <haskellbridge> <lush> Is it possible to set a Keybinding to "M-s <Return>"? It doesn't seem to work for me...
2024-06-24 21:44:46 +0200 <geekosaur> seems to work here
2024-06-24 21:48:55 +0200 <geekosaur> just to be certain, you intend mod-s return, not mod-shift-return?
2024-06-24 21:49:41 +0200 <haskellbridge> <lush> yeah, I intend mod-s return
2024-06-24 21:49:41 +0200 <haskellbridge> and it works for me too now, I realised that I made a stupid mistake in my config...
2024-06-24 21:49:44 +0200 <haskellbridge> <lush> thanks!