Expose-clone 2.4 (shows thumbnails of open windows)

Stuff that has yet to be sorted into a category.
Message
Author
jcagle
Posts: 637
Joined: Thu 29 Sep 2005, 20:34

#21 Post by jcagle »

# /usr/local/skippy/FILESYTEM/usr/bin/skippy
X Error: BadAccess
Request Major code 33 ()
Error Serial #74
Current Serial #74
#


I'm just not doing well with Skippy here....

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#22 Post by MU »

You can delete

/usr/local/skippy/

It was from the first broken Dotpup.
With the new one, skippy should be in /usr/bin

I had that error X Error: BadAccess just once, when I ran skippy again, it worked.
In my own program (expose) I catch such errors.

Maybe it would be easier, to add a shortcut to runexpose2now.
Which Windowmanager do you use? Icewm?

Hmm.. have a look...
open
/root/.icewm/keys
in leafpad.
Add the line
key "F9" /usr/local/expose2.4/expose2now

Then it should work.
I send this message now, then I try it myself in Icewm.

**edit** yes, works fine 8)

Mark

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#23 Post by rarsa »

I've installed the library and the expose dotpups.

It runs,
- I click on it and it "shows" the minimized screens,
- I move my mouse over and I see the orange bars at the top and bottom with the application name

The problem is that only the screen at the front shows the mini window, the other windows look proportonally correct but just show portions of a not scaled front window.

jcagle
Posts: 637
Joined: Thu 29 Sep 2005, 20:34

#24 Post by jcagle »

Skippy is still giving me that error message.

I'd like to get Skippy working if I could, as I have a habbit of hitting the F9 key anyway.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#25 Post by MU »

rarsa,

Options: If you get no correct screenshots, you can edit expose2 and expose2now in beaver, and try to set the delay-value to 500000 or so.

That should do it.

If you run the x.org -xserver, try this instead:
type in a console:
xcompmgr -a

This will activate the render-extension (without special effects like shadows, so it is fast).
In expose2 and expose2now, set
xcomp=0;
to
xcomp=1;

Now expose can use the render-extension, that allows to grab windows without any delay :)

Mark.

PS: this just works, if /etc/X11/xorg.conf contains these lines:

Code: Select all

     Section "Extensions"
             Option "Composite" "Enable"
             Option "RENDER" "Enable"
     EndSection

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#26 Post by MU »

jcagle, with my instructions expose is run when you hit the F9-key.

For skippy, the sourcecode had to be corrected, I don't know how much work that would be.

Mark

jcagle
Posts: 637
Joined: Thu 29 Sep 2005, 20:34

#27 Post by jcagle »

I have expose running right now, but it does nothing when I hit F9. The only time it does anything is when I hit the picture it places in the upper left hand corner when I click it.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#28 Post by MU »

jcagle,
the Icon is displayed, when you run "expose2".
expose2 runs /resource/exposestart
exposestart displays the icon, and runs /resource/runexpose that displays the screenshots.

If you run "expose2now" , /resource/runexpose is run directly without the icon.

So both programs do basically the same.
If it does not start, there might be something wrong with your F9 -keysetup.
Did you add the line I mentioned to /root/.icewm/keys?

Do you run the icewm-Windowmanager? (I think it is the standard in Grafpup, that is what you use, right?).

You might test your F9-setup with the line
key "F9" rxvt

Maybe you must restart icewm after that change.
If that does not work, the only idea I have is, that icewm might not support userdefined keys with puppys XServer? Have not tried that, I use x.org.

Than another program might work.
But please test that first.

Mark

jcagle
Posts: 637
Joined: Thu 29 Sep 2005, 20:34

#29 Post by jcagle »

jcagle,
the Icon is displayed, when you run "expose2".
expose2 runs /resource/exposestart
exposestart displays the icon, and runs /resource/runexpose that displays the screenshots.

If you run "expose2now" , /resource/runexpose is run directly without the icon.

So both programs do basically the same.
If it does not start, there might be something wrong with your F9 -keysetup.
Did you add the line I mentioned to /root/.icewm/keys?
I just found where you mentioned this. I never saw you mention it previously, but I see it now. I'll try it.

ok, I just looked...there is no /root/.icewm/keys there. Not even a hidden file.
Do you run the icewm-Windowmanager? (I think it is the standard in Grafpup, that is what you use, right?).

You might test your F9-setup with the line
key "F9" rxvt
Yes, Icewm.

jcagle
Posts: 637
Joined: Thu 29 Sep 2005, 20:34

#30 Post by jcagle »

oh, and I've restarted quite a few times over the last day or two I've been trying to get things to work...

jcagle
Posts: 637
Joined: Thu 29 Sep 2005, 20:34

#31 Post by jcagle »

I just tried creating a "keys" file with that line in it, but still not working.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#32 Post by MU »

that file already should exist.

Please copy the output from a console to a message after these commands:

cd /root/.icewm
ls -al

You can copy it like this:
select the text with the mouse.
click with the middle mousebutton in a message.

Then do the same with
ps | grep icewm

Mark

jcagle
Posts: 637
Joined: Thu 29 Sep 2005, 20:34

#33 Post by jcagle »

# cd /root/.icewm
# ls -al
drwxr-xr-x 2 root root 1024 Nov 21 13:40 .
drwxr-xr-x 33 root root 2048 Nov 21 11:39 ..
-rw-r--r-- 1 root root 17600 Nov 21 11:39 menu
-rw-r--r-- 1 root root 411 Nov 8 16:28 toolbar
-rw-r--r-- 1 root root 2635 Oct 27 14:01 winoptions
#

jcagle
Posts: 637
Joined: Thu 29 Sep 2005, 20:34

#34 Post by jcagle »

ok, I found the keys file.

In grafpup, it's in /usr/local/share/icewm

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#35 Post by MU »

ah, ok.
I think Nathan compiled it from scratch.

I use the Dotpup from GuestToo, that installs to /root/my-applications.

So I am curious, if it will work with your keyfile :)

jcagle
Posts: 637
Joined: Thu 29 Sep 2005, 20:34

#36 Post by jcagle »

ok, I got it working now.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#37 Post by MU »

great 8)

jcagle
Posts: 637
Joined: Thu 29 Sep 2005, 20:34

#38 Post by jcagle »

It acts a little funny if you only have one window open sometimes. That's the only thing I noticed.

But normally this would be used if you have more than one window open. So no big deal.

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#39 Post by rarsa »

Options: If you get no correct screenshots, you can edit expose2 and expose2now in beaver, and try to set the delay-value to 500000 or so.
I forgot to add that I had already changed the delay to that value.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#40 Post by MU »

Rarsa, what Windowmanager do you use?

The program does this:
usleep(delay)
xwin_raise(WindowID)
imlib-grabscreen

You should be able to see, how one window after the other is raised.
If not, the wm might not support it (though I used low-level -xlib-functions for that, in theory that should work everywhere).

Need more details, to check it (WM and version).

Mark

Post Reply