Logs on 2023-04-11 (liberachat/#xmonad)
| 00:11:36 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Quit: Lost terminal) |
| 00:20:07 | → | catman joins (~catman@user/catman) |
| 00:50:45 | → | hightower2 joins (~hightower@213.149.51.70) |
| 01:13:52 | → | Guest191 joins (~Guest19@2404:130:0:1000:5484:a8db:f032:5999) |
| 01:20:23 | → | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 01:25:40 | × | blaa quits (~bla@83.24.86.118.ipv4.supernova.orange.pl) (Ping timeout: 252 seconds) |
| 01:27:12 | → | bla joins (~bla@79.191.151.29.ipv4.supernova.orange.pl) |
| 01:28:52 | <Guest191> | For people using XMonad and Gnome together... https://xmonad.org/gnome.html says "A Gnome session for xmonad is part of the distribution package, however it is out of date. You can use the gnome-session-xmonad PPA to get an updated version." and links to https://launchpad.net/~gekkio/+archive/ubuntu/xmonad for that PPA, which in turn documents |
| 01:28:53 | <Guest191> | "Gnome+XMonad session package |
| 01:28:53 | <Guest191> | The xmonad package no longer contains Gnome session files, so I'm maintaining them here:" linking to https://github.com/Gekkio/gnome-session-xmonad -- which has been archived with the notice "Update 12/2022: I've switched to Pop!_OS and its tiling window manager, and have no plans to update this repository/package anymore!". So I'm wondering |
| 01:28:54 | <Guest191> | whether anyone knows of any plans for maintaining this moving forwards? |
| 02:10:02 | × | lordhorzion quits (~horzion@ProtonDB/horzion) (Remote host closed the connection) |
| 02:10:19 | → | lordhorzion joins (~horzion@ProtonDB/horzion) |
| 02:16:51 | × | td_ quits (~td@i53870914.versanet.de) (Ping timeout: 268 seconds) |
| 02:18:21 | → | td_ joins (~td@i5387091F.versanet.de) |
| 04:35:27 | × | catman quits (~catman@user/catman) (Ping timeout: 255 seconds) |
| 04:51:40 | × | lordhorzion quits (~horzion@ProtonDB/horzion) (Ping timeout: 276 seconds) |
| 05:10:45 | × | Forkk quits (~forkk@li926-228.members.linode.com) (Ping timeout: 268 seconds) |
| 05:17:08 | → | horzion joins (~horzion@ProtonDB/horzion) |
| 05:30:51 | × | horzion quits (~horzion@ProtonDB/horzion) (Ping timeout: 250 seconds) |
| 05:37:31 | → | Forkk joins (~forkk@li926-228.members.linode.com) |
| 05:39:16 | → | hopelessness[m] joins (~hopelessn@2001:470:69fc:105::3:4043) |
| 05:54:06 | → | retropikzel joins (9d1a4f9f46@2604:bf00:561:2000::ce) |
| 06:38:48 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 252 seconds) |
| 06:40:51 | → | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 06:48:06 | <hopelessness[m]> | I want to use `HLS` for my config and I set up the `hie.yaml`... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/cb1f65ab55a4bb244bba1b216a7155a4d02037a6>) |
| 06:48:12 | <hopelessness[m]> | I'm using cabal |
| 07:42:08 | <geekosaur> | I ended up using a fully cabalized config; NLS doesn't use env files like we use with the simple cabal config |
| 07:42:41 | <geekosaur> | this requires a `build` file, but doesn't require a `hie.yaml` |
| 07:43:14 | <geekosaur> | https://github.com/geekosaur/xmonad.hs/tree/skkukuk |
| 07:44:06 | <hopelessness[m]> | hm ok, thank you |
| 07:44:08 | <hopelessness[m]> | I'll take a look at it |
| 07:45:41 | <geekosaur> | (the build file is the standard cabal-suggested one, https://github.com/xmonad/xmonad-contrib/blob/master/scripts/build/build-with-cabal.sh, only with a little added verbosity |
| 07:45:46 | <geekosaur> | ) |
| 07:46:31 | <hopelessness[m]> | something icks me about this solution |
| 07:46:42 | <hopelessness[m]> | I'd have preferred if it worked "natively" |
| 07:51:05 | <geekosaur> | there's a conflict between that and not having xmonad pollute the whole system |
| 07:51:20 | <hopelessness[m]> | mhm, I understand |
| 07:51:36 | <hopelessness[m]> | there's also the source-in-.config issue |
| 07:54:40 | → | cfricke joins (~cfricke@user/cfricke) |
| 07:57:36 | <geekosaur> | there's at least one window manager that is configured with lua, do you have the same problem with that? |
| 07:58:03 | <hopelessness[m]> | I haven't worked with awesomewm |
| 07:58:18 | <hopelessness[m]> | but I am quite fond of xmonad, it's a great wm |
| 09:00:07 | × | HAL[m] quits (~evadk8mat@2001:470:69fc:105::3ed0) (Quit: You have been kicked for being idle) |
| 09:00:10 | × | liskin[m] quits (~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle) |
| 09:00:10 | × | unclechu quits (~unclechu@2001:470:69fc:105::354) (Quit: You have been kicked for being idle) |
| 09:44:43 | × | ft quits (~ft@p4fc2a88b.dip0.t-ipconnect.de) (Quit: leaving) |
| 09:58:53 | × | Guest191 quits (~Guest19@2404:130:0:1000:5484:a8db:f032:5999) (Ping timeout: 260 seconds) |
| 09:59:58 | → | hightower3 joins (~hightower@213.149.51.164) |
| 10:03:01 | × | hightower2 quits (~hightower@213.149.51.70) (Ping timeout: 276 seconds) |
| 10:26:25 | <hopelessness[m]> | I've got the config working but now the process is causing me a headache |
| 10:26:33 | <hopelessness[m]> | starting `xmonad` via the `xsession` desktop entry just .. doesn't work |
| 10:27:42 | <hopelessness[m]> | if I manually use `.cabal/bin/xmonad` or `.cache/xmonad/xmonad-x86_64-linux` then recompilation doesn't work and it tells me that `xmonad` is not on path |
| 10:28:02 | <hopelessness[m]> | but doing which xmonad gives me the cabal one |
| 10:28:09 | <hopelessness[m]> | which is the right binary and why are there so many |
| 11:30:55 | × | cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.8) |
| 11:43:34 | × | hightower3 quits (~hightower@213.149.51.164) (Remote host closed the connection) |
| 13:14:44 | → | malook joins (~Thunderbi@2a02:9b0:404d:cde1:b870:daa7:7dc9:c378) |
| 13:24:17 | × | malook quits (~Thunderbi@2a02:9b0:404d:cde1:b870:daa7:7dc9:c378) (Remote host closed the connection) |
| 13:26:35 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 248 seconds) |
| 14:08:18 | → | cfricke joins (~cfricke@user/cfricke) |
| 14:10:36 | <geekosaur> | okay, the problem there is that the path in your terminal is not the same as the path in the display manager, unless you're on Fedora |
| 14:10:55 | → | liskin[m] joins (~liskinmat@2001:470:69fc:105::768) |
| 14:11:11 | → | unclechu joins (~unclechu@2001:470:69fc:105::354) |
| 14:12:20 | <geekosaur> | I used to use a wrapper script (see `start-xmonad` in my config dir) but now I add it to the session startup (see `10profile` but you'll need to edit it because I have my dotfiles broken up into parts and pointed it to the `$PATH` part) |
| 14:12:28 | <geekosaur> | hopelessness[m] ^^ |
| 14:14:11 | <geekosaur> | the `10profile` is symlinked to `/etc/X11/Xsession.d/10profile` but that's on debian/ubuntu, it may differ on other distributions |
| 14:16:02 | <hopelessness[m]> | ok, so `~/.local/bin/xmonad` is the "right" binary? |
| 14:16:21 | <geekosaur> | yes |
| 14:16:56 | <geekosaur> | and ~/.local/bin should be on your PATH |
| 14:17:26 | <hopelessness[m]> | ok cool |
| 14:18:59 | <hopelessness[m]> | thank you |
| 14:19:54 | <geekosaur> | my 10profile references `~/.bsa-common` which is the common part of both interactive (ssh or console) and non-interactive (X11 session) logins; if you really care it's at https://github.com/geekosaur/dotty/blob/master/.bsa-common but it's a lot more complex than most people need to care about 🙂 |
| 14:24:36 | <geekosaur> | (most people don't even need to distinguish between console, ssh, screen/tmux, display manager…) |
| 15:10:42 | → | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 15:30:04 | → | catman joins (~catman@user/catman) |
| 15:36:27 | <hopelessness[m]> | ok, something is off |
| 15:37:01 | <hopelessness[m]> | .local/bin/xmonad is not where the binary goes |
| 15:37:14 | <hopelessness[m]> | wait let me check something |
| 15:39:15 | × | catman quits (~catman@user/catman) (Ping timeout: 250 seconds) |
| 15:44:50 | <hopelessness[m]> | cabal build only places binaries in the .config/xmonad/dist-newstyle directory |
| 15:45:09 | <hopelessness[m]> | I think it's supposed to symlink the other binaries |
| 15:47:58 | <geekosaur> | yes, cabal build is only in-place. you want cabal install |
| 15:52:50 | <hopelessness[m]> | thanks |
| 15:53:06 | <hopelessness[m]> | now recompilation doesn't work because it uses `ghc` instead of cabal |
| 15:53:24 | <hopelessness[m]> | it says it does that because the `build` file doesn't exist |
| 16:00:12 | × | unclechu quits (~unclechu@2001:470:69fc:105::354) (Quit: You have been kicked for being idle) |
| 16:00:12 | × | liskin[m] quits (~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle) |
| 16:02:28 | <geekosaur> | right, you need ~/.config/xmonad/build (make sure to make it executable) for it to use anything other than ghc |
| 16:02:41 | → | liskin[m] joins (~liskinmat@2001:470:69fc:105::768) |
| 16:02:56 | → | unclechu joins (~unclechu@2001:470:69fc:105::354) |
| 16:03:18 | <geekosaur> | (well, if it sees a stack.yaml it does `stack exec ghc`, but there's no good equivalent for cabal) |
| 16:03:39 | <hopelessness[m]> | mhm |
| 16:03:48 | <hopelessness[m]> | can I just put that in the build |
| 16:03:52 | <hopelessness[m]> | the stack install? |
| 16:05:15 | <geekosaur> | I thought you were using cabal? you can't really switch that easily |
| 16:05:28 | <hopelessness[m]> | cabal install* |
| 16:05:31 | <hopelessness[m]> | I meant |
| 16:06:19 | <geekosaur> | you need to do a little more because building your config wants the result in a different place than cabal (or stack) puts it |
| 16:06:49 | <geekosaur> | so you need to use https://github.com/xmonad/xmonad-contrib/blob/master/scripts/build/build-with-cabal.sh |
| 16:06:57 | <hopelessness[m]> | I think it would have been easier going with stack from the get-go, lol |
| 16:07:06 | <geekosaur> | and there's an equivalent for stack because it doesn't put the result in the right place either |
| 16:07:38 | <geekosaur> | stack still wouldn't have given you HLS ability without doing the same extra work including a build script |
| 16:07:50 | <geekosaur> | HLS just doesn't know to follow the same things xmonad does |
| 16:08:18 | <hopelessness[m]> | alright |
| 16:08:48 | <geekosaur> | in fact, last I heard HLS got really confused if you have a simplified `stack.yaml` like `INSTALL.html` has you do |
| 16:10:53 | <hopelessness[m]> | `cd: can't cd to ~/.config/xmonad/` |
| 16:10:55 | <hopelessness[m]> | whyyyyyy? |
| 16:11:30 | <hopelessness[m]> | nvm |
| 16:11:51 | <hopelessness[m]> | it still doesn't replace itself |
| 16:13:25 | <geekosaur> | doesn't replace what? |
| 16:13:46 | <geekosaur> | ~/.cabal/bin/xmonad doesn't change; that came from `cabal install xmonad` |
| 16:15:07 | <geekosaur> | what changes is a file named something like `~/.cache/xmonad/xmonad-x86_64-linux` (will vary by OS and arch) |
| 16:24:28 | <hopelessness[m]> | wait, I'm mistaking something |
| 16:27:39 | <hopelessness[m]> | yeah, I mean the `xmonad --restart`` |
| 16:27:57 | <hopelessness[m]> | s/``/`/ |
| 16:27:57 | <hopelessness[m]> | It's not actually replacing itself |
| 16:28:59 | <geekosaur> | what's it doing? |
| 16:31:13 | <hopelessness[m]> | nothing apparently |
| 16:31:27 | <hopelessness[m]> | no error and no restart |
| 16:32:38 | <geekosaur> | oh, --restart without a recompile won't do much of anything visible. you need `xmonad --recompile` before it, and only bother to `--restart` if it succeeded |
| 16:35:32 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Remote host closed the connection) |
| 16:35:55 | <hopelessness[m]> | I know, still the same |
| 16:35:58 | <geekosaur> | also, if all you change is a parameter to a layout, nothing visible will happen because xmonad doesn't want to lose your currently selected layout or any changes you've made via keys (number of master windows or position of the master/slave divider, usually) |
| 16:36:13 | <geekosaur> | you need mod-shift-space in that case to reset the layout |
| 16:36:32 | <hopelessness[m]> | I added a keybind with an xmessage spawn |
| 16:42:37 | → | catman joins (~catman@user/catman) |
| 17:04:09 | <geekosaur> | beh. I just had xmonad die on a getWindowAttributes that wasn't wrapped in a userCode |
| 17:19:53 | × | cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.8) |
| 17:35:47 | × | catman quits (~catman@user/catman) (Quit: WeeChat 3.8) |
| 18:00:51 | → | hightower2 joins (~hightower@213.149.61.192) |
| 19:55:27 | → | ft joins (~ft@p4fc2a88b.dip0.t-ipconnect.de) |
| 21:40:21 | → | evie_kurt001[m] joins (~eviekurt0@2001:470:69fc:105::3:434e) |
| 22:48:37 | → | catman joins (~catman@user/catman) |
| 23:04:37 | × | evie_kurt001[m] quits (~eviekurt0@2001:470:69fc:105::3:434e) (Quit: User was banned) |
| 23:35:02 | × | catman quits (~catman@user/catman) (Ping timeout: 265 seconds) |
All times are in UTC on 2023-04-11.