Topic: [SOLVED] Xfce panel not starting upon login

I have the xfce4-panel on my autostart.sh, and on my Session and Startup Manager in Xfce Settings.  The panel does not show up upon startup, though.  It isn't a huge inconvenience, since all I have to do to get it running is Alt+F2, xfce4-panel.  Still, it would be nice to just have it there...

Any suggestions of how to correct this?  Thanks all!

Last edited by groovydaddy (2010-08-31 20:07:22)

"Love should not fear or be feared."  --Josh Senic

Ubuntu 11.10 64-bit, switching back to #! 64-bit very soon
HP Probook Laptop, i3 (first gen), 8GB RAM

Re: [SOLVED] Xfce panel not starting upon login

I had the same thing with conky on #! 9.04. I did never find a solution, though I didn't really look for it.

Let's do it and don't screw it.
      Github || Deviantart

Re: [SOLVED] Xfce panel not starting upon login

Strange how that happens, huh Unia?!  smile

I just thought to try taking it off the autostart.sh since I have it on the Xfce Startup Settings too, and vice versa.  I'll post any findings.

"Love should not fear or be feared."  --Josh Senic

Ubuntu 11.10 64-bit, switching back to #! 64-bit very soon
HP Probook Laptop, i3 (first gen), 8GB RAM

Re: [SOLVED] Xfce panel not starting upon login

Theres a line in autostart which kills xfce4-panel. Did you remove that first?

just call me...
~FSM~

Re: [SOLVED] Xfce panel not starting upon login

FSM, I didn't even see a line like that!  That makes sense now...  I'll go check.

(a few minutes later)

Yes, FSM, I found it!

(~/.config/xfce4/autostart.sh)

I commented all of the Xfce panel kill coding so that autostart wouldn't execute it.

For those that may not know what "commenting" and "uncommenting" is, adding a "#" to the front of a line of coding (for many coding languages) will remove the execution from that part of the code.  The coding in this autostart.sh file now looks like this:

## Replace the default Xfce panel with tint2
#if [ "$(pidof xfce4-panel)" ]; then
#   killall xfce4-panel &
#   tint2 &
#else
#   tint2
#fi

Placing the # before these lines makes them non executable while leaving them in the code.  This way, it is easy to change if you choose to go back to OB from Xfce.

Thanks to everyone for your assistance!  big_smile

"Love should not fear or be feared."  --Josh Senic

Ubuntu 11.10 64-bit, switching back to #! 64-bit very soon
HP Probook Laptop, i3 (first gen), 8GB RAM

Re: [SOLVED] Xfce panel not starting upon login

actually groovydaddy, you can go ahead and delete the line.
openbox and xfce4 are using different config files.

openbox is ~/.config/openbox/autostart.sh
and
xfce is ~/.config/xfce4/autostart.sh

So you can just remove it if you want. Also good for other programs you want to start only in xfce.

just call me...
~FSM~