Tiny Core Linux
Tiny Core Base => TCB Talk => Topic started by: robc on September 11, 2009, 03:09:23 PM
-
Could the file /usr/share/wbar/dot.wbar be changed to a symlink to /usr/local/tce.wbar?
This way a user can simply type in wbar in a command prompt if it is not running and still have all the applications loaded in the tray. It just removes the requirement of specifying the config file, plus it will free up a few bytes :)
-
Not sure I follow. /usr/local is empty. PPI mounts there and if it were prepopulated it would not be available.
-
wbar.sh could be used
-
wbar.sh could be used
That's true, does it allow args to be passed to wbar? ie -vbar -pos...
-
wbar.sh could be used
That's true, does it allow args to be passed to wbar? ie -vbar -pos...
I'm still kicking around the idea of storing the args for wbar in specially formatted "comments" at the top of /usr/local/tce.wbar. There is already a single comment line there and an additional comment line that I added did not get overwritten when loading an extension that adds an icon to the bar. I should be able to put whatever I want in there and have wbar.sh parse for args to be passed to wbar. A tce/tcz that replaces wbar.sh shouldn't be too hard to throw together - in my vast spare time.
-
I'm still kicking around the idea of storing the args for wbar in specially formatted "comments" at the top of /usr/local/tce.wbar.
I think it would be a lot easier to setup an environment variable or create a file like /etc/sysconfig/iconoptions and put the args in there.
Using the sysconfig file would probably be the easiest to support/modify.
Or this 1 line could be added to bootlocal.sh:sed -i 's!-bpress!-bpress -vbar -pos right!' /usr/bin/wbar.sh
-
I have a solution for the next cut, using .wbar file in your home directory.
There just specify any of the wbar config options.
-
I have a solution for the next cut, using .wbar file in your home directory.
There just specify any of the wbar config options.
Thank you :)
-
I have a solution for the next cut, using .wbar file in your home directory.
There just specify any of the wbar config options.
Good things come to those who wait. :)
Thanks Robert (and to all who have put thought into these things)