Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-04-2007, 03:41 AM   #1
Senior Member
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Setting xterm font and colors.

How can I save settings for xterm font and colors (instead of typing all parameters "xterm -fn *-fixed-*-*-*-*-12-*-*-*-koi8-r -bg black -fg white" every time)? I'd like to do this without setting alias (if possible). Some articles suggest to store color in ~/.Xdefaults file and use "xrdb -merge" after that, however, this stopped working and wasn't saving color settings between sessions (I had to call "xrdb -merge" manually0. And I wasn't able to set font this way.

I'm using Slackware 11 with KDE 3.5.4, "xterm -version" returns "XTerm(207)".
Old 05-04-2007, 05:09 AM   #2
LQ Newbie
Registered: Jan 2007
Location: Madrid, Europe
Distribution: Linux Mint Elyssa
Posts: 11

Rep: Reputation: 0

I don't have slackware, but it depends on where your X11 looks for the resources. Another common place for it is $HOME/.Xresources (that's what I have in my SuSE 9.2. And it works)

It might also be that the desktop manager doesn't load resources at all. You should check that info in slackware forums.

Hope it helps. Don't forget also to check the X manpage for mor info on X11 resources.

Last edited by fresno; 05-04-2007 at 07:28 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Altering Konsole font colors a la xterm Ruhar Slackware 1 09-05-2006 02:29 PM
man pages with colors in xterm milod Linux - Software 4 03-30-2006 11:34 PM
rxvt/xterm colors macondo Debian 2 04-20-2004 07:10 PM
ls colors in xterm/rxvt/aterm Pougan Linux - Software 8 12-01-2003 11:24 AM
Environment Variables: xterm, ls, mc, and emacs colors kulitpuro Slackware 4 09-01-2003 01:06 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration