2023/12/30

2023-12-30 01:28:28 +0000xmonadtrack(~xmonadtra@user/geekosaur/bot/xmonadtrack) (Ping timeout: 276 seconds)
2023-12-30 01:29:05 +0000haskellbridge(~haskellbr@069-135-003-034.biz.spectrum.com) (Ping timeout: 252 seconds)
2023-12-30 01:38:52 +0000xmonadtrack(~xmonadtra@069-135-003-034.biz.spectrum.com)
2023-12-30 01:38:52 +0000xmonadtrack(~xmonadtra@069-135-003-034.biz.spectrum.com) (Changing host)
2023-12-30 01:38:52 +0000xmonadtrack(~xmonadtra@user/geekosaur/bot/xmonadtrack)
2023-12-30 01:39:25 +0000haskellbridge(~haskellbr@069-135-003-034.biz.spectrum.com)
2023-12-30 02:20:31 +0000SpiderPig(~matt@047-132-235-136.res.spectrum.com)
2023-12-30 03:28:59 +0000td_(~td@i53870902.versanet.de) (Ping timeout: 252 seconds)
2023-12-30 03:30:38 +0000td_(~td@i53870904.versanet.de)
2023-12-30 03:35:23 +0000thunderrd(~thunderrd@183.182.110.131)
2023-12-30 05:27:08 +0000thunderrd(~thunderrd@183.182.110.131) (Remote host closed the connection)
2023-12-30 09:33:30 +0000T_X_(~T_X@diktynna.open-mesh.org)
2023-12-30 09:33:55 +0000T_X(~T_X@diktynna.open-mesh.org) (Read error: Connection reset by peer)
2023-12-30 11:33:18 +0000edog(~edog@alcotrash.org)
2023-12-30 12:04:00 +0000Guest67(~Guest67@2400:1a00:bd11:7857:2e0:4cff:fefc:a34d)
2023-12-30 12:06:33 +0000Guest67(~Guest67@2400:1a00:bd11:7857:2e0:4cff:fefc:a34d) ()
2023-12-30 13:26:21 +0000Guest1(~Guest1@2a02:8071:b80:1c20:4ed5:77ff:fea2:6ef5)
2023-12-30 13:42:28 +0000Guest1Groggermaniac
2023-12-30 13:49:18 +0000 <Groggermaniac> Hey all, currently a _NET_ACTIVE_WINDOW request with a bad window id causes (windows id) to be called, which is apparently enough to collapse context menus and such, which is a problem if opening the context menu is what caused the request in the first place: https://old.reddit.com/r/xmonad/comments/18rck0e/reaper_daw_and_xmonad/. Should I make an
2023-12-30 13:49:19 +0000 <Groggermaniac> issue and/or a pull request for this, or is it not a bug?
2023-12-30 13:54:17 +0000 <liskin> Hm, I guess I should have made the activateHook a MaybeManageHook instead
2023-12-30 13:54:37 +0000 <liskin> I vaguely remember thinking about it and deciding against
2023-12-30 13:54:40 +0000 <liskin> But why
2023-12-30 13:55:17 +0000 <liskin> If I had you'd have the ability to ignore the request more easily
2023-12-30 13:56:04 +0000 <liskin> Now you have to code your own event hook that filters the request before EwmhDesktops sees it
2023-12-30 13:56:51 +0000 <liskin> Actually I think I wanted to make it possible to use PureX somehow instead of windows, but couldn't figure out a way to do it nicely
2023-12-30 13:57:05 +0000 <liskin> Decades of legacy apis...
2023-12-30 15:21:47 +0000 <haskellbridge> <S​olid> Looking forward to a fresh start with wlroots? :P
2023-12-30 16:13:05 +0000 <liskin> :-)
2023-12-30 16:32:16 +0000 <geekosaur> I already made that comment on discourse
2023-12-30 16:34:17 +0000T_X_T_X
2023-12-30 18:09:50 +0000portnov(~portnov@v-20678-unlim.vpn.mgn.ru)
2023-12-30 18:48:16 +0000andi_(~andi@user/andi/x-3467420)
2023-12-30 18:49:15 +0000 <andi_> hello i am using xmonad and xmobar, anybody has an idea why my xmobar (config: https://paste.xinu.at/7XpAD/) looks like: https://paste.xinu.at/qOptdD/ (it's slighly shifted to the top)
2023-12-30 18:51:42 +0000 <geekosaur> looks to me like the font's too big for the bar's size?
2023-12-30 18:56:42 +0000 <andi_> hmm alright i'll tinker a bit
2023-12-30 18:58:11 +0000 <geekosaur> when sizing a font you also have to consider ascenders and descenders; the descenders look like they're in the right place
2023-12-30 19:03:21 +0000portnov(~portnov@v-20678-unlim.vpn.mgn.ru) (Remote host closed the connection)
2023-12-30 19:37:53 +0000portnov(~portnov@v-20678-unlim.vpn.mgn.ru)
2023-12-30 19:43:47 +0000 <ectospasm> I've migrated my xmonad.hs to a new laptop, and while I was tweaking things getting things to line up correctly on the screen, I seem to have lost my DynamicWorkspaces prompt. I have (winKey, xK_h) set up to switch to the named workspace, and (winKey, xK_z) to shift the current window to the named workspace.
2023-12-30 19:44:01 +0000 <ectospasm> The prompt isn't showing anymore, here's my current xmonad.hs: https://git.eldon.me/trey/XMonad/src/branch/master/xmonad.hs
2023-12-30 20:08:59 +0000 <geekosaur> hm. the usual cause of a prompt not showing is a bad font, but you're using the same font everywhere and the monospace alias is mandatory
2023-12-30 20:09:45 +0000 <geekosaur> can you check session log output (usually ~/.Xsession-errors) for any exception messages?
2023-12-30 21:19:40 +0000portnov(~portnov@v-20678-unlim.vpn.mgn.ru) (Remote host closed the connection)
2023-12-30 21:30:10 +0000Groggermaniac(~Guest1@2a02:8071:b80:1c20:4ed5:77ff:fea2:6ef5) (Quit: Client closed)
2023-12-30 21:35:15 +0000 <ectospasm> geekosaur: I don't have ~/.Xsession-errors, and it looks like ~/.xmonad/xmonad.errors just has where I compiled it last (just before launching this X session with startx)
2023-12-30 21:37:23 +0000 <geekosaur> how do you start X11?
2023-12-30 21:37:58 +0000 <geekosaur> if you use startx, the session log is on the VT where you ran startx
2023-12-30 21:38:33 +0000 <geekosaur> if you use sddm, the session log is ~/.local/share/sddm/xorg-session.log
2023-12-30 21:42:22 +0000 <ectospasm> I'm not using a DM, just the Linux console. I have an alias stx='xmonad --recompile && startx', and that's how I start it.
2023-12-30 21:42:51 +0000 <geekosaur> okay, then you need to switch back to the text VT to see the log
2023-12-30 21:43:18 +0000 <geekosaur> ctrl+alt+F<n> (<n> is usually 1)
2023-12-30 21:43:28 +0000 <ectospasm> Hmmmm, X is running on VT1, it doesn't spawn on VT7 like I've seen a long time ago.
2023-12-30 21:44:06 +0000 <geekosaur> odd
2023-12-30 21:46:07 +0000 <geekosaur> you can try switching to all the VTs to see which one is text, or `ps -ef | grep startx` and see what it shows for its tty
2023-12-30 21:46:07 +0000 <ectospasm> This is Arch, and that's how it's been doing it for a while.
2023-12-30 21:46:40 +0000 <ectospasm> yeah, it says tty1
2023-12-30 21:47:17 +0000 <geekosaur> odd, that'd be VT 1
2023-12-30 21:47:39 +0000 <ectospasm> And when I press fn + ctrl + F1 it takes me back to X; fn + ctrl + F2..F6 show login prompts on tty2-6
2023-12-30 21:50:50 +0000 <geekosaur> wonder if they're actually switching it to graphics instead of using a different VT; unfortunately that would mean you have no session log and will have to restart X with startx output and error redirected (startx >~/.Xsession-errors 2>&1)
2023-12-30 21:51:10 +0000 <ectospasm> I see a bunch of stuff printed in ~/.local/share/xorg/Xorg.0.log when I switch TTYs
2023-12-30 21:51:25 +0000 <ectospasm> OK, I can add that to my alias.
2023-12-30 21:51:33 +0000 <geekosaur> right, that's the server log
2023-12-30 21:51:43 +0000 <geekosaur> it doesn't contain session output
2023-12-30 21:51:49 +0000 <ectospasm> OK
2023-12-30 21:54:11 +0000 <ectospasm> OK, now that I'm capturing .Xsession-errors I see this: user error (createFontSet)
2023-12-30 21:54:22 +0000 <ectospasm> So it doesn't like my font?
2023-12-30 21:54:58 +0000 <geekosaur> worse than that, it seems like your xmonad-contrib may have been built without XFT support
2023-12-30 21:54:58 +0000 <ectospasm> That's when I press winKey + XK_z or winKey + xK_h.
2023-12-30 21:55:14 +0000 <geekosaur> so you would have to use old-style fonts
2023-12-30 21:56:05 +0000 <ectospasm> Hmmm, on my other machine this monospace font was working OK, also on Arch.
2023-12-30 21:57:26 +0000 <geekosaur> how did you install xmonad and xmonad-contrib, arch packages or hackage/cabal/stack?
2023-12-30 21:59:02 +0000 <ectospasm> Arch packages
2023-12-30 22:00:10 +0000 <ectospasm> I know the Arch Haskell packages have always been considered broken, but I've had the least trouble with the xmonad stuff (other Haskell packages have had issues)
2023-12-30 22:01:01 +0000 <geekosaur> odd. the dependencies indicate that it was built with -fuse_xft
2023-12-30 22:06:03 +0000 <geekosaur> oh, wait
2023-12-30 22:06:16 +0000 <geekosaur> the font name should be prefixed by "xft:"
2023-12-30 22:06:38 +0000 <geekosaur> I'm not sure how it would have been working without that
2023-12-30 22:06:56 +0000 <geekosaur> https://github.com/xmonad/xmonad-contrib/blob/master/XMonad/Prompt.hs#L325 for example
2023-12-30 22:08:10 +0000 <geekosaur> https://github.com/geekosaur/xmonad.hs/blob/hilfy-2023/xmonad.hs#L340 is what I use
2023-12-30 22:08:28 +0000 <ectospasm> Oh, OK. Let me try that.
2023-12-30 22:08:42 +0000 <geekosaur> (I have a double resolution monitor so fonts are stupid big…)
2023-12-30 22:09:30 +0000 <ectospasm> That fixed it! I don't know how it was working before without it.
2023-12-30 22:10:19 +0000 <ectospasm> I've been mucking about with Xft.DPI a bit, when it's set to the DPI as detected by xdpyinfo fonts in GTK+ and Qt apps are too tiny to read
2023-12-30 22:10:53 +0000 <ectospasm> I'm getting old, so anything too small is a pain to read.
2023-12-30 22:11:22 +0000 <ectospasm> (my new laptop has an OLED screen, and it's much higher resolution than my old laptop)
2023-12-30 22:11:39 +0000 <ectospasm> I'm regretting getting this screen, it really reduces battery life quite a bit.
2023-12-30 22:12:09 +0000 <ectospasm> I've been told this laptop should be able to get 14 hours out of a charge, but I can only manage just under 7 with this OLED screen.