Closed sct0 closed 3 years ago
Okey, so, I went through the command line option and found the -p option which solved the issue, though I am not entirely sure what it does and why it wasn't mentioned in the guide.
My dzen status bar dissapears too from time to time, roughly once in every 4-6 months. And only a system reboot fixes it.
xmobar process died from time to time here, restart xmonad fixes, not sure if it's related.
@sct-0 dzen2 disappears because you're not using the dzenLeftBar
pipe anywhere at all, so the garbage collector closes it, dzen2 gets an end-of-file and exits. Why do you want a dzen2 with no input anyway?
Here's some docs about it: https://github.com/xmonad/xmonad-contrib/blob/97289ff6ca1f0edd0447870b9dcbe9a4b6858d9b/XMonad/Hooks/DynamicLog.hs#L128
Also, these days you might want to use https://xmonad.github.io/xmonad-docs/xmonad-contrib-0.16.999/XMonad-Hooks-StatusBar.html which makes it much harder to make this kind of mistake.
Problem Description
When I issue the startx command in my startup terminal, xmonad starts up as expected but my dzen2 bar only shows up for a second and then dissappears. I first thought it had to do with issue https://github.com/xmonad/xmonad/issues/21 , until I realised that the bar disappears even when don't open a window.
I am running Gentoo 4.4.12 with xmonad 0.13.
Configuration File
I used the issue above and the following two links to build my config.
https://wiki.haskell.org/Xmonad/Config_archive/brad%27s_xmonad.hs http://thinkingeek.com/2011/11/21/simple-guide-configure-xmonad-dzen2-conky/