You are not logged in.
Hello everyone!
I want to change 'xterm' 'bg' and 'fg' colors. Tried several variations but always get the same output
xterm: unable to allocate fg/bg color
Here is what have tried
*background: brown
*background: boldbrown
*background: #FDF6E3
*background: 255 218 185
*background: \033[43m
*BACKGROUND: brown
All of the above with ""
Plus 'black' for 'fg'
What is the right way to change the colors?
Offline
I think you are just missing a character.
This is what mine looks like for background.
*.foreground: #ffffff
*.background: #0c0c0d
Offline
@hevidevi
just tried it, no difference, same output
for the record, did
xrdb -merge ~/.Xresources
Offline
can you post the whole .Xresources file, might be some other errors ?
Offline
cat ~/.Xresources
xterm*VT100.Translations: #override \
Ctrl Shift <Key>V: insert-selection(CLIPBOARD) \n\
Ctrl Shift <Key>C: copy-selection(CLIPBOARD)
xterm*faceName: Terminus (TTF):style=Medium
xterm*faceSize: 12
xterm*geometry: 123x24
xterm*.background: #FDF6E3
xterm*.foreground: #000
!xterm*boldColors: false
xterm*cursorColor: #000
Offline
use vt100 instead of xterm.
so like this if you want to use xterm 256 colors.
*vt100.background: #FDF6E3
*vt100.foreground: #000
replace all xterm* with *vt100
or you need to spell xterm correctly and put the * in the correct place so like this..
*XTerm.background: #FDF6E3
*XTerm.foreground: #000000
here is some more color you can use.
https://www.ditig.com/256-colors-cheat-sheet
Last edited by hevidevi (2022-02-08 10:09:53)
Offline
awesome!
adding 'vt100' did it.
thank you, hevidevi!
Offline