Posts Tagged ‘xorg’
HDMI/VGA display detection
Does anybody knows how to detect second display before Xorg or GDM loads? I’m always moving between home with second display (through hdmi) and another places with just my laptop screen
Why am I asking. Ok I can enable second display in Catalyst Control Center (CCC), but for applying changes I need to re-login. Next I need to enable Xinerama and re-login again. Now I have two working displays. Next I move somewhere without additional display, boot my laptop. It boots to login screen with wrong resolution (1280), I login, disable Xinerama, re-login, disable second display, change resolution back (without re-login). That’s too m uch moves to enable/disable second display. Oh I forgot to mention, it’s all about FGLRX of course. XrandR does not work with Xinerama enabled. I guess radeonhd should work ok, but I need performance.
Here is what I want. Just before login screen appears system should check if second display connected and load appropriate configuration for Xorg.
I know how to detect it after GDM loads Xorg, and I’ll post a solution soon when I test it. But I want a better way out.
Stay tuned.
gedit doesn’t remember it’s size and position
It’s not Vaio related, but I’m experiencing this second time. Gedit just stops remembering it’s position on the screen and it’s window size, does anyone experincing this too? Or it’s just me did something bad again with configs =) It opens always at the same place and with the same size.
New fglrx for X.Org 7.4
ATI Catalyst 8.11 is out. Just installed it and testing.
Sensitive touchpad
Vaio laptops usually have ALPS touchpads which we can configure using gsynaptics.
First install it with
sudo apt-get install gsynaptics
then open /etc/X11/xorg.conf for editing
sudo nano /etc/X11/xorg.conf
and put this line into “Synaptics Touchpad” section you found there
Option "SHMConfig" "true".
The whole section should look like this:
Section "InputDevice" Identifier "Synaptics Touchpad" Driver "synaptics" Option "SendCoreEvents" "true" Option "Device" "/dev/psaux" Option "Protocol" "auto-dev" Option "HorizEdgeScroll" "0" Option "SHMConfig" "true" EndSection
If you have not this section in your xorg.conf (like on Intrepid), just add it using code above.
Then make logout and login back and run gsynaptics from menu System->Preferences->Touchpad.
P.S. Who knows how to make that double-quotes look like original in wordpress?
UPD: Sorry, we have ALPS touchpad in Vaio. But gsynaptics helps anyway. Post fixed.
UPD2: Mikko Tikkanen mentioned abouth another way how to turn it on