Re: Different cursor _themes_ for multiple pointers?

2010-01-14 Thread Peter Hutterer
On Thu, Jan 14, 2010 at 11:20:16PM +0100, Antonio Ospite wrote:
> Hi,
> 
> inspired by a previous discussion[1] I've written a dumb tool to control
> cursors for multiple pointers with Xcursor and XInput2:
> http://git.ao2.it/xicursorset.git/?a=blob;f=xicursorset.c;hb=HEAD
> 
> Now I have a question, would it be possible to change the whole cursor
> theme for an arbitrary pointer in a multi-pointer setup?

last I checked, cursors are simply XIDs that are assigned to a device. all
the theme handling is done on the client side, isn't it?

so you might have to shuffle around a bit switching cursor themes before
loading but there's no server-side support necessary for this. Of course,
you could extend the Xcursor spec and API to hold multiple cursor themes
simultaneously, which may be the right thing to do long-term.

Cheers,
  Peter
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: per-keyboard user-defined X keymap and keyboard behaviour

2010-01-14 Thread martin f krafft
also sprach Alan Coopersmith  [2010.01.15.1109 +1300]:
> > Thanks for your response. I am beginning to believe that I am simply
> > asking too much — X.org can handle multiple input devices, but it
> > does not really make it easy to configure them. Maybe DeviceKit will
> > help, although given previous *Kit experience, I am led to believe
> > that there'll be more complexity and less problems solved.
> 
> Unlikely, since DeviceKit, before it died, refused to do anything with
> input devices, leaving that up to the X server to handle on it's own.

You mean, DeviceKit died before it even started? I see that it's to
be merged with udev. Not sure that makes me happy.

-- 
martin | http://madduck.net/ | http://two.sentenc.es/
 
man muss noch chaos in sich haben
um einen tanzenden stern zu gebähren.
-- friedrich nietzsche
 
spamtraps: madduck.bo...@madduck.net


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: ATI Radeon HD4870 Dual head Separate X server ( 0.0 , 0.1 )

2010-01-14 Thread Alex Deucher
On Wed, Jan 13, 2010 at 10:09 PM, E0x  wrote:
> hello
>
> first of all my info :
>
> Distro : archlinux
> xorg version : 1.7.3.902-1
> xf86-vide-ati: 6.12.4-3
> libdrm = 2.4.17-2
> ati-dri = 7.7-1
> libgl = 7.7-1
> mesa = 7.7-1
> i have a monitor and an HDTV of 32"
>
> i am trying do a dualhead but in separate X server ( 0.0 , 0.1) that is
> started at the same time but when X start i get a clone setup and i can't
> get even with xrandr a proper/right resolution in both monitor i will attach
> my xorg.conf file ( that i thinking X is not taking in count ) ( but
> Xorg.0.log file say Using config /etc/X11/xorg.conf so i don't know what
> happen )
>

Can you post your xorg log?  Zaphod mode (independant heads, 0.0 ,
0.1) is know to be broken from time to time as it's not used very
often.

Alex
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Different cursor _themes_ for multiple pointers?

2010-01-14 Thread Antonio Ospite
Hi,

inspired by a previous discussion[1] I've written a dumb tool to control
cursors for multiple pointers with Xcursor and XInput2:
http://git.ao2.it/xicursorset.git/?a=blob;f=xicursorset.c;hb=HEAD

Now I have a question, would it be possible to change the whole cursor
theme for an arbitrary pointer in a multi-pointer setup?

Thanks,
   Antonio

[1] http://lists.x.org/archives/xorg/2009-November/048043.html
-- 
Antonio Ospite
http://ao2.it

PGP public key ID: 0x4553B001

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?


pgpptreyq7rx1.pgp
Description: PGP signature
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: per-keyboard user-defined X keymap and keyboard behaviour

2010-01-14 Thread Alan Coopersmith
martin f krafft wrote:
> Thanks for your response. I am beginning to believe that I am simply
> asking too much — X.org can handle multiple input devices, but it
> does not really make it easy to configure them. Maybe DeviceKit will
> help, although given previous *Kit experience, I am led to believe
> that there'll be more complexity and less problems solved.

Unlikely, since DeviceKit, before it died, refused to do anything with
input devices, leaving that up to the X server to handle on it's own.

-- 
-Alan Coopersmith-   alan.coopersm...@sun.com
 Sun Microsystems, Inc. - X Window System Engineering

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: per-keyboard user-defined X keymap and keyboard behaviour

2010-01-14 Thread martin f krafft
also sprach Peter Hutterer  [2010.01.08.1802 +1300]:
> with the above I meant there's no startup option of configuration
> option you can use to change the X Server's defaults. so you need
> to run it after the keyboard was recognized by the server (i.e.
> shortly after plugging it in)

Therefore this needs to be done manually, or with halevt. That does
not really make me happy.

> you need to write a daemon that registers for these events and
> reacts on receiving them. select() is the least of your issues
> there (and strictly not necessary, XNextEvent() will do)

Sounds like a pretty big yak to shave…

> xinput --list --short list all devices currently detected by the
> server. device id is a unique numeric id assigned to all input
> devices in a 7 bit range (with XI2 16 bit but here be dragons, the
> server will probably blow up if you try it). note that device ids
> are reused when devices are removed.

So that's useless too. :(

Thanks for your response. I am beginning to believe that I am simply
asking too much — X.org can handle multiple input devices, but it
does not really make it easy to configure them. Maybe DeviceKit will
help, although given previous *Kit experience, I am led to believe
that there'll be more complexity and less problems solved.

-- 
martin | http://madduck.net/ | http://two.sentenc.es/
 
"nothing can cure the soul but the senses,
 just as nothing can cure the senses but the soul."
-- oscar wilde
 
spamtraps: madduck.bo...@madduck.net


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg