Home liberachat/#xmonad: Logs Calendar

Logs on 2024-06-24 (liberachat/#xmonad)

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

All times are in UTC on 2024-06-24.