Author Topic: xorg.conf changed by update???  (Read 739 times)

Offline aguila

  • Hero Member
  • *****
  • Posts: 1210
  • soaring high = no Windows here :-D
xorg.conf changed by update???
« on: January 04, 2012, 04:35:35 AM »
Hi all,

this might fit in other places, too, but I guess it's the right section.

I have a ThinkPad X61t laptop which runs PCLOS since about roughly two years. I always updated and never had trouble.

The only thing that bothered me was that the TrackPoint (that little cursor mover stick in between the G, H, and B keys) wouldn't emulate the mouse wheel using the middle "mouse" button.

So I changed xorg.conf, adding a section for it and it worked fine. One day, it stopped working. As I didn't notice it immediately, I cannot tell when that happened. EDIT: the date of the current xorg.conf might give a hint, of course...

Now, as it started annoying me because I'm changing virtual desktops way too often when heading for the scrollbar  :-\ I looked into /etc/X11/xorg.conf and the section was gone.

There is a file named xorg.conf~ which contains the setting.

My question: do updates make changes to the xorg.conf or must it have been any action provoked by myself (unknowingly) that resulted in a "resetted" xorg.conf?

Might aptupdate or a new version of KDE be a culprit here?

TIA for your thoughts.
All that is is good. PCLinuxOS is.

Thinkpad X61 Tablet, Core2Duo 1.66 MHz, 4 GB Ram, Intel onboard Graphics, Plextor PX-256M3 256 GB SSD; Thinkpad R61i, Core2Duo 1.66 MHz, 2 GB Ram, Intel onboard graphics, 120 GB HDD

Offline TerryN

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 723
Re: xorg.conf changed by update???
« Reply #1 on: January 05, 2012, 03:27:18 AM »
As I understand it, adding sections for input devices in Xorg is best done by adding a file to /etc/X11/xorg.conf.d
That way, it would not get lost if xorg.conf gets recreated.

I wouldn't expect an update would change xorg.conf in that way.  Certainly neither aptupgrade or any KDE update should touch that file. Running PCC (Configure Your Computer) and changing graphics card or input device settings would almost certainly cause it to get overwritten. When those tools run they usually log information to /var/log/syslog which would show if/when the  xorg.conf file is updated so you could search those logs (based on the creation date of the file).
« Last Edit: January 05, 2012, 03:35:26 AM by TerryN »
Dell E521 - AMD 64 X2 5000+, 4GB RAM, ATI X1300 graphics
PCLinuxOS 2013 (KDE)
|Twitter|

Offline aguila

  • Hero Member
  • *****
  • Posts: 1210
  • soaring high = no Windows here :-D
Re: xorg.conf changed by update???
« Reply #2 on: January 05, 2012, 04:57:44 AM »
Changing graphics cards, that was the clue. Had some issues when KDE 4.5 came and tried different drivers, changing cards/drivers in PCC.

Thanks for your reply TerryN, learned something new today  :)
All that is is good. PCLinuxOS is.

Thinkpad X61 Tablet, Core2Duo 1.66 MHz, 4 GB Ram, Intel onboard Graphics, Plextor PX-256M3 256 GB SSD; Thinkpad R61i, Core2Duo 1.66 MHz, 2 GB Ram, Intel onboard graphics, 120 GB HDD