0

I am trying to configure XTerm terminal and in the Wiki, it says it is done via X resources. I installed xorg-xrdb package then created a ~/.Xresources file and edited and added these lines:

XTerm.vt100.foreground: white XTerm.vt100.background: black XTerm.vt100.color0: rgb:28/28/28 XTerm.vt100.color15: rgb:e4/e4/e4 

but it doesn't do anything. xterm still opens with its strange font and white background black text colour. What am I supposed to do here?

References:

3
  • Did you load the resources (xrdb ~/.Xresources) or restart the display manager after editing the file? Commented Apr 18, 2023 at 23:13
  • Yes I loaded the resources and reboot the system completely after loading but it just opens the same. Commented Apr 18, 2023 at 23:24
  • 1
    "I loaded the resources and reboot the system completely" - if you load the resources and then reboot, you'll lose the newly loaded resources. Don't reboot. Instead, use xrdb -merge <~/.Xresources and then try opening the xterm Commented Apr 19, 2023 at 9:31

1 Answer 1

0

Your window manager launches xterm based on settings stored somewhere in /etc probably.

grep -ir xterm /etc

I have these in my notes from years ago.

xterm -ls -fg green -bg black -fn 10x20 -geom 80x35 xterm -ls -fg green -bg black -fn vga11x19 xterm -ls -fg green -bg black -fn vga 
2
  • I use i3 right now. Is there another place I should look? Commented Apr 19, 2023 at 0:03
  • @SweetScore if you use startx, add your ~/.xinitrc to your question. Commented Apr 19, 2023 at 5:18

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.