02.08.08

Setting the default font for Emacs

Posted in emacs, linux, 리눅스 tagged , , at 1:29 오전 by KJ

The same stuff was dealt here while a ago, but the problem came back after I installed a new Fedora. This time, the font specified in .emacs is displayed with wrong anti-alias (I guess.)

Another approach to change font in emacs is given here. This works for the new system as well, and I believe this is a better way now.

Edit ~/.Xdefault. The line in the next needs to be inserted.
Emacs.font: ‘any font name you want from xfontsel’

run ‘xrdb -merge $HOME/.Xdefaults’.

Workaround of CIFS error

Posted in linux, troubleshooting, 리눅스, 컴퓨터 tagged , , , , at 1:28 오전 by KJ

When I tried to mount a windows folder on a remote windows computer, such as an active directory or samba, I got this error from time to time.

CIFS VFS: cifs_mount failed w/return code = -22

This error can be solved by typing in an actual IP of a remote windows computer instead of a domain name. This tip is from here.