Tiny Core Extensions > TCE Q&A Forum

how to make so that all extentions icons to fit on wbar?

<< < (2/5) > >>

AbNoRMiS:
dear roberts
vice versa i think and even sure
that adding icons of extensions
that installed ondemand to wbar
is the most successful decision
for using wbar in tinycore

possible might consider change
to /usr/local/bin/wbar.sh
such as the following

--- Quote ---#!/bin/sh
cd "$HOME"
[ -n "$ICONS" ] || ICONS=`cat /etc/sysconfig/icons`
if [ "$ICONS" == "wbar" ]; then
   WBARPID=$(pidof wbar)
   [ -n "$WBARPID" ] && killall wbar
   [ -e .wbar ] && read OPTIONS < .wbar
   case `cat /etc/sysconfig/desktop` in
      flwm*|jwm) ;; #list of desktop managers in which -above-desk option not needed or|and causes problems
      *) OPTIONS="-above-desk $OPTIONS" ;;
   esac
   nohup wbar  $OPTIONS  -config /usr/local/tce.icons  >/dev/null &
fi
--- End quote ---
to ensure that wbar not was gone from screen
after applying settings by using wbarconf
in such desktop managers
like lxde, xfce4, enlightenment etc

roberts:

--- Quote from: AbNoRMiS on March 28, 2012, 05:26:12 PM ---dear roberts
vice versa i think and even sure
that adding icons of extensions
that installed ondemand to wbar
is the most successful decision
for using wbar in tinycore

possible might consider change
to /usr/local/bin/wbar.sh
such as the following

--- Quote ---#!/bin/sh
cd "$HOME"
[ -n "$ICONS" ] || ICONS=`cat /etc/sysconfig/icons`
if [ "$ICONS" == "wbar" ]; then
   WBARPID=$(pidof wbar)
   [ -n "$WBARPID" ] && killall wbar
   [ -e .wbar ] && read OPTIONS < .wbar
   case `cat /etc/sysconfig/desktop` in
      flwm*|jwm) ;; #list of desktop managers in which -above-desk option not needed or|and causes problems
      *) OPTIONS="-above-desk $OPTIONS" ;;
   esac
   nohup wbar  $OPTIONS  -config /usr/local/tce.icons  >/dev/null &
fi
--- End quote ---
to ensure that wbar not was gone from screen
after applying settings by using wbarconf
in such desktop managers
like lxde, xfce4, enlightenment etc

--- End quote ---
I don't use any of those DEs and don't cross test against other extensions, however I will take your mod as well tested and plan to implement it in the next release cycle. Thanks!

roberts:

--- Quote from: roberts on March 27, 2012, 09:25:11 PM ---Sounds good to me. Will look into its implementation.

--- End quote ---
On further consideration instead of yet another boot code, I will to add an option to wbarconf GUI to exclude ondemand icons.
I have decided to use the boot code as originally suggested, noicons=ondemand

AbNoRMiS:

--- Quote from: Lee on March 26, 2012, 11:57:24 AM ---Another thing that can help is to play around with the icon labels.  I like to limit them to five characters or less, where possible,("edit" instead of "editor", "apps" instead of "appsbrowser" and so on (Yes, I know those are some of the ones I removed anyway)) and reduce the font size a bit.

--- End quote ---
dear Lee
icons labels seem does not affect to length of wbar
(if i correctly understood about what the talk)

--- Quote from: Lee on March 26, 2012, 11:57:24 AM ---I'm not a user of either lxde nor "ondemand", but I found my wbar getting a bit crowded (though I never actually ran out of room - Is there a limit, besides the screen width?).  In my case I already had a custom menu associated with a "tray" button (in JWM) so i put a submenu there and moved all of the default icons except aterm off of the wbar.  Since I don't find myself using appsbrowser, scmbrowser, appsaudit, mnttool, editor, cpanel and exittc all that often, this was an easy win for me.

--- End quote ---
from then i started using tinycore with wbar
i almost never use the menu
therefore i never abandon wbar
first, all icons are in a prominent place
second, enables to run extensions by one mouse click
third, use of menu is becoming difficult for me ::)
and finally it looks good :D despite the fact that i was forced to reduce size to 20

but thank you very much
you gave me a good idea to try jwm
previously i tried almost all lightweight desktop managers
but neither quite liked for me and i stopped at lxde
understanding that it's not very lightweight desktop manager
now it freed about 50 mb of ram compared to lxde
only need little figure how to setup jwm for yourself
not yet found documentation translated from english
on jwm website i not grasp how to move taskbar to bottom
yet i was not able to set unicode fonts in jwm theme
to display non-english window titles and taskbar items
will have to find a good indicator of keyboard layout :)
but even with these not resolved issues i'll work in jwm
i liked 8) many thanks

p.s.
fewer for one issue, i got it that taskbar location is specified in the tray options

curaga:
Re JWM

Taskbar at the bottom: "<Tray  x="0" y="-1" height="22">" y=-1 is the main part.

Unicode fonts: Only jwm-snapshot has truetype fonts enabled.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version