Wow... that is great! Thanks a lot.
Now... I was thinking about going one step further:
since licq is always shaded is there a way to make it unshade
automatically (withouth clicking the mouse) whenever the mouse pointer
is over it? This would also be very nice with the pager, since unless
I'm going to click it to change desktops I'd really like it to be
shaded and shading and unshading it all the time is not very
practical, since instead of one click I have to do 3.
I was wondering about this and I didn't even know how to get the
current mouse position on X.... I took a look at some sites and I did
not find anything too promissing. There was one program that would
check every X seconds to see if the mouse position was at Y, but that
is not something I'd like, since it wouldn't be instantaneous.
Another thing I checked was making a program that uses xlib to,
whenever it gets the focus, run the appropriate eesh script to unshade
the window... but that seemed a bit too complicated.
So, since you guys are more expert, you might know.... Hope you can help here.
On Fri, 19 Nov 2004 14:13:09 +0100, Toby Cubitt <tsc25@...> wrote:
> Tried to send this a week ago, but it never got through...
> On Wed, Nov 03, 2004 at 08:54:56PM -0200, Roberto Winter wrote:
> > Hi there,
> > I'm currently running enlightenment 0.16.6 on Debian unstable.
> > And I'm also using licq. The idea is: (don't know if anyone has seen
> > macOsX, but there this happens, a icon pops up from the engage-like
> > thing they have)
> > I'd like to have the licq window 'unshade' everytime a new message arrives.
> > is there a way to do this, like a command line program, or maybe one
> > that can be done?
> > there are two ways this could be done:
> > - adjusting licq to execute a command everytime a message arrives.
> That's what I do. In the OnEvent tab under the options dialogue in Licq, you
> can specify a command to run when events occur, along with event-dependent
> parameters to pass to the command. I set the command to a shell script called
> icq_event (attached), and use the parameters to pass a sound file to play.
> The icq_event script uses the shade_window script (both attached). The HOME
> and PATH variables at the top of the icq_event script might need
> modifying. Note they were written for 16.6 so could be made slightly neater
> now, using the new eesh commands available in 16.7.
> Hope that helps,
> Toby Cubitt
> PhD Student
> Quantum Information Theory group
> Max Planck Institute for Quantum Optics
> Garching, Germany
> email: toby@...
> web: http://www.dr-qubit.org