X/Xlib programming questions

2010-01-04 Thread Erez D
hello

i want to send keyboard and mouse event to a window at position x,y.
i thought of using XSendEvent

how do i find which is the top most window at pos x,y (without moving
the pointer position) ?
what fields do i need to fill in the event i send via XSendEvent,
i guess event.xbutton.serial and event.xbutton.send_event and
event.xbutton.display are filled automatically by xlib. am i correct ?

thanks,
erez.

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: X/Xlib programming questions

2010-01-04 Thread ik
Hello Erez,

I think you are looking for XQueryPointer (
http://www.xfree86.org/4.4.0/XQueryPointer.3.html).

Ido
http://ik.homelinux.org/


On Mon, Jan 4, 2010 at 12:20, Erez D erez0...@gmail.com wrote:

 hello

 i want to send keyboard and mouse event to a window at position x,y.
 i thought of using XSendEvent

 how do i find which is the top most window at pos x,y (without moving
 the pointer position) ?
 what fields do i need to fill in the event i send via XSendEvent,
 i guess event.xbutton.serial and event.xbutton.send_event and
 event.xbutton.display are filled automatically by xlib. am i correct ?

 thanks,
 erez.

 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: What to do with a constant flow of attempts to login to my compuet?

2010-01-04 Thread Yuval Hager
On Sunday 03 January 2010, Gabor Szabo wrote:
 I just noticed someone bombarding my machine trying to login via ssh.
 
 From auth.log
 
 Jan  3 06:31:48 s6 sshd[22774]: Failed password for invalid user
 amavisd from 202.138.142.216 port 35172 ssh2

In addition to moving away from port 22, you can run a script such as 
denyhosts - http://denyhosts.sourceforge.net/

--y


signature.asc
Description: This is a digitally signed message part.
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Job offer: Linux programmer (can be a contractor)

2010-01-04 Thread Shachar Shemesh

Hi all,

This is actually two job offers disguised as one. One if working for 
Lingnu itself, for which we are looking for a full time employee. The 
other is for a client of ours, for a temporary position (about four 
months, give or take). This can be either full time or contractors. The 
Lingnu job is mostly done in Kfar Sava, the other one in Herzelia Pituach.


The qualifications for both jobs are similar. Mostly user space (but 
some kernel is not out of the question), ability for independent 
working, and embedded oriented.


Applicants are welcome to contact me off list.

Thank you,
Shachar

--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Job offer: Linux programmer (can be a contractor)

2010-01-04 Thread Hetz Ben Hamo
Shachar,
You might want to add some details such as:

   - Language of programming required
   - Years of experience
   - Remote work (from home for example)

Thanks,
Hetz

2010/1/4 Shachar Shemesh shac...@shemesh.biz

  Hi all,

 This is actually two job offers disguised as one. One if working for Lingnu
 itself, for which we are looking for a full time employee. The other is for
 a client of ours, for a temporary position (about four months, give or
 take). This can be either full time or contractors. The Lingnu job is mostly
 done in Kfar Sava, the other one in Herzelia Pituach.

 The qualifications for both jobs are similar. Mostly user space (but some
 kernel is not out of the question), ability for independent working, and
 embedded oriented.

 Applicants are welcome to contact me off list.

 Thank you,
 Shachar

 --
 Shachar Shemesh
 Lingnu Open Source Consulting Ltd.http://www.lingnu.com


 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il




-- 
my blog (hebrew): http://benhamo.org
Skype: heunique
MSN: hetz-b...@benhamo.org
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Job offer: Linux programmer (can be a contractor)

2010-01-04 Thread Shachar Shemesh

Hetz Ben Hamo wrote:

Shachar,
You might want to add some details such as:

* Language of programming required


Second job - mostly C.

First job (for Lingnu) - whatever lifes brings on. C, C++ and Java 
(Android) are a definite candidates. Anything else may go as well.


* Years of experience

At this point in time, I am not limiting the search. Pay would, of 
course, vary accordingly.


* Remote work (from home for example)

In principle, the job is on site. For the first job there may be 
specific cases where remote work will be possible. For the second one 
it's on site only.


Shachar

--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il