You are not logged in.

#1 2009-08-21 15:18:40

hw-tph
Member
Registered: 2006-11-01
Posts: 149

[solved] Openbox / tint2 annoyance: tint2 won't autostart

For whatever the reason, my tint2 never starts up when I login. It doesn't matter if I put it in autostart.sh, .xinitrc or whatever - I have to start it manually, which is a real drag. Everything else in my autostart.sh executes as expected.

I use SLIM as session manager.

Current contents of .xinitrc:

exec openbox-session

Current contents of autostart.sh:

#!/bin/bash
#. $GLOBALAUTOSTART

wicd-client &
eval $(cat ~/.fehbg)
eval $(ssh-agent -s)
urxvtd -q -o -f
conky &
tint2 &

Openbox is current Arch release 3.4.7.2-2, tint2 is built from current svn trunk and works great if I start it manually.

Any ideas?

Last edited by hw-tph (2009-08-21 15:36:35)

Offline

#2 2009-08-21 15:36:07

hw-tph
Member
Registered: 2006-11-01
Posts: 149

Re: [solved] Openbox / tint2 annoyance: tint2 won't autostart

Crap. PEBKAC error if there ever was one...!

I use zsh so I hadn't paid attention to bash configuration at all. tint2 lived in /usr/local/bin, which wasn't in the $PATH for some reason.

Also, if Arch would give me a nice ~/.xsession_errors (like Debian does, at least) I would have caught this immidiately. As it is, I had to change my .xinitrc to this to track the errors:

#!/bin/bash
exec openbox-session 2> .xsession_errors

Offline

Board footer

Powered by FluxBB