[oe] Getting a cursor

Johan Hovold johan.hovold at lundinova.se
Mon Jan 25 08:20:45 UTC 2010


On Wed, Jan 20, 2010 at 06:18:09PM +0100, Stanislav Brabec wrote:
> Ulf Samuelsson wrote:
> > Anyone got an idea how to get a cursor as default?
> > Googling, I have seen that /usr/share/icons/xcursor-transparent/cursors
> > all point at a transparent cursor abd that I can generate new cursors
> > using xcursorgen.
> > I guess I can also copy some cursors from a desktop, but If
> > I want to have cursor on by default, is there a magic setting somewhere?
> 
> This is the trick that works for me in GPE:
> 
> mkdir -p ~/.icons/default
> echo "Inherits=xcursor-transparent" >>~/.icons/default/index.theme
> 
> But it is not ideal. I would like to see it disable while using
> touchscreen or keyboard and enabled while using mouse, touchpad or mouse
> keys.

As someone already pointed out you can change the use_cursor setting for
matchbox. The default value however depends on whether your
MACHINE_FEATURES contains "touchscreen" or not.

/Johan





More information about the Openembedded-devel mailing list