utu
Jr. Member

Offline
Posts: 46
|
 |
« on: August 01, 2011, 10: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.
|
|
|
|
|
Logged
|
|
|
|
|
horusfalcon
|
 |
« Reply #1 on: August 13, 2011, 09:41:06 PM » |
|
Very nice! It's good to find elegant solutions to problems like these. Well done!
|
|
|
|
|
Logged
|
"The Way is not a matter of knowing or not knowing. One word to a wise man; one lash to a bright horse." 
|
|
|
|
melodie
|
 |
« Reply #2 on: September 03, 2011, 04:38:50 PM » |
|
Hi,
What is LVDS1 please ? and how is it related to your video ?
|
|
|
|
|
Logged
|
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode
|
|
|
|
GOTHBITES
|
 |
« Reply #3 on: September 04, 2011, 10: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?
|
|
|
|
|
Logged
|
AMD 64 3700+ MSI K8 motherboard, 2Gb DDR pc3200 Ram, H.I.S. Radeon 4670 1Gb DDR3, DualBooting XP sp2/PClinux 2009.2 KDE 3.5, creative sound card, Hard Drive 320Gb Of course thats just my opinion I could wrong
|
|
|
|
djohnston
|
 |
« Reply #4 on: September 05, 2011, 01: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.
|
|
|
|
|
Logged
|
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
|
|
|
utu
Jr. Member

Offline
Posts: 46
|
 |
« Reply #5 on: September 05, 2011, 04: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.
|
|
|
|
|
Logged
|
|
|
|
|
melodie
|
 |
« Reply #6 on: September 05, 2011, 06:08:08 PM » |
|
utu, I got the idea ! Thank you !
|
|
|
|
|
Logged
|
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode
|
|
|
|
melodie
|
 |
« Reply #7 on: September 12, 2011, 02:04:45 AM » |
|
Hi, I would suggest this thread be placed at "tips and tricks". What do you think ?
|
|
|
|
|
Logged
|
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode
|
|
|
utu
Jr. Member

Offline
Posts: 46
|
 |
« Reply #8 on: September 12, 2011, 10: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.
|
|
|
|
|
Logged
|
|
|
|
|
GOTHBITES
|
 |
« Reply #9 on: September 15, 2011, 03: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.
|
|
|
|
|
Logged
|
AMD 64 3700+ MSI K8 motherboard, 2Gb DDR pc3200 Ram, H.I.S. Radeon 4670 1Gb DDR3, DualBooting XP sp2/PClinux 2009.2 KDE 3.5, creative sound card, Hard Drive 320Gb Of course thats just my opinion I could wrong
|
|
|
|
pags
|
 |
« Reply #10 on: September 15, 2011, 12:11:41 PM » |
|
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.
|
|
|
|
|
Logged
|
|
|
|
|