
On 14 August 2011 14:51, Tristan Ravitch
On Sun, Aug 14, 2011 at 02:45:24PM -0700, Alexander Dunlap wrote:
I apologize if I'm missing something obvious here, but when I try to run taffybar I get
Launching custom binary /home/alex/.cache/taffybar/taffybar-linux-i386
taffybar-linux-i386: ConnectionError "connectSession: DBUS_SESSION_BUS_ADDRESS is missing or invalid."
Is there some D-BUS configuration that needs to happen before the package is usable?
Sorry, I assumed you would have dbus running already. If you add a line like:
eval `dbus-launch --auto-syntax`
early in your ~/.xsession (if logging in via some graphical login manager) or ~/.xinitrc (if starting X via startx). That should work for any normal -sh-style or -csh-style shell.
That command starts DBus and sets the DBUS_SESSION* environment variables, and both xmonad and taffybar need to have the same settings for that variable, so make sure you execute that command before starting either of them.
I'll add some notes in the documentation about this.
Thanks, that worked! Also, is there a way to change the default color of text printed by the bar? (I've added span tags with colors to the different text widget formats, but it would be nice to be able to set a default - it shows up as a nearly-impossible-to-read dark grey for me.) Thanks a lot for the great program! Alexander