how to configure xterm in gnome.(SOLVED)

If none of the more specific forums is the right place to ask

how to configure xterm in gnome.(SOLVED)

Postby gychang » 2020-12-27 21:29

Although the latest gnome has gnome-terminal, I am used to xterm. I liked to change the font that comes in the gnome package. There is no .Xresources or .Xdefaults and manually creating .Xresources does not seem to work. Is there any instructions on how to enlarge the default font in xterm?

thanks,
Last edited by gychang on 2020-12-28 22:19, edited 1 time in total.
gychang
 
Posts: 17
Joined: 2010-04-15 19:11

Re: how to configure xterm in gnome.

Postby Head_on_a_Stick » 2020-12-27 21:42

~/.Xresources will only be read if you use the non-Wayland GNOME desktop. The clue is in the name :mrgreen:

To have it read under the Wayland desktop create a file called xresources.desktop with this content:
Code: Select all
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Xresources
Comment=Load ~/.Xresources
Exec=sh -c 'xrdb -merge ~/.Xresources'
Terminal=false

Place it under ~/.config/autostart/ (for just your user) or /etc/xdg/autostart/ (for all users).
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 13041
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: how to configure xterm in gnome.(SOLVED)

Postby gychang » 2020-12-28 20:29

Head_on_a_Stick wrote:~/.Xresources will only be read if you use the non-Wayland GNOME desktop. The clue is in the name :mrgreen:

Place it under ~/.config/autostart/ (for just your user) or /etc/xdg/autostart/ (for all users).


I am in X11 (echo $XDG_SESSION_TYPE) when the .Xresources is under ~/. It does work well.

thanks,
gychang
 
Posts: 17
Joined: 2010-04-15 19:11


Return to General Questions

Who is online

Users browsing this forum: No registered users and 14 guests

fashionable