Tiny Core Linux
General TC => General TC Talk => Topic started by: Ulysses_ on April 22, 2011, 09:19:14 AM
-
Would rather have firefox start maximized, and it does have command line parameters for something close to that, you can specify -width and -height for the window.
But the firefox command does not appear in dot.wbar. Where is it? Am I not allowed to edit the wbar command for firefox?
-
dot.wbar is the static system icons. Everything else is dynamic.
The dynamic file is /usr/local/tce.icons. No point to edit it as it is dynamic.
One can always script edit it or even overwrite it,
However, If using ondemand, then much easier to edit the firefox ondemand script located in your tce/ondemand directory.
-
One can always script edit it or even overwrite it,
However, If using ondemand, then much easier to edit the firefox ondemand script located in your tce/ondemand directory.
You mean a script that runs something like "sed" or other horrid automatic editor on the dynamically generated tce.icons? Can't just override it because more applications may subsequently be added.
-
If you don't like the way an extension works, either contact its package maintainer or make yourself a customized version. Perhaps a non-dynamic, traditional distribution would be more to your liking.
-
Just set ff as OnDemand, go to /tce/OnDemand and edit the script file directly, replacing the simple command with the simple command + command line switch.
(But it should actually save the preferred or last window setting...? Whst happend if you maximize it, close and re-open?)
-
Aren't you roberts the package manager for core components like this? Anyway, appending to tce.icons from a script run from tce/ondemand does not seem to work (change is lost at startx), but here's a way that works:
Any new user reading might save trouble by creating their own wbar as follows, which works very nicely as it is fully under user control. Modifying the $ICONS line in ~/.xsession as follows:
[ $(which "$ICONS".sh) ] && ${ICONS}.sh && ~/my_wbar.sh >/dev/null &
where ~/my_wbar.sh is marked as executable using chmod a+x ~/my_wbar.sh and contains:
/usr/bin/wbar -p bot-left -hbar -zoomf 1.00001 -isize 24 -balfa 0 -always-ontop -config ~/my_wbar.icons
Which requires a file ~/my_wbar.icons that contains:
# The Bar && Font && Font size (11)
i: /usr/share/wbar/osxbarback.png
t: /usr/share/fonts/luxisr/11
c:
i: /usr/local/share/pixmaps/firefox.png
t: Firefox
c: exec /usr/local/firefox-official/firefox -width 1650 -height 932
To be edited as required.
-
Just set ff as OnDemand, go to /tce/OnDemand and edit the script file directly, replacing the simple command with the simple command + command line switch.
(But it should actually save the preferred or last window setting...? Whst happend if you maximize it, close and re-open?)
Saw this after posting, thanks. Would rather have firefox and the wbar automatically loaded and available.