wynemo
5/24/2013 - 1:51 AM

ubuntu customization

ubuntu customization

http://askubuntu.com/questions/263888/unable-to-add-input-method-to-ibus-on-kde-anymore

After change language from chinese to english, the ibus input method doesn't work

i use im-config to choose the input method,still not work

finally, IBus Preference - Input Mehod - Select an input method - > Chinese

click the >, Add it
sudo aptitude install nautilus-open-terminal
make kde the default desktop

install kdm

Reconfiguring

With the Debian and the Debian based (K/X/L/ubuntu) you could use the dpkg-reconfigure.

    man dpkg-reconfigure:

    NAME
           dpkg-reconfigure - reconfigure an already installed package

    SYNOPSIS
            dpkg-reconfigure [options] packages

    DESCRIPTION
    dpkg-reconfigure reconfigures packages after they have already been 
    installed. Pass it the names of a package or packages to reconfigure. 
    It will ask configuration questions, much like when the package was first installed...
That is:

sudo dpkg-reconfigure kdm
or

sudo dpkg-reconfigure gdm
or ...

Kubuntu & LightDM

The LightDM is : https://wiki.kubuntu.org/LightDM
The KDE is using the plasma themes. You could install more themes and mix different themes.

System Settings > Workspace Appearance > Desktop Theme. Theme / Details tabs.

More can be found from the KDE Userbase: http://userbase.kde.org/Plasma/TweakingPlasma.

Tell a process PID by it's window?

this will work

xprop | awk '/_NET_WM_PID/ {print $3}'

vim /etc/default/locale

LANG="en_US.UTF-8"
LANGUAGE="en_US:en"
exec env LANG=zh_CN.UTF-8 wine sth.exe

# or 

export LANG=zh_CN.UTF-8
wine sth.exe &