OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: dolcex 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?
-
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?
-
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..
-
for anyone that cares, I finally got fbpanel + rox-filer working in pdaxrom 1.1.0 alpha3 with the following .xinitrc:
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?
-
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
-
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?
-
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.
-
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.
-
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?).
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]
-
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?).
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