2024/06/24

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