Difference between revisions of "Package:Urxvt"

From Funtoo
Jump to navigation Jump to search
(Created page with "{{Ebuild |Summary=rxvt clone with xft and unicode support |PkgCat=x11-terms/rxvt-unicode |Homepage=http://software.schmorp.de/pkg/rxvt-unicode.html }} Urxvt is a clone of P...")
 
Line 15: Line 15:
</console>
</console>


Most likely, you will want to enable '''xft''' use flag so that you can use extra fonts (such as Inconsolata, a pretty good font for terminals). You might also want to enable ''256-color''' use flag to get a larger color range.
Most likely, you will want to enable '''xft''' use flag so that you can use extra fonts (such as Inconsolata, a pretty good font for terminals). You might also want to enable '''256-color''' use flag to get a larger color range.


== Configuration ==
== Configuration ==
Line 21: Line 21:
It is very likely that when you will launch Urxvt for the first time, you will want to make some customizations so that your terminal doesn't look ugly. So we will go into it. If it does not exist, create a file <code>~/.Xresources</code>.
It is very likely that when you will launch Urxvt for the first time, you will want to make some customizations so that your terminal doesn't look ugly. So we will go into it. If it does not exist, create a file <code>~/.Xresources</code>.


{{fancyimportant|You may be used to handle your terminal configuration in <code>~/.Xdefaults</code> which is generally loaded by default.However, this method is deprectated.}}
{{fancyimportant|You may be used to handle your terminal configuration in <code>~/.Xdefaults</code> which is generally autoloaded when you start X. However, this method is deprecated. So you should use <code>~/.Xresources</code> now.}}
 
If you use a display manager, <code>~/.Xresources</code> is probably automatically loaded. If this is not the case, you will have to load it manually in your <code>~/.xinitrc</code> with the command <code>xrdb ~/.Xresources</code>. If you want to split your configuration into multiple files, you can also use the <code>-merge</code> option of <code>xrdb</code> so that the last called file doesn't override the others.

Revision as of 14:56, September 24, 2014

Urxvt

   Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.


Urxvt is a clone of rxvt, to which xft fonts and unicode characters support were added. This is an alternative to Xterm, the X default terminal emulator.

Installation

First step to get Urxvt work is to merge it, so let's do it.

root # emerge -av rxvt-unicode

Most likely, you will want to enable xft use flag so that you can use extra fonts (such as Inconsolata, a pretty good font for terminals). You might also want to enable 256-color use flag to get a larger color range.

Configuration

It is very likely that when you will launch Urxvt for the first time, you will want to make some customizations so that your terminal doesn't look ugly. So we will go into it. If it does not exist, create a file ~/.Xresources.

   Important

You may be used to handle your terminal configuration in ~/.Xdefaults which is generally autoloaded when you start X. However, this method is deprecated. So you should use ~/.Xresources now.

If you use a display manager, ~/.Xresources is probably automatically loaded. If this is not the case, you will have to load it manually in your ~/.xinitrc with the command xrdb ~/.Xresources. If you want to split your configuration into multiple files, you can also use the -merge option of xrdb so that the last called file doesn't override the others.