home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.slackware      I think its the one without Selinux crap      87,272 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 87,063 of 87,272   
   Henrik Carlqvist to Giovanni   
   Re: configure X   
   07 May 25 05:11:46   
   
   From: Henrik.Carlqvist@deadspam.com   
      
   On Tue, 06 May 2025 11:47:14 +0200, Giovanni wrote:   
   > Currently in my new box (2021) there are no directives in directory   
   > /etc/X11/xorg.d/ and those in directory /usr/share/X11/xorg.d/ are not   
   > used because are to correct special hardware cases.   
   >   
   > Only if You have very old hardware, not detectable by udev, You have to   
   > use a configuration file.   
      
   I usually place some file in xorg.conf.d:   
      
   86-maxclients.conf   
   90-keyboard-layout.conf   
      
   Sometimes I also put one more file there:   
      
   85-dpms.conf   
      
      
   The first file is to avoid annoying failures when trying to open more   
   than 256 windows:   
      
   cat /etc/X11/xorg.conf.d/86-maxclients.conf   
   # Set max clients to maximum value 512 instead of default 256   
      
   Section "ServerFlags"   
       Option "MaxClients"    "512"   
   EndSection   
      
      
   The second file is to get a swedish (same as finish) keyboard layout:   
      
   cat /etc/X11/xorg.conf.d/90-keyboard-layout.conf   
   Section "InputClass"   
           Identifier "keyboard-all"   
           MatchIsKeyboard "on"   
           MatchDevicePath "/dev/input/event*"   
           Driver "evdev"   
           Option "XkbLayout" "fi"   
           Option "XkbVariant" "nodeadkeys"   
           Option "XkbOptions" "terminate:ctrl_alt_bksp"   
   EndSection   
      
      
   My optional third file is power saving settings for the monitor:   
      
   cat /etc/X11/xorg.conf.d/85-dpms.conf   
   # Turn off monitor at inactivity   
      
   Section "Monitor"   
       Identifier "Monitor0"   
       Option "DPMS" "true"   
   EndSection   
      
   Section "ServerFlags"   
       Option "BlankTime"    "20"   
       Option "StandbyTime"  "30"   
       Option "SuspendTime"  "40"   
       Option "OffTime"      "50"   
   EndSection   
      
   I can easily come to think of situations when someone want different   
   settings for different machines. It would be possible to put all those   
   settings in the same file in the xorg.conf.d directory, but splitting up   
   different settings in different files does loook nice.   
      
   regards Henrik   
      
   --- SoupGate-DOS v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca