manac ham chơi

8 January, 2007

HOWTO change gnome-foot into ubuntu logo

Filed under: linux-unix — manac @ 2:39 pm


sudo cp /usr/share/pixmaps/gnome-logo-icon-transparent.png /usr/share/pixmaps/gnome-logo-icon-transparent.png.bak
sudo cp /usr/share/hwdb-client/ubuntu_logo.png /usr/share/pixmaps/gnome-logo-icon-transparent.png
killall gnome-panel

cp *.svg  /usr/share/icons/yourtheme/scalable/places/distributor-logo.svg

Install True Type Fonts: Using a Font Server

Filed under: linux-unix — manac @ 2:15 pm

You can add your own fonts and sharing them by putting them into /usr/local/share/fonts/truetype. You need to run a couple of commands to make them available to X:
# cd /usr/local/share/fonts
# mkdir truetype
# chmod go+rx truetype
# cd truetype
# wget http://www.children2children.net/promos/fonts/kidprint.zip
# unzip kidprint.zip
# rm kidprint.zip
# mkfontscale (or ttmkfdir -o fonts.scale ?????)
# mkfontdir

You need to add the path to the catalogue entry in /etc/X11/fs/config:
/usr/local/share/fonts/truetype/

A couple of other paths that should also be included there for the defoma package managed fonts to be available are:
/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID/
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType/

Blog at WordPress.com.