You are not logged in.
Pages: 1
hi folks, I don't like my emacs default font, I would like to set my default emacs font to terminus but I can't. How to do that?
--------------------------------
Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo.
Recuerda: El arca de Noe fue construida por aficionados, el titanic por profesionales
-----------------------------------------------------------------
Offline
set something like:
emacs.font: -*-terminus-*-*-*-*-14-*-*-*-*-*-*-*
in your ~/.Xdefaults. You can reload the settings with 'xrdb -load ~/.Xdefaults'
Offline
Try
Emacs*font: -*-terminus-*-*-*-*-14-*-*-*-*-*-*-*
in your .Xresources/.Xdefaults file. The difference from the above post is that this will change all fonts in Emacs to terminus. I believe the one in the above post will only affect text in frames, i.e. no modeline, menu bar, menus (if you use them), etc.
Offline
jbromley is right; although I get modeline changed, and menus are from the gtk2 theme. Experiment.
Offline
it doesn't work, I had set my .Xdefaults with:
emacs.font: -*-terminus-*-*-*-*-14-*-*-*-*-*-*-*
and my Xresources with:
Emacs*font: -*-terminus-*-*-*-*-14-*-*-*-*-*-*-*
and nothing work, and I hace installed terminus-font!!!
--------------------------------
Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo.
Recuerda: El arca de Noe fue construida por aficionados, el titanic por profesionales
-----------------------------------------------------------------
Offline
Why don't you try to add
(set-default-font "-*-terminus-*-*-*-*-14-*-*-*-*-*-*-*")
to your ~/.emacs file.
Edit: I see terminus is not available in xfontsel either. I am not sure why that is but as such I don't think you can use the methods that have been given. Just a note on that though, if you run xfontsel you can find an available font and use .emacs or .Xdefaults
Last edited by tesjo (2008-06-24 16:12:50)
Offline
I had an issue with terminus not being in xfontsel earlier - Not sure why it must be a problem with the install script. I loosely followed the instructions here to get it set up: http://64dc.wordpress.com/category/linux/.
Offline
Doesn't emacs allow Xft font definitions? I'm asking because I don't use it (I use vim), but I'm able to set vim fonts with Xft defitions (Xft are like "*font:Liberation Mono-9").
Offline
problem solved, I added to my fontpath definitions in xorg the path of the terminus font (/usr/share/fonts/local), restarted X and, it work!!!. with the first method: emacs.font: -*-terminus-*-*-*-*-14-*-*-*-*-*-*-*
now I need to set the same terminus font to emacs running with no window: emacs -nw
--------------------------------
Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo.
Recuerda: El arca de Noe fue construida por aficionados, el titanic por profesionales
-----------------------------------------------------------------
Offline
'emacs -nw' runs in the terminal, so you need to set the for xterm/urxvt/terminal/whatever you're running.
Offline
thanks
--------------------------------
Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo.
Recuerda: El arca de Noe fue construida por aficionados, el titanic por profesionales
-----------------------------------------------------------------
Offline
Wonderful, I was wondering how to switch font, thanks! I can now use a reasonable font size - like 10, or 8.
Offline
Pages: 1