How to install newest version of elvis vi-clone in Ubuntu 14.04 LTS

Posted: 2015/01/02 in Ubuntu
Tags: , , , , , , ,
# Procedure to install newest version of elvis vi-clone in Ubuntu 14.04 LTS
 # Please copy-paste each command below one by one into the Terminal:
 cd
 sudo apt-get update
 sudo apt-get install git checkinstall libprima-perl gsfonts-x11
 sudo apt-get install xfonts-100dpi xfonts-75dpi xfonts-100dpi-transcoded xfonts-75dpi-transcoded
 git clone https://github.com/mbert/elvis.git
 cd elvis
 sudo make clean
 sudo ./configure
 sudo make
 sudo checkinstall
 apt-cache show elvis
 dpkg-query -L elvis
 sudo gedit /usr/share/elvis/elvis.ini
 # Using the gedit editor, replace the following configuration lines in /usr/share/elvis/elvis.ini:
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 " X11 INTERFACE DEFAULT FONTS GO HERE
 if gui == "x11"
 then {
 if font == "" && xrootwidth >= 1024
 then {
 set! font="*-courier-medium-r-*-18-*"
 set! boldfont="*-courier-bold-r-*-18-*"
 set! italicfont="*-courier-medium-o-*-18-*"
 }
 if font == "" && xrootwidth >= 800
 then {
 set! font="*-courier-medium-r-*-14-*"
 set! boldfont="*-courier-bold-r-*-14-*"
 set! italicfont="*-courier-medium-o-*-14-*"
 }
 if font == ""
 then {
 set! font="*-courier-medium-r-*-12-*"
 set! boldfont="*-courier-bold-r-*-12-*"
 set! italicfont="*-courier-medium-o-*-12-*"
 }
 }
 # with the following configuration lines:
 " X11 INTERFACE DEFAULT FONTS GO HERE
 if gui == "x11"
 then {
 if font == "" && xrootwidth >= 1024
 then {
 set! font="*Courier-Bold*"
 set! boldfont="*Courier-Bold*"
 set! italicfont="*Courier-Bold*"
 }
 if font == "" && xrootwidth >= 800
 then {
 set! font="*Courier-Bold*"
 set! boldfont="*Courier-Bold*"
 set! italicfont="*Courier-Bold*"
 }
 if font == ""
 then {
 set! font="*Courier-Bold*"
 set! boldfont="*Courier-Bold*"
 set! italicfont="*Courier-Bold*"
 }
 }
 # Using the gedit editor, save those configuration changes to the /usr/share/elvis/elvis.ini file
 # then run the following command in a Terminal to launch the elvis editor:
 elvis
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s