WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Anyone know what script starts wbar? ( Fixed )  (Read 1961 times)

Offline SunBurnt

  • Full Member
  • ***
  • Posts: 102
Anyone know what script starts wbar? ( Fixed )
« on: August 23, 2011, 07:50:48 PM »
I`ve looked but I`m still not sure where the command is at. ( I assume it`s "wbar" )

Also what files does wbar write to?
« Last Edit: August 23, 2011, 11:44:52 PM by SunBurnt »

Offline ixbrian

  • Administrator
  • Sr. Member
  • *****
  • Posts: 436
Re: Anyone know what script starts wbar?
« Reply #1 on: August 23, 2011, 08:16:20 PM »
Look at:
/usr/bin/startx around lines 22-25, line 34 (calls desktop.sh, wbar_setup.sh)
/usr/bin/desktop.sh on line 14 (calls wbar_update.sh)
/usr/bin/wbar_update.sh (cals wbar.sh)
/usr/bin/wbar.sh (starts wbar)


Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: Anyone know what script starts wbar?
« Reply #2 on: August 23, 2011, 08:26:26 PM »
The '~/.xsession' file (generated by using '/etc/skel/.xsession') contains
Code: [Select]
[ $(which "$ICONS".sh) ] && ${ICONS}.sh & and this environment variable ICONS gets set in '/etc/init.d/tc-config'.

The possible values are derived either from the boot code 'icons=...' or it is read from the contents of '/etc/sysconfig/icons' (which contains a default value of 'wbar').

Offline SunBurnt

  • Full Member
  • ***
  • Posts: 102
Re: Anyone know what script starts wbar?
« Reply #3 on: August 23, 2011, 08:44:56 PM »
Many thanks ixbrian; I was just looking at some of those files but didn`t see what kicked it all off.
I should have guessed startx was the one... I hate chasing variables around from script to script.

Thanks maro; I saw that in tc-config, but where it all went to was a big Q of course.

It`s gonna be a real struggle finding out what`s keeping wbar from starting up.

Offline SunBurnt

  • Full Member
  • ***
  • Posts: 102
Re: Anyone know what script starts wbar? ( Fixed )
« Reply #4 on: August 23, 2011, 11:44:32 PM »
Well... It wasn`t quite as bad as I thought it was gonna be.
Had the link /usr/local pointing to the wrong /opt dir.
/opt is where I put the stuff in /usr that needs to be written to.

I`ll post my statistics in another thread...