User Tools

Site Tools

Writing /var/www/html/conf/plugins.local.php failed

Activated repositories

Installed packages

  • openbox
  • obconf (gtk,libglade,startup-notification)
  • gtk-chtheme, gtk-engines
  • feh (change desktop bg)
  • pypanel (minimal taskbar)
  • gimp, gvim, pidgin
  • polymer (pure qt port of plastik style)
  • virtualbox (manually download acpi pkg)
  • jdk, eclipse
  • pcmanfm (light weight file manager)
  • mirage (light weight image viewer)


  • create the file autologin.c
int main() {
   execlp( "login", "login", "-f", "josh", 0);
  • compile into /usr/sbin
sudo gcc -o /usr/sbin/autologin autologin.c
  • edit /etc/inittab
#c1:2:respawn:/sbin/agetty 38400 tty1 linux
c1:2:respawn:/sbin/agetty -n -l /usr/sbin/autologin 38400 tty1 linux
  • add startx to ~/.bash_profile
if [ -z "$DISPLAY" ]; then



cp /usr/lib/python2.5/site-packages/pypanel/pypanelrc ~/.pypanelrc


exec openbox-session


if [ -f ~/.fehbg ]; then
  . ~/.fehbg
pypanel &


<!-- show menu: windows  key-space -->
<keybind key="W-space">
  <action name="ShowMenu">


<menu id="apps" label="Applications" execute="ob_gmenu" />
<menu id="settingss" label="Settings" execute="ob_gmenu" />
<menu id="apps" />
<menu id="settings" />


This requires the python module gmenu which is part of gnome-menus port. This script will generate the gnome menu structure.

import gmenu
import sys
def normalize(s):
        return s.replace('&', '&amp;');
def print_recurse(entry, indent):
        if entry.get_type() == gmenu.TYPE_DIRECTORY:
                print '<menu id="__%s" label="%s">' % (normalize(entry.get_name()), normalize(entry.get_name()))
                for child in entry.get_contents():
                        print_recurse(child, indent+1)
                print '</menu>'
        elif entry.get_type() == gmenu.TYPE_ENTRY:
                print '<item label="%s">' % normalize(entry.get_name())
                print '  <action name="Execute"><execute>%s</execute></action>' % entry.get_exec()
                print '</item>'
def main():
        #menus = [gmenu.lookup_tree(''), gmenu.lookup_tree('')]
        #for top in menus:
        #       print_recurse(top.root, 0)
        menu = gmenu.lookup_tree(sys.argv[1])
        print '<openbox_pipe_menu>'
        for child in menu.root.get_contents():
                print_recurse(child, 1)
        print '</openbox_pipe_menu>'
if __name__ == '__main__':


export PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] '
alias ls='ls --color=auto'


Make xterm look pretty

XTerm*background: Black
XTerm*foreground: White
XTerm*geometry: 80x40
!XTerm*faceName: Bitstream Vera Sans Mono
XTerm*faceName: Andale Mono
XTerm*faceSize: 10



notes/crux.txt · Last modified: 2010/05/27 14:05 (external edit)