I am thinking that many of the options that one has to write in the traditional system Xorg.conf file, have to do with user preferences and thus should not IMHO be set by system administrators. In particular touchpad settings. I currently have several xinput ... lines in my ~/.xinitrc to override defaults. I would like instead that X parses a configuration file of my choosing on startup, which I think would be a better way to set a lot of the per-user configuration. Is what I am asking possible?


There are options in xorg.conf that it is dangerous to allow ordinary users to set. The X server doesn't know which options or option combinations are dangerous. Therefore there is no general ability for ordinary users to set arbitrary options, by design. Running xinput, xset, xkbcomp and so on from your ~/.xinitrc or other X session initalisation file is the natural way.

X.org (like XFree86 before it) provides a limited ability for users to choose between several configuration files that are preset by the system administrator. If you pass the -config argument to the server (e.g. startx -- -config foo) or set the XORGCONFIG environment variable, then the server looks for a configuration file called /etc/X11/$XORGCONFIG (no absolute paths or .. allowed).

  • Thanks. Well, I am using xinput and friends right now, but these are binaries, and I already invoke like 10 of them. Is there a way for -config to specify a configuration file in somewhere under ~ (as per my inquiry)? – amn Nov 26 '11 at 16:08
  • @amn As I wrote, no, there isn't, by design. There's nothing wrong with invoking 10 different binaries when you log in, that's the way it's supposed to work. – Gilles 'SO- stop being evil' Nov 26 '11 at 17:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.