LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-18-2011, 08:09 PM   #1
guisome
LQ Newbie
 
Registered: Feb 2011
Distribution: Slackware
Posts: 14

Rep: Reputation: 0
Xdefaults and Xresources


I've loaded both with these configs:

Quote:
Xterm*background :white
Xterm*foreground :blue
rxvt inheritPixmp :true
rxvt*foreground :black
But neither of them are loading, it actually did loaded yesterday, but when I closed it, it didn't load again, I first tried with Xresouces and then with Xdefaults and none of them are working. Any clues?
 
Old 02-18-2011, 09:18 PM   #2
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
The filenames should be .Xdefaults and .Xresources (note the dots)
After changing a file you can load it with:

xrdb -load .Xdefaults

By the way you don't need to use both. One is usually ok.
 
Old 02-19-2011, 07:22 AM   #3
guisome
LQ Newbie
 
Registered: Feb 2011
Distribution: Slackware
Posts: 14

Original Poster
Rep: Reputation: 0
I'm using only one and none of them work.
 
Old 02-19-2011, 07:38 AM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
rxvt inheritPixmp :true

is wrong anyway I think. There should be either a . or * after rxvt. Does

xrdb -load .Xdefaults give any errors?
 
Old 02-19-2011, 08:06 AM   #5
jmccue
Member
 
Registered: Nov 2008
Location: US
Distribution: slackware
Posts: 687
Blog Entries: 1

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Hi,

dive is correct

Also a miss-spell -- inheritPixmap instead of inheritPixmp (missing 'a').
happens to me all the time

I have 'Rxvt*inheritPixmap: true' and it works for me.

John
 
Old 02-19-2011, 11:58 AM   #6
guisome
LQ Newbie
 
Registered: Feb 2011
Distribution: Slackware
Posts: 14

Original Poster
Rep: Reputation: 0
Edit:

I guess that config files needs more informations or something like that, I got a sample .Xdefaults (link), edited it and it worked.

Hmm, .Xdefaults is not starting along with X so I have to load it with xrdb -load .Xdefaults, how to auto load it?

Thanks for the help!

Last edited by guisome; 02-19-2011 at 12:50 PM.
 
Old 02-19-2011, 01:49 PM   #7
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
It should get loaded automatically. If it isn't - and I can't see why unless the filename is wrong or it's in the wrong dir, you can add the xrdb command to your desktop startup file.

Which desktop?
 
Old 02-19-2011, 03:20 PM   #8
guisome
LQ Newbie
 
Registered: Feb 2011
Distribution: Slackware
Posts: 14

Original Poster
Rep: Reputation: 0
Hi dive,

It's KDE, it actually loads, but the colour doesn't.

.Xdefaults
Quote:
xterm*Foreground: blue
xterm*Background: white

xterm*ScrollBar: on
xterm*TitleBar: on
xterm*TextUnderIcon: on
xterm*Al lowIconInput: on
xterm*AutoRaise: on
xterm*termtype: vt100
 
Old 02-19-2011, 04:30 PM   #9
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Hmm all looks good to me. Is that all that's in your .Xdefaults and .Xresources?
 
Old 02-19-2011, 05:19 PM   #10
guisome
LQ Newbie
 
Registered: Feb 2011
Distribution: Slackware
Posts: 14

Original Poster
Rep: Reputation: 0
Hi,


It's in .Xdefaults, I don't know either why it's not working with the colours, but it's ok even though I've to load it, thanks for helping.

Last edited by guisome; 02-19-2011 at 05:23 PM.
 
Old 02-19-2011, 05:52 PM   #11
rmjohnso
Member
 
Registered: Mar 2006
Location: Wisconsin
Distribution: Slackware64-Current
Posts: 294

Rep: Reputation: 43
I use rxvt-unicode, and in my .Xdefaults and .Xresources files, I have everything beginning with *URxvt. Are you sure you shouldn't have *Rxvt instead of *rxvt?
 
Old 02-19-2011, 06:32 PM   #12
harryhaller
Member
 
Registered: Sep 2004
Distribution: Slackware-14.2
Posts: 468

Rep: Reputation: Disabled
Quote:
Originally Posted by rmjohnso View Post
I use rxvt-unicode, and in my .Xdefaults and .Xresources files, I have everything beginning with *URxvt. Are you sure you shouldn't have *Rxvt instead of *rxvt?
Type
Code:
xprop WM_CLASS
and then left click on your terminal to get the WM_CLASS.
 
  


Reply


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
problem with .Xresources in 12.2 MEC75 Slackware 4 12-30-2008 01:24 AM
where can i find .Xdefaults or .Xresources? asilentmurmur Slackware 15 08-05-2006 11:58 PM
.Xdefaults doesnt take effect, even with xrdb -merge .xdefaults... michelbehr Linux - Newbie 0 07-05-2004 09:59 PM
X windows: .Xresources and .Xdefaults file?? deepika Linux - General 0 11-19-2003 04:11 PM
modifying .Xresources david_wliu Linux - General 3 03-18-2003 03:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:00 AM.

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