2012-07-18

How to generate a certain locale in Ubuntu

# locale-gen ko_KR.utf8


References
https://help.ubuntu.com/community/Locale/#A.28Re-.29Generating_locale

How to disable ugly GNOME Metacity minimize effect

Run gconf-editor.
Check the following two things.

/apps/metacity/general/reduced_resources
/desktop/gnome/interface/accessibility


References
http://pclinuxos2007.blogspot.kr/2010/08/how-to-disable-ugly-gnome-metacity.html

2012-07-08

Exclude certain directories or files from grep

Use option, --exclude-dir=DIR, --exlude-from=FILE.


References
manpage
http://stackoverflow.com/questions/1491514/exclude-svn-directories-from-grep

Overview of storages and partitions of Android

Storages
There are ram, flash memory and sd card. Generally, ram is the fastest and sd card is the slowest.

Common partitions
  • splash1
  • boot
    • kernel
  • recovery
  • system
    • essential software
    • For example, CyanogenMod is installed to this.
    • Generally speaking, this is write-protected.
  • cache
  • data

Rom
The term 'ROM' has multiple uses in the Android world, and it gets misused a lot. Mostly, ROM means the system partition.


References
http://wiki.cyanogenmod.com/wiki/Overview_of_Modding

Android booting sequence

References
http://www.androidenea.com/2009/06/android-boot-process-from-power-on.html
http://maca.egloos.com/5383289
http://itsyashblog.wordpress.com/2011/09/25/android-boot-process-part-1/

2012-07-07

How to control cpu frequency scailing on Ubuntu 10.04

/etc/init.d/ondemand


References
http://www.mereo.ca/2010/07/05/howto-controlling-ubuntu-10-04s-ondemand-threshold/

How to remove mail icon from indicator applet on Ubuntu 10.04

Remove a package indicator-messages.


References
http://shortrecipes.blogspot.kr/2010/04/ubuntu-1004-how-to-remove-chat-and-mail.html
http://ubuntugenius.wordpress.com/2010/05/04/remove-evolution-mail-notifier-from-indicator-applet-in-ubuntus-system-tray/

2012-07-05

How to install Nabi on Arch Linux

Intall Nabi.

Setup the following environment vars.
export XIM=nabi
export XIM_ARGS=
export XIM_PROGRAM=/usr/bin/nabi
export XMODIFIERS="@im=nabi"
export GTK_IM_MODULE=xim
export QT_IM_MODULE=xim

Make /usr/bin/nabi run on startup.


References
http://wiki.kldp.org/wiki.php/nabi
http://arch.korea.com/viewtopic.php?id=29

How to resolve Adobe Flash blue tint on Linux

There are many workarounds.

I selected the method 'Disable Flash Player's Hardware Acceleration'.


References
http://askubuntu.com/questions/117127/flash-video-appears-blue

2012-07-04

How to disable boot splash theme on Xubuntu

Edit /etc/default/grub. Comment out GRUB_CMDLINE_LINUX_DEFAULT.
Run update-grub.


References
http://askubuntu.com/questions/248/how-can-i-show-or-hide-boot-messages-when-ubuntu-starts

How to disable window-rollup in XFCE

$ xfconf-query -c xfwm4 -p /general/mousewheel_rollup -s false

But this is compatible above XFCE 4.8pre3.


References
http://www.xfce.org/about/news/?post=1293926400
https://wiki.archlinux.org/index.php/Xfce#Disable_window_roll-up

2012-07-03

How to swap Ctrl-CapsLock on X

method 1.
$ /usr/bin/setxkbmap -option "ctrl:swapcaps"

method 2.
/etc/X11/xorg.conf
Section "InputDevice"
  Identifier "Keyboard0"
  ...
  Option "XkbOptions" "ctrl:swapcaps"
EndSection


References
http://serverfault.com/questions/10437/how-do-you-swap-the-caps-lock-to-control-in-xfce
http://lrobot.sinaapp.com/?p=314
http://wiki.linuxquestions.org/wiki/Swap_Caps_Lock_and_Ctrl

NetworkManager in XFCE on Arch Linux

Install packages: networkmanager, network-manager-applet, xfce4-notifyd, gnome-keyring
Remove daemon: network
Add daemon: networkmanager (after the dbus)


References
https://wiki.archlinux.org/index.php/NetworkManager

2012-07-02

Complaints about desktop environments on Arch Linux

GNOME
Though I installed gnome in accordance with official wiki on Arch, GDM did not started properly. I could not find a solution.

MATE
It took long time to load components after log-in. I cound not find a solution.

KDE
It worked well. But it is very feature-rich to me.

XFCE
It worked well. WFWM has the ability to tile a window automatically when it is moved to the edge of the screen by resizing it to fill the top half of the screen. This was annoying to me. But finally I got a solution from XFCE wiki on Arch website.

2012-07-01

ipTime N100UM (i.e. Ralink rt3070) on Ubuntu 10.04

The ipTime N100UM which uses Ralink rt3070 did not work properly on Ubuntu 10.04.

I did blacklist rt2800usb module. So the problem have been fixed.

Nvidia Geforce GT520 on Ubuntu 10.04

Nvidia driver in official repository did not work properly for my geforce gt520 on Ubuntu 10.04.

So I installed newer driver from ppa:team-iquik/nvidia-vpau. The problem have been fixed.

How to fix korean Nanum font overlap on Chromium in Ubuntu 10.04

When I installed Nanum font series and removed unfont series, Chromium showed korean font overlap on some web sites.

So I removed WenQuanYi font series. The problem have been fixed.

How to use Nabi for input method on Ubuntu 10.04

Install nabi.
At System - Administration - Language support, you can change input method.


References
http://opensea.egloos.com/5253259