Xterm and customizing?
Hello people, I'm new to this forum as a friend just linked me and said they thought it might be helpful.
I'm fairly new to Linux but I pick up pretty fast. I'm currently running Debian lxde. Now, I've been using lxterminal and essentially testing out everything BUT xterm solely based how how hideous(IMO) it looks "out of the box". Now I'm not saying it needs to be breath-taking but currently its an eye soar. I've tried to Google, and search about but I guess the bits that I'd found were too confusing for my level of xterm stupid. I can understand in home directory there should be a ".Xresources" and thats about all I've taken away thus far. How does one go about customizing this? tl;dr - I've never used xterm, looks terrible (imo), how do I customize? Any and all feedback appreciated. Love and respect. |
$ xterm -b 0 -bw 0 +sb -fg rgb:99/99/99 -bg rgb:00/00/00 -cr rgb:ff/ff/00 -fn -*-neep-medium-r-*-20-* -fb -*-neep-bold-r-*-20-* -geometry 80x25 &
You can do the .Xresources thing too, but you need to run xrdb to apply the changes. And then automate that process at the start of X if you want to set it and forget it. |
You can also do urxvt (rxvt-unicode) with all the same parameters, except -bw is -w with rxvt. It has to do with the padding between the X decorations and the text. Set to 0 and you'll have maximum characters when going fullscreen.
|
Why do you care about xterm? If you want something extremely lightweight but also with some eye candy, consider rxvt. It features pseudo-transparency (which I actually prefer to true transparency, because it can be hard to read terminal text when it's on top of a window with other text).
|
Quote:
Trying to wrap my mind around this all, when entering the above command nothing appears to happen except a new "xterm" opening |
Quote:
I'd actually be willing to give it a go, but like I said I'm new to linux. Does it come pre installed in debian lxde? If so where do I find this? I was trying out xterm because a more experienced buddy seemed to be disgusted at my use of the stock lxterminal. |
If you want to customize xterm do it with .Xresources. Here is example:
Code:
!----- xrdb -merge ~/.Xresources |
Quote:
How would one enable things like transparency and further expand. Is there a place online like a man pages that would list all features with explanations? and what is all this I hear about rxvt as well? (Please bear in mind I'm still learning,so the more 4 year old like the explination the better) Cheers! |
xterm does not do transparency by itself and I'm very happy it does not. I do not like transparency, and all those that talk about light on resource terminals and then enable transparency that is resource hog always make me smile. As for online resources, man page ( one you get when you do man xterm in your terminal ) is pretty much self explanatory, or at least I've found it to be. If you want more resources, there are many tutorials on how to customize various aspects of xterm, just google subject and read. One of things you should know, is that some of on the fly changes you can do by pressing ctrl key with combination of mouse clicks. All 3 mouse clicks will bring you different menus. As far as rxvt goes, it is in fact rxvt-unicode, or more often knows as urxvt ( rxvt itself is rarely used these days, and is unmaintained, I think ). I've always found it to be inferior in many aspects to xterm, but you might find it better for you. It can be customized, but some things that are simple to do in xterm, require perl plugins in urxvt, like for example copy to clipboard. Also, urxvt has bad solutions for spacing of some fonts, compared to xterm. On other hand, urxvt do have bit better unicode support, but it is not something that matters to me.
|
Oh, as a quick way to get transparency in xterm, if you really want it, you can use transset command. There are ways to make it kind of permanent by adding it to your .bashrc. Do man transset in your terminal for quick intro, or google it for more examples.
|
Quote:
$ ls --color=auto $ sudo apt-get install xfonts-jmk (to get the neep fonts in debian) $ xset fp rehash $ fc-cache -f -v (to update fonts in X without a reboot or restarting X) And then try the xterm command, or urxvt. |
Quote:
Anyway, if you want to install rxvt, the simplest way is to open up lxterminal (or any other console interface) and use the commands: Code:
su 1) use "apt-cache search something" or 2) Do an internet search in a web browser for "debian package something" If you get way too many results, you can cut down the results with: Code:
apt-cache search something | grep somethingelse |
Thank you to everyone that replied .All the information here was very very helpful. Cheers!
|
- you also need to find about xfonts. try enetering the command 'xfontsel' and get your bearings with this older font format.
- rxvt-unicode, aka urxvt, is another lightweight terminal emulator. i use it. many people use it. - also find out about terminal color schemes, e.g. here. |
All times are GMT -5. The time now is 07:57 PM. |