Computer/linux
-
emacs configuration fileComputer/linux 2007. 8. 10. 01:16
.emacs in the ~/ directory. ; menu bar off ;(menu-bar-mode nil) ; tool bar off (tool-bar-mode nil) ; open .gz file (auto-compression-mode t) (require 'font-lock) (global-font-lock-mode 1) ; use font-lock whenever it is availible ;; Paren highlighting (require 'paren) (show-paren-mode 1) ;; Flyspell-mode (underlining words spelled wrongly) (add-hook 'LaTeX-mode-hook 'flyspell-mode) (ispell-change..
-
파이어폭스(리눅스) 에서 예쁜 한글 폰트 사용하기Computer/linux 2007. 8. 8. 22:13
한글 폰트를 리눅스에서 예쁘게 보이게 하기가 생각보다 쉽지는 않다. 참 오랬동안 삽질을 계속하던중에 적당히 사용하고 있었는데.. Gran Paradiso Alpha 7 를 우분투 페키지가 아닌 바이너리 화일을 받아서 실행해보니 한글 굴림 폰트가 뭉게진다. 뭉게진다라는 표현이 적절할지가 모르겠다. 특정 홈페이지에서 마우스를 올리면 글자가 나타나지만 마우스를 내리면 글자가 사라지는 현상이였다. 이전에 컴파일 버전 혹은 바이너리 파이이폭스를 사용할때 생기던 문제였으나 귀찮아서 해결책을 찾지 않고 패키지로 사용했었다. 이상하게 우분투 페키지 파이어폭스는 그런 문제가 없었다. 뭐 파이어폭스가 느려질대로 느려진다고 생각도 들고, 이전 환경 ~/.mozilla 에 있던 것 중에 중요한 화일 몇개만(cert8.db, ..
-
How to use MS windows fonts and ttf in the Ubuntu LinuxComputer/linux 2007. 8. 8. 22:00
Add the multiverse in the /etc/apt/source.list deb http://archive.ubuntu.com/ubuntu/ edgy multiverse deb-src http://archive.ubuntu.com/ubuntu/ edgy multiverse deb http://archive.ubuntu.com/ubuntu/ edgy-updates multiverse deb-src http://archive.ubuntu.com/ubuntu/ edgy-updates multiverse # apt-get update && apt-get install msttcorefonts This process makes /msttcorefonts directory in /usr/share/fon..
-
How to create a iso file from cd or dvd in linuxComputer/linux 2007. 8. 3. 22:49
Create iso file from CD / DVD sudo umount /dev/cdromdd if=/dev/cdrom of=whateverfilename.isoCreate iso file from a local directory mkisofs -r -o whateverfilename.iso /local_directory mount and umount iso file with sudo or su mkdir /media/imgaemodprobe loopmount whateverfilename.iso /media/image -t iso9660 -o loopumount /media/image reference http://ubuntuguide.org/wiki/Ubuntu:Feisty/CDDVDBurning
-
--MARK-- in /var/log/messagesComputer/linux 2007. 7. 31. 06:04
[En] Strange output in the /var/log/messages file as Jul 30 22:13:18 localhost -- MARK -- Jul 30 22:33:18 localhost -- MARK -- this is a default option or the syslogd. With the man page of the syslogd, -m interval The syslogd logs a mark timestamp regularly. The default interval between two -- MARK -- lines is 20 minutes. This can be changed with this option. Setting the interval to zero turns i..
-
xset commandComputer/linux 2007. 7. 27. 23:16
Several options about xset xset -dpms : disable DPMS (energy star) xset +dpms: enable DPMSxset dpms 0 0 0 : disable 'standby' 'suspend' 'off' mode respectively.xset dpms 300 600 900 : enable 'standby' 'suspend' 'off' mode with 300, 600, and 900 seconds respectively.xset s off : off the screen saver xset s on : on the screen saver xset q : the current settings will be displayed.
-
GD Graphics LibraryComputer/linux 2007. 7. 26. 00:40
It is the time to use a graphic library in the C program. debian and ubuntu package is apt-cache search gd |grep 'GD Graphics Library' the web site of the library is http://www.libgd.org one old basic example is http://www.libgd.org/%22OldBasics%22