2010-05-14

QWidget vs QML

"QWidgets are a better choice if your UI is comprised of a small number of complex and static elements, and QML is a better choice if your UI is comprised of a large number of simple and dynamic elements."
Reference:

2010-05-13

Configure Sound for Debian

See the artical in Germany

Konfigurieren der Soundkarte mit alsaconf und amixer

Show Hareware in Linux

There are three commands are very useful to show hardware in Linux
> lspci (pci device)
> lsusb (usb device)
> lshw (general hardware)
> dsmeg (prints the message buffer of the kernel)

Chinese Debian

A good explained doc on setting update mini chinese Debian.


http://isis.poly.edu/~qiming/chinese-debian-mini-howto.html

2010-05-11

Use Intel Graphic Driver for Debian Lenny onThinkpad SL510

Thinkpad SL510 has a display adapter "mobile intel 4 series express chipset family".  Debian Lenny with kernel 2.6.26-2-686 is installed. In order to use inter driver, you need to following steps



1)Modifiy /boot/grub/menu.lst, to set vga=871.

2) Reconfigure /etc/X11/xorg.conf to use the intel driver:
==============
Section "Device"
Identifier "Configured Video Device"

# Add this line to force the driver
Driver "intel"
EndSection
==============
3) Reboot

Reference:

FVWM-Crystal upon Debian — speed and transparency

Under Debian Lenny you need to install the following packages:

>apt-get install fvwm
>apt-get install fvwm-crystal
>apt-get install x-window-system

Add configuration file
>vim ~/.xinitrc
type in "exec fvwm-crystal"
>reboot


Reference:

 

2010-05-08

A Blue-screen Problem during Installation of WindowsXP at ThinkPad

When Max tried to install WindowsXp on a fresh now ThnikPad, he encountered a blue-screen problem as the system boot from WindowsXP CD. More specifically speaking, after the scanning of hardware and before loading the windows setup program. From the inform on the blue-screen, it seems that something related with hard drive is wrong.

After some googling, it is found out that XP CD cannot recognize Serial ATA in ACHI. The solution is change the configuration in BIOS.
Config -> Serial ATA (SATA) > Set AHCI to Compatibility


Reference: