Bug#497523: HAL way

2009-06-05 Thread Marc Haber
On Fri, Apr 17, 2009 at 01:27:40AM +0300, Modestas Vainius wrote:
 rather than editing xorg.conf, one could add 
 /etc/hal/fdi/policy/11-x11-synaptics.fdi like:
 
 ?xml version=1.0 encoding=ISO-8859-1?
 deviceinfo version=0.2
   device
 match key=info.capabilities contains=input.touchpad
 merge key=input.x11_options.TapButton1 type=string1/merge
 merge key=input.x11_options.TapButton2 type=string2/merge
 merge key=input.x11_options.TapButton3 type=string3/merge
 /match
   /device
 /deviceinfo
 
 and restart hal/X.

That doesn't work on my system. The xorg.conf approach worked though.

Greetings
Marc

-- 
-
Marc Haber | I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things.Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#497523: HAL way

2009-04-17 Thread Julien Cristau
On Fri, 2009-04-17 at 01:27 +0300, Modestas Vainius wrote:
 Could this be turned into debconf question?

I'd prefer for this to be configured on the desktop environment level,
rather than system-wide in hal (makes it easier to move from hal to
something else in the future, for one, and actually makes more sense
since this is essentially a user preference).

Cheers,
Julien



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#497523: HAL way

2009-04-17 Thread Modestas Vainius
Hello,

On 2009 m. April 17 d., Friday 11:06:36 Julien Cristau wrote:
 I'd prefer for this to be configured on the desktop environment level,
 rather than system-wide in hal (makes it easier to move from hal to
 something else in the future, for one, and actually makes more sense
 since this is essentially a user preference).
Does a typical user expect tapping/vertical edge scrolling to work out-of-the-
box or not? I think the answer is definitely YES. So if upstream decided to 
disable it (for reasons I still barely understand), I think it is a good idea 
to offer a user to choose another default. At very least, this example is 
worth to be added to /usr/share/doc/xserver-xorg-input-synaptics/examples/ and 
a note in README.Debian.

The bad thing about configuration in DEs is that configuration usually becomes 
DE-only. I prefer xkb to be configured globally for the settings to be shared 
among DEs. The same applies to synaptics.

As for HAL, when it gets dropped, you will simply update the package.

-- 
Modestas Vainius modes...@vainius.eu


signature.asc
Description: This is a digitally signed message part.


Bug#497523: HAL way

2009-04-17 Thread Julien Cristau
On Fri, 2009-04-17 at 11:41 +0300, Modestas Vainius wrote:
 Hello,
 
 On 2009 m. April 17 d., Friday 11:06:36 Julien Cristau wrote:
  I'd prefer for this to be configured on the desktop environment level,
  rather than system-wide in hal (makes it easier to move from hal to
  something else in the future, for one, and actually makes more sense
  since this is essentially a user preference).
 Does a typical user expect tapping/vertical edge scrolling to work out-of-the-
 box or not? I think the answer is definitely YES. So if upstream decided to 
 disable it (for reasons I still barely understand), I think it is a good idea 
 to offer a user to choose another default. At very least, this example is 
 worth to be added to /usr/share/doc/xserver-xorg-input-synaptics/examples/ 
 and 
 a note in README.Debian.
 
A patch for that would certainly be appreciated.  Note that there's
already a NEWS entry about this in git, for which suggestions are also
welcome.

 The bad thing about configuration in DEs is that configuration usually 
 becomes 
 DE-only. I prefer xkb to be configured globally for the settings to be shared 
 among DEs. The same applies to synaptics.
 
 As for HAL, when it gets dropped, you will simply update the package.
 
The problem with that if we make it a debconf choice is we'd need to
read whatever was configured
in /etc/hal/fdi/policy/synaptics-tapping.fdi or similar, and migrate it
to the new scheme, be it devicekit or whatever.  That means a lot of
code in the package that I'd rather avoid.

Cheers,
Julien



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#497523: HAL way

2009-04-16 Thread Modestas Vainius
Hello,

rather than editing xorg.conf, one could add 
/etc/hal/fdi/policy/11-x11-synaptics.fdi like:

?xml version=1.0 encoding=ISO-8859-1?
deviceinfo version=0.2
  device
match key=info.capabilities contains=input.touchpad
merge key=input.x11_options.TapButton1 type=string1/merge
merge key=input.x11_options.TapButton2 type=string2/merge
merge key=input.x11_options.TapButton3 type=string3/merge
/match
  /device
/deviceinfo

and restart hal/X. Could this be turned into debconf question?



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org