[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sawfish and Openbox: was fastest linux distro

On Mon 02 Jun 2014 at 10:04:29 +0200, Vincent Lefevre wrote:

> On 2014-06-01 16:14:24 +0100, Brian wrote:
> > 
> > Debian doesn't use a .Xdefaults file.
> > 
> >    brian@desktop:~$ grep -r Xresources /etc/X11/
> >    /etc/X11/Xsession:SYSRESOURCES=/etc/X11/Xresources
> >    /etc/X11/Xsession:USRRESOURCES=$HOME/.Xresources
> >    grep: /etc/X11/Xwrapper.config: Permission denied
> You're looking at the wrong place: the .Xdefaults file has never been
> a startup file. But it's now ".Xdefaults-<hostname>". See X(7) man
> page:
>       This must point to a file containing X resources. The default is
>       $HOME/.Xdefaults-<hostname>.  Unlike  $HOME/.Xresources,  it  is
>       consulted each time an X application starts.
> And you can check with strace that this file is read...
> But I prefer to use the app-defaults.

I looked in the place that startx and the DMs look with a default
install of X. Which is not to deny your valid point. However. a user
would have to put in the extra effort to use .Xdefaults-<hostname> or,
if they know it is possible, a .Xresources directory. I'm of the opinion
that for most use cases mentioning .Xdefaults causes confusion at the
very least.

Reply to: