With recent versions of Ubuntu, there's no /etc/X11/xorg.conf
file being shipped anymore. That's good as long as you don't have a Nvidia graphics cards and you want to use multiple screens, in which case you have to allow normal users to write to /etc/X11/xorg.conf
.
Now, given that Ubuntu doesn't ship a default /etc/X11/xorg.conf
file, I can't chmod 666
it (no file to change permissions on).
If I try to ship a default xorg.conf
file with puppet (and set the permissions accordingly so that normal user can overwrite that file), puppet will keep overwriting this file in case it changes from the shipped default.
So what are my options here?
- Is there a way to ship a default file with
puppet
but tellpuppet
to not overwrite customized versions of that file? - Is there a way to tell the
xorg-x11
package to create a defaultxorg.conf
file? - Polkit?
any other options that I'm not aware of?