Quote:
Originally Posted by metaed
Local customizations that you want set for every user can also be loaded from an arbitrary file during session standup, using xrdb.
|
Thanks for that tip, it really works great!
Instead of modifying /etc/X11/app-defaults/XScreenSaver I have now created a file /etc/X11/xinit/.Xresources with the following contents:
Code:
*dpmsEnabled: True
*dpmsStandby: 0:10:00
*dpmsSuspend: 0:20:00
*dpmsOff: 0:30:00
*unfade: False
*dateFormat: %Y-%m-%d %H:%M:%S
*newLoginCommand: /opt/tde/bin/tdmctl reserve
The above lines contain my prefered dpms settings, no slow unfade for quick unlock, a date/time format which is prefered here in Sweden and my fix to allow new sessions with tdm (TDE is a fork of KDE3 which still includes a good login manager).
The file /etc/X11/xinit/.Xresources is not only called from my local installation of /opt/tde/share/config/tdm/Xsession but also from standard files in Slackware like /etc/X11/xinit/xinitrc (for those using startx) or /etc/X11/xdm/Xsession (for those using xdm).
regards Henrik