You are not logged in.

#1 2011-12-30 22:32:48

Zazzman
Member
Registered: 2011-12-26
Posts: 22

xrvt-unicode settings file consideration.

The Arch wiki suggests using the '.Xresources' file in the home directory - I later found this responsive, but did not initially notice. 

http://pod.tst.eu/http://cvs.schmorp.de … ead_my_res

The file that works for this purpose is '.Xdefaults', allowing the terminal to load the settings when it loads, rather than when X loads.  This way, there's a lot less logging out to see a response to new settings.

Offline

#2 2011-12-30 23:05:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,430

Re: xrvt-unicode settings file consideration.

I'm not following.

Does

xrdb -merge $HOME/.Xresources

work for you? It does for me, no need for relogging.

IIRC you can use either .Xresources or .Xdefaults.

Offline

#3 2011-12-30 23:06:34

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 13,966
Website

Re: xrvt-unicode settings file consideration.

Do you do a lot or 'real time' editing of Xdefaults?  I occasionally get a bug and go through and try a bunch of new settings, but as I am actively editing the file it is no trouble to run 'xrdb' after each change to see the effect.  There is certainly no need to restart X.

Edit: "get a bug" not in the sense of a software bug ... just the bug in me to re-customize everything.

Last edited by Trilby (2011-12-30 23:07:29)


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Offline

#4 2012-01-05 04:16:17

Zazzman
Member
Registered: 2011-12-26
Posts: 22

Re: xrvt-unicode settings file consideration.

Sorry it took so long for me to respond. 

Ah.  I didn't know about xrdb.  Still, the Xdefaults file seems more to my tastes, as per the recommendation on urxvt's website; and the distinctions between the two options might make a good addition to the wiki.

Offline

#5 2012-01-05 04:24:59

jasonwryan
Forum & Wiki Admin
From: .nz
Registered: 2009-05-09
Posts: 19,012
Website

Re: xrvt-unicode settings file consideration.


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#6 2012-01-05 04:27:57

karol
Archivist
Registered: 2009-05-06
Posts: 25,430

Re: xrvt-unicode settings file consideration.

Zazzman wrote:

Ah.  I didn't know about xrdb.

urxvt's website wrote:

If you have or use an $HOME/.Xresources file, chances are that resources are loaded into your X-server. In this case, you have to re-login after every change (or run xrdb -merge $HOME/.Xresources).

Zazzman wrote:

Still, the Xdefaults file seems more to my tastes, as per the recommendation on urxvt's website; and the distinctions between the two options might make a good addition to the wiki.

You can use whatever you like, I'm using a heredoc in my .xinitrc:

xrdb -merge << "EOF"

<settings go here>

EOF

;P

Offline

Board footer

Powered by FluxBB