Page 1 of 1

xeyes

Posted: Tue 17 Mar 2009, 21:47
by lupitasosa
Sorry, Mu. Well, after sending you that message I went to the JWM configuration and pressed "Or, apply current GTK theme to JWM" and that fixed it. But every time I turn on the computer the problem returns, and I have to visit the JWM configuration again.

The solution you gave me of changing the number 2 to 6 or higher, didn't work.

Another thing, do you know a way to keep the eyes always on top? Without clicking the taskbar of tray to indicate it?

Thank you. (I don't know exactly how this works, please forgive me)

Posted: Tue 17 Mar 2009, 23:32
by MU
You refer to this thread:
http://www.murga-linux.com/puppy/viewtopic.php?p=284230
It is better to stay in one thread next time, so that one can look up, what we talk about.

Here is the message you wrote me:
Hi:

How are you? Sorry to disturb you, but I have a question. I installed the "eyes", and I've been using them for about 3 days. I placed a shortcut in the startup so that when I turn on my computer they appear. Well, I turn on and turn off the computer many times a day, but only 2 times the eyes have been without the square, you know, the window, with the red X the name of the program, minimize, maximize, and close. And I don't understand why only two times they appeared without the window. What am I doing wrong?

Thank you very much. Greetings. (The program is Xeyes)
Here is my reply:
Hi,
edit the file
/usr/bin/xeyesnoborder

The line
shell("sleep 2")

Replace the 2 with a higher value, like 6 or 10.
I think this should fix it.
Please post such questions in the forum only, the private messages I just use for administration, like managing uploads.

Thanks, Mark

There is an option in /root/.jwmrc to set a window to a layer 12, which is always on top.
I have no JWM here at moment, so just can refer to the documentation.
I can tryit tomorrow myself, if I find time.

Mark

Posted: Wed 18 Mar 2009, 19:59
by MU
ok, you must edit:

/etc/xdg/templates/_root_.jwmrc

Add there:

Code: Select all

<Group> 
<Class>xeyes</Class> 
<Name>xeyes</Name> 
<Option>noborder</Option> 
<Option>notitle</Option> 
<Option>layer:12</Option> 
<Option>nolist</Option>
<Option>sticky</Option> 
</Group>
Add it after the other "group" entries.

Then type in a consolewindow:
fixmenus -force

Then restart JWM or better restart X.

You still can move the eyes, if you press the ALT key, while dragging them with the mouse!

I attach a screenshot.
It uses the enhanced JWM from here:
http://www.murga-linux.com/puppy/viewtopic.php?t=39162
It runs in Newyearspup02rc7.

Mark

Thank you

Posted: Thu 19 Mar 2009, 22:28
by lupitasosa
Thank you.