Author Topic: Fbpanel  (Read 3415 times)

dolcex

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Fbpanel
« on: May 09, 2006, 11:54:37 am »
I'm trying to replace mb panel with fbpanel by editing ~/.xinitrc.  I installed fbpanel and then made the following change in .xinitrc:

eval "matchbox-desktop $MBBGND" 2>/dev/null >/dev/null &
#eval "matchbox-panel --no-flip $MBORIENT" 2>/dev/null >/dev/null
fbpanel &

I've tried various things, but no matter what I do - X server shuts down if matchbox-panel isn't started (or if it's killed).  Hints please?

p.s. what exactly does 2>/dev/null >/dev/null do?  I assume it sends program out put to null device, but what is the 2>/dev/null all about?
Sharp Zaurus SL-C1000
pdaXrom beta3

karlto

  • Sr. Member
  • ****
  • Posts: 343
    • View Profile
    • http://
Fbpanel
« Reply #1 on: May 09, 2006, 04:15:30 pm »
Quote
p.s. what exactly does 2>/dev/null >/dev/null do?  I assume it sends program out put to null device, but what is the 2>/dev/null all about?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126297\"][{POST_SNAPBACK}][/a][/div]
1 (or default) is standard output, 2 is standard error (if you redirect stdout to /dev/null, errors on stderr will still show in the console).

Matchbox does tie all its components together pretty closely, but I do recall having the panel disappear when I was fiddling around with this stuff - does it kill matchbox if you kill the panel manually after starting?
SL6000-L, RC12

dolcex

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Fbpanel
« Reply #2 on: May 09, 2006, 04:50:43 pm »
Thanks for the redirect info!

If I kill the panel, xserver is killed and I'm dropped back to the shell.  I'm playing around with .xinitrc, but xserver chokes with just about any change I make..
Sharp Zaurus SL-C1000
pdaXrom beta3

dolcex

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Fbpanel
« Reply #3 on: May 12, 2006, 06:18:51 pm »
for anyone that cares, I finally got fbpanel + rox-filer working in pdaxrom 1.1.0 alpha3 with the following .xinitrc:

Code: [Select]
test -e /proc/power_key_off && echo "0" >/proc/power_key_off 2>/dev/null

test -f /etc/profile && . /etc/profile

if [ ! -d $HOME/Choices/common ]; then
    mkdir -p $HOME/Choices/common
fi

if [ -f $HOME/Choices/lightnpower.cfg ]; then
    lightnpower.py --loadandquit
fi

if [ -f /usr/bin/gconfd-2 ]; then
    /usr/bin/gconfd-2 15 &
fi

test -f /etc/X11/kb/akita.xmodmap && xmodmap /etc/X11/kb/akita.xmodmap
test -f /etc/X11/kb/userdefined.xmodmap && xmodmap /etc/X11/kb/userdefined.xmodmap
test -f /usr/bin/chkhinge && /usr/bin/chkhinge 2>/dev/null >/dev/null

openbox 2>/dev/null >/dev/null &

/usr/X11R6/bin/xset s 0

eval "rox --pinboard=MYPINBOARD" &
#eval "matchbox-panel --no-flip $MBORIENT" 2>/dev/null >/dev/null
eval "fbpanel" 2>/dev/null >/dev/null

GCONF2_PID=`pidof gconfd-2`
if [ ! "$GCONF2_PID" = "" ]; then
    kill $GCONF2_PID
fi

test -e /proc/power_key_off && echo "1" >/proc/power_key_off 2>/dev/null

btw, can anyone explain what "/usr/bin/gconfd-2 15" does?
Sharp Zaurus SL-C1000
pdaXrom beta3

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Fbpanel
« Reply #4 on: May 12, 2006, 10:21:30 pm »
gconfd is supposed to be a config daemon for the gnome subsystem. it is supposed to automatically launch whenever configuration is required and hang around for a while in case some other app need it in which case it is already loaded but it should then terminate after a while of inactivity.
in theory, it should automatically load when needed and shutdown when not needed.
in practice, i have observed that it does indeed load automatically when needed but it lingers around and does not terminate as it is supposed to.

the lines in the script starts gconfd on every start of X. the 15 maybe a time period of how long it should hang around. not sure about that one. and it doesnt seem to work either if that is the timeout interval. and it gets killed by the script when X exits because it doesnt die automatically as it is supposed to
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Fbpanel
« Reply #5 on: May 12, 2006, 10:42:49 pm »
Quote
for anyone that cares, I finally got fbpanel + rox-filer working in pdaxrom 1.1.0 alpha3[div align=\"right\"][a href=\"index.php?act=findpost&pid=126815\"][{POST_SNAPBACK}][/a][/div]
Nice work.
How do you find it compared to Matchbox?
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

dolcex

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Fbpanel
« Reply #6 on: May 13, 2006, 12:17:58 am »
Well, the bad side is that I had to edit config files to get the panel the way I want it (launchers, plugins, and menu items).  I'm sure there is a GUI tool out there, but I'm not aware of it for the Z.  The good thing is that Rox-filer and fbpanel are a great combination to get that "desktop" feel, if that's what you're going for.  It seems to be equivalent to Matchbox as far as speed goes.  I'm a happy camper.  Soon I'll put up some screenshots (when I figure out how...)

If you see anything that could/needs to be changed in my .xinitrc file, please let me know.
« Last Edit: May 13, 2006, 12:20:14 am by dolcex »
Sharp Zaurus SL-C1000
pdaXrom beta3

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Fbpanel
« Reply #7 on: May 13, 2006, 12:39:19 am »
Quote
Well, the bad side is that I had to edit config files to get the panel the way I want it (launchers, plugins, and menu items).  I'm sure there is a GUI tool out there, but I'm not aware of it for the Z.  The good thing is that Rox-filer and fbpanel are a great combination to get that "desktop" feel, if that's what you're going for.  It seems to be equivalent to Matchbox as far as speed goes.  I'm a happy camper.  Soon I'll put up some screenshots (when I figure out how...)

If you see anything that could/needs to be changed in my .xinitrc file, please let me know.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126846\"][{POST_SNAPBACK}][/a][/div]

is fbpanel fluxbox panel? if so, then i got fluxconf compiled for xqt to edit menus,etc... compiling it for pdaXrom would be very simple if you want a copy.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

dolcex

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Fbpanel
« Reply #8 on: May 13, 2006, 01:09:53 am »
I'm not sure if fbpanel is fluxbox...  according to web site:
fbpanel is a lightweight, NETWM compliant desktop panel. It works with any NETWM compliant window manager (eg xfwm4, sawfish, openbox, metacity, kde wm )

It looks like fbpanel is becoming the default for pdaxrom (based on the alpha4 release), so a configuration tool would be nice.  Mind you - fbpanel comes with the ability to configure basic look and feel properties, but no menu editor and I can't get the theme to change (what controls that?).


Quote
Quote
Well, the bad side is that I had to edit config files to get the panel the way I want it (launchers, plugins, and menu items).  I'm sure there is a GUI tool out there, but I'm not aware of it for the Z.  The good thing is that Rox-filer and fbpanel are a great combination to get that "desktop" feel, if that's what you're going for.  It seems to be equivalent to Matchbox as far as speed goes.  I'm a happy camper.  Soon I'll put up some screenshots (when I figure out how...)

If you see anything that could/needs to be changed in my .xinitrc file, please let me know.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126846\"][{POST_SNAPBACK}][/a][/div]

is fbpanel fluxbox panel? if so, then i got fluxconf compiled for xqt to edit menus,etc... compiling it for pdaXrom would be very simple if you want a copy.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126849\"][{POST_SNAPBACK}][/a][/div]
Sharp Zaurus SL-C1000
pdaXrom beta3

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Fbpanel
« Reply #9 on: May 13, 2006, 01:41:42 am »
Quote
I'm not sure if fbpanel is fluxbox...  according to web site:
fbpanel is a lightweight, NETWM compliant desktop panel. It works with any NETWM compliant window manager (eg xfwm4, sawfish, openbox, metacity, kde wm )

It looks like fbpanel is becoming the default for pdaxrom (based on the alpha4 release), so a configuration tool would be nice.  Mind you - fbpanel comes with the ability to configure basic look and feel properties, but no menu editor and I can't get the theme to change (what controls that?).


Quote
Quote
Well, the bad side is that I had to edit config files to get the panel the way I want it (launchers, plugins, and menu items).  I'm sure there is a GUI tool out there, but I'm not aware of it for the Z.  The good thing is that Rox-filer and fbpanel are a great combination to get that "desktop" feel, if that's what you're going for.  It seems to be equivalent to Matchbox as far as speed goes.  I'm a happy camper.  Soon I'll put up some screenshots (when I figure out how...)

If you see anything that could/needs to be changed in my .xinitrc file, please let me know.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126846\"][{POST_SNAPBACK}][/a][/div]

is fbpanel fluxbox panel? if so, then i got fluxconf compiled for xqt to edit menus,etc... compiling it for pdaXrom would be very simple if you want a copy.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126849\"][{POST_SNAPBACK}][/a][/div]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126850\"][{POST_SNAPBACK}][/a][/div]


further checking confirms that fbpanel is not part of fluxbox, but I found a script that converts fluxbox menus into fbpanel menus, so you could use fluxconf gui tool to edit a menu file and use the script to convert it to fbpanel menu... not so elegant but better than nothing if we cannot find a tool for fbpanel.
if fbpanel is based on gtk2, then i got a gtk theme switcher
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K