Go back to Alan's home page


  1. Graphics

    • Kernel: nvidia-kernel-2.6.27-1
    • New driver: nvidia-glx
    • Library link: /usr/lib/libGL.so.1 -> libGL.so.185.18.14
    • Configure: /etc/X11/xorg.conf:
      Section "Device"
        Driver "nvidia"

      Section "Screen"
        DefaultColorDepth 24
        SubSection "Display"
        Depth 24
        Modes "1680x1050"
        EndSubSection
    • Log: /var/log/Xorg.0.log
    • Restart display: /etc/init.d/kdm restart
    • Anti-aliasing: in Control Center -> Fonts

  2. Display and Input Chinese

    • Install packages:
      kde-i18n-zhcn
      kde-i18n-zhtw
    • Install one or more of the following fonts:
      ttf-arphic-bkai00mp
      ttf-arphic-bsmi00lp
      ttf-arphic-gkai00lp
      ttf-arphic-gkai00mp
      ttf-arphic-ukai
      ttf-arphic-uming
    • Install packages:
      scim
      scim-qtimm
    • Configure /etc/profile:
      export LC_CTYPE="zh_CN.UTF-8"
      export XMODIFIERS='@im=SCIM'
      export GTK_IM_MODULE="scim"
      export XIM_PROGRAM="scim -d"
      export QT_IM_MODULE="scim"
      scim -d
    • Restart. Executing source /etc/profile may not be sufficient.

  3. Ubuntu 11.10
    • Network printer: When adding a network printer, choose LPD/LPR Host or Printer.
    • xscreensaver locking problem: After removing gnome-screensaver and installing xscreensaver:
      • For Ctrl + Alt + L to work, make a symbolic link:
        sudo ln -s /usr/bin/xscreensaver-command /usr/bin/gnome-screensaver-command
      • To allow locking screen from the session-menu, add the following contents to the file /usr/share/dbus-1/services/org.gnome.ScreenSaver.service:
        [D-BUS Service]
        Name=org.gnome.ScreenSaver
        Exec=/usr/bin/xscreensaver-command -lock