Author Topic: Keyboard & display tweaks for Intel GM45 video (Solved)  (Read 1405 times)

Offline utu

  • Jr. Member
  • **
  • Posts: 46
Keyboard & display tweaks for Intel GM45 video (Solved)
« on: August 01, 2011, 09:24:55 AM »
.
My pricipal difficulty with PCLinuxOS has been its handling of the
Intel GM45 video in my Dell Inspiron 1545 Laptop.
I never had such problems with other distros, so this has been a
learning experience for me.  I had two problems to solve:
1.  I want to disable my touchpad in favor of a wireless mouse; and
2.  My display is 1366x768; PCLinuxOS wants to set that to 1024x768.

Previously, I'd found or been given different solutions for KDE & LXDE
versions of PCLinuxOS for each of these two problems.
I now have single, very simple solutions for both problems that work
for both KDE & LXDE versions of PCLinuxOS.

I define two one-line programs, 15synaptics and 16display, that go into
/etc/X11/xinit.d. These are simply:

For 15synaptics:
synclient TouchpadOff=1

For 16display:
xrandr --output LVDS1 --mode 1366x768

Each of these, like all the other files in xinit.d, are executable with
root:root ownership.

It is hard to imagine simpler solutions than these. These now supersede
my previous .xprofile, chattr, touchpad_toggle and modeline exercises.
« Last Edit: August 14, 2011, 10:23:41 AM by utu »

Offline horusfalcon

  • Hero Member
  • *****
  • Posts: 998
  • Wayfarer of The Western Wastes
Re: Keyboard & display tweaks for Intel GM45 video
« Reply #1 on: August 13, 2011, 08:41:06 PM »
Very nice!  It's good to find elegant solutions to problems like these. Well done!
"The Way is not a matter of knowing or not knowing.  One word to a wise man; one lash to a bright horse."

Dell Latitude D620, PCLinuxOS 2012.08 KDE4/LXDE, 3.2.18.pclos.bfs, specs here.

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Keyboard & display tweaks for Intel GM45 video (Solved)
« Reply #2 on: September 03, 2011, 03:38:50 PM »
Hi,

What is LVDS1 please ? and how is it related to your video ?
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline GOTHBITES

  • Hero Member
  • *****
  • Posts: 749
  • Oh I get it now. Windows 8 is a Bigger Sham
Re: Keyboard & display tweaks for Intel GM45 video (Solved)
« Reply #3 on: September 04, 2011, 09:27:15 PM »
.
My pricipal difficulty with PCLinuxOS has been its handling of the
Intel GM45 video in my Dell Inspiron 1545 Laptop.
I never had such problems with other distros, so this has been a
learning experience for me.  I had two problems to solve:
1.  I want to disable my touchpad in favor of a wireless mouse; and
2.  My display is 1366x768; PCLinuxOS wants to set that to 1024x768.

Previously, I'd found or been given different solutions for KDE & LXDE
versions of PCLinuxOS for each of these two problems.
I now have single, very simple solutions for both problems that work
for both KDE & LXDE versions of PCLinuxOS.

I define two one-line programs, 15synaptics and 16display, that go into
/etc/X11/xinit.d. These are simply:

For 15synaptics:
synclient TouchpadOff=1

For 16display:
xrandr --output LVDS1 --mode 1366x768

Each of these, like all the other files in xinit.d, are executable with
root:root ownership.

It is hard to imagine simpler solutions than these. These now supersede
my previous .xprofile, chattr, touchpad_toggle and modeline exercises.

I am having trouble finding these lines to edit. or do I add the lines in question?
UPDATED!! ASUS U52F Notebook i5 CPU,  4Gb ram, 640Gb Hard drive Dual-Boot Win 7Pro/KDE 4 3.2.18-pclos2.bfs

ASUS U50F notebook i3 4Gb Ram. 500 GB hard drive dual-boot Win 7/ KDE 3.2.18-pclos2.pae.bfs    Of course thats just my opinion I could wrong

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Keyboard & display tweaks for Intel GM45 video (Solved)
« Reply #4 on: September 05, 2011, 12:13:11 AM »

