Re: .Xdefaults ignored

2009-12-18 Thread Sandra Kachelmann
On Thu, Dec 17, 2009 at 5:53 PM, Chris Rees utis...@googlemail.com wrote:
 2009/12/17 Sandra Kachelmann s.kachelm...@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?

Sandra
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: .Xdefaults ignored

2009-12-18 Thread Gary Jennejohn
On Fri, 18 Dec 2009 10:43:04 +0100
Sandra Kachelmann s.kachelm...@googlemail.com wrote:

 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?
 

Do you use .xinitrc?

I have this in mine:
if [ -f ~/.Xdefaults ]
xrdb ~/.Xdefaults

---
Gary Jennejohn
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: .Xdefaults ignored

2009-12-18 Thread Emanuel Haupt
Sandra Kachelmann s.kachelm...@googlemail.com wrote:
 On Thu, Dec 17, 2009 at 5:53 PM, Chris Rees utis...@googlemail.com
 wrote:
  2009/12/17 Sandra Kachelmann s.kachelm...@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
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: .Xdefaults ignored

2009-12-17 Thread Chris Rees
2009/12/17 Sandra Kachelmann s.kachelm...@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.


Chris


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org