You are not logged in.

#1 2011-08-29 06:48:40

birdspider
Member
From: Vienna
Registered: 2007-12-29
Posts: 33
Website

using mouse color as notification

Hello,

as there are several mice out there which have 'color profiles' my question is if there are modules/libs/scripts/hacks to access those color info and switch to different colors.
I intend to try and use it for notifications like email or a green -> yellow -> red profile as uptime/"go to bed" indicator

mouse of interest: Logitech G300

Offline

#2 2011-08-30 12:26:18

cra
Member
From: Sweden
Registered: 2009-09-25
Posts: 70

Re: using mouse color as notification

You can use xsetroot for that. For start, try any of this commands:

xsetroot -cursor_name draped_box
xsetroot -cursor_name hand1
xsetroot -cursor_name hand2
xsetroot -cursor_name iron_cross
xsetroot -cursor_name left_ptr
xsetroot -cursor_name plus
xsetroot -cursor_name top_left_arrow
xsetroot -cursor_name watch

There is also a wiki page on different cursor themes and settings https://wiki.archlinux.org/index.php/X11_Cursors (well, mostly on themes, but you should get the idea by now)

To use a cursor you'll need to create a simple bitmap pictures of the desired "message". You can read more on that in manual page of xsetroot.


Thou shalt not make a machine in the likeness of a human mind

Offline

#3 2011-09-01 09:32:39

birdspider
Member
From: Vienna
Registered: 2007-12-29
Posts: 33
Website

Re: using mouse color as notification

well I'm talking about the mouse's hardware led color, not the cursor, dunno what you want me to achieve via X

Offline

#4 2011-09-01 09:44:43

jakobm
Member
Registered: 2008-03-24
Posts: 132

Re: using mouse color as notification

Search for logitech in AUR, I can see several packages of interest.

Offline

#5 2011-09-02 12:12:37

cra
Member
From: Sweden
Registered: 2009-09-25
Posts: 70

Re: using mouse color as notification

birdspider wrote:

well I'm talking about the mouse's hardware led color, not the cursor, dunno what you want me to achieve via X

Sorry, I thought you were talking about mouse pointer


Thou shalt not make a machine in the likeness of a human mind

Offline

Board footer

Powered by FluxBB