Find the cursor file and pass the argument 0 to that file.
In my case the curser file is located in /sys/class/graphics/fbcon/cursor_blink so i have given
"echo 0 > /sys/class/graphics/fbcon/cursor_blink"
Similarly find your curser file and give 0 to that file, will disable the curser in your lcd.

with Best Regards
ELUMALAI N
Qmax Test Equipments Pvt Ltd.
#6, Elcot Avenue,
I.T Highway,
Sholinganallur,
Chennai-600 119
Tel : +91 - 44 - 24509627

Fax : +91 - 44 - 24509631 / 32
Email : [email protected]
----- Original Message ----- From: <[email protected]>
To: <[email protected]>
Sent: Tuesday, July 20, 2010 3:30 PM
Subject: directfb-dev Digest, Vol 65, Issue 8


Send directfb-dev mailing list submissions to
[email protected]

To subscribe or unsubscribe via the World Wide Web, visit
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
or, via email, send a message with subject or body 'help' to
[email protected]

You can reach the person managing the list at
[email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of directfb-dev digest..."


Today's Topics:

  1. Re: GTK cursor invisible. (haithem rahmani)


----------------------------------------------------------------------

Message: 1
Date: Tue, 20 Jul 2010 07:21:42 +0100
From: haithem rahmani <[email protected]>
Subject: Re: [directfb-dev] GTK cursor invisible.
To: chanakya kota <[email protected]>
Cc: [email protected]
Message-ID:
<[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

Hi,

As far as I know it has no direct influence on the focus changing
at least at directfb level.
but for Gtk I don't know.

regards.

On Tue, Jul 20, 2010 at 6:00 AM, chanakya kota <[email protected]>wrote:

Hi haithem rahmani,
i tried with exporting "DFBARGS=no-cursor"
the cursor is made invisible
but the focus is going to some other window in the application
does exporting this variabel have any effect on the application focus

Regards,
chanakya.sun

On 7/19/10, haithem rahmani <[email protected]> wrote:
> Hi,
>
> try to export "DFBARGS=no-cursor"
>
> or add "no-cursor" in your ~/.directfbrc
>
> or add it in the "/etc/directfbrc"
>
> regards.
>
>
> On Mon, Jul 19, 2010 at 11:08 AM, chanakyasun <[email protected]
>wrote:
>
>>
>> HI,
>>     can you please elaborate regarding the directfbrc file where can i
>> find
>> it how to modify it to
>> make my cursor invisible in my gtk application ,
>> i tried to find the directfbrc file on the target but in vain , there >> is
>> one
>> command directfb-config
>>
>> i tried giving the command "directfb-config --no-cursor" got the >> message
>> like invalid format
>>
>> Pls help me ..
>>
>> Thanks &Regards,
>> Chanakya.
>>
>> HKP wrote:
>> >
>> > Hi,
>> >
>> > I think its better to specify that in the directfbrc file.
>> >
>> > Thanks & Regards,
>> > Harikrishnan P
>> >
>> >   _____
>> >
>> > From: [email protected] [mailto:directfb-dev-
>> > [email protected]] On Behalf Of ???
>> > Sent: Monday, May 19, 2008 11:00 AM
>> > To: [email protected]
>> > Subject: [directfb-dev] GTK cursor invisible.
>> >
>> >
>> >
>> > Hi, all.
>> >
>> >
>> >
>> > I cross-compiled DirectFB-1.1.1 and GTK 2.12.6.
>> >
>> > and ported my arm9 board.
>> >
>> >
>> >
>> > By the way, I wanted to hide mouse cursor in all GTK application.
>> >
>> >
>> >
>> > So, in my gtk application, I coded below.
>> >
>> >
>> >
>> > ////////////////////////////////////////////
>> >
>> >
>> >
>> >   char in_cursor[] =
>> >
>>
{0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
>> > ,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0};
>> >    GdkCursor *cursor;
>> >    GdkBitmap *bp;
>> >    GdkColor color = {0,0,0,0};
>> >
>> >
>> >    bp = gdk_bitmap_create_from_data(NULL , in_cursor , 16,16);
>> > cursor = gdk_cursor_new_from_pixmap(bp , bp , &color , &color , 8 >> > ,
>> 8);
>> >    gdk_window_set_cursor(window , cursor);
>> >
>> >
>> >
>> > //////////////////////////////////////////////
>> >
>> >
>> >
>> > This application show no mouse cursor in i386 pc( GTK backend X11 ).
>> >
>> >
>> >
>> > But, same application have gtk default mouse cursor in arm9 board!
(GTK
>> > backend DirectFB).
>> >
>> >
>> >
>> > Finally, I should hack the gdk-directfb code.
>> >
>> > in gdk_window_set_cursor func in gdkwindow-directfb.c, I set code in
the
>> > func to comment like below.
>> >
>> >
>> >
>> > ////////////////////////////////////////////////
>> >
>> >
>> >
>> > void
>> > gdk_window_set_cursor (GdkWindow *window,
>> >                        GdkCursor *cursor)
>> > {
>> > #if 0 //wschoi
>> >
>> >
>> >   GdkWindowImplDirectFB *impl;
>> >   GdkCursor             *old_cursor;
>> >
>> >   g_return_if_fail (GDK_IS_WINDOW (window));
>> >
>> >
>> >
>> > ...
>> >
>> >
>> >
>> >     }
>> >
>> >   if (old_cursor)
>> >     gdk_cursor_unref (old_cursor);
>> >
>> >
>> > #endif
>> > }
>> >
>> >
>> > ///////////////////////////////////////////////////
>> >
>> >
>> >
>> >
>> >
>> > I have a question.
>> >
>> > Is this right method?
>> >
>> >
>> >
>> > Isn't this method to make GTK application  execute not well?
>> >
>> >
>> >
>> > best regards...
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >  <http://www.naver.com/>
>> > <http://happybean.naver.com/main/SectionMain.nhn>
>> >
>> >
>> >
>> > <
>>
http://mail.naver.com/newmailcheck/1dbsFqFG1rJSKrtmFqEYMokvpxu/KrUmp4p4pzp4
>> > MxKqKzJ4M434MoIg1xMwFqvqhoRv1Bi0MX34MS9vpBpgpz0Zp6Fdp4U5WXiN.gif>
>> >
>> > The information contained in this electronic message and any
attachments
>> > to this message are intended for the exclusive use of the >> > addressee(s)
>> and
>> > may contain proprietary, confidential or privileged information. If
you
>> > are not the intended recipient, you should not disseminate, >> > distribute
>> > or
>> > copy this e-mail. Please notify the sender immediately and destroy >> > all
>> > copies of this message and any attachments contained in it.
>> >
>> > Contact your Administrator for further information.
>> >
>> >
>> > _______________________________________________
>> > directfb-dev mailing list
>> > [email protected]
>> > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
>> >
>> >
>>
>> --
>> View this message in context:
>> http://old.nabble.com/GTK-cursor-invisible.-tp17311590p29146871.html
>> Sent from the DirectFB Dev mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> directfb-dev mailing list
>> [email protected]
>> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
>>
>
>
>
> --
> Be to GOD as he wants ,
> HE'll be for you more
> than what you want.
>




--
Be to GOD as he wants ,
HE'll be for you more
than what you want.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.directfb.org/pipermail/directfb-dev/attachments/20100720/e2259a1b/attachment-0001.html>

------------------------------

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev


End of directfb-dev Digest, Vol 65, Issue 8
*******************************************

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to