Logs: liberachat/#xmonad
| 2022-02-24 13:25:32 | × | cfricke quits (~cfricke@user/cfricke) (Ping timeout: 240 seconds) |
| 2022-02-24 13:58:38 | <mc47> | well, pretty sure one can remove unsafePerformIO and just work in the X monad |
| 2022-02-24 14:03:47 | <mc47> | Not even needed, barSpawner is in IO |
| 2022-02-24 14:23:48 | × | catman quits (~catman@user/catman) (Ping timeout: 240 seconds) |
| 2022-02-24 14:23:51 | → | catman_ joins (~catman@user/catman) |
| 2022-02-24 14:26:06 | catman_ | is now known as catman |
| 2022-02-24 14:36:15 | → | cfricke joins (~cfricke@user/cfricke) |
| 2022-02-24 15:04:40 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 2022-02-24 15:29:20 | <M-elo-[m]> | <galactic_starfis> "I'm curious if it could ever..." <- Crap.. I thought that was what would've happened if I switched to xresources.. well it's still worth changing to it for easier color management but damn that would've been nice to have |
| 2022-02-24 15:31:12 | <geekosaur> | I don't see much wrong with using Xrm to configure colors before starting xmonad, and restarting when the RESOURCE_MANAGER prop changes |
| 2022-02-24 15:32:20 | <M-elo-[m]> | Need to read about it before doing anything, haven't had much haskell progress in the past couple of months |
| 2022-02-24 16:00:06 | × | sig[m] quits (~sigrdrifa@2001:470:69fc:105::1:7148) (Quit: You have been kicked for being idle) |
| 2022-02-24 16:07:05 | → | dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net) |
| 2022-02-24 16:17:12 | × | dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.3) |
| 2022-02-24 16:31:00 | → | sebas joins (~sebas@207.248.198.65) |
| 2022-02-24 16:32:28 | <sebas> | hi, Is this a good place to ask questions or should I do it on reddit? |
| 2022-02-24 16:33:46 | <geekosaur> | this is a fine place to ask questions |
| 2022-02-24 16:34:21 | <sebas> | thanks |
| 2022-02-24 16:37:40 | <sebas> | I tried changing the resolution with spawn "xrandr --output HDMI-0 --mode 1600x900" inside the startUpHook |
| 2022-02-24 16:39:16 | <sebas> | when I enter xmonad it works fine, but when I quit it and reenter the screen is shown in the bottom-left corner of the monitor |
| 2022-02-24 16:40:04 | <geekosaur> | I think you want to do that before going into the xmonad combinator, otherwise you need the new XRandR hook for it to work? https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Hooks-Rescreen.html |
| 2022-02-24 16:41:50 | <sebas> | I belive I can't use xmonad 0.17 still. I'm a Manjaro user, let me check |
| 2022-02-24 16:42:10 | <geekosaur> | you'll probably need to install via stack, cabal, or use git |
| 2022-02-24 16:42:42 | <geekosaur> | practically every distro goes by stackage, which has been "stuck" for the past several months |
| 2022-02-24 16:43:39 | <Solid> | new major stack resolver don't come out _that_ often anyways |
| 2022-02-24 16:44:20 | <Solid> | so we're not even in "that's unusually long" territory so far |
| 2022-02-24 16:44:32 | <Solid> | but I also don't know how far along aeson 2.0 is |
| 2022-02-24 16:45:08 | <geekosaur> | and we'restill waiting for them to land text 2.0, I think |
| 2022-02-24 16:45:33 | <sebas> | I did it install it from the stack once, but the option to change from kde to xmonad didn't appear in the display manager, so I unistalled it. May I install it from the stack and ask again here how to make it appear in the login screen? |
| 2022-02-24 16:45:59 | <Solid> | is the new text such a big breaking change? i thought it was mostly internals associated with the UTF8 switch |
| 2022-02-24 16:46:10 | <Solid> | sebas: sure, sounds like an idea |
| 2022-02-24 16:46:21 | <sebas> | :) |
| 2022-02-24 16:46:23 | <Solid> | (the issue was most likely that your display manager couldn't find xmonad in $PATH) |
| 2022-02-24 16:46:38 | <geekosaur> | depends on the display manager, a lot of them want those desktop files |
| 2022-02-24 16:46:39 | × | sebas quits (~sebas@207.248.198.65) (Quit: Client closed) |
| 2022-02-24 16:46:51 | <geekosaur> | the TUTORIAL shows how to create one, as does the wiki |
| 2022-02-24 16:46:59 | <Solid> | shit |
| 2022-02-24 16:47:12 | <Solid> | should've waited with the "yes, go for it" until I'd linked INSTALL.md :) |
| 2022-02-24 16:47:20 | <Solid> | ?tell sebas also this may be useful: https://xmonad.org/INSTALL.html |
| 2022-02-24 16:47:21 | <lambdabot> | Consider it noted. |
| 2022-02-24 16:47:45 | <Solid> | in unrelated news |
| 2022-02-24 16:47:51 | <geekosaur> | oh right, INSTALL, not TUToRIAL |
| 2022-02-24 16:47:53 | Solid | got his hacktoberfest t-shirt today |
| 2022-02-24 16:48:22 | <liskin> | Um, why do we think the new Rescreen is necessary? |
| 2022-02-24 16:48:32 | <liskin> | What does quit and reenter mean, anyway? |
| 2022-02-24 16:49:12 | <Solid> | my guess would be quit to the display manager |
| 2022-02-24 16:49:17 | <Solid> | but i didn't follow that part very well |
| 2022-02-24 16:49:38 | <geekosaur> | was starting to doubt that one after I loaded the docs, although I don't know offhand if that xrandr invocation sends a ConfigureEvent or just an RRChangeNotify |
| 2022-02-24 16:49:55 | <geekosaur> | and yes, "quit and restart" is open to interpretation |
| 2022-02-24 16:53:39 | → | mvk joins (~mvk@2607:fea8:5cdc:bf00::99e7) |
| 2022-02-24 16:54:56 | <galactic_starfis> | <Solid> "would certainly work if you..." <- It would work for prompts, bars, gridselects, decorations, etc, but not borders... Unless there's a way to change that on the fly. |
| 2022-02-24 16:55:09 | <galactic_starfis> | I already sort of have it for all of that, just on restart |
| 2022-02-24 16:55:19 | <galactic_starfis> | s/sort of// |
| 2022-02-24 17:01:29 | <Solid> | yeah borders would probably need a fork of the core (just smash an IORef in there :) |
| 2022-02-24 17:01:42 | <liskin> | Solid: wow, mine still hasn't left the US |
| 2022-02-24 17:01:51 | <Solid> | but the real solution is, of course, to set the borderWidth to 0! |
| 2022-02-24 17:02:09 | <galactic_starfis> | `smartBorders` :) |
| 2022-02-24 17:02:13 | × | mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
| 2022-02-24 17:05:40 | × | jludwig quits (~justin@user/jludwig) (Quit: ZNC - https://znc.in) |
| 2022-02-24 17:06:33 | → | jludwig joins (~justin@user/jludwig) |
| 2022-02-24 18:05:42 | → | sebas joins (~sebas@207.248.198.65) |
| 2022-02-24 18:06:09 | × | sebas quits (~sebas@207.248.198.65) (Client Quit) |
| 2022-02-24 18:07:00 | → | sebas joins (~sebas@207.248.198.65) |
| 2022-02-24 18:24:41 | <galactic_starfis> | https://0bin.net/paste/FQewS5k9#m75iRBt5L3dw08G4XeTGA+1x+exFnzeUt8ku0IKFn3V <-- I'm trying to pass colors into my gridselect, and it's hanging every time I run it. |
| 2022-02-24 18:24:50 | <galactic_starfis> | Why's it hanging? |
| 2022-02-24 18:29:38 | × | sebas quits (~sebas@207.248.198.65) (Quit: Client closed) |
| 2022-02-24 18:35:01 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 2022-02-24 18:36:35 | → | sebas joins (~sebas@207.248.198.65) |
| 2022-02-24 18:37:58 | <sebas> | hi, I've installed xmonad through stack. How do I make it appear in the display manager? |
| 2022-02-24 18:39:29 | <geekosaur> | https://github.com/xmonad/xmonad/blob/master/INSTALL.md#make-xmonad-your-window-manager has a section about display managers that use .desktop files |
| 2022-02-24 18:40:01 | <sebas> | let me read (y) |
| 2022-02-24 18:40:25 | <geekosaur> | see also https://github.com/geekosaur/xmonad.hs/blob/skkukuk/start-xmonad.desktop although that uses a wrapper script that sets my PATH |
| 2022-02-24 18:42:56 | × | sebas quits (~sebas@207.248.198.65) (Quit: Client closed) |
| 2022-02-24 18:44:46 | → | sebas joins (~sebas@207.248.198.65) |
| 2022-02-24 18:53:53 | × | sebas quits (~sebas@207.248.198.65) (Quit: Client closed) |
| 2022-02-24 18:55:36 | <geekosaur> | galactic_starfis, what's the definition of gsconfig? I see a couple uses and a type signature but no def |
| 2022-02-24 19:03:03 | <geekosaur> | also I assume it must use `colors` since it (and therefore `rand` are otherwise unused |
| 2022-02-24 19:28:37 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Ping timeout: 240 seconds) |
| 2022-02-24 19:30:17 | → | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 2022-02-24 19:42:43 | → | steve__ joins (~steve@ool-182c2b80.dyn.optonline.net) |
| 2022-02-24 19:53:57 | <galactic_starfis> | It's this: `gsconfig fgs bgs = (buildDefaultGSConfig $ colors fgs bgs) -- ...` with some other settings |
| 2022-02-24 20:14:34 | × | mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
| 2022-02-24 20:16:45 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection) |
| 2022-02-24 20:17:55 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 2022-02-24 20:18:53 | → | seschwar joins (~seschwar@user/seschwar) |
| 2022-02-24 20:40:27 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection) |
| 2022-02-24 20:41:41 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 2022-02-24 20:48:02 | → | yauhsien_ joins (~Yau-Hsien@61-231-21-135.dynamic-ip.hinet.net) |
| 2022-02-24 20:50:56 | × | yauhsien quits (~Yau-Hsien@61-231-19-150.dynamic-ip.hinet.net) (Ping timeout: 252 seconds) |
| 2022-02-24 20:53:22 | × | cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.3) |
| 2022-02-24 20:57:53 | <galactic_starfis> | Any idea why? The colors are appearing, but the entire screen simply freezes and stays that way. The CPU usage ramps up, so I'm guessing it's infinite recursion somewhere. |
| 2022-02-24 20:58:13 | <galactic_starfis> | If I open gridselect at all, I need to kill the process via another TTY. |
| 2022-02-24 20:58:43 | <galactic_starfis> | This entire config, minus the `fgs bgs` arguments everywhere is the exact same |
| 2022-02-24 21:00:30 | <galactic_starfis> | hmm, turns out if I hit escape, then I'm able to restart XMonad from within |
| 2022-02-24 21:08:44 | <geekosaur> | I'mnot spotting anything but I suspect I'd have to annotate everything with `trace` to see what's looping |
| 2022-02-24 21:08:56 | <geekosaur> | and thereisn't quite enough code there for me to try that |
| 2022-02-24 21:39:47 | → | dweiss joins (~dweiss@2a02:810a:980:470::6676) |
| 2022-02-24 21:52:13 | <galactic_starfis> | where would I put the trace ideally? |
| 2022-02-24 21:57:40 | → | yauhsienhuangtw joins (~Yau-Hsien@61-231-21-135.dynamic-ip.hinet.net) |
| 2022-02-24 21:58:05 | <geekosaur> | I would annotate all of those functions with https://downloads.haskell.org/ghc/8.10.7/docs/html/libraries/base-4.14.3.0/Debug-Trace.html#v:trace naming the function, then check xmonad's stderr (usually ~/.xsession-errors, but if you used startx to start xmonad then it'll be the original console or wherever you redirected startx's stderr to) to see whoch ones are looping |
All times are in UTC.