Page 1 of 2

Emulate3Buttons stops working after hibernating and resuming

Posted: 9. Apr 2010, 21:32
by Arael
Hi guys,

I have a little problem with Emulate3Buttons option. I have enabled Emulate3Buttons option in the xorg.conf file and when I starts the machine it works. If I hibernate and resume it stops working. I'm currently playing with .fdi files in the /etc/hal/fdi/policy/ folder because I suspect there are some conflicts with xorg and hal configuration.

Any suggestion?

Thank you all.

Re: Emulate3Buttons stops working after hibernating and resuming

Posted: 10. Apr 2010, 21:40
by JRD
Maybe try to force a HAL restart on resume...
It's just a vague guess...

Re: Emulate3Buttons stops working after hibernating and resuming

Posted: 11. Apr 2010, 18:51
by Arael
Forcing hal restart after resuming wasn't necessary. I demanded the three buttons emulation to hal. I commented the row in the xorg.conf then I copied the file /usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi to /etc/hal/fdi/policy/ and I added the Emulate3Buttons key to the evdev driver section.
Now it works. :)

Code: Select all

<match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" string="Linux">
   <merge key="input.x11_driver" type="string">evdev</merge>
   <merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
</match>

Re: Emulate3Buttons stops working after hibernating and resuming

Posted: 12. Apr 2010, 00:01
by JRD
Cool :) Really sweet solution.
Can you post your solution on the wiki when you have time ?

Re: Emulate3Buttons stops working after hibernating and resuming

Posted: 12. Apr 2010, 15:56
by Arael
I tried to do that but I don't have privileges to do it. It's there some section that normal users can edit?

Re: Emulate3Buttons stops working after hibernating and resuming

Posted: 12. Apr 2010, 16:04
by gapan
Just navigate to a page that don't exists yet, having the title that you want, and you'll get an option to create it.

Re: Emulate3Buttons stops working after hibernating and resuming

Posted: 12. Apr 2010, 20:47
by Arael

Re: Emulate3Buttons stops working after hibernating and resuming

Posted: 12. Apr 2010, 22:33
by JRD
Thank you a lot.

Re: Emulate3Buttons stops working after hibernating and resuming

Posted: 13. Apr 2010, 08:11
by Arael
I'm happy to contribute.:)

How can I put the link to the new page here?

http://www.salixos.org/wiki/index.php/C ... umentation

Re: Emulate3Buttons stops working after hibernating and resuming

Posted: 13. Apr 2010, 08:18
by gapan
Just tag it at the end with the right category. This page for example: http://www.salixos.org/wiki/index.php/H ... _Alsa_card
ends with

Code: Select all

[[Category:User Documentation|Alsa]]