Search This Blog

Showing posts with label XTerm. Show all posts
Showing posts with label XTerm. Show all posts

Monday, September 7, 2015

How to change XTerm background?

All colors: https://critical.ch/xterm/

Ok, lets check it. Open xterm, and write command:

$ xterm -bg DarkOliveGreen

And you should see new color of background.

If you want to save new settings for long time, then you should edit .Xresources  file, witch is in your home directory.

It's my .Xresources file:

XTerm*background:        DarkOliveGreen 
XTerm*foreground:         white
XTerm*cursorColor:        white
XTerm*VT100.geometry:     80x25
XTerm*faceName:           Terminus:style=Regular:size=10

! XTerm*font:              -*-dina-medium-r-*-*-16-*-*-*-*-*-*-*

XTerm*dynamicColors:      true
XTerm*utf8:               2
XTerm*eightBitInput:      true
XTerm*saveLines:          512
XTerm*scrollKey:          true
XTerm*scrollTtyOutput:    false
XTerm*scrollBar:          true
XTerm*rightScrollBar:     true
XTerm*jumpScroll:         true
XTerm*multiScroll:        true
XTerm*toolBar:            false


And after editing of this file, you need to save your settings, type this command:

$ xrdb -merge ~/.Xresources

Sunday, March 17, 2013

Change Xterm and Uxterm background, font ... in BlackBox



--------------------------------// Copy these lines to ~/.Xresources -------------------------------

!
! Comments begin with a "!" character.
!

XTerm*background:         black
XTerm*foreground:         white
XTerm*cursorColor:        white
XTerm*VT100.geometry:     80x25

! XTerm*faceName:           Terminus:style=Regular:size=10
! XTerm*font:              -*-dina-medium-r-*-*-16-*-*-*-*-*-*-*
! These lines you don't need ...

XTerm*font:                 terminus-10
XTerm*dynamicColors:      true
XTerm*utf8:               2
XTerm*eightBitInput:      true
XTerm*saveLines:          512
XTerm*scrollKey:          true
XTerm*scrollTtyOutput:    false
XTerm*scrollBar:          true
XTerm*rightScrollBar:     true
XTerm*jumpScroll:         true
XTerm*multiScroll:        true
XTerm*toolBar:            false

UXTerm*background:         black
UXTerm*foreground:         white
UXTerm*cursorColor:        white
UXTerm*VT100.geometry:     90x30

! UXTerm*faceName:           Terminus:style=Regular:size=10
! UXTerm*font:              -*-dina-medium-r-*-*-16-*-*-*-*-*-*-*

UXTerm*font:                terminus-10
UXTerm*dynamicColors:      true
UXTerm*utf8:               2
UXTerm*eightBitInput:      true
UXTerm*saveLines:          512
UXTerm*scrollKey:          true
UXTerm*scrollTtyOutput:    false
UXTerm*scrollBar:          true
UXTerm*rightScrollBar:     true
UXTerm*jumpScroll:         true
UXTerm*multiScroll:        true
UXTerm*toolBar:            false

----------------------------------------------------------// //------------------------------------------------------
From your terminal emulator call this command:

$ xrdb -merge ~/.Xresources

If you use startx to start blackbox copy to ~/.xinitrc that command witch i wrote before:


----------------------//     ~/.xinitrc        //-------------

xrdb -merge ~/.Xresources
exec blackbox

------------------------------------------------------------------