Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Dec 2009 11:28:17 +0100
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        Sandra Kachelmann <s.kachelmann@googlemail.com>
Cc:        ports@FreeBSD.org, x11@FreeBSD.org, utisoft@gmail.com
Subject:   Re: .Xdefaults ignored
Message-ID:  <20091218112817.0785a0c0.ehaupt@FreeBSD.org>
In-Reply-To: <91b92520912180143o3eba2a53mf0539b7ab2e4ef33@mail.gmail.com>
References:  <91b92520912170614k29516ca3g80e24f2176a1b16b@mail.gmail.com> <b79ecaef0912170853g196204e2if9f7d420f0d8f7b9@mail.gmail.com> <91b92520912180143o3eba2a53mf0539b7ab2e4ef33@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Sandra Kachelmann <s.kachelmann@googlemail.com> wrote:
> On Thu, Dec 17, 2009 at 5:53 PM, Chris Rees <utisoft@googlemail.com>
> wrote:
> > 2009/12/17 Sandra Kachelmann <s.kachelmann@googlemail.com>:
> >> I recently noticed that xorg under FreeBSD ignores my ~/.Xdefaults
> >> file. I saw with truss that instead .Xdefaults-fqdn is being used:
> >>
> >> open("/home/skmn/.Xdefaults-prissy.local",O_RDONLY,06362252327) =
> >> 5 (0x5)
> >>
> >> No trace about ~/.Xdefaults
> >>
> >> Any idea why and if it can be changed?
> >>
> >> Sandra
> >
> > Does .Xdefaults-fqdn exist? If so, it read that instead, and that is
> > the sensible behaviour; the name is more specific. Try renaming or
> > deleting .Xdefaults-fqdn and see if it helps.
> 
> Sorry, I should have mentioned before. As a consequence of xorg
> ignoring my .Xdefaults I've created .Xdefaults-fqdn and it's being
> used. That's not the problem. I'd like to change that behaviour though
> because pretty much all other Linux distros I've ever used before used
> .Xdefaults and most documentation you find about .Xdefaults entries
> point user to .Xdefaults in the homedir. Yeah I could create symlinks
> but I rather change it completely to .Xdefaults. I deploy a tarball
> with all my dotfiles on a Webserver and I don't want to rename
> .Xdefaults on every workstation I fetch the tarballs via script.
> 
> I bet the search path of .Xdefaults is some sort of config option that
> can be changed somewhere. I tried searching in /usr/local/lib/X11, env
> startx, env xorg but no luck.
> 
> Any idea where I can change it?

Just set the path in $XENVIRONMENT. For example:

export XENVIRONMENT="$HOME/.Xdefaults"

Emanuel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091218112817.0785a0c0.ehaupt>