2013년 11월 25일 월요일

When the update or installing packages are too slow in Ubuntu Korea 우분투 소스리스트 업데이트나 패키지 다운로드가 느릴 때

소프트웨어 센터를 열어서 소프트웨어 소스의 메인 서버를 '다음'으로 변경


  1. Ubuntu Software Center
  2. Edit menu
  3. Software Sources
  4. On Ubuntu Software tab, click 'Download from:'
  5. select 'Other...'
  6. Select Korea
  7. Daum
  8. Close

Installing Ubuntu 13.10 Saucy in English and Setting up Korean environment 영어 우분투에서 한글 환경 (한글 입력) 설정


  • Download DVD-1 of Ubuntu 13.10 amd64 (64 bit) and burn the image
  • Boot from the DVD and install Ubuntu with English language but Korean location. (Choose the keyboard, don't go for just US english if yours is not an ordinary one, like my case with PFU Happy Hacking Professional 2)
  • System Settings - Language Support - Install/Remove Languages - Korean
  • Ubuntu Software Center - Search or Filter ibus-hangul and install it
  • Make or edit ~/.Xmodmap to activate 'Hangul' key (한/영 key)
  • Startup Applications - Add '/usr/bin/xmodmap /home/yours/.Xmodmap (and you may want to add a terminal also with a command like '/usr/bin/gnome-terminal --geometry=+480+90'
  • Run 'ibus-setup' on a terminal - Input Method tab - Add 'Korean Hangul' - Preferences - Select your own Hangul keyboard layout (Sebeolsik Final for me, but most people want Dubeolsik) - Set up a key for switching input method as 'Hangul' and decide a key for Hanja
  • Run 'ibus restart'
  • Hide the stupid defaut IBus icon from a tray

간단 한글 번역
  • '언어-영어, 위치-한국'으로 우분투를 설치
  • System Settings - Language Support - Install/Remove Languages - Korean
  • Ubuntu Software Center - ibus-hangul 설치
  • 터미널에서 'ibus-setup'으로 대화상자를 띄워 한글 입력기 설치, 설정 후 'ibus restart'

2013년 9월 13일 금요일

Setting up the color scheme of 256 colors on Vim

Put your 'My_Color_Scheme.vim' file in ~/.vim/colors/

Add the code below into your ~/.vimrc

if &term =~ "xterm"
  "256 color --
  let &t_Co=256
  " restore screen after quitting
  set t_ti=ESC7ESC[rESC[?47h t_te=ESC[?47lESC8
  if has("terminfo")
    let &t_Sf="\ESC[3%p1%dm"
    let &t_Sb="\ESC[4%p1%dm"
  else
    let &t_Sf="\ESC[3%dm"
    let &t_Sb="\ESC[4%dm"
  endif
endif

colorscheme My_Color_Scheme

learned from: http://vim.wikia.com/wiki/Using_vim_color_schemes_with_Putty, and you can also check http://www.vimninjas.com/2012/08/26/10-vim-color-schemes-you-need-to-own/

Setting up Korean (Unicode) Environment of Windows PuTTY

Go to 'Window - Translations' on Configuration Dialog and change 'Remote Character Set' to UTF-8
(This is about text stream that you get from a server; Linux/Unix machine.)

Run regedit
Go to 'HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\'
Change the value of 'FontCharSet' to 81 (or your language. 81 is for Korean, hexa)
Change the value of 'Font' to Bitstream Vera Sans Mono (or your font)
Re-run PuTTY
(This is about a font you will use in PuTTY, the font should be installed in your computer.)


learned from http://crawl.develz.org/wordpress/prettify-putty, and http://mynsh.blogspot.kr/2008/11/putty-korean-language-configuation.html

2013년 8월 13일 화요일

Fixed: NVIDIA GTX 560 Ti crash randomly frozen screen (Free commander XE, nvinit.dll_unloaded closing crash)

I use ZOTAC's nvidia gtx 560 ti on Windows 7 x64 at work and it worked fine. After the graphics card driver update (to 314.22), 32-bit based apps like Free Commander XE have been crashed when closing with the dialog saying that nvinit.dll_unloaded and also my monitor screen has been frozen randomly for a few seconds.

The new official vga driver (320.18) was released a few month later and I updated but the problem was not fixed. I found the newest driver doesn't have any change for gtx 560 but only for 600 or 700 series, and also found this solution by googling later, 'downgrading' the driver to 296.10, as I remind myself "Upgrading is not always good."

Problem: nvinit.dll_unloaded error and screen freezing since upgrading gtx 560 ti driver to 3xx.xx version
Solution: downgrading the driver to 296.10
Source: https://forums.geforce.com/default/topic/528468/geforce-500-400-series/freezing-driver-failure-recovery-geforce-gtx-560-ti-twin-frozr/


조탁의 gtx 560 그래픽카드를 잘 쓰다가 드라이버 업데이트 이후 32비트 기반 앱 종료할 때 에러 + 간헐적 화면 멈춤 현상 발생

구글링 하여 296.10으로 다운그레이드 하니까 해결

소프트웨어에 있어서 업그레이드가 늘 좋은 것은 아니라는 사실을 상기함

2013년 6월 24일 월요일

PHPMyAdmin: cannot connect, invalid setting (XAMPP)

Open the 'config.inc.php' file in the phpmyadmin directory and type a right password in a line like the below.

$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['AllowNoPasswordRoot'] = false; // not 'true'

2013년 6월 10일 월요일

구글 드라이브 데스크탑 영어(한글)로 변경하기 How to change the language of Google Drive Desktop Client

Supported by Ine Hordvik

In order to set the sync client language to English, try the following:
  1. Open your control panel
  2. Go to System and Security
  3. Click on System
  4. Open Advanced system settings (in the left panel)
  5. Click on Environment Variables
  6. Click either the top (user) or bottom (system) New... button.
  7. For Variable name input LANG and for Variable value enter en_US.

If you want a different language instead of English than set the Variable value to your one by referring this table, with underline(_) not hyphen(-).

윈도우즈 7의 경우

시작 버튼 - 내 컴퓨터에서 우클릭 - 속성
왼쪽에 고급 시스템 설정 클릭
고급 탭 - 환경 변수 클릭
위 아래 아무 새로 만들기 클릭
변수 이름LANG, 변수 값en_US 입력

한글은 ko_KR, 다른 언어로 설정하고 싶은 경우 변수 값에 여기를 참고하여 하이픈(-)이 아닌 밑줄(_)과 함께 입력


구글은 이런 거 일 년도 넘게 안 고치고 뭐하나...

Xubuntu: Installing a Printer (Canon G3060 PIXMA)

$ sudo apt install system-config-printer Download the proper driver for linux from Canon website. Turn on the printer and set up its WiFi. C...