[xmonad] xmobar on GNOME3

Justin Bogner mail at justinbogner.com
Thu Nov 22 19:17:33 CET 2012

Brandon Allbery <allbery.b at gmail.com> writes:
> It occurs to me that this may be the usual $PATH issue: $PATH is set
> in terminals, so you can find xmobar easily, but the $PATH passed to
> xmonad itself is /bin:/usr/bin:/usr/local/bin or whatever your system
> uses as a default $PATH and xmobar installed via cabal or (some ways)
> git won't be found.

The easiest way to blame/discount this is to find out what PATH xmonad
is getting. You can check what this is for a running xmonad by digging
around in /proc. If the pid of your xmonad process is <xyz>, then:

    $ strings /proc/<xyz>/environ | grep '^PATH'

More information about the xmonad mailing list