You are not logged in.

#1 2006-09-19 07:38:11

Sir_Leon
Member
Registered: 2006-09-03
Posts: 31

Terminal

Hi. I installed Arch64 distro a two weeks ago. I want to change my terminal look. Im using aterm.
How can I change my terminal font? (I want to use a font like abcde.ttf)
How can I change the name section color in terminal( root#, username~)

Thanks for answers!..

Offline

#2 2006-09-19 07:53:47

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: Terminal

Terminal font depends on your aterm config. Read man aterm for that (it's all configured in ~/.Xdefaults).

The

[user1@aws00510 ~]$

part is controlled by the environment variable $PS1, you can set it in ~/.bashrc (and in many other places).


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#3 2006-09-19 09:28:20

Sir_Leon
Member
Registered: 2006-09-03
Posts: 31

Re: Terminal

Thanks for replay. I changed the color.
But I couldn't change the font. I installed zsh and configured the colors. But I couldn't configure the fonts.
I used aterm command like you said;

aterm -fn ~/fonts/xxx.ttf

But It gave an error;

aterm: can't load font "fonts/xxx.ttf"
aterm: Cannot set locale

What can I do?

Offline

#4 2006-09-19 09:47:28

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: Terminal

You have to specify the fontname rather than the fontfile. run xfontsel and choose the font you want. Then click "select" to put the fontname on the clipboard so you can paste it to the commandline. It will look something like

xxx-*-bold-10-*-*-*-*

A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#5 2006-09-19 10:07:45

Sir_Leon
Member
Registered: 2006-09-03
Posts: 31

Re: Terminal

Understood. But what I must do to see my font xxx.ttf in fontsel. ( I moved it to /usr/share/fonts/misc but I cant see my font again. The all fonts in there are pcf.gz. My font is .ttf )

Offline

#6 2006-09-19 11:47:56

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Terminal

aterm doesnt do truetype fonts iirc.

also, the correct place for user installed fonts is ~/.fonts/

put your fonts there, then run fc-cache -v amd your fonts should be available.

James

Offline

Board footer

Powered by FluxBB