Skip to main content

Linux - Bash - .Xdefaults - To have customized xterm window


Open a file in your root folder named .Xdefaults


Add the following code in the file.





XTerm*Background:   black
XTerm*Foreground:   linen
XTerm*font:  9x15
XTerm*saveLines:    1000
XTerm*HiForeColor: white
XTerm*HiBackColor: #c06077
XTerm*geometry: 150x40+10+10
XTerm*font:             -*-courier 10 pitch-medium-r-*-*-14-*-*-*-*-*-iso8859-*


To select the code for any required font, run the command 
xfontsel -print

This opens a GUI where you can select the required font, whose code would be displayed while it is selected and at the time when you exit the application. 

Add this code in the .Xdefaults file.

Comments

Post a Comment

Please post your comment

Popular posts from this blog

Start with flask

1. Install python 2. Python comes with pip. Else install pip 3. pip install Flask 4. Create a file flaskFirst.py from flask import Flask app = Flask(__name__) @app.route('/') def index():     return 'Index Page' 3. Go to the path where the flaskFirst.py is present 4. export FLASK_APP=flaskFirst.py 5. flask run