I am having trouble finding these lines to edit. or do I add the lines in question?


They aren't lines, they're files. /etc/X11/xinit.d is a directory. He created two files, 15synaptics and 16display that go in the /etc/X11/xinit.d directory. Each file has only one line, which he lists for each file.

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline utu

  • Jr. Member
  • **
  • Posts: 46
Re: Keyboard & display tweaks for Intel GM45 video (Solved)
« Reply #5 on: September 05, 2011, 03:33:10 PM »
@ Melodie

Greetings, Melodie.

If I just put in the command 'xrandr' on my laptop, I get the following:

[root@localhost guest]# xrandr
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
LVDS1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1024x768       60.0 +
   1366x768       60.0*+
   800x600        60.3     56.2 
   640x480        59.9 
VGA1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)

That tells me I have four resolution options I can choose-from,
and that xrandr thinks LVDS1 is the name assigned to my display.

man xrandr provides a lot of reading material, but for my situation
'xrandr --output LVDS1 --mode 1366x768' did the trick.

Glad you asked.  Cheers.



@ djohnston

Greetings, djohnston.

Right on.  Thanks for providing the answer.


@ GOTHBITES

Greetings, GOTHBITES.

My lazy way to make each of these two 'programs' was to use leafpad from a root
terminal and just copy one of the other files in the directory /etc/X11/xinit.d,
say '30dbus', delete the text that's there, add my line, 'synclient TouchpadOff=1'.
for example, and save this as '15synaptics'. This way the '15synaptics' file has
all the attributes, 'root:root and executable', if that's what they were, already.

I hope that helps. 
The explanation is ever so much more complicated than the answer.


Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Keyboard & display tweaks for Intel GM45 video (Solved)
« Reply #6 on: September 05, 2011, 05:08:08 PM »
utu, I got the idea ! Thank you !

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Keyboard & display tweaks for Intel GM45 video (Solved)
« Reply #7 on: September 12, 2011, 01:04:45 AM »
Hi,
I would suggest this thread be placed at "tips and tricks". What do you think ?



melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline utu

  • Jr. Member
  • **
  • Posts: 46
Re: Keyboard & display tweaks for Intel GM45 video (Solved)
« Reply #8 on: September 12, 2011, 09:35:14 AM »
Hi, Melodie

I'm not sure.

One running into these problems probably thinks it's an laptop hardware problem.
I suspect the handling using xrandr infrastructure probably is applicable to
other-than-Intel hardware, but I can't verify that.

xrandr seems to have been provided to the community by Intel folks, at least the
man page, anyway.

I'm pleased anyone cares. Thanks.

Offline GOTHBITES

  • Hero Member
  • *****
  • Posts: 749
  • Oh I get it now. Windows 8 is a Bigger Sham
Re: Keyboard & display tweaks for Intel GM45 video (Solved)
« Reply #9 on: September 15, 2011, 02:13:04 AM »
Hi, Melodie

I'm not sure.

One running into these problems probably thinks it's an laptop hardware problem.
I suspect the handling using xrandr infrastructure probably is applicable to
other-than-Intel hardware, but I can't verify that.

xrandr seems to have been provided to the community by Intel folks, at least the
man page, anyway.

I'm pleased anyone cares. Thanks.

Oh this is a great help for me for future reference. Thank you  I am going to try again and see if I can get it right.
UPDATED!! ASUS U52F Notebook i5 CPU,  4Gb ram, 640Gb Hard drive Dual-Boot Win 7Pro/KDE 4 3.2.18-pclos2.bfs

ASUS U50F notebook i3 4Gb Ram. 500 GB hard drive dual-boot Win 7/ KDE 3.2.18-pclos2.pae.bfs    Of course thats just my opinion I could wrong

Offline pags

  • Hero Member
  • *****
  • Posts: 2519
  • Keep it clean.
Re: Keyboard & display tweaks for Intel GM45 video (Solved)
« Reply #10 on: September 15, 2011, 11:11:41 AM »
Hi,

What is LVDS1 please ? and how is it related to your video ?



Here is what LVDS means.

It is most commonly used as the databus for connecting LCD screens on laptops.