Mouse positioning during startup

21 views
Skip to first unread message

H. Beek

unread,
Jan 27, 2012, 3:58:34 AM1/27/12
to Webconverger Users
First of all, great job! This is an ideal kiosk solution for me. And
even though I'm not a linux guru I managed to creat and build this
thing :)

One thing I would like to know: is it possible to position the mouse
pointer at a certain location on the screen after booting (like in a
corner)?

Thx & regards,

Ernie

Kai Hendry

unread,
Jan 28, 2012, 3:21:17 AM1/28/12
to webc-...@googlegroups.com
Hi there Ernie,

Now you can say you've created an operating system. ;)


Yes it's possible.
http://stackoverflow.com/questions/578804/how-to-set-the-mouse-position-under-x11-linux-desktop

Btw a Xorg utility called "unclutter" already runs by default on
Webconverger. That should hide the cursor after a couple of minutes of
inactivity.
http://webconverger.org/blanking/

Kind regards,

H. Beek

unread,
Jan 28, 2012, 9:49:38 AM1/28/12
to Webconverger Users
Hi Kai,

My first self created OS, cooool :)

Thanks for the answer. I'll first try to get that done my self.
I found out about the unclutter but the thing was that the webpage it
is showing (just showing, no user interaction) has a scrolling windows
in the center that stops scrolling when the mouse pointer is on top of
it.........
(took me half a day to figure out why just that one window in the
center wasn't doing anything :-~ )

Thanks again.

Regards,

Ernie

On 28 jan, 09:21, Kai Hendry <hen...@webconverger.com> wrote:
> Hi there Ernie,
>
> Now you can say you've created an operating system. ;)
>
> Yes it's possible.http://stackoverflow.com/questions/578804/how-to-set-the-mouse-positi...

H. Beek

unread,
Feb 2, 2012, 4:22:49 AM2/2/12
to Webconverger Users
Hi Kai,

Been looking at xwarppointer and found a package called xwit. With
that it seems easy to move the pointer: xwit -warp 0 0

The thing is, how do I integrate that when running a build. Like make
sure the packet is there and adding that command somewhere when the OS/
browser is starting......
As said I'm a long way from being a Linux guru, just know enough to be
dangerous at times :)

Regards,

Ernie

On 28 jan, 09:21, Kai Hendry <hen...@webconverger.com> wrote:
> Hi there Ernie,
>
> Now you can say you've created an operating system. ;)
>
> Yes it's possible.http://stackoverflow.com/questions/578804/how-to-set-the-mouse-positi...

Kai Hendry

unread,
Feb 2, 2012, 10:54:12 AM2/2/12
to webc-...@googlegroups.com
On 2 February 2012 17:22, H. Beek <geono...@gmail.com> wrote:
> Been looking at xwarppointer and found a package called xwit. With
> that it seems easy to move the pointer: xwit -warp 0 0
> The thing is, how do I integrate that when running a build. Like make
> sure the packet is there and adding that command somewhere when the OS/
> browser is starting......
> As said I'm a long way from being a Linux guru, just know enough to be
> dangerous at times :)

Tbh for the next release, Webconverger 12 I was considering a
documented location where xwit/xrandr tweaks would be invoked. Since
some customers need screen portrait orientated for example.

I haven't done this yet. For now I usually lazily copy in pb.sh into
./webconverger/config/includes.chroot/home/webc/pb.sh and edit the
file.


Good news is I should be full time on Webconverger from next week and
I'll add this.

Kind regards,

H. Beek

unread,
Feb 3, 2012, 4:07:21 AM2/3/12
to Webconverger Users
Ok, so I just take something like:
http://git.webconverger.org/?p=webconverger-base;a=blob;f=home/webc/pb.sh;h=e0160d490df3aab783ccca75f389a551ff863f9a;hb=eaab1b79da4fb4300476202c9f6c7f0c1bbb4e9f
Add the commands at an apropriate place and slap it in there.
Is it that simple?

Good luck next week, looking forward to your newest creations :)

Kind regards,

Ernie

On 2 feb, 16:54, Kai Hendry <hen...@webconverger.com> wrote:

Kai Hendry

unread,
Feb 4, 2012, 6:53:59 AM2/4/12
to webc-...@googlegroups.com
On 3 February 2012 17:07, H. Beek <geono...@gmail.com> wrote:
> Ok, so I just take something like:
> http://git.webconverger.org/?p=webconverger-base;a=blob;f=home/webc/pb.sh;h=e0160d490df3aab783ccca75f389a551ff863f9a;hb=eaab1b79da4fb4300476202c9f6c7f0c1bbb4e9f
> Add the commands at an apropriate place and slap it in there.
> Is it that simple?

Actually https://github.com/Webconverger/base/blob/master/home/webc/pb.sh
on github. I'll de-commission git.webconverger.org soonish.

Adding xrandr commands around line 12 should work nicely, for now.

> Good luck next week, looking forward to your newest creations :)

Thanks, though please play around and contribute any tips/patches to
improve Webconverger. :)

Kind regards,

H. Beek

unread,
Feb 6, 2012, 4:58:04 AM2/6/12
to Webconverger Users
>I'll de-commission git.webconverger.org soonish.

So I noticed ;)

>Thanks, though please play around and contribute any tips/patches to
>improve Webconverger. :)

If I think I can provide a useful contribution I most certainly will:)

Kind regards,

Ernie

On 4 feb, 12:53, Kai Hendry <hen...@webconverger.com> wrote:
> On 3 February 2012 17:07, H. Beek <geonosys...@gmail.com> wrote:
>
> > Ok, so I just take something like:
> >http://git.webconverger.org/?p=webconverger-base;a=blob;f=home/webc/p...
> > Add the commands at an apropriate place and slap it in there.
> > Is it that simple?
>
> Actuallyhttps://github.com/Webconverger/base/blob/master/home/webc/pb.sh
Reply all
Reply to author
Forward
0 new messages