You are currently browsing comments. If you would like to return to the full story, you can read the full entry here: “Customize Xterm, the original and best terminal…”.
|
|||||
Customize Xterm, the original and best terminal…You are currently browsing comments. If you would like to return to the full story, you can read the full entry here: “Customize Xterm, the original and best terminal…”. 13 comments to Customize Xterm, the original and best terminal…Leave a Reply |
|||||
|
Copyright © 2012 Scarygliders - All Rights Reserved |
|||||
I am NEW to Linux and somewhat sight impaired. Hence my need to customise fonts in Xterm.
I follow instructions and paste the script for .Xresources into Nautilus, I cannot then save the file as .Xresources only as Xresources
If I start Nautilus from Xterm with SUDO Nautilus, then I cannot find the HOME directory or the previously saved Xresources file. However I do seem to have the permission needed to save a . (dot) file
Can you help me further please?
Hi John,
Your home directory is located at /home/<username>/ , so, say for example your login user name is “john” , then your home directory should be located at /home/john/ .
Since you’re new to linux, I suggest you use a text editor such as gedit , for example. In which case you should;
1) Start gedit - which is available in the default Ubuntu installation and should be under the Accessories menu. You don’t have to edit the file as a superuser/using sudo.
2) Copy and paste the example .Xresources contents in my Howto above into the blank document.
3) Select File then Save As, in the gedit menu, then when the directory browser window appears, make sure you are in your home directory.
I’ve included a screenshot of the gedit file browser for your convenience;
The red rectangle shows the name of the file to be saved : .Xresources
Using the part of the file browser I’ve highlighted using the green rectangle, you can click through to your home directory – in my case /home/kcave as used in a virtual machine of mine…
You can also find your home directory using the area I’ve highlighted in yellow – your home directory should be listed just above “Desktop”.
Hope this helps! Let me know how you got on :)
Regards!
Thanks a million Kevin. It worked straightforwardly.
I would however be more comfortable with the default size “large”. This I can do with <Ctl Rt click> but it would be good to know which line to change in the .Xresources script.
John
Hey John, glad that worked out for you :)
You can change the default font size by altering this line;
xterm*faceSize: 11Just increase or decrease the font size to your taste.
Regards!
Hi. Kevin, My previous message was written in elation and haste – before I switched my brain on.
I think I am getting thr hang of things. (previously I did not realise that gedit shows up as “text editor” on my desktop.
I have used gedit and changed the facesize figure from 11 to 15. Re-saved .Xresources and again run the command xrbp…etc. This now gives me a default screen in Xterm that I can read comfortably.
Info xrbp gives me some idea of what I am doing, but I can get no response to “man merge” or “info merge” to appreciate what is happening.
Anyway thanks again for your prompt help.
Regards,
John (Millom, UK)
Hi John,
“-merge” is the option given to the xrdb command itself, so that’s why you won’t see relevant information if you just look up “info merge” or similar :)
If you type “man xrdb” in an xterm window, you’ll get the xrdb manual page, and within that you’ll see what the “-merge” option does.
Regards!
Thanks, I have sent a small donation.
Thank you very much!
I totally agree with your affection for xterm over gnome-terminal.
However, I find that my favorite font (lucidasanstypewriter-10) in gnome-terminal under ubuntu 10.4 looks fine, but in xterm it looks muddy and jagged. My guess is that this is because of the “subpixel smoothing” that I get via System > Preferences > Appearance > Fonts, but I don’t really know. Is there any way to sort this out?
Thanks!
Hi David,
A quick google search and I found this, perhaps it’s related?
http://ubuntuforums.org/showthread.php?t=1597277
Regards!
Good thought, but that description doesn’t match what I’m seeing. Ah well.
Hi David, lemme look into it – installing an Ubuntu 10.04 installation now… you’ve piqued my interest ;)
David,
I installed Ubuntu 10.04 in a VM, performed all the updates, made sure subpixel smoothing was on, installed the sun-java6-fonts package (which provides the Lucida Sans Typewriter), and set my .Xresources file such that the font settings are thusly;
I could not replicate your symptoms in the VM.
Tell me, are you using a gnome desktop with compiz running (i.e. desktop effects)?
Do you still get the same symptom when running the gnome failsafe session?
Regards,
Kev.