Desktop linux again

openSUSE 12.3 and openSUSE 13.1

ปุ่มปรับ backlight ไม่ work

เครื่อง asus zenbook ให้แก้โดยเพิ่ม kernel option

acpi_backlight=none acpi_osi=


sudo vi /etc/default/grub


GRUB_CMDLINE_LINUX_DEFAULT="resume=/dev/system/swap splash=silent quiet showopts"


GRUB_CMDLINE_LINUX_DEFAULT="resume=/dev/system/swap splash=silent quiet showopts acpi_backlight=none acpi_osi="

แล้วสั่ง sudo update-grub

Fix YaST2 and rvm

YaST is ported to ruby and out-of-the-box DOES NOT work with rvm. I have to

gem install fast_gettext

to fix this.

network not working

check this…
Stop the service first

systemctl is-active network.service && \
systemctl stop network.service

Enable NetworkManager

systemctl --force enable NetworkManager.service

Enable the service again

systemctl start network.service


  • add packman repositories


  • via communities repositories (PackMan, etc.)

sudo zypper install git subversion mercurial gcc-c++ kate emacs gvim gnucash filezilla krusader texlive gimp inkscape wine smb4k artha vlc comix keepass dropbox wine wine-mp3 virtualbox sysstat lsb htop iotop

We also needs other lib for development

libxslt-devel libxml2-devel libmysqlclient-devel python-devel
  • Other packages
    • codeblock
    • steam
    • synergy


Copy the file /usr/lib/udev/rules.d/60-vboxdrv.rules to /etc/udev/rules.d/, open it with a text editor, and remove the leading ‘#’s from the last 4 lines below the comment in line #2. This is needed to give you the needed permissions, but is disabled by default in the openSUSE package because of security concerns.
It should work then after a reboot.

LibreOffice 4

zypper ar -f
zypper in libreoffice -r "Stable Version of LibreOffice (openSUSE_12.3)"

my widget looks ugly, have to install package libreoffice-gnome


Font Config

ต้องใช้ไฟล์ ~/.fonts.conf (มีอยู่ใน hg linux-file แล้ว)
อย่าลืม ln -s linux-file/.fonts.conf

อย่าลืมติดตั้ง font ต่าง ๆ อ่าน

Mouse Problem

  • vi /etc/X11/xorg.conf.d/50-synaptics.conf
  • add
        Option "VertResolution" "100"
        Option "HorizResolution" "65"
        # disable synaptics driver pointer acceleration
        Option "MinSpeed" "3"
        Option "MaxSpeed" "20"
        # tweak the X-server pointer acceleration
        #Option "AccelerationProfile" "2"
        Option "AdaptiveDeceleration" "1"
        Option "ConstantDeceleration" "16"
        Option "VelocityScale" "32"

to the InputClass of synaptics, making the section become

Section "InputClass"
        Identifier "touchpad catchall"
        Driver "synaptics"
        MatchIsTouchpad "on"
# This option is recommend on all Linux systems using evdev, but cannot be
# enabled by default. See the following link for details:
        MatchDevicePath "/dev/input/event*"
        Option  "HorizScrollDelta"      "0"
# enable tap-to-click as default (bnc#722457)
        Option "TapButton1" "1"
        Option "TapButton3" "2"
        Option "TapButton2" "3"
        Option "VertResolution" "100"
        Option "HorizResolution" "65"
        # disable synaptics driver pointer acceleration
        Option "MinSpeed" "3"
        Option "MaxSpeed" "20"
        # tweak the X-server pointer acceleration
        #Option "AccelerationProfile" "2"
        Option "AdaptiveDeceleration" "1"
        Option "ConstantDeceleration" "16"
        Option "VelocityScale" "32"


Set the Promp

read this as well
check this two for 256 colors as well

the current prompt is

function EXT_COLOR () { echo -ne "\[\033[38;5;$1m\]"; }
function EXT_BGCLR () { echo -ne "\[\033[48;5;$1m\]"; }
export PS1="`EXT_COLOR 204`\u`EXT_COLOR 84`@`EXT_COLOR 141`\h`EXT_COLOR 84`:`EXT_COLOR 208`\w`EXT_COLOR 84`>\[\033[0m\]"

mount ntfs

/dev/disk/by-id/ata-SAMSUNG_MZ7PC256HAFU-000L7_S0Y5NSACC01704-part3 /dae        ntfs-3g rw,user,users,nosuid,nodev,relatime,uid=1000,gid=users,fmask=003,dmask=002,default_permissions,allow_other,exec 0 0

Pimp my Firefox

on HiDPI display, the ui element is very small. Fix by following option in about:config


also we need to add font size to ~/.mozilla/firefox/XXXX.default/chrome/userContent.css

 @namespace url(""); /* set default namespace to XUL */
 * {font-size: 14px !important; }

I love my KDE in black but firefox won’t agree with this. Create this file ~/.mozilla/firefox/XXXX.default/chrome/userContent.css

input {
border: 2px inset white ;
background-color: white ;                                                                        
color: black ;                                                                                   
textarea {                                                                                       
border: 2px inset white ;                                                                        
background-color: white ;                                                                        
color: black ;                                                                                   
select {                                                                                         
border: 2px inset white;                                                                         
background-color: white;
color: black;
input[type="checkbox"] {
border: 2px inset white ;
background-color: white;
color: ThreeDFace l
*|*::-moz-radio {
background-color: white;
input[type="submit"] {
border: 2px outset white;
background-color: #eeeeee;
color: black;
body {
background-color: white;
color: black;
display: block;
margin: 8px;


HG repo

.hgrc เริ่มต้น

username=Nattee Niparnan <>


Subscribe to Syndicate
© 2014 Nattee Niparnan. Drupal theme by Kiwi Themes.