Emulate3Buttons stops working after hibernating and resuming

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
Arael
Posts: 40
Joined: 2. Apr 2010, 19:24

Emulate3Buttons stops working after hibernating and resuming

Post 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.
Image
User avatar
JRD
Salix Warrior
Posts: 950
Joined: 7. Jun 2009, 22:52
Location: Lyon, France

Re: Emulate3Buttons stops working after hibernating and resuming

Post by JRD »

Maybe try to force a HAL restart on resume...
It's just a vague guess...
Image
User avatar
Arael
Posts: 40
Joined: 2. Apr 2010, 19:24

Re: Emulate3Buttons stops working after hibernating and resuming

Post 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>
Image
User avatar
JRD
Salix Warrior
Posts: 950
Joined: 7. Jun 2009, 22:52
Location: Lyon, France

Re: Emulate3Buttons stops working after hibernating and resuming

Post by JRD »

Cool :) Really sweet solution.
Can you post your solution on the wiki when you have time ?
Image
User avatar
Arael
Posts: 40
Joined: 2. Apr 2010, 19:24

Re: Emulate3Buttons stops working after hibernating and resuming

Post 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?
Last edited by Arael on 12. Apr 2010, 20:49, edited 1 time in total.
Image
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: Emulate3Buttons stops working after hibernating and resuming

Post 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.
Image
Image
User avatar
JRD
Salix Warrior
Posts: 950
Joined: 7. Jun 2009, 22:52
Location: Lyon, France

Re: Emulate3Buttons stops working after hibernating and resuming

Post by JRD »

Thank you a lot.
Image
User avatar
Arael
Posts: 40
Joined: 2. Apr 2010, 19:24

Re: Emulate3Buttons stops working after hibernating and resuming

Post 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
Image
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: Emulate3Buttons stops working after hibernating and resuming

Post 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]]
Image
Image
Post Reply