LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 05-08-2015, 11:43 AM   #1
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Rep: Reputation: Disabled
xrdb and Xresources


Hi LQ.org! Arch wiki says: “To reread your .Xresources file, and throw away your old resources: "xrdb ~/.Xresources". To reread your .Xresources file, and keep your old resources: "xrdb -merge ~/.Xresources"”. And then a bit further: “If you do not use a desktop environment, you probably need to add the following line to your ~/.xinitrc: "[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources"”. I don't have any DE, only IceWM. So I wonder what's the difference for me in booting with this command with "-merge" or without it?

Last edited by Mr. Alex; 05-08-2015 at 11:47 AM.
 
Old 05-10-2015, 12:41 PM   #2
jmccue
Member
 
Registered: Nov 2008
Location: US
Distribution: slackware
Posts: 723
Blog Entries: 1

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
booting ?

-merge will keep any predefined settings which may be automatically loaded depending upon your distro when X is started.

some distros do not load a predefined file, I assume there may be at least 1 distro out there that does load their own specific Xresources. I do not know if arch loads it's own file.

Last edited by jmccue; 05-10-2015 at 12:43 PM. Reason: added more info
 
1 members found this post helpful.
Old 05-10-2015, 01:26 PM   #3
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
Quote:
Originally Posted by jmccue View Post
I do not know if arch loads it's own file.
Not unless you tell it to

@OP: ~/.xinitrc is parsed by some display managers and if they too are setting resource options then the new ones should be `-merge`d rather than supplant these.
 
1 members found this post helpful.
  


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
[SOLVED] Breakage occasioned by xrdb-1.0.9-x86_64-1_slack13.1 catkin Slackware 1 05-02-2011 12:04 PM
[SOLVED] xrdb -merge .Xresources, how can i get rid of that ? cola Slackware 2 12-19-2009 06:54 AM
WoW, xlaunch and xrdb gbj Linux - Games 2 11-25-2007 09:40 AM
xrdb and x resources not merged Mark_in_Hollywood Linux - General 0 04-12-2006 04:39 PM
xrdb for cygwin max2878 Linux - General 0 06-25-2002 03:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:19 PM.

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