General TC > General TC Talk
Modify firefox shortcut in wbar?
Ulysses_:
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.
Ulysses_:
--- Quote from: jur on April 22, 2011, 07:28:24 PM ---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?)
--- End quote ---
Saw this after posting, thanks. Would rather have firefox and the wbar automatically loaded and available.
Navigation
[0] Message Index
[*] Previous page
Go to full version