What’s my effort worth to you?

If you find the information here useful, time saving, and valuable - as I hope you will, please consider making a small donation.

It will help me keep this site running, and that means more useful articles in the future!

What's not to like!? :D

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…

  • 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?

     

    VA:F [1.9.14_1148]
    Rating: 0 (from 0 votes)
    • avatar Kevin Cave

      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”.

      Screenshot of file browser

       

      Hope this helps! Let me know how you got on :)

      Regards!

      VN:F [1.9.14_1148]
      Rating: +1 (from 1 vote)
  • 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

    VA:F [1.9.14_1148]
    Rating: 0 (from 0 votes)
    • avatar Kevin Cave

      Hey John, glad that worked out for you :)

      You can change the default font size by altering this line;

      xterm*faceSize: 11

      Just increase or decrease the font size to your taste.

      Regards!

      VN:F [1.9.14_1148]
      Rating: 0 (from 0 votes)
  • 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)

    VA:F [1.9.14_1148]
    Rating: 0 (from 0 votes)
    • avatar Kevin Cave

      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!

      VN:F [1.9.14_1148]
      Rating: 0 (from 0 votes)
  • Thanks, I have sent a small donation.

    VA:F [1.9.14_1148]
    Rating: 0 (from 0 votes)
  • avatar David Wall

    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!

    VA:F [1.9.14_1148]
    Rating: 0 (from 0 votes)
  • avatar David Wall

    Good thought, but that description doesn’t match what I’m seeing.  Ah well.

    VA:F [1.9.14_1148]
    Rating: 0 (from 0 votes)
    • avatar Kevin Cave

      Hi David, lemme look into it – installing an Ubuntu 10.04 installation now… you’ve piqued my interest ;)

      VN:F [1.9.14_1148]
      Rating: 0 (from 0 votes)
    • avatar Kevin Cave

      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;

      xterm*.faceName: Lucida Sans Typewriter Regular
      xterm*.faceSize: 10

      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.

       

       

      VN:F [1.9.14_1148]
      Rating: 0 (from 0 votes)

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>