Home liberachat/#xmonad: Logs Calendar

Logs: liberachat/#xmonad

←Prev  Next→ 184,961 events total
2023-03-22 07:41:48 <geekosaur> make sure ~/.xmonad doesn't exist
2023-03-22 07:42:10 <geekosaur> I've been using the XDG path for around a year without problems
2023-03-22 07:43:25 <Solid> We even check XDG dirs first in 0.17.0+, so it should definitely work
2023-03-22 07:45:04 <geekosaur> (it's around ~0345 here, why am I up?)
2023-03-22 07:45:07 <thyriaen> i deleted ~/.xmonad
2023-03-22 07:45:16 <thyriaen> and it doesn't load ~/.config/xmonad
2023-03-22 07:45:30 <thyriaen> and then creates ~/.xmonad new and uses the default config from within
2023-03-22 07:47:30 <Solid> can you post the output of `xmonad --version` and `xmonad --recompile` ?
2023-03-22 07:52:54 <thyriaen> Solid, sure
2023-03-22 07:53:41 <thyriaen> i have version 0.17.1
2023-03-22 07:55:22 <geekosaur> that's not quite enough. how is xmonad getting started and is it starting the correct xmonad? the path you have in a terminal may not be the one in effect when xmonad starts, so if yoy have two copies of xmonad the wrong one may be run
2023-03-22 07:55:42 <geekosaur> more specifically, do you have /usr/bin/xmonad and what version is it?
2023-03-22 07:58:01 <thyriaen> geekosaur, i only have one xmonad, from my package manager on a fresh install
2023-03-22 07:58:27 <thyriaen> running /usr/bin/xmonad --version gives 0.17.1
2023-03-22 07:58:40 <thyriaen> my output of recompile is:
2023-03-22 07:59:11 <thyriaen> "Xmonad will use ghc to recompile because neither /home/thyriaen/.xmonad/build nor /home/thyriaen/.xmonad/stack.yaml exsists
2023-03-22 07:59:15 <thyriaen> recompiling ( forced )
2023-03-22 07:59:21 <thyriaen> exited with success
2023-03-22 08:00:16 <thyriaen> "
2023-03-22 08:00:21 geekosaur wonders if the xdg detection stuff needs debug output
2023-03-22 08:02:00 × derfflinger quits (~derffling@user/derfflinger) (Ping timeout: 255 seconds)
2023-03-22 08:02:04 <thyriaen> geekosaur, does the binary has to be present in the /.config/xmonad/ folder ?
2023-03-22 08:02:09 <thyriaen> because it isn't
2023-03-22 08:02:19 <thyriaen> it only is in the ~/.xmonad folder
2023-03-22 08:02:40 <Solid> no, when using XDG dirs the binary gets sent to $XDG_CACHE_HOME
2023-03-22 08:02:44 <geekosaur> that's because it's putting oit there, which means it picked the wrong folder
2023-03-22 08:03:49 <thyriaen> geekosaur, could it be that when starting up and xmonad get's loaded at that time my xdg stuff isn't set yet so it can't find the .config folder ?
2023-03-22 08:04:16 <Solid> Oh, nvmd, we do not prefer XDG dirs
2023-03-22 08:04:32 <Solid> only the XMonad env vars
2023-03-22 08:05:03 <Solid> thyriaen: it's first looking for either `xmonad.hs`, or `build` inside of ~/.xmonad
2023-03-22 08:05:06 <geekosaur> we don't require the xdg envars although we use them if present, if I recall the code correctly
2023-03-22 08:05:21 <Solid> yeah all those env vars have a fallback
2023-03-22 08:05:28 <Solid> like ~/.config etc.
2023-03-22 08:05:32 <thyriaen> ic
2023-03-22 08:05:38 <thyriaen> but
2023-03-22 08:05:42 <thyriaen> when i delete ~/.xmonad
2023-03-22 08:05:44 <thyriaen> and reboot
2023-03-22 08:05:47 <thyriaen> it get's recreated
2023-03-22 08:05:54 <thyriaen> even thought i have an ~/.config/xmonad/xmonad.hs
2023-03-22 08:06:48 <geekosaur> that's wrong. I could have sworn we look specifically for where xmonad.hs is, and check the xdg dir first (well, we check the xmonad envar first, then the xdg dir, then fallback to ~/.xmonad)
2023-03-22 08:07:15 <Solid> I was thinking that as well, but we explicitly check `xmEnvDirs <|> xmDirs <|> xdgDirs`
2023-03-22 08:07:23 <Solid> And the docs agree and weren't changed for a while
2023-03-22 08:07:59 <Solid> but we *do* check for xmonad.hs or build explicitly
2023-03-22 08:08:06 <Solid> not just for the presence of the directory
2023-03-22 08:08:38 <geekosaur> right, that was the fix for random unfixed contribs creating data files explicitly in ~/.xmonad (hello prompt)
2023-03-22 08:09:00 <Solid> thyriaen: only thing I can think of is that there is some old version of xmonad somewhere that gets used for the first recompilation step
2023-03-22 08:09:55 <thyriaen> Solid, as I said, it is a fresh install with only one xmonad version
2023-03-22 08:11:29 <geekosaur> just for grins and giggles: you don't happen to have $XMONAD_CONFIG_DIR set do you?
2023-03-22 08:11:38 <thyriaen> let me check
2023-03-22 08:12:07 <thyriaen> echo $XMONAD_CONFIG_DIR returns a empty line
2023-03-22 08:15:54 <geekosaur> odd. I know this works because I've been using it
2023-03-22 08:16:50 <thyriaen> geekosaur, any ideas what else i can check ?
2023-03-22 08:17:15 <geekosaur> no, I'm pretty lost at this point
2023-03-22 08:17:17 <deebo> check yourself, before you wreck yourself
2023-03-22 08:17:18 <geekosaur> 😞
2023-03-22 08:17:41 <thyriaen> maybe the launch script of my display manager
2023-03-22 08:17:44 <thyriaen> is wrong
2023-03-22 08:17:47 <thyriaen> where can i find that ?
2023-03-22 08:18:09 <geekosaur> depends on the display manager but often /usr/share/xsessions
2023-03-22 08:18:42 <thyriaen> geekosaur, it just execs xmonad-start
2023-03-22 08:19:25 <geekosaur> so now you need to find that, which I presume is a script
2023-03-22 08:20:14 <thyriaen> geekosaur, yes it is
2023-03-22 08:20:20 <thyriaen> it is in /usr/bin/
2023-03-22 08:20:40 <thyriaen> it does a lot of directory stuff
2023-03-22 08:20:43 <thyriaen> let me show you
2023-03-22 08:22:16 <geekosaur> (btw you don't have to keep pinging me)
2023-03-22 08:23:14 <thyriaen> i think it is a habbit
2023-03-22 08:25:51 <thyriaen> paste.tomsmeding.com/fFNtjbVb
2023-03-22 08:27:00 <geekosaur> yeh, that's creating ~/.xmonad and copying their idea of a default config into it
2023-03-22 08:29:34 <thyriaen> geekosaur, and xmonad-start is provided by my distribution ?
2023-03-22 08:29:44 <geekosaur> if you change the xsession desktop file to run xmonad directly instead, things should work as they're supposed to
2023-03-22 08:29:53 <geekosaur> yes, this came from your distro
2023-03-22 08:30:04 <thyriaen> geekosaur, so just instead of xmonad-start i just exec xmonad ?
2023-03-22 08:31:54 <geekosaur[m]> Yes
2023-03-22 08:33:22 <thyriaen> thanks a lot geekosaur, it works now :p
2023-03-22 08:42:31 <geekosaur> you should probably file a bug against your distro that they should check ~/.config/xmonad before forcing ~/.xmonad
2023-03-22 08:43:48 <geekosaur> and possibly should default to XDG for new installs
2023-03-22 08:57:57 <thyriaen> geekosaur, i will try to do that
2023-03-22 08:58:04 derfflinger joins (~derffling@user/derfflinger)
2023-03-22 09:50:50 × banc quits (~banc@154.47.24.195) (Quit: Bye, bye)
2023-03-22 09:57:51 × ft quits (~ft@p3e9bc443.dip0.t-ipconnect.de) (Ping timeout: 248 seconds)
2023-03-22 11:14:31 × derfflinger quits (~derffling@user/derfflinger) (Ping timeout: 240 seconds)
2023-03-22 11:29:44 × thyriaen quits (~thyriaen@2a01:aea0:dd4:5328:6245:cbff:fe9f:48b1) (Remote host closed the connection)
2023-03-22 12:21:27 derfflinger joins (~derffling@user/derfflinger)
2023-03-22 13:40:33 × thunderrd quits (~thunderrd@183.182.111.14) (Ping timeout: 268 seconds)
2023-03-22 13:53:06 thunderrd joins (~thunderrd@183.182.111.220)
2023-03-22 14:18:55 × sagax quits (~sagax_nb@user/sagax) (Ping timeout: 276 seconds)
2023-03-22 14:48:48 × alethkit quits (23bd17ddc6@sourcehut/user/alethkit) (Remote host closed the connection)
2023-03-22 14:48:48 × zoglesby quits (f0f8ca1525@user/zoglesby) (Remote host closed the connection)
2023-03-22 14:48:48 × samhh quits (7569f027cf@2604:bf00:561:2000::e4) (Remote host closed the connection)
2023-03-22 14:50:08 zoglesby joins (f0f8ca1525@2604:bf00:561:2000::64)
2023-03-22 14:50:08 × zoglesby quits (f0f8ca1525@2604:bf00:561:2000::64) (Changing host)
2023-03-22 14:50:08 zoglesby joins (f0f8ca1525@user/zoglesby)
2023-03-22 14:50:35 samhh joins (7569f027cf@2604:bf00:561:2000::e4)
2023-03-22 14:51:44 alethkit joins (23bd17ddc6@sourcehut/user/alethkit)
2023-03-22 15:50:33 × zoglesby quits (f0f8ca1525@user/zoglesby) (Remote host closed the connection)
2023-03-22 15:50:33 × alethkit quits (23bd17ddc6@sourcehut/user/alethkit) (Write error: Broken pipe)
2023-03-22 15:50:34 × samhh quits (7569f027cf@2604:bf00:561:2000::e4) (Remote host closed the connection)
2023-03-22 15:50:57 × derfflinger quits (~derffling@user/derfflinger) (Quit: Leaving)
2023-03-22 15:55:08 zoglesby joins (f0f8ca1525@user/zoglesby)

All times are in UTC.