Logs: liberachat/#xmonad
| 2022-05-10 17:25:32 | <geekosaur> | generally I'd look for where the session output is going (are you using startx or a display manager? the former will be on the original console, the latter is usually ~/.xsession-errors) |
| 2022-05-10 17:25:57 | <geekosaur> | xmobar gets cranky really easily |
| 2022-05-10 17:29:06 | <martin2222> | It does complain about .xmonad/stack.yaml not existing but other than that everything seems fine |
| 2022-05-10 17:29:49 | <geekosaur> | that shouldn't matter (and shouldn't be a complaint, it's just running through all the things it's checking to see how to rebuild a config) |
| 2022-05-10 17:30:58 | <martin2222> | It is falling back to build with ghc because neither .xmonad/build nor that yaml could be found, but it does recompile with success |
| 2022-05-10 17:31:16 | <geekosaur> | right |
| 2022-05-10 17:31:50 | <martin2222> | other than that I see nothing on stdout when using startx |
| 2022-05-10 17:32:06 | <martin2222> | and xmobar I don't see either lol |
| 2022-05-10 17:32:13 | <geekosaur> | I use a build script because I have a fairly complex config (which among other things uses dbus), people who install xmonad with stack typically use a stack.yaml to point xmonad's recompile to stack's libraries, otherwise it uses ghc directly |
| 2022-05-10 17:32:36 | <martin2222> | do I have to start xmobar in my xinitrc? |
| 2022-05-10 17:32:51 | <geekosaur> | not usually |
| 2022-05-10 17:33:01 | <geekosaur> | did you follow the tutorial to set it up? |
| 2022-05-10 17:34:41 | <martin2222> | Yes I did include xmobarProp in xmobar.hs and .xmobarrc exactly as described |
| 2022-05-10 17:37:36 | <martin2222> | Can I maybe use some echo command in .xmobarrc to test if it is run at all? |
| 2022-05-10 17:37:54 | <martin2222> | ah mom |
| 2022-05-10 17:38:42 | <martin2222> | no :( no spelling mistakes |
| 2022-05-10 17:39:17 | <geekosaur> | no, .xmobarrc is pretty stupid |
| 2022-05-10 17:39:35 | <geekosaur> | and it only looks like Haskell, so you can't import Debug.Trace either |
| 2022-05-10 17:44:29 | <Solid> | see if you can launch it in a terminal |
| 2022-05-10 17:44:51 | <Solid> | next best guess; when xmobar doesn't appear at all it's often a font issue |
| 2022-05-10 17:46:53 | geekosaur | is un-fond of xmobar and really wishes people would run something more sensible like polybar, to be honest |
| 2022-05-10 17:47:31 | <geekosaur> | we go through this kind of debugging "okay, so why isn't it starting?" once a week or so, it seems |
| 2022-05-10 17:49:24 | <geekosaur> | and if you're missing a plugin its diagnostic is "unexpected 's'" |
| 2022-05-10 17:52:22 | <martin2222> | hahahaaa |
| 2022-05-10 17:52:36 | <martin2222> | ok that's fucked up |
| 2022-05-10 17:53:04 | <martin2222> | I just saw that and thought: Surely I must have fucked up the bracketing |
| 2022-05-10 17:54:03 | <geekosaur> | you probably need to re-emerge with some additional USE flags to get all the plugins |
| 2022-05-10 17:54:29 | <martin2222> | I now use cabal so no re-emerge |
| 2022-05-10 17:55:01 | <geekosaur> | -fall_extensions |
| 2022-05-10 17:57:51 | <martin2222> | As local USE-flag for xmobar? |
| 2022-05-10 17:58:10 | <geekosaur> | yes, that's the cabal equivalent of a USE-flag |
| 2022-05-10 17:58:19 | <geekosaur> | it's shorthand for turning on all the flags |
| 2022-05-10 17:58:54 | <geekosaur> | (specific to xmobar, there's no general one because flags can also control building on different platforms, picking backends for e.g. math packages, etc.) |
| 2022-05-10 18:04:50 | <martin2222> | ok .. I did that and it is still seeing unexpected 's' .... |
| 2022-05-10 18:05:30 | martin2222 | increasingly desperate now stripping down .xmobarrc gradually to localize the error |
| 2022-05-10 18:11:09 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Remote host closed the connection) |
| 2022-05-10 18:13:29 | <martin2222> | ah so it seems like ALSA was the issue |
| 2022-05-10 18:13:55 | <martin2222> | I installed alsa using portage so maybe it doesn't find alsa? |
| 2022-05-10 18:24:35 | <geekosaur> | it should find it, you wouldn't have gotten xmobar to compile otherwise |
| 2022-05-10 18:32:17 | <martin2222> | what was cabal --lib command again? |
| 2022-05-10 18:33:38 | <geekosaur> | shouldn't be relevant here, unless you're switching to using xmobar in its library mode with a real config file |
| 2022-05-10 18:34:08 | <martin2222> | ok so I did install it using cabal but didn't make a difference as you said |
| 2022-05-10 18:34:54 | <geekosaur> | pastebin your .xmobarrc? |
| 2022-05-10 18:34:58 | <geekosaur> | @where paste |
| 2022-05-10 18:34:58 | <lambdabot> | Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com |
| 2022-05-10 18:53:52 | <martin2222> | https://paste.tomsmeding.com/G9lgVOYL |
| 2022-05-10 18:54:22 | <martin2222> | that was a bit complicated, because I don't have compiled chromium yet |
| 2022-05-10 18:56:00 | <geekosaur> | so far it looks all right aside from confusing indentation (luckily the config file format isn't indentation sensitive) |
| 2022-05-10 18:56:48 | <martin2222> | tabs vs spaces? |
| 2022-05-10 18:57:34 | <geekosaur> | also shouldn't matter |
| 2022-05-10 18:57:42 | <geekosaur> | it only looks like Haskell, it isn't actually |
| 2022-05-10 18:58:01 | <geekosaur> | even ghc's error messages at their worst are better than those of xmobar's parser :/ |
| 2022-05-10 18:58:57 | <geekosaur> | I do wonder about the `"--on", ""` after the "--", which doesn't seem to be documented |
| 2022-05-10 18:59:32 | <martin2222> | it is in the tutorial |
| 2022-05-10 19:00:21 | <Solid> | it's documented for the volume options |
| 2022-05-10 19:00:24 | <geekosaur> | hm, guess that means it works then, I followed the tutorial here in testing for someone else last week |
| 2022-05-10 19:00:25 | <Solid> | and alsa takes these as well |
| 2022-05-10 19:00:38 | <martin2222> | won't run without it anywys |
| 2022-05-10 19:01:42 | <geekosaur> | still looks fine to me |
| 2022-05-10 19:03:09 | <geekosaur> | config runs fine here, hm |
| 2022-05-10 19:04:17 | <martin2222> | what are the alternatives again? |
| 2022-05-10 19:04:50 | <geekosaur> | polybar, taffybar, lxstatus, a few others |
| 2022-05-10 19:05:03 | <geekosaur> | polybar's probably most minimal of those |
| 2022-05-10 19:05:25 | <martin2222> | lxstatus from lxde? |
| 2022-05-10 19:05:35 | <Solid> | if the config works and it's still a parsing error then I reckon some flag is still not set |
| 2022-05-10 19:06:15 | <geekosaur> | yes |
| 2022-05-10 19:06:21 | <geekosaur> | (to both) |
| 2022-05-10 19:06:33 | <geekosaur> | -fall_extensions should include alsa though |
| 2022-05-10 19:07:27 | × | ml| quits (~ml|@user/ml/x-5298235) (Ping timeout: 276 seconds) |
| 2022-05-10 19:10:22 | <martin2222> | cabal install xmobar -fall_extensions |
| 2022-05-10 19:10:28 | <martin2222> | still doesn't work |
| 2022-05-10 19:10:30 | <martin2222> | whatever |
| 2022-05-10 19:11:08 | <martin2222> | I think I'm tempted to go with lxstatus it might not be very minimal, but as a longtime lxde user, it's a great status bar |
| 2022-05-10 19:11:36 | <martin2222> | let's just see how many dependencies are pulled in |
| 2022-05-10 19:16:54 | → | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 2022-05-10 19:20:52 | → | ml| joins (~ml|@user/ml/x-5298235) |
| 2022-05-10 20:00:45 | → | BrandonAllbery[m joins (~geekosaur@2001:470:69fc:105::2:cb7) |
| 2022-05-10 20:01:23 | <geekosaur> | one way or another I'll get this on my phone… |
| 2022-05-10 20:04:07 | <BrandonAllbery[m> | Now now I just have to figure out how to use my correct Nick |
| 2022-05-10 20:05:32 | BrandonAllbery[m | is now known as geekosaur[m][m] |
| 2022-05-10 20:05:37 | <geekosaur> | whoops |
| 2022-05-10 20:07:15 | <geekosaur[m][m]> | Testing |
| 2022-05-10 20:07:22 | <geekosaur> | weird |
| 2022-05-10 20:08:12 | <geekosaur> | whatever, it works, I can irc from my phone now |
| 2022-05-10 20:09:05 | <liskin> | \o/ |
| 2022-05-10 20:09:21 | <liskin> | You'll be here non-stop now won't you? |
| 2022-05-10 20:09:41 | <Solid> | hah |
| 2022-05-10 20:10:05 | <geekosaur> | phone and laptop are both set DND while I'm trying to sleep, but I have at least some chance of being here at other times :) |
| 2022-05-10 20:10:30 | <geekosaur> | haven't been able to do this since I last had a droplet and znc set up |
| 2022-05-10 20:11:14 | <liskin> | Okay :-) |
| 2022-05-10 20:49:09 | <geekosaur> | hm, #haskell:matrix.org doesn't seem to be bridged and there's no #haskell:libera.chat apparently |
| 2022-05-10 20:51:07 | <geekosaur> | at least that's what element on the phone is claiming |
| 2022-05-10 20:51:38 | <geekosaur> | oh, it's there, just not in the index |
| 2022-05-10 21:04:24 | × | vrs quits (~vrs@user/vrs) (Ping timeout: 248 seconds) |
| 2022-05-10 21:18:40 | × | benin quits (~benin@183.82.179.155) (Quit: The Lounge - https://thelounge.chat) |
| 2022-05-10 21:32:27 | <liskin> | It's not in the index of desktop Element either, because the index is just matrix.org. There's a dropdown somewhere where you can change the index for search. |
| 2022-05-10 21:33:52 | <liskin> | Also there's a Haskell "space" somewhere where you can find all the interesting rooms. No idea how that looks on mobile, or how that looks anywhere at all. Haven't logged to Matrix in weeks because the UX is worse than Slack and Discord and Jabber combined. |
| 2022-05-10 22:56:23 | → | srk- joins (~sorki@user/srk) |
| 2022-05-10 22:59:30 | × | srk quits (~sorki@user/srk) (Ping timeout: 276 seconds) |
| 2022-05-10 23:00:21 | × | zawaken quits (~zawaken@user/zawaken) (Ping timeout: 256 seconds) |
All times are in UTC.