Re: grab focus

2008-12-02 Thread Shachar Shemesh

Omer Zak wrote:


At impulse, I downloaded and compiled it.  The 'Usage:' path works for
me.

From usability point of view, the documentation (and maybe the
application itself)
Patches welcome. It was a focused effort, oh, maybe half an hour long. 
Most of that time was spent searching for the name of the AC_PATH_XTRA 
configure macro.

 is missing a way to find out what window handles are
there now.  Remember - do not ask the window manager for this
information!
  

Run xwininfo and click on the window.

How about having xfocus display a list of the handles of all open
windows (along with some identifying information such as window title or
controlling process ID - for the user to match up with more information
using ps's output) when provided with no window handle argument?
  

Like Didi already said, xwininfo can do that too.

When done, xfocus will be cool little application!
  
I'm not sure it's worth the trouble of packaging it, but if the need is 
there I have no objection.


Shachar

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Roll your own Window Manager (was: Re: Re: grab focus)

2008-12-02 Thread Yedidyah Bar-David
On Tue, Dec 02, 2008 at 08:43:39AM +0200, Omer Zak wrote:
 I googled for the above and came up with:
 
 http://en.wikipedia.org/wiki/Xmonad - a tiling window manager for
 X-Window, written in Haskell.  Makes it possible to manage windows
 without using a mouse.
 
 http://cgi.cse.unsw.edu.au/~dons/blog/2007/05/01
 http://cgi.cse.unsw.edu.au/~dons/blog/2007/05/17
 Those articles describe the design of the above (written in Haskell, of
 all languages!).  Version 0.1 is 490 lines of code, so does it (with
 Haskell libraries) have sufficiently small memory footprint for use in
 Erez D's system?

A quick search in debian's archive finds also:

tinywm - tiny window manager
Seems to actually include three versions, a C version (58 lines),
annotated C version (179 lines), and a python version (40 lines). Seems
useful mainly as a demonstration.

nawm - Non-windowmanager with windowmanager functionality
Somewhat similar to xwit.
-- 
Didi


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: grab focus

2008-12-02 Thread Tzafrir Cohen
On Tue, Dec 02, 2008 at 12:18:24AM +0200, Erez D wrote:
 hi
 
 
 i'm looking for a command line util which lets me change x-focus.
 i am running two apps with no window manager, and i want to be able to
 switch focus between the two by command line

aptitude install xdotool

http://www.semicomplete.com/blog/projects/xdotool/

http://www.semicomplete.com/blog/projects/xdotool/#id2255989

It uses the XTEST extension. I figure that there are other similar tools.

-- 
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il || a Mutt's
[EMAIL PROTECTED] ||  best
ICQ# 16849754 || friend

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: grab focus

2008-12-02 Thread Shachar Shemesh

Tzafrir Cohen wrote:

On Tue, Dec 02, 2008 at 12:18:24AM +0200, Erez D wrote:
  

hi


i'm looking for a command line util which lets me change x-focus.
i am running two apps with *no window manager*, and i want to be able to
switch focus between the two by command line



aptitude install xdotool

http://www.semicomplete.com/blog/projects/xdotool/

http://www.semicomplete.com/blog/projects/xdotool/#id2255989

It uses the XTEST extension. I figure that there are other similar tools.

  
XTEST simulates keyboard/mouse input. The fault with this logic is that, 
with no window manager, THERE IS NOT KEYBOARD OR MOUSE INPUT THAT WILL 
TRIGGER A FOCUS CHANGE. There is nothing to simulate.


Shachar


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Welcome to Linux: Linux for the Student on Sunday, 7-Dec-2008

2008-12-02 Thread Shlomi Fish
As part of the Welcome to Linux ( http://welcome.linux.org.il/ ) series, the 
Tel Aviv Linux club will hold the third meeting in the series, next Sunday, 
7-December-2008. Sagiv Barhoom will present about Linux for the Student

The presentation will start at 18:30, in the Schreiber building, room 008 of 
Tel Aviv University. Attendance is free and everyone are welcome.

The purpose of the Welcome to Linux series is to introduce Linux to people who 
are not very familiar with it. More information can be found at:

* http://welcome.linux.org.il/2008/
* http://www.cs.tau.ac.il/telux/

Regards,

Shlomi Fish

-- 
-
Shlomi Fish  [EMAIL PROTECTED]
Homepage:http://www.shlomifish.org/

I'm not an actor - I just play one on T.V.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]