Forum › Forums › Official Releases › antiX-26 “Stephen Kapos” › urxvt and .Xresources ?? [solved] › Reply To: urxvt and .Xresources ?? [solved]
1. is this the intended file to configure urxvt?
~/.config/xresources.d/xcolours/antix.conf can be used. Or you could also put settings in the ~/.Xresources file itself or include some other file from there.
You can also use ~/.Xdefaults. Settings there will be read automatically when you start urxvt without needing to read them in separately with xrdb. This file is read before the settings read in via xrdb, though, so if the same setting is set in both places, the one in .Xdefaults is overridden.
2. should the syntax not be e.g URxvt.scrollBar: false/true instead of URxvt*.scrollBar: value?
Either one will work and so can various other forms. The more specific form (URxvt.scrollBar, without any wildcard) will have precedence if both are used and xrdb won’t produce a warning the way it would if you set URxvt*.scrollBar twice.
3. Is “xrdb .Xsession” supposed to work on antiX?
If a file named .Xsession in the current working directory is where you’re setting the X resources, then yes.
Do you maybe mean ‘xrdb ~/.Xresources’ instead, though? If it exists, ~/.Xsession is usually a shell script that sets environment variables, runs commands, and starts applications for a desktop session, not for defining X resources. Though that’s more or less just convention.
4. running “xrdb .Xsession” does not show any results, and looking at ~/.desktop-session/old-log….
shows an entry as follows — xrdb: colon missing on line 93, ignoring line.
desktop-session runs ‘xrdb -merge $HOME/.Xresources’, so it’s looking in a different place.
The error message is saying that there’s a syntax errror on the 93rd line that xrdb tries to read. That may not be line 93 of any particular file, though, since when additional files are included from the ~/.Xresources file, the lines are all just read in order as if one file.
"--"