Home

last update: 2020-03-30 at 19:00:12 CEST

Customizing Linux

"Fools ignore complexity. Pragmatists suffer it. Some can avoid it. Geniuses remove it."

— Alan Perlis

Choosing An Enjoyable Terminal Font

I currently use the gohu font within my consoles. The font has a clean design and the the Illegal1 = O0 test looks nice. Thanks to Hugo Chargois and others. Its a bitmap font and manily designed for programming. The fonts licence is wtfpl.

Installing The Gohu Font

For Debian
tar xvfz gohufont-2.0.tar.gz
sudo mkdir -p /usr/local/share/fonts/gohu
sudo cp -av gohufont-2.0/* /usr/local/share/fonts/gohu
cd /usr/local/share/fonts/gohu
sudo mkfontdir
fc-cache -fv

I also had to enable bitmap fonts in the 3. question answer yes

sudo dpkg-reconfigure fontconfig-config
For Manjaro
tar xvfz gohufont-2.0.tar.gz
sudo mkdir -p /usr/share/fonts/gohu
sudo cp -av gohufont-2.0/* /usr/share/fonts/gohu
cd /usr/share/fonts/gohu
sudo mkfontdir
fc-cache -fv
sudo ln -s /etc/fonts/conf.avail/70-yes-bitmaps.conf /etc/fonts/conf.d/70-yes-bitmaps.conf
For Gentoo
tar xvfz gohufont-2.0.tar.gz
eselect fontconfig enable 70-yes-bitmaps.conf
sudo mkdir -p /usr/share/fonts/gohu
sudo cp -av gohufont-2.0/* /usr/share/fonts/gohu
cd /usr/share/fonts/gohu
sudo mkfontdir
fc-cache -fv
fc-list|grep gohu

now restart X

Add some more color to ls

The LS_COLORS project on github aims to extend the normal ls color scheme

Install
wget https://raw.github.com/trapd00r/LS_COLORS/master/LS_COLORS -O $HOME/.dir_colors

Open your ~/.bashrc and search for the line beginning with test -r …, comment this line out and add the line eval $(dircolors -b $HOME/.dir_colors) see below

if [ -x /usr/bin/dircolors ]; then
    #test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
    eval $(dircolors -b $HOME/.dir_colors)
    alias ls='ls --color=auto'
fi

Then open a new console window or source your modified .bashrc

. $HOME/.bashrc

Installing a nicer vim colortheme

mkdir -p ~/.vim/colors
(cd ~/.vim/colors && wget https://raw.github.com/nanotech/jellybeans.vim/master/colors/jellybeans.vim)
vim ~/.vimrc

add these lines to your .vimrc

set t_Co=256
colorscheme jellybeans

Install screenfetch

my fetch

wget -c https://raw.github.com/KittyKatt/screenFetch/master/screenfetch-dev -O screenfetch
sudo chmod +x screenfetch
sudo mv screenfetch /usr/bin/