LXPanel on the Zipit
LXPanel is a lightweight menu/taskbar/tray for linux. I've been running it on my netbook along with the Openbox window manager for some time now and thought it would run well on the Zipit. With the Debian image it's easy to install with apt.
apt-get install lxpanel openbox
If I remember correctly it will by default install a couple other dependencies (like LXNM which I was unable to get working properly). LXPanel assumes you have LXSession installed (even though it's not a dependency) which has scripts for the shutdown menu. The taskbar also has some icons for desktop switching, browser, and others that just clutter up the bar on the Zipit's small screen.
To fix all this I first created a shutdown script called z2logout that will pop up an xmessage window with shutdown options and placed it in the /usr/bin directory. Don't forget to make it executable with "chmod +x /usr/bin/z2logout" (no quotes).
Z2 LXPanel Shutdown
z2logout script
#!/bin/bash
#Shows shutdown options on the Zipit Z2
#running lxpanel in openbox
answer=$(xmessage -print -center -buttons Shutdown:off,QuitX:quit,Cancel:cancel "Z2 Shutdown")
if [ $answer = "Shutdown" ]; then
shutdown -h now
fi
if [ $answer = "QuitX" ]; then
`openbox --exit`
fi
Next, we need to modify the LXPanel "panel" file to remove the stuff we don't want and add what we do. This file is located at "~/.config/lxpanel/default/panels/panel". You can replace this file with mine:
# lxpanel config file. Manually editing is not recommended.
# Use preference dialog in lxpanel to adjust config when you can.
Global {
edge=bottom
allign=left
margin=0
widthtype=percent
width=100
height=18
transparent=0
tintcolor=#000000
alpha=0
setdocktype=1
setpartialstrut=1
usefontcolor=1
fontcolor=#ffffff
background=1
backgroundfile=/usr/share/lxpanel/images/background.png
}
Plugin {
type = menu
Config {
image=/usr/share/lxpanel/images/my-computer.png
system {
}
separator {
}
item {
command=run
}
separator {
}
# Remove original logout
# item {
# image=gnome-session-halt
# name=Shutdown
# action=off
# }
item {
image=gnome-session-halt
name=Quit
action=/usr/bin/z2logout
}
}
}
Plugin {
type = taskbar
expand=1
Config {
tooltips=1
IconsOnly=0
AcceptSkipPager=1
ShowIconified=1
ShowMapped=1
ShowAllDesks=0
UseMouseWheel=1
UseUrgencyHint=1
FlatButton=0
MaxTaskWidth=150
spacing=1
}
}
Plugin {
type = tray
}
# You can comment out this plugin to remove the LXNM icon
Plugin {
type = netstat
}
Plugin {
type = dclock
Config {
ClockFmt=%l:%M
TooltipFmt=%A %x
BoldFont=0
}
}
That should get your LXPanel up and running well. It also works with the update-menus program so if you install software it should automatically update the LXPanel menu.

xbase-clients
Great stuff here! For what it's worth, I did have to add an "apt-get install xbase-clients". Without it I had no startx :) Also did a chmod 600 op.conf
That was probably because I did some edits from a windows machine. Had to, because I couldn't find the "(" character on my zipit keyboard.
Hi, Ive been using the alias
Hi, Ive been using the alias soundguy. I didnt know you could do that with xmessage.
That is very cool!
I have been using matchbox-window-manager with rox-filer. I bound a shortcut key for ctrl+esc to call gpe-taskmanager instead of having a taskbar.
The reason being is that you can cut out the title_bar and make use of all 320x240 pixels. I just cant figure out how to do it on a per application basis.
I also did things a lot differently when I tried lxpanel. I just made a script which called lxsession-logout in an rxvt window. Very very simple. Yours is much cleaner. I think ill try that out in my userland.
"echo "Are you sure you want to shutdown your"
echo "ZipitZ2?"
echo ""
echo "Press [...] + c To cancel"
echo ""
echo "Press [Enter->] to shutdown"
read holdonwait
op shutdown
"
Matchbox decorations
I looked into matchbox decorations and it appears you can disable them. You can run
matchbox-window-manager -use_titlebar nofrom the command line to disable the titlebar.
Check out http://matchbox-project.org/documentation/manual/wm.html for more options.
Undecorating windows
I haven't tried the matchbox window manager, but I know in Openbox you can edit the config file and manually add any program to run with "undecorated" windows. Maybe matchbox has a similar option.
In ~/.config/openbox/rc.xml there is an applications section. Here is an example of something I've added:
<application name="rxvt">
<decor>NO</decor>
<maximized>true</maximized>
</application>