Archive for the 'X' Category

Creating a 32 Bit Chroot with Funtoo Sources (For Wine)

Since I can’t seem to get wine to work properly on the 64 bit build, I decided to break down and stop fighting the system. Just create a damn 32bit chroot so that everything works fine. The following (modified from the official gentoo site) were the steps that I took, and everything seemed to build fine with no problems. I put this is script format so if anyone wants to save 15 minutes of time, then they can just cut/paste this into vim, chmod it, and execute it. If you decide to be lazy like me, make sure that you review what you are stuffing into your make.conf file. It might not be what you wanted.

#!/bin/bash
mkdir /mnt/gentoo32
wget http://distro.ibiblio.org/pub/linux/distributions/funtoo/funtoo/x86/stage3-x86-current.tar.bz2
tar -xvjpf stage3-x86-current.tar.bz2
cp -L /etc/resolv.conf /mnt/gentoo32/etc/resolv.conf
cp -L /etc/passwd /mnt/gentoo32/etc/passwd
rm /mnt/gentoo32/etc/make.conf
echo "CFLAGS=\"-O2 -march=native -msse2 -pipe -fomit-frame-pointer\"" >> /mnt/gentoo32/etc/make.conf
echo "CHOST=\"i686-pc-linux-gnu\"" >> /mnt/gentoo32/etc/make.conf
echo "CXXFLAGS=\"${CFLAGS}\"" >> /mnt/gentoo32/etc/make.conf
echo "MAKEOPTS=\"-j2\"" >> /mnt/gentoo32/etc/make.conf
mount -o bind /dev /mnt/gentoo32/dev
mount -o bind /dev/pts /mnt/gentoo32/dev/pts
mount -o bind /dev/shm /mnt/gentoo32/dev/shm
mount -o bind /proc /mnt/gentoo32/proc
mount -o bind /proc/bus/usb /mnt/gentoo32/proc/bus/usb
mount -o bind /sys /mnt/gentoo32/sys
mkdir -p /mnt/gentoo32/usr/portage/
mount -o bind /usr/portage /mnt/gentoo32/usr/portage/
mount -o bind /tmp /mnt/gentoo32/tmp
emerge --noreplace sys-apps/util-linux
echo
echo /##################################################\
echo
echo NOW RUN THE FOLLOWING:    
echo # linux32 chroot /mnt/gentoo32 /bin/bash  
echo # source /etc/profile 
echo # env-update  
echo # emerge -vauND world
echo
echo \##################################################/

My Openbox WM Configuration

I have been trying to find a decent window manager for my laptop that wouldn’t kill my resources, and would still look nice. Originally, I started using fluxbox, but it wasn’t cutting it for me, mainly because it has significant problems with ‘xcompmgr’ and certain programs with transparencies. So I ventured to openbox. At first look, wow, it has no panels, no functional desktop, really, it has nothing, just a simple right click menu for all of your applications. After exploring a little, i came across wbar, tint2, conky & trayer. All which are very useful for the openbox desktop. Below is a screenshot, and additionally, I created a script that will mirror my setup for your desktop. Let me know what you think.

Screenshots:

Download:
Script