Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

To get the tri-monitor setup I want, I am using the libXinerama hack that allows me fake my layout.

In order to use this, I use a patched version of libXinerama and put it in /usr/lib and then change the libXinerama.so symbolic link to point to it:

[kbrandt@alpine: /usr/lib] ls -l libXinerama.*
-rw-r--r-- 1 root root  7286 2010-05-18 07:57 libXinerama.a
lrwxrwxrwx 1 root root    20 2011-02-27 19:59 libXinerama.so -> libXinerama.so.1.0.0
lrwxrwxrwx 1 root root    20 2011-05-06 11:31 libXinerama.so.1 -> libXinerama.so.1.0.0
-rw-r--r-- 1 root root  8659 2011-04-11 09:40 libXinerama.so.1.0.0
-rw-r--r-- 1 root root 10432 2011-02-27 20:01 libXinerama.so.1.0.0.back

This work fine, except on reboot it rewrites the link and points it to libXinerama.so.1.0.0.back which breaks my setup. What process is doing this, and how can I stop it from doing it?

share|improve this question
    
I think you can change the attribute of the symbolic link so it won't be overwrited. ' sudo chattr +i' –  desgua May 9 '11 at 14:21
add comment

1 Answer

up vote 1 down vote accepted

Presumably ldconfig is being called somewhere, and libXinerama.so.1.0.0.back sorts after libXinerama.so.1.0.0 so it is being selected as the newest version of the library.

Why exactly do you need to patch the Xinerama extension's client library in the first place?

share|improve this answer
    
K, I have just removed the back version from the folder, seems to have stopped happening. As to why, 3 headed display kind of sucks unless I have two as TwinView and then a standalone X session for the third. Since my monitors are not the same size for the TwinView, I need to fake it: superuser.com/questions/115076/… –  Kyle Brandt May 9 '11 at 20:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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