Support Forums

Full Version: Set the default for shell bg and fg
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Ok, i currently have to run xterm -fg white -bg black how do i make these changes work when i just run xterm?
Stop using xterm.
why,, I use xterm because i can align it with my other windows.
You look into the /etc/X11/Xresources file

Or you could write a small script and call the script

Code:
#!/bin/bash

xterm -bg green -fg yellow

This is the script I'm using for my Mandriva WMII setup which uses Xterm

Code:
#!/bin/bash

xterm -bg black -fg green -font -*-courier-*-*-*-*-18-*-*-*-*-*-*-* -geometry 70x24
Thanks.. but this dosn't help.
Why doesn't this solution help, nobody can help you if you don't give any information.