Logs: liberachat/#xmonad
| 2024-06-24 16:54:17 | <geekosaur> | I wonder if any other atoms are missing |
| 2024-06-24 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 |
| 2024-06-24 17:00:50 | <haskellbridge> | <iqubic (she/her)> I can tell you that "_NET_WM_NAME" isn't set for me either. |
| 2024-06-24 17:01:24 | <haskellbridge> | <iqubic (she/her)> I just made a reddit post. |
| 2024-06-24 17:02:45 | × | hightower2 quits (~hightower@94.253.189.0) (Ping timeout: 256 seconds) |
| 2024-06-24 17:03:00 | <haskellbridge> | <iqubic (she/her)> https://www.reddit.com/r/xmonad/comments/1dnigra/xmonad_polybar_and_nixos_woes/? |
| 2024-06-24 17:03:03 | <haskellbridge> | <iqubic (she/her)> * https://www.reddit.com/r/xmonad/comments/1dnigra/xmonad_polybar_and_nixos_woes/ |
| 2024-06-24 17:03:56 | <geekosaur> | it's a client window property, won't be set on root |
| 2024-06-24 17:04:26 | <haskellbridge> | <iqubic (she/her)> What other properties should I check for? |
| 2024-06-24 17:05:25 | → | hightower2 joins (~hightower@dh207-112-225.xnet.hr) |
| 2024-06-24 17:09:37 | <geekosaur> | here's my root window list, pruned to EWMH properties |
| 2024-06-24 17:09:39 | <geekosaur> | https://paste.tomsmeding.com/SXSBmVdz |
| 2024-06-24 17:10:48 | <haskellbridge> | <iqubic (she/her)> How did you get that? "xprop -root"? |
| 2024-06-24 17:11:42 | <haskellbridge> | <iqubic (she/her)> This is what I get from "xprop -root": https://paste.tomsmeding.com/uDqMEiuE |
| 2024-06-24 17:13:35 | <geekosaur> | wow, you're missing a lot of stuff |
| 2024-06-24 17:14:03 | <haskellbridge> | <iqubic (she/her)> I know... |
| 2024-06-24 17:14:04 | <geekosaur> | basically everything set by ewmh's loghook |
| 2024-06-24 17:14:26 | <geekosaur> | can you check your X session log to make sure the logHook isn't throwing an exception? |
| 2024-06-24 17:15:18 | <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 | <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 | <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 | <geekosaur> | (but I don't know details) |
| 2024-06-24 17:16:15 | <haskellbridge> | <iqubic (she/her)> No... That's not the error. |
| 2024-06-24 17:16:33 | <haskellbridge> | <iqubic (she/her)> Look at the line I just linked to in my config. |
| 2024-06-24 17:16:43 | <geekosaur> | no, the `ewmh` combinator adds to the `logHook` |
| 2024-06-24 17:16:43 | <haskellbridge> | <iqubic (she/her)> I'm literally never calling the exwmLogHook. |
| 2024-06-24 17:16:57 | <haskellbridge> | <iqubic (she/her)> Oh? |
| 2024-06-24 17:17:01 | <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 | <geekosaur> | pointing you to the `ewmh` combinator |
| 2024-06-24 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. |
| 2024-06-24 17:19:36 | <geekosaur> | nope, ewmh applies _after_ your config |
| 2024-06-24 17:19:40 | <geekosaur> | it appends to it |
| 2024-06-24 17:19:58 | <haskellbridge> | <iqubic (she/her)> Oh? |
| 2024-06-24 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" |
| 2024-06-24 17:21:00 | <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 | → | ft joins (~ft@p3e9bcb39.dip0.t-ipconnect.de) |
| 2024-06-24 17:44:01 | <geekosaur> | fwiw, it looks like on nixos you want `journalctl -t xsession` |
| 2024-06-24 17:44:44 | <haskellbridge> | <iqubic (she/her)> Yeah, it literally wasn't running the ewmh logHook. |
| 2024-06-24 17:58:03 | <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 | <geekosaur> | https://hackage.haskell.org/package/xmonad-contrib-0.18.0/docs/XMonad-Hooks-StatusBar-PP.html#v:filterOutWsPP |
| 2024-06-24 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. |
| 2024-06-24 18:03:34 | <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 | <geekosaur> | https://hackage.haskell.org/package/xmonad-contrib-0.18.0/docs/XMonad-Hooks-EwmhDesktops.html#g:3 |
| 2024-06-24 18:05:45 | <geekosaur> | where it's the second example |
| 2024-06-24 18:06:00 | <haskellbridge> | <iqubic (she/her)> Thanks. |
| 2024-06-24 18:07:50 | <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 | <haskellbridge> | <iqubic (she/her)> It literally wasn't running the ewhm logHook. |
| 2024-06-24 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 |
| 2024-06-24 18:09:20 | <haskellbridge> | <iqubic (she/her)> Oh? If I do it after will it work better? |
| 2024-06-24 18:09:43 | <geekosaur> | you don't have to remember to put the hooks from `baseConfig` back in |
| 2024-06-24 18:09:52 | <haskellbridge> | <iqubic (she/her)> You're also doing it before, I think... |
| 2024-06-24 18:09:53 | <haskellbridge> | <iqubic (she/her)> https://github.com/geekosaur/xmonad.hs/blob/hilfy-2023/xmonad.hs#L59 |
| 2024-06-24 18:10:32 | <geekosaur> | yes, because debugManageHookOn happens to be safe |
| 2024-06-24 18:10:43 | <geekosaur> | altghough I should move ewmhFullscreen |
| 2024-06-24 18:10:58 | <geekosaur> | I don't fullscreen stuff very often |
| 2024-06-24 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 |
| 2024-06-24 18:13:53 | <geekosaur> | yes, that's the problem with the desktop configs |
| 2024-06-24 18:14:01 | <geekosaur> | I think we have an open ticket about that |
| 2024-06-24 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. |
| 2024-06-24 18:14:29 | <geekosaur> | I think liskin wants them to go away for that reason? |
| 2024-06-24 18:15:16 | <haskellbridge> | <iqubic (she/her)> Oh, liskin wants to just remove the desktopConfigs? |
| 2024-06-24 18:19:15 | <geekosaur> | Possibly replacing them, but as is they're somewhat problematic, so yes |
| 2024-06-24 18:19:41 | <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 | <geekosaur> | and misses some things you probably want |
| 2024-06-24 18:21:46 | <haskellbridge> | <iqubic (she/her)> You're right... I literally don't need it. |
| 2024-06-24 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 |
| 2024-06-24 18:43:34 | <liskin> | I do |
| 2024-06-24 18:43:38 | <liskin> | Don't |
| 2024-06-24 18:43:52 | <liskin> | Blah, touch keyboards, let's try again |
| 2024-06-24 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 |
| 2024-06-24 18:45:00 | <haskellbridge> | <iqubic (she/her)> What is X.C? |
| 2024-06-24 18:45:07 | <geekosaur> | XMonad.Config |
| 2024-06-24 18:45:14 | <liskin> | If anything, my mission was using ExtensibleConf to make more stuff extensible as is |
| 2024-06-24 18:45:39 | <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 | <liskin> | But I have so many missions I'm unlikely to make much progress on any :-( |
| 2024-06-24 18:46:18 | <liskin> | (also I don't really have much time besides day job and hobbies) |
| 2024-06-24 19:38:37 | <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 | <geekosaur> | seems to work here |
| 2024-06-24 19:48:55 | <geekosaur> | just to be certain, you intend mod-s return, not mod-shift-return? |
| 2024-06-24 19:49:41 | <haskellbridge> | <lush> yeah, I intend mod-s return |
| 2024-06-24 19:49:41 | <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 | <haskellbridge> | <lush> thanks! |
| 2024-06-24 23:21:01 | → | mekeor` joins (~user@2001:a61:25ed:a301:ad37:1d69:745f:dbe2) |
| 2024-06-24 23:22:27 | × | mekeor quits (~user@2001:a61:24d2:9401:96ac:ce90:6d78:efe3) (Ping timeout: 264 seconds) |
| 2024-06-24 23:25:40 | mekeor` | is now known as mekeor |
| 2024-06-25 00:06:59 | × | mekeor quits (~user@2001:a61:25ed:a301:ad37:1d69:745f:dbe2) (Quit: bad [...] major browsers) |
| 2024-06-25 00:39:37 | <haskellbridge> | <iqubic (she/her)> How exactly does ewmh work? How does xmonad set which workspaces have windows on them? |
| 2024-06-25 00:39:52 | <haskellbridge> | <iqubic (she/her)> Is there just some property of the root window I can query? |
| 2024-06-25 00:44:40 | <geekosaur> | it's kinda backwards. there's no mater list; every client has a _NET_WM_DESKTOP with the EWMH workspace number (index into _NET_DESKTOP_NAMES) as its value |
| 2024-06-25 00:46:01 | <geekosaur> | when you use xmonad's PP instead of EWMH, xmonad can query the Stack of each workspace; programs that use EWMH have to use XQueryTree and then query every top level window returned |
| 2024-06-25 00:46:19 | <haskellbridge> | <iqubic (she/her)> I see. |
| 2024-06-25 00:46:58 | <haskellbridge> | <iqubic (she/her)> From what I'm seeing in the polybar source, it seems to use the XQueryTree. |
| 2024-06-25 00:56:22 | <geekosaur> | actually it looks like it can get a window list from _NET_CLIENT_LIST on the root window, but it still has to query them for _NET_WM_DESKTOP to see where they are |
| 2024-06-25 00:57:21 | <geekosaur> | but many programs might not bother having both paths since it has to fall back to XQueryTree if _NET_CLIENT_LIST isn't in _NET_SUPPORTED or not present on the root window |
| 2024-06-25 02:44:30 | × | terrorjack quits (~terrorjac@2a01:4f8:c17:87f8::) (Quit: The Lounge - https://thelounge.chat) |
| 2024-06-25 02:48:35 | → | terrorjack joins (~terrorjac@2a01:4f8:c17:87f8::) |
| 2024-06-25 02:50:26 | × | td_ quits (~td@i5387092F.versanet.de) (Ping timeout: 256 seconds) |
| 2024-06-25 02:50:35 | → | Leary joins (~Leary@user/Leary/x-0910699) |
| 2024-06-25 02:52:21 | → | td_ joins (~td@i53870933.versanet.de) |
| 2024-06-25 07:21:41 | × | ft quits (~ft@p3e9bcb39.dip0.t-ipconnect.de) (Quit: leaving) |
All times are in UTC.