====== Activated repositories ====== * Official Crux repos * core, opt, xorg, gnome, contrib * [[http://ryo-saeba.de/crux/index.html]] (obconf) * [[http://crux.nu/portdb/?a=repo&q=vico]] (gtk-engines-rezlooks) ====== 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 [[http://www.intel.com/technology/iapc/acpi/downloads.htm|acpi pkg]]) * jdk, eclipse * pcmanfm (light weight file manager) * mirage (light weight image viewer) ====== Auto-login ====== * 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 startx fi ====== Configuration ====== ===== ~/.pypanel ===== cp /usr/lib/python2.5/site-packages/pypanel/pypanelrc ~/.pypanelrc ===== ~/.xinitrc ===== exec openbox-session ===== ~/.config/openbox/autostart.sh ===== . $GLOBALAUTOSTART if [ -f ~/.fehbg ]; then . ~/.fehbg fi pypanel & ===== ~/.config/openbox/rc.xml ===== ... root-menu ... ===== ~/.config/openbox/menu.xml ===== ... ... ... ===== ~/bin/ob_gmenu ===== This requires the python module //gmenu// which is part of **gnome-menus** port. This script will generate the gnome menu structure. #!/usr/bin/python import gmenu import sys def normalize(s): return s.replace('&', '&'); def print_recurse(entry, indent): if entry.get_type() == gmenu.TYPE_DIRECTORY: print '' % (normalize(entry.get_name()), normalize(entry.get_name())) for child in entry.get_contents(): print_recurse(child, indent+1) print '' elif entry.get_type() == gmenu.TYPE_ENTRY: print '' % normalize(entry.get_name()) print ' %s' % entry.get_exec() print '' def main(): #menus = [gmenu.lookup_tree('applications.menu'), gmenu.lookup_tree('settings.menu')] #for top in menus: # print_recurse(top.root, 0) menu = gmenu.lookup_tree(sys.argv[1]) print '' for child in menu.root.get_contents(): print_recurse(child, 1) print '' if __name__ == '__main__': main() ===== ~/.bashrc ===== export PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] ' alias ls='ls --color=auto' ===== ~/.Xdefaults ===== 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 ====== References ====== * [[http://urukrama.wordpress.com/openbox-guide/]] * [[https://help.ubuntu.com/community/Openbox]] * [[http://linuxgazette.net/issue72/chung.html]] * [[http://gentoo-wiki.com/HOWTO_Openbox]] * [[http://www.pleyades.net/david/sakura.php|sakura terminal]] ====== Themes ====== * [[http://pixelgirlpresents.com/images/desktops/jon_bohren/vaoni_stock_1600.jpg]] * [[http://www.box-look.org/content/show.php/Elachisto?content=73842]]