2022/07/09

2022-07-09 00:05:09 +0200noex_(~null@2600:8804:14e0:104::1e13)
2022-07-09 00:59:56 +0200joshproehl(~quassel@user/joshproehl) (Remote host closed the connection)
2022-07-09 01:00:50 +0200joshproehl(~quassel@user/joshproehl)
2022-07-09 01:04:58 +0200Baitinq(~Baitinq@48.red-83-55-226.dynamicip.rima-tde.net) (Quit: Client closed)
2022-07-09 01:52:42 +0200gdd1(~gdd@2001:470:1f13:187:2e9b:467c:7a38:be67) (Ping timeout: 272 seconds)
2022-07-09 01:54:19 +0200gdd1(~gdd@129.199.146.230)
2022-07-09 03:57:33 +0200Shadorain(~Shadorain@pool-108-53-7-39.nwrknj.fios.verizon.net)
2022-07-09 04:03:43 +0200banc(banc@gateway/vpn/airvpn/banc) (Ping timeout: 256 seconds)
2022-07-09 04:05:43 +0200 <Shadorain> hey! so I recently compiled and found that there was a few breaking changes in my config. Main one being EwmhDesktops. I have a slightly custom setup that worked great until this and i dont exactly know how to fix it
2022-07-09 04:06:08 +0200 <Shadorain> i have 3 mons and separate workspaces per each, and I want my loghook to only display one monitors worth. This was all setup
2022-07-09 04:06:46 +0200telser(~quassel@user/telser)
2022-07-09 04:08:29 +0200 <Shadorain> ```myLogHook = do
2022-07-09 04:08:29 +0200 <Shadorain>     ewmhDesktopsEventHookCustom (unmarshallWindowSpace . Main.workspacesOn 0 . namedScratchpadFilterOutWorkspace)
2022-07-09 04:08:30 +0200 <Shadorain>     logger``` is what i used to have but both the named scratchpad and ewmh functions were deprecated
2022-07-09 04:09:06 +0200 <Shadorain> i was able to figure out how to add the namedScratchpad filter but cant for my other two pieces in that
2022-07-09 04:09:22 +0200 <Shadorain> oops that had a `map` before the unmarshallWindowSpace btw
2022-07-09 04:22:40 +0200banc(banc@gateway/vpn/airvpn/banc)
2022-07-09 04:28:03 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 276 seconds)
2022-07-09 04:32:36 +0200td_(~td@94.134.91.254) (Ping timeout: 276 seconds)
2022-07-09 04:34:04 +0200td_(~td@muedsl-82-207-238-037.citykom.de)
2022-07-09 04:43:17 +0200 <Shadorain> sorry i got that wrong, it originally was `ewmhDesktopsLogHookCustom (map unmarshallWindowSpace . Main.workspacesOn 0 . namedScratchpadFilterOutWorkspace)` slightly different than above
2022-07-09 05:15:02 +0200Shadorain(~Shadorain@pool-108-53-7-39.nwrknj.fios.verizon.net) (Quit: Client closed)
2022-07-09 05:17:27 +0200Shadorain(~Shadorain@pool-108-53-7-39.nwrknj.fios.verizon.net)
2022-07-09 05:18:38 +0200Shadorain(~Shadorain@pool-108-53-7-39.nwrknj.fios.verizon.net) (Client Quit)
2022-07-09 06:40:06 +0200doppo(~doppo@2604:180::e0fc:a07f) (Read error: Connection reset by peer)
2022-07-09 06:40:40 +0200doppo(~doppo@2604:180::e0fc:a07f)
2022-07-09 06:57:04 +0200 <scotabroad[m]> Chromium-based apps and Electron-based apps don't seem to work. Both app types take a while to open, and even then, I can't interact with them (like searching or typing). I am on Fedora 36 with Xmonad 0.17.0 (and yes, I have ewmhFullscreen and ewmh in that order in my xmonad.hs)
2022-07-09 07:12:03 +0200 <scotabroad[m]> Nevermind, disabling hardware acceleration fixed the issue for the Chromium apps (and probably will be needed for others too), though this required logging into GNOME to disable the option
2022-07-09 08:03:40 +0200sagax(~sagax_nb@user/sagax) (Remote host closed the connection)
2022-07-09 08:10:49 +0200Kaladin(~Kaladin@157-131-200-16.fiber.dynamic.sonic.net)
2022-07-09 08:13:08 +0200 <Kaladin> hello #xmonad, I recently updated to 0,17 from 0.15 and had to make changes related to ewmh and now I am having all of my apps flickering, especially noticable at the border which changes color for focus, I seem to be able to use them fine but can anyone help me stop the flickering?
2022-07-09 08:13:22 +0200 <Kaladin> I lwill post the specific change that started it...
2022-07-09 08:15:29 +0200 <Kaladin> myConfig xmproc = ewmh ( docks def ) {...} ... became ... myConfig xmproc = ewmhFullscreen $ ewmh $ docks def {...}
2022-07-09 08:15:43 +0200 <Kaladin> so basically jsut trying to add back in ewmhFullscreen
2022-07-09 08:15:49 +0200 <Kaladin> did I do it wrong?
2022-07-09 08:16:39 +0200sagax(~sagax_nb@user/sagax)
2022-07-09 08:17:10 +0200 <Kaladin> in 0.15 the fullscreenEventHook was used elsewhere .. "myEventHook =..."
2022-07-09 08:26:09 +0200Kaladin(~Kaladin@157-131-200-16.fiber.dynamic.sonic.net) (Quit: Leaving)
2022-07-09 08:28:36 +0200Kaladin(~Kaladin@157-131-200-16.fiber.dynamic.sonic.net)
2022-07-09 08:48:00 +0200 <Kaladin> reverted and flickering gone again but of course now apps don't fullscreen
2022-07-09 09:25:49 +0200Kaladin(~Kaladin@157-131-200-16.fiber.dynamic.sonic.net) (Quit: Leaving)
2022-07-09 10:19:54 +0200chomwitt(~chomwitt@2a02:587:dc0d:4a00:c5c0:a118:2df4:ea86)
2022-07-09 11:02:51 +0200alternateved(~alternate@5.253.206.94)
2022-07-09 11:53:50 +0200Zedgamer9128[m](~zedgamer9@2001:470:69fc:105::2:3ee4)
2022-07-09 11:57:14 +0200 <Zedgamer9128[m]> Hello i want to run a picom with different config when more than one windows are open and different when only one window is open
2022-07-09 11:59:19 +0200 <Zedgamer9128[m]> like how spacingRaw does
2022-07-09 11:59:34 +0200 <Zedgamer9128[m]> it adds gaps when more than two windows are open
2022-07-09 12:42:06 +0200mvk(~mvk@2607:fea8:5ce3:8500::909a)
2022-07-09 13:24:43 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-07-09 14:33:59 +0200 <geekosaur> that's doable with a custom layout modifier, but it would be really distracting
2022-07-09 14:59:37 +0200Shadorain(~Shadorain@pool-108-53-7-39.nwrknj.fios.verizon.net)
2022-07-09 15:00:44 +0200Shadorain(~Shadorain@pool-108-53-7-39.nwrknj.fios.verizon.net) (Client Quit)
2022-07-09 15:09:16 +0200alternateved(~alternate@5.253.206.94) (Ping timeout: 244 seconds)
2022-07-09 15:11:47 +0200 <Zedgamer9128[m]> can xmonad layout be exported to fish shell
2022-07-09 15:12:18 +0200 <Zedgamer9128[m]> like run a spawn command `fish -c set -U layout $win`
2022-07-09 15:12:46 +0200 <Zedgamer9128[m]> where $win is a variable for xmonad layout and it update upon layout change
2022-07-09 15:13:16 +0200 <Zedgamer9128[m]> <Zedgamer9128[m]> "Hello i want to run a picom with..." <- i kind of done this fish shell here is the code
2022-07-09 15:13:28 +0200 <Zedgamer9128[m]> ```
2022-07-09 15:14:29 +0200 <Zedgamer9128[m]> * ```... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/6a9d3fa69cc40660f5350060d8cff4a2bd03…)
2022-07-09 15:14:48 +0200 <Zedgamer9128[m]> * done this from fish shell
2022-07-09 15:15:56 +0200 <Zedgamer9128[m]> but it doesnt change when the layout changes to Full because the apps are still open but only one window is shown
2022-07-09 15:16:04 +0200 <Zedgamer9128[m]> thats why i want to export the layout
2022-07-09 15:21:38 +0200 <geekosaur> you would do that in the logHook, probably with a custom dynamicLogString call. note that it's highly unlikely that fish variables are shared in such a way that a spawn could update them for a running shell
2022-07-09 15:22:24 +0200 <Zedgamer9128[m]> geekosaur: universal variable -U works
2022-07-09 15:23:17 +0200 <Zedgamer9128[m]> any example to do that
2022-07-09 15:23:32 +0200 <Zedgamer9128[m]> i dont really know haskell or xmonad enough
2022-07-09 15:28:33 +0200 <geekosaur> dynamicLogString def {ppOrder = \(_:l:_) -> [l]; ppOutput = spawn "…"}
2022-07-09 15:30:35 +0200 <Zedgamer9128[m]> geekosaur: and where would i put that
2022-07-09 15:30:53 +0200 <Zedgamer9128[m]> in myXmobarPP
2022-07-09 15:30:57 +0200 <Zedgamer9128[m]> * in myXmobarPP ?
2022-07-09 15:32:09 +0200 <geekosaur> hm, that wasn't quite right. but it goes in the logHook
2022-07-09 15:33:30 +0200 <geekosaur> void (dynamicLogString def {ppLayout = show; ppOrder = \(_:l:_) -> [l]; ppOutput = \s -> spawn $ "fish -c set -U " ++ s ++ " $win"})
2022-07-09 15:33:48 +0200 <geekosaur> if I understand your earlier example correctly, which I probably don't because I don't know fish
2022-07-09 15:39:17 +0200 <geekosaur> in particular I am almost certain that needs some extra quotes to work. did you test that command with fish -c to verify it works?
2022-07-09 15:42:25 +0200 <Zedgamer9128[m]> this error is happening
2022-07-09 15:42:25 +0200 <Zedgamer9128[m]> ```
2022-07-09 15:42:25 +0200 <Zedgamer9128[m]> xmonad.hs:37:44: error: parse error on input ‘;’
2022-07-09 15:42:58 +0200 <geekosaur> that doesn't surprise me, I never remember whether that is , or ;
2022-07-09 15:43:17 +0200 <geekosaur> void (dynamicLogString def {ppLayout = show, ppOrder = \(_:l:_) -> [l], ppOutput = \s -> spawn $ "fish -c set -U " ++ s ++ " $win"})
2022-07-09 15:43:27 +0200 <geekosaur> I still think the spawn will be wrong
2022-07-09 15:44:28 +0200 <Zedgamer9128[m]> the full fish command is "fish -c 'set -U layout Full'"
2022-07-09 15:44:49 +0200 <geekosaur> okay, that is doable
2022-07-09 15:45:10 +0200 <Zedgamer9128[m]> but will ++ work since you will have to close the quotes
2022-07-09 15:45:27 +0200 <geekosaur> void (dynamicLogString def {ppLayout = show, ppOrder = \(_:l:_) -> [l], ppOutput = \s -> spawn $ "fish -c 'set -U layout " ++ s ++ "'"})
2022-07-09 15:45:40 +0200 <geekosaur> ++ doesn't care if the string includes quotes
2022-07-09 15:46:03 +0200 <geekosaur> and haskell is not a shell, it doesn't track different kinds of quotes like that
2022-07-09 15:46:48 +0200 <geekosaur> also note that the layout name is quoted by the `ppLayout` so you shouldn't need to worry about that either
2022-07-09 15:47:29 +0200 <Zedgamer9128[m]> xmonad.hs:38:1: error:... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/7e9758857c95f93c2b01ea3ae25551f63d2b…)
2022-07-09 15:47:32 +0200 <Zedgamer9128[m]> new error
2022-07-09 15:48:02 +0200 <geekosaur> once again: this goes in the logHook
2022-07-09 15:48:06 +0200 <geekosaur> not at the top level
2022-07-09 15:48:27 +0200 <geekosaur> https://github.com/geekosaur/xmonad.hs/blob/skkukuk/xmonad.hs#L127
2022-07-09 15:51:31 +0200 <Zedgamer9128[m]> xmonad.hs:47:17: error:
2022-07-09 15:51:31 +0200 <Zedgamer9128[m]> Variable not in scope: void :: X String -> X ()
2022-07-09 15:52:32 +0200 <Zedgamer9128[m]> ```
2022-07-09 15:52:44 +0200 <Zedgamer9128[m]> is this right
2022-07-09 15:52:44 +0200 <Zedgamer9128[m]> * ```... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/329e422866ce2f19e45f210418eaa8fea7e3…)
2022-07-09 16:03:12 +0200 <geekosaur> it's right but I forgot void isn't in the Prelude
2022-07-09 16:03:16 +0200 <geekosaur> @index void
2022-07-09 16:03:17 +0200 <lambdabot> Foreign.Marshal.Error, Foreign.Marshal, Foreign, Foreign.Safe, Foreign.Marshal.Safe, Data.Functor, Control.Monad
2022-07-09 16:03:41 +0200 <geekosaur> import Data.Functor at the top, where you should already have an `import XMonad`
2022-07-09 16:07:14 +0200 <Zedgamer9128[m]> no errors but the variable is not shown
2022-07-09 16:07:42 +0200 <geekosaur> actually I think that should have been dynamicLog without the void, but oh well
2022-07-09 16:07:51 +0200 <geekosaur> I don't know how fish works
2022-07-09 16:12:00 +0200 <geekosaur> can you check for errors in ~/.xsession-errors? (unless you're on fedora and then you have to do something with journalctl)
2022-07-09 16:12:35 +0200 <Zedgamer9128[m]> there is no .xsession-errors arch
2022-07-09 16:12:58 +0200 <geekosaur> did you use startx instead of a display manager?
2022-07-09 16:13:12 +0200 <Zedgamer9128[m]> yeah .xinitrc
2022-07-09 16:13:40 +0200 <geekosaur> then it'll be on the original virtual terminal. probably ctrl+alt+f1
2022-07-09 16:14:41 +0200 <Zedgamer9128[m]> geekosaur: sorry it is started by sddm
2022-07-09 16:15:05 +0200 <Zedgamer9128[m]> by a package i think called xinit-xsession
2022-07-09 16:15:20 +0200 <Zedgamer9128[m]> that turn xinit to desktop to launch from sddm
2022-07-09 16:15:40 +0200 <geekosaur> hm. normally that would put the error log in .xsession-errors
2022-07-09 16:18:15 +0200 <geekosaur> okay, looks like sddm uses ~/.local/sddb/xorg-session.log
2022-07-09 16:18:19 +0200 <geekosaur> er
2022-07-09 16:18:28 +0200 <geekosaur> ~/.local/sddm/xorg-session.log
2022-07-09 16:22:13 +0200 <Zedgamer9128[m]> i made .xsession-errors by editing xinitrc to `exec xmonad 2> ~/.xsession-errors
2022-07-09 16:22:23 +0200 <Zedgamer9128[m]> the only errors i see are gtk and chrome
2022-07-09 16:23:01 +0200qther(~qther@138.75.66.60)
2022-07-09 16:23:07 +0200 <geekosaur> I don't know if fish sends errors to stderr,m it differs from standard shells in so many other ways…
2022-07-09 16:27:24 +0200 <geekosaur> the other thing to check is ~/.config/fish/fish_variables
2022-07-09 16:31:31 +0200 <Zedgamer9128[m]> geekosaur: no layout variable
2022-07-09 16:31:57 +0200 <Zedgamer9128[m]> i dont think the fish command is running probably because of ++
2022-07-09 16:32:08 +0200 <geekosaur> why do you suspect the ++?
2022-07-09 16:32:12 +0200 <Zedgamer9128[m]> sorry not that
2022-07-09 16:32:33 +0200 <Zedgamer9128[m]> i changed the command to killall yakuake to see if it will kill and it didnt
2022-07-09 16:32:58 +0200 <Zedgamer9128[m]> so the fish script is not at all running
2022-07-09 16:33:02 +0200 <geekosaur> ppOutput not running at all, hm, suppose that's possible/ hold on
2022-07-09 16:33:23 +0200 <geekosaur> dynamicLog def {ppLayout = show, ppOrder = \(_:l:_) -> [l], ppOutput = \s -> spawn $ "fish -c 'set -U layout " ++ s ++ "'"}
2022-07-09 16:33:50 +0200 <Zedgamer9128[m]> put it in logHook?
2022-07-09 16:33:56 +0200 <geekosaur> (remove the void wrapping the whole thing and change dynamicLogString to dynamicLog, I think ppOutput is not used with dynamicLogString)
2022-07-09 16:33:59 +0200 <geekosaur> yes, same place
2022-07-09 16:35:08 +0200 <geekosaur> > (\s -> id $ "fish -c 'set -U layout " ++ show s ++ "'") "Full"
2022-07-09 16:35:10 +0200 <lambdabot> "fish -c 'set -U layout \"Full\"'"
2022-07-09 16:35:22 +0200 <geekosaur> > text $ (\s -> id $ "fish -c 'set -U layout " ++ show s ++ "'") "Full"
2022-07-09 16:35:24 +0200 <lambdabot> fish -c 'set -U layout "Full"'
2022-07-09 16:35:51 +0200Zedgamer9128[m]sent a code block: https://libera.ems.host/_matrix/media/r0/download/libera.chat/2dee442a204474a6f7f12381ac1645add6ec…
2022-07-09 16:36:47 +0200 <geekosaur> oh, it's dynamicLogWithPP
2022-07-09 16:37:00 +0200 <geekosaur> the old API is a bit of a mess, but the new API doesn't expose this stuff
2022-07-09 16:37:38 +0200 <Zedgamer9128[m]> whoa it worked thank you so much
2022-07-09 16:38:12 +0200 <geekosaur> might have a problem if you switch layouts (or workspaces if you use PerWorkspace) too quickly, since spawn is asynchronous
2022-07-09 16:40:10 +0200 <Zedgamer9128[m]> well only the killall command worked
2022-07-09 16:42:28 +0200 <geekosaur> if killall worked but the fish command didn't, you'll have to find someone who knows fish better, I think
2022-07-09 16:42:44 +0200 <geekosaur> I verified the command that it's sending above
2022-07-09 16:42:52 +0200 <geekosaur> and it looks like what you told me
2022-07-09 16:43:19 +0200 <geekosaur> > text $ ((\s -> id $ "fish -c 'set -U layout " ++ s ++ "'") . show) "Full"
2022-07-09 16:43:21 +0200 <lambdabot> fish -c 'set -U layout "Full"'
2022-07-09 16:43:36 +0200qbt(~qbt@user/edun)
2022-07-09 16:44:50 +0200 <Zedgamer9128[m]> yeah the above cmd is right
2022-07-09 16:48:57 +0200 <Zedgamer9128[m]> i tried running a echo cmd
2022-07-09 16:49:09 +0200 <Zedgamer9128[m]> spawn $ "fish -c 'echo " ++ s ++ " > ~/fi'"
2022-07-09 16:49:15 +0200 <Zedgamer9128[m]> still didnt work
2022-07-09 16:49:25 +0200 <Zedgamer9128[m]> so i think ++ maybe?
2022-07-09 16:49:43 +0200 <geekosaur> this is where you check the session log
2022-07-09 16:49:51 +0200 <geekosaur> ~/.local/sddm/xorg-session.log
2022-07-09 16:51:59 +0200 <Zedgamer9128[m]> sighs
2022-07-09 16:52:08 +0200 <Zedgamer9128[m]> just because of one space
2022-07-09 16:52:54 +0200 <Zedgamer9128[m]> as i said i redirected all error to .xsession-errors
2022-07-09 16:53:24 +0200 <Zedgamer9128[m]> and when i opened that
2022-07-09 16:53:43 +0200Zedgamer9128[m]sent a code block: https://libera.ems.host/_matrix/media/r0/download/libera.chat/e7c278985245e2970676089a6bdfc4096767…
2022-07-09 16:54:19 +0200 <Zedgamer9128[m]> so because there was no space between layout and spacing it didnt work
2022-07-09 16:54:38 +0200 <Zedgamer9128[m]> well thanks for help and also for xsession errors idea
2022-07-09 17:08:03 +0200qther(~qther@138.75.66.60) (Quit: Client closed)
2022-07-09 17:59:31 +0200 <Zedgamer9128[m]> okay one last thing is trayer
2022-07-09 18:01:50 +0200 <Zedgamer9128[m]> okay so trayer has and --distancefrom where a direction can be chose but only one but i want to distancefrom top and right to make it fit in xmobar like how tray has wifi after date time texts that is the thing i want to do but looks like it is not possible in trayer or is it?
2022-07-09 18:02:26 +0200 <Zedgamer9128[m]> * okay so trayer has a --distancefrom cmd where a direction can be chose but only one but i want to distancefrom top and right to make it fit in xmobar like how tray has wifi after date time texts that is the thing i want to do but looks like it is not possible in trayer or is it?
2022-07-09 18:02:39 +0200 <Zedgamer9128[m]> so should i see other sys tray
2022-07-09 18:05:40 +0200 <geekosaur> I think you can repeat it? --distancefrom top ... --distancefrom right ...
2022-07-09 18:06:04 +0200 <Zedgamer9128[m]> geekosaur: i tried but only the last one works
2022-07-09 18:08:31 +0200 <geekosaur> oh, looks like you need the trayer-srg fork for that
2022-07-09 18:08:38 +0200 <geekosaur> also gets you multimonitor support
2022-07-09 18:09:27 +0200 <Zedgamer9128[m]> geekosaur: i have trayer-srg installed
2022-07-09 18:09:55 +0200 <geekosaur> trayer-srg, at least as on github, claims to support double --distancefrom parameters
2022-07-09 18:10:54 +0200 <Zedgamer9128[m]> where
2022-07-09 18:10:57 +0200 <geekosaur> https://github.com/sargon/trayer-srg/commit/4506241b4e60fe12e7c119a21347a158b93e13d6
2022-07-09 18:11:56 +0200 <Zedgamer9128[m]> ill try installing the -git version from aur
2022-07-09 18:12:19 +0200 <Zedgamer9128[m]> maybe it is updated from the arch repo
2022-07-09 18:14:05 +0200 <Zedgamer9128[m]> oops looks like i have to use comma
2022-07-09 18:17:53 +0200 <Zedgamer9128[m]> okay had to installed the trayer-srg-git from aur and now its working thanks
2022-07-09 18:26:38 +0200mvk(~mvk@2607:fea8:5ce3:8500::909a) (Ping timeout: 244 seconds)
2022-07-09 18:46:15 +0200qbt(~qbt@user/edun) (Quit: WeeChat 3.5)
2022-07-09 19:28:10 +0200tjmciver_(~tjmciver@cpe-172-101-39-156.maine.res.rr.com)
2022-07-09 19:30:30 +0200tjmciver(~tjmciver@cpe-172-101-39-156.maine.res.rr.com) (Ping timeout: 240 seconds)
2022-07-09 20:01:24 +0200tjmciver_(~tjmciver@cpe-172-101-39-156.maine.res.rr.com) (Ping timeout: 272 seconds)
2022-07-09 20:24:43 +0200tjmciver(~tjmciver@cpe-172-101-32-70.maine.res.rr.com)
2022-07-09 21:53:00 +0200mvk(~mvk@2607:fea8:5ce3:8500::909a)
2022-07-09 21:55:51 +0200jludwig(~justin@li657-110.members.linode.com) (Quit: ZNC - https://znc.in)
2022-07-09 21:56:47 +0200jludwig(~justin@li657-110.members.linode.com)
2022-07-09 22:10:33 +0200jludwig(~justin@li657-110.members.linode.com) (Read error: Connection reset by peer)
2022-07-09 22:13:30 +0200jludwig(~justin@li657-110.members.linode.com)
2022-07-09 22:16:19 +0200tjmciver(~tjmciver@cpe-172-101-32-70.maine.res.rr.com) (Remote host closed the connection)
2022-07-09 22:16:42 +0200tjmciver(~tjmciver@cpe-172-101-32-70.maine.res.rr.com)
2022-07-09 22:20:43 +0200jludwig(~justin@li657-110.members.linode.com) (Quit: ZNC - https://znc.in)
2022-07-09 22:21:41 +0200jludwig(~justin@li657-110.members.linode.com)
2022-07-09 22:22:39 +0200tjmciver_(~tjmciver@cpe-172-101-32-70.maine.res.rr.com)
2022-07-09 22:25:20 +0200tjmciver(~tjmciver@cpe-172-101-32-70.maine.res.rr.com) (Ping timeout: 244 seconds)
2022-07-09 22:28:25 +0200tjmciver_tjmciver
2022-07-09 22:30:20 +0200tjmciver(~tjmciver@cpe-172-101-32-70.maine.res.rr.com) (Read error: Connection reset by peer)
2022-07-09 22:30:37 +0200tjmciver(~tjmciver@cpe-172-101-32-70.maine.res.rr.com)
2022-07-09 23:07:11 +0200tjmciver_(~tjmciver@cpe-172-101-32-70.maine.res.rr.com)
2022-07-09 23:09:31 +0200tjmciver(~tjmciver@cpe-172-101-32-70.maine.res.rr.com) (Ping timeout: 256 seconds)
2022-07-09 23:22:18 +0200chomwitt(~chomwitt@2a02:587:dc0d:4a00:c5c0:a118:2df4:ea86) (Ping timeout: 240 seconds)
2022-07-09 23:49:15 +0200 <zawaken-> hey, after upgrading to 0.17+ of xmonad(-contrib) on my gentoo VM, I can't seem to get the haskell-dbus module to work, xmonad and x instantly crashes if I have all my DBus configuration enabled, it does not do this on Arch or RHEL, the dbus service in OpenRC is enabled. Just importing the DBus library doesn't crash anything. I am absolutely horrible at haskell, but I doubt theres something wrong
2022-07-09 23:49:17 +0200 <zawaken-> with my xmonad.hs, considering it works on Arch and RHEL
2022-07-09 23:49:34 +0200 <zawaken-> Any thoughts?
2022-07-09 23:50:36 +0200 <zawaken-> If it helps I can send my configuration, even though there shouldn't be anything wrong with it, apart from horrible code that is.
2022-07-09 23:51:13 +0200 <geekosaur[m]> what version of ghc is it using?
2022-07-09 23:51:28 +0200 <zawaken-> 8.10.7
2022-07-09 23:51:44 +0200tjmciver_(~tjmciver@cpe-172-101-32-70.maine.res.rr.com) (Remote host closed the connection)
2022-07-09 23:51:44 +0200 <zawaken-> Stackage LTS 18.23 I believe
2022-07-09 23:52:23 +0200 <geekosaur[m]> hm. so it's not the heap corruption crash then. (doublecheck though, xmonad tickles a heap corruption bug in ghc >= 9.0)
2022-07-09 23:53:10 +0200 <zawaken-> The crash happens after a couple of seconds after I type in startx.
2022-07-09 23:54:03 +0200 <geekosaur[m]> yes, if it were the heap corruption thing it would probably happen after receiving a couple of X events, specifically after the first gc
2022-07-09 23:55:53 +0200 <zawaken-> It does crash faster it seems when I try to do anything, such as open a terminal, but it does crash automatically after a bit
2022-07-09 23:56:08 +0200 <zawaken-> I'm not sure I understand the heap corruption thing though
2022-07-09 23:57:08 +0200 <geekosaur[m]> it's complicated. we allocate memory for an X event ahead of time and reuse it. the bug is ghc doesn't realize it's still in use and gc-s it, after which the next X event received trashes the heap
2022-07-09 23:57:31 +0200 <geekosaur[m]> https://gitlab.haskell.org/ghc/ghc/-/issues/21708
2022-07-09 23:58:25 +0200 <zawaken-> Thanks for the link :)
2022-07-09 23:58:53 +0200 <geekosaur[m]> we have a patch that seems to work around it, although it needs more testing
2022-07-09 23:59:10 +0200 <geekosaur[m]> and the bug is a blocker for 9.4 release so it will at some point be fixed in ghc