Logs: freenode/#xmonad
| 2021-02-11 13:54:22 | → | davemq_ joins (~davemq@99-179-0-50.lightspeed.austtx.sbcglobal.net) |
| 2021-02-11 13:54:33 | × | davemq quits (~davemq@99-179-0-50.lightspeed.austtx.sbcglobal.net) (Ping timeout: 264 seconds) |
| 2021-02-11 13:56:40 | × | davemq_ quits (~davemq@99-179-0-50.lightspeed.austtx.sbcglobal.net) (Client Quit) |
| 2021-02-11 13:57:53 | → | davemq joins (~davemq@2600:1700:b1c0:2580::4d8) |
| 2021-02-11 14:12:42 | × | geekosaur quits (82650c7a@130.101.12.122) (Ping timeout: 240 seconds) |
| 2021-02-11 14:20:39 | → | geekosaur joins (82650c7a@130.101.12.122) |
| 2021-02-11 14:42:21 | → | growpotkin joins (~growpotki@130-45-30-154.dyn.grandenetworks.net) |
| 2021-02-11 14:45:51 | → | seschwar joins (~seschwar@unaffiliated/seschwar) |
| 2021-02-11 14:57:11 | × | geekosaur quits (82650c7a@130.101.12.122) (Quit: Connection closed) |
| 2021-02-11 15:21:28 | × | materiyolo quits (~materiyol@112.204.169.246) (Quit: WeeChat 2.9) |
| 2021-02-11 15:36:55 | → | xaltsc joins (~xaltsc@unaffiliated/xaltsc) |
| 2021-02-11 15:37:50 | × | hexo quits (~hexo@gateway/tor-sasl/hexo) (Remote host closed the connection) |
| 2021-02-11 15:38:09 | → | hexo joins (~hexo@gateway/tor-sasl/hexo) |
| 2021-02-11 15:52:25 | × | eb0t quits (~eblip@unaffiliated/eblip) (Quit: WeeChat 1.6) |
| 2021-02-11 16:33:01 | → | everythingTaken joins (~everythin@gateway/tor-sasl/everythingtaken) |
| 2021-02-11 17:05:39 | → | geekosaur joins (82650c7a@130.101.12.122) |
| 2021-02-11 17:07:50 | × | ericsagn1 quits (~ericsagne@2405:6580:0:5100:b04a:c81a:c281:6323) (Ping timeout: 246 seconds) |
| 2021-02-11 17:08:51 | <geekosaur> | mm, did anyone get a notification about the xmonad-testing PR I opened yesterday? |
| 2021-02-11 17:12:16 | <Liskni_si> | geekosaur: I did, but I know absolutely nothing about cabal so I don't feel qualified to comment on it |
| 2021-02-11 17:13:08 | <Liskni_si> | s/cabal/cabal-install/ |
| 2021-02-11 17:15:43 | <geekosaur> | ok |
| 2021-02-11 17:16:34 | <geekosaur> | I think it's still doing more than one could hope, kinda hard to tell on a system with an SSD :) but the notice in the README should cover that and it'd apply to stack as well |
| 2021-02-11 17:17:04 | <geekosaur> | (basically, the quick recompile check xmonad does is suppressed with a build script because xmonad has no idea what or where the build script is doing things) |
| 2021-02-11 17:18:05 | <geekosaur> | it's a few seconds before xmonad starts up, but at least it's not showing an actual recompile going on, so I think it's just building and comparing build plans to what already exists |
| 2021-02-11 17:18:22 | → | nerdthatnoonelik joins (~nerdthatn@ip206.ip-51-81-119.us) |
| 2021-02-11 17:18:25 | <nerdthatnoonelik> | hello everyone |
| 2021-02-11 17:18:35 | <nerdthatnoonelik> | I have an issue with xmobar not launching with xmonad |
| 2021-02-11 17:19:06 | <nerdthatnoonelik> | xmobar was launching with xmonad just fine but ever since i used a different config its not launching anymore |
| 2021-02-11 17:19:15 | <nerdthatnoonelik> | i have to manually launch it from the terminal by running xmobar |
| 2021-02-11 17:20:17 | → | ericsagn1 joins (~ericsagne@2405:6580:0:5100:f37e:89b0:6afc:b223) |
| 2021-02-11 17:20:57 | <geekosaur> | are you running xmonad from git by any chance? |
| 2021-02-11 17:21:05 | <geekosaur> | otherwise, pastebin your config |
| 2021-02-11 17:21:11 | <geekosaur> | @where paste |
| 2021-02-11 17:21:11 | <lambdabot> | Help us help you: please paste full code, input and/or output at eg https://paste.tomsmeding.com |
| 2021-02-11 17:24:04 | <nerdthatnoonelik> | wdym from git? |
| 2021-02-11 17:24:05 | <nerdthatnoonelik> | and ok i will paste my config in a pastebin |
| 2021-02-11 17:24:48 | <geekosaur> | we've been overhauling the status bar support as part of preparing for a new release. if that didn't mean anything to you, it's reasonably certain you aren't :) |
| 2021-02-11 17:25:57 | <nerdthatnoonelik> | https://paste.tomsmeding.com/EVO15aDf heres my xmobar config |
| 2021-02-11 17:27:44 | <geekosaur> | hm. are all the fonts installed, and is your xmobar built with XFT support (should show in "xmobar --help" output) |
| 2021-02-11 17:28:39 | <nerdthatnoonelik> | xmobar --help doesn't say anything about xft support and yes all the fonts are installed |
| 2021-02-11 17:29:59 | <Liskni_si> | might be a good idea to check the log file for any errors xmobar might have printed |
| 2021-02-11 17:30:09 | <Liskni_si> | not that I know which log file in particular |
| 2021-02-11 17:30:42 | <nerdthatnoonelik> | my ~/.xmonad/xmonad.errors file doesn't have anything in it except for a deprecation warning |
| 2021-02-11 17:31:07 | × | everythingTaken quits (~everythin@gateway/tor-sasl/everythingtaken) (Quit: everythingTaken) |
| 2021-02-11 17:31:16 | <geekosaur> | that won't be the right file. normally it's either ~/.xsession-errors or something under journalctl |
| 2021-02-11 17:33:05 | <geekosaur> | this is somewhat hard for me to debug as I don't run xmobar and have nowhere to put it on this machine (bars along the edges already, but I run mate-panel since I use mate integration with xmonad) |
| 2021-02-11 17:35:50 | <nerdthatnoonelik> | ok my xsession-errors has the following errors related to xmobar "xmobar: eof at an early stage" |
| 2021-02-11 17:43:30 | <Solid> | so what was the working config/ |
| 2021-02-11 17:43:51 | <Solid> | (the one that worked) |
| 2021-02-11 17:43:54 | <Solid> | nerdthatnoonelik |
| 2021-02-11 17:45:02 | <nerdthatnoonelik> | hang on i'll put in a pastebin |
| 2021-02-11 17:45:35 | <nerdthatnoonelik> | https://paste.tomsmeding.com/K80zv7Bl |
| 2021-02-11 17:46:21 | <geekosaur> | hm, wasn't that error noted as a bug recently? (sadly I don't see a way to search in our logs) |
| 2021-02-11 17:47:13 | <Solid> | that error was just some left-over from debugging an issue that has since been removed from xmobar |
| 2021-02-11 17:47:50 | <Solid> | nerdthatnoonelik: I can see that you're referring to two different home directories in the new config; is that correct? |
| 2021-02-11 17:48:31 | <nerdthatnoonelik> | i changed that |
| 2021-02-11 17:48:39 | <nerdthatnoonelik> | but xmobar still won |
| 2021-02-11 17:48:45 | <nerdthatnoonelik> | *won't start |
| 2021-02-11 17:53:52 | <nerdthatnoonelik> | but i can still start it by running xmobar in the shell |
| 2021-02-11 17:55:23 | <Solid> | how are you starting it from within your xmonad config? |
| 2021-02-11 17:57:09 | <nerdthatnoonelik> | https://paste.tomsmeding.com/ocDyU12n |
| 2021-02-11 17:59:07 | <Liskni_si> | you're not writing anything into that xmproc pipe |
| 2021-02-11 17:59:19 | <nerdthatnoonelik> | well that worked for my last xmobar config |
| 2021-02-11 17:59:20 | <Liskni_si> | so the garbage collector closes it and xmobar terminates immediately |
| 2021-02-11 17:59:25 | <nerdthatnoonelik> | oh |
| 2021-02-11 17:59:37 | <Liskni_si> | this config couldn't have worked, ever |
| 2021-02-11 18:00:44 | <geekosaur> | not exactly true, whether gc runs in a timely fashion or not depends on ghc / rts version |
| 2021-02-11 18:01:05 | <nerdthatnoonelik> | but it did, my last xmobar config worked fine with it, i watched this video about it https://www.youtube.com/watch?v=3noK4GTmyMw and he did the same |
| 2021-02-11 18:01:29 | <Solid> | your last xmobar config didn't read from the pipe in any way |
| 2021-02-11 18:01:39 | <Solid> | so it didn't matter that you ignored the input |
| 2021-02-11 18:01:55 | <nerdthatnoonelik> | oh |
| 2021-02-11 18:04:08 | <nerdthatnoonelik> | so how do i get xmobar to not terminate immediately |
| 2021-02-11 18:05:04 | <Solid> | you are presumably using `xmproc' in your `default' function? |
| 2021-02-11 18:05:59 | <Solid> | so add it as an argument; `defaults xmproc = ...` and call with `xmonad $ docks $ defaults xmproc' |
| 2021-02-11 18:10:48 | Solid | now knows why people have this exact problem so often |
| 2021-02-11 18:11:12 | <Solid> | this distrotube guy didn't test the configs he showed people in his video :/ |
| 2021-02-11 18:12:42 | <geekosaur> | everyone does this. they think that just using the pipe magically makes xmonad restart the dock when it's restarted / mod-q |
| 2021-02-11 18:13:23 | <geekosaur> | nobody knows or cares how unix pipes work, or FD_CLOEXEC, or when gc happens |
| 2021-02-11 18:14:43 | <Solid> | it's not even about that; it's about starting the pipe but then not feeding it to ppOutput at all |
| 2021-02-11 18:15:46 | <geekosaur> | yes |
| 2021-02-11 18:15:54 | <geekosaur> | I'm telling you why people cargo-cult it |
| 2021-02-11 18:16:08 | <Solid> | oh |
| 2021-02-11 18:16:27 | <geekosaur> | there is a mis-belief that, just because it's a pipe, xmonad will go hunt down and kill the process on restart |
| 2021-02-11 18:16:57 | <geekosaur> | this is part of why the recent DynamicLog changes, so it *will* go hunt things down for users who cargo-cult it |
| 2021-02-11 18:33:31 | × | nerdthatnoonelik quits (~nerdthatn@ip206.ip-51-81-119.us) (Quit: Lost terminal) |
| 2021-02-11 18:36:04 | → | nerdthatnoonelik joins (~nerdthatn@ip206.ip-51-81-119.us) |
| 2021-02-11 18:41:16 | × | nerdthatnoonelik quits (~nerdthatn@ip206.ip-51-81-119.us) (Quit: Lost terminal) |
| 2021-02-11 18:48:10 | → | tremon joins (~aschuring@217-63-61-89.cable.dynamic.v4.ziggo.nl) |
| 2021-02-11 18:59:48 | → | nerdthatnoonelik joins (~nerdthatn@ip206.ip-51-81-119.us) |
| 2021-02-11 19:00:04 | <nerdthatnoonelik> | So I'm still confused on what im supposed to add to fix xmobar stop closing |
| 2021-02-11 19:00:37 | <nerdthatnoonelik> | because I don't know enough about haskell to know what you were talking about |
| 2021-02-11 19:01:28 | <mc47> | do you want to feed xmobar data from xmonad or not? |
| 2021-02-11 19:02:18 | <geekosaur> | your xmobar config has an unsafeStdinReader in it, which implies your xmonad config should be sending it output including xmobar escapes |
| 2021-02-11 19:02:49 | <nerdthatnoonelik> | ah |
| 2021-02-11 19:03:08 | <nerdthatnoonelik> | ok i just removed it and it worked, thanks for all the help guys! |
| 2021-02-11 19:03:10 | × | nerdthatnoonelik quits (~nerdthatn@ip206.ip-51-81-119.us) (Client Quit) |
| 2021-02-11 19:03:17 | <Solid> | lol |
| 2021-02-11 19:03:20 | <mc47> | hahaha |
| 2021-02-11 19:03:59 | <mc47> | "The fastest hand in the West" |
| 2021-02-11 19:04:33 | <Solid> | I guess that's the bad thing about a person who doesn't know haskell making that many xmonad videos :> |
All times are in UTC.