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

Re: Sawfish and Openbox: was fastest linux distro

On 2014-06-01 16:14:24 +0100, Brian wrote:
> On Sun 01 Jun 2014 at 10:48:17 -0400, Steve Litt wrote:
> > You mention making an .Xdefaults/.Xresources in my home directory. Can
> > I safely assume the slash meant either/or, rather than directory/file?
> > I already had a .Xdefaults, but it was a config file, not a directory.
> > 
> > I added your lines to the end of my .Xdefaults, and it kinda sorta
> > seemed to make things better, but it was so subtle this could be a
> > placebo effect. So I'm thinking, if I could use settings that make my
> 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

      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.

Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply to: