2012-01-27

Mount external hard drive to VirtualBox

iomega eGo
VirtualBox 4.1.8

Connect the device, power off the vm if it's on
Go to USB setting of the virtual machine
Explicitly add the device as a filter
Power on VM
Disconnect the device from host
It should be captured by VM now

2012-01-23

New Qt4 project settings

pro.conf
CONFIG += release
CONFIG += crypto
TARGET = mybinary
QT += sql webkit network script
DESTDIR = build
MOC_DIR = build
RCC_DIR = build
OBJECTS_DIR = build


main.cpp
#include <qapplication>
#include "MyForm.h"

int main(int argc, char **argv) {
    QApplication a(argc, argv);
    a.setOrganizationName("myOrg");
    a.setOrganizationDomain("my.net");
    a.setApplicationName("MyApp");
    a.setApplicationVersion("1.0");
    MyForm w;
    w.show();
    return a.exec();
}

2012-01-14

Debian testing (wheezy) Install log

Using testing businesscard iso
Select "Xfce desktop" and "Install" (non-graphical) at boot screen.
Deselect "Desktop Environment" at tasksel.
After install, modify sources.list, appending contrib and non-free. Add debian-multimedia if needed.

Packages:
vim
xfce4
lightdm
wicd // NetworkManager-like applet
mousepad // text editor
xfce4-power-manager
xfce4-terminal
evince-gtk // PDF viewer
iceweasel // rebranded Firefox
unrar
unzip
squeeze // archiver
thunar-archive-plugin
xfce4-datetime-plugin
xfce4-cpugraph-plugin
xfce4-systemload-plugin // For memory monitoring
xfce4-netload-plugin
ristretto // pic viewer
smplayer
gnome-brave-icon-theme
gnome-wise-icon-theme
gparted // partition editor
isomaster // iso creator

Localization:
ibus-pinyin // Chinese input
fonts-arphic-uming
ttf-wqy-zenhei
ttf-sazanami-mincho
ttf-sazanami-gothic
fonts-unfonts-core
Fonts reference: wikipedia.org

Development:
git
g++
make
r-base
openjdk-6-jre
qt4-dev-tools
libqca2-dev

Not tested but might worth try:
xfce4-genmon-plugin

Not in repo:
DeaDBeeF
RStudio

Appearance settings:
Style: Mist
Icons: GNOME-Wise / GNOME-Brave
Fonts: Sans 10 (default); enable anti-aliasing; slight hinting; RGB sub-pixel order
Settings: no image on buttons

Window Maker settings:
Style: Tyrex; remove "Shade" button from title bar

Window Maker Tweaks settings:
Accessibility: uncheck "Raise windows when any mouse button is pressed"


Mouse settings:
Behavior: raise "Double click" time to about 300