Expose-clone 2.4 (shows thumbnails of open windows)

Stuff that has yet to be sorted into a category.
Message
Author
User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#41 Post by rarsa »

what Windowmanager do you use?
JWM 1.1

I'll try with the original puppy JWM version.

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

#42 Post by MU »

I doesn't work with Puppys JWM either.

The XLIB-command
XRaiseWindow(disp,windowid);
http://tronche.com/gui/x/xlib/window/XRaiseWindow.html
is ignored.

I don't know, what else I could use.
It does not support NETWM-commands either.

Expose includes the source, if someone wants to test:
add your changes to expose.c
then run
sh compile.c.sh expose


Mark

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

#43 Post by MU »

I updated expose2.4.pup

Now it will ignore windows called "0" "1" or "Iconbox".
So it works better with Enlightenment DR16.
Mark

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

#44 Post by MU »

I updated Screenshot and expose-dotpup in the first message.

New: automatically detects xcompmgr running, and works faster then.
New: Ignores kicker (KDE-Tasklist), E-epplets, and up to 20 Enlightenment-Pager (E16).
New: more pleasent(/neutral) colours, bold font, text is aligned more centered.

Simply install over the old (or from new).
it overwrites an older version of 2.4 , so you don't have to change any menu-entries or keyboard-shortcuts you made.

Mark

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

#45 Post by MU »

I updated the expose 2.4 dotpup.
I had made some slight changes that avoid, that expose crashes in newer versions of Puppy.


I also added a .desktop file for expose2now.
Use this for example in an enlightenment 17 ibar, to be able to create a screenshot-overview directly from the ibar (or from a Icewm taskbar, or...).

In E17 you can using a texteditor reduce the delay to 50000 in
/usr/local/expose2.4/expose2
and
/usr/local/expose2.4/expose2now

Mark

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

#46 Post by MU »

update:
added a nicer background (see screenshot in 1st message) and an 48x48 icon.

*edit* modified the icon again.
It is in /usr/local/expose2.4 but not used by default, as it would enlarge the jwm menu.
I attach the new one.

Mark
Attachments
expose24.png
(2.67 KiB) Downloaded 920 times

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

#47 Post by MU »

I uploaded a second version.
Only difference:

The "button" now is located on top of the screen, and has a size of 1 pixel.

So it is no "button", but a very slim "bar".

I find it much easier to move the mouse on top of the screen, and click to see all windows.
This is more intuitive than pointing to a standard-button.
I also deactivated the option to close the button, as this easily happened by accident.
Type
killall exposestart
if you need to exit the button.

Update: no more second version, this is default now.
See next message.
Mark
Last edited by MU on Fri 15 Feb 2008, 22:14, edited 1 time in total.

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

#48 Post by MU »

I updated the expose-dotpup.
By default it now is always a 1 pixel high bar on top of your screen, and no button.

I made improvements:
The "delay" is no longer needed.
It now uses a feature from Gtk to flush the screen, after a window was raised.
Thanks to this, a snapshot can be taken without delay.

I also enhanced the detection of windows, that shall not be "photographed", like the gdesklets.

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

wizzerd02
Posts: 8
Joined: Tue 10 Feb 2009, 19:16

puppy 4 problems

#49 Post by wizzerd02 »

Does this work with puppy 4?
If I have three windows open so that they are stacked on one another, when I invoke expose I am shown 3 images of the top window. If the windows are staggered somewhat I will see an image of the bottom window but with a section of the top window overlapping it. When I click on any of the images I am taken to the top window.

Not sure what I am doing wrong. Also is there a way to bind this to the scroll wheel of the mouse? like with btnx?

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

#50 Post by MU »

It does not work correct in JWM, just in Icewm.
JWM does not support NetWM specifications. These are a standard technique, that allows applications to interact with the windowmanager.

But also in Icewm, you sometimes do not get correct snapshots, especially on older computers.
In that case, you must increase the "delay" value in
/usr/local/expose2.4/expose2
and
/usr/local/expose2.4/expose2now

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

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

#51 Post by MU »

I attach a slightly different version.
I had added some tweaks for Muppy, so that no delays should be needed.

Mark
Attachments
expose-2.4-Muppy.pet
(153.35 KiB) Downloaded 356 times
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

magerlab
Posts: 739
Joined: Sun 08 Jul 2007, 20:08

#52 Post by magerlab »

Mark, is it possible to change location of the "expose bar" or to hide it and make a hotkey shortcut?
looks nice on eee with xfce4( although desktop is shown as a window)

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

#53 Post by MU »

magerlab,

if you can assign a key to a program in xfce, assign it to
/usr/local/expose2.4/expose2now

This shows the desktop overview directly, it does not launch a button you must click.
To remove the desktop from the overview, you had to recompile
/usr/local/expose2.4/resource/runexpose.c

Look around line 81 and 154.
That excludes rox-filer (the pinboard).
Add in the same way the xfce desktop.
To get the string you must use here, run from a console:
xprop

then click on the desktop.
This should print a line like:
WM_NAME(STRING) = "pcmanfm"
For xfce, there will be shown another name.
It is the string, that you must use.

Then compile it:

cd /usr/local/expose2.4/resource
bash compile.c.sh runexpose


This creates a new executable "runexpose".
Let me know, if you have problems with this.

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

magerlab
Posts: 739
Joined: Sun 08 Jul 2007, 20:08

#54 Post by magerlab »

thank you, Mark!
i added a shortcut easily
i did not yet compile anything myself, so may be it's tme to start:)
xprop gives me command not found( i use latest NOP now)
maybe xfdesktop will match?

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

#55 Post by MU »

I attach xprop from NYP. Extract it in /usr/X11R7/bin.
Not sure if it works for your puplet.
If not, I can search the one from Puppy 4.12 in my downloads.
If you give me the correct string, I could modify + compile it for yo.
Mark
Attachments
xprop.tar.gz
(13.11 KiB) Downloaded 325 times
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

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

#56 Post by MU »

i attach a recompiled runexpose.
It now excludes "pcmanfm" and "xfdesktop".

I included the source, and a script, that can compile it again.

Simply replace the existing "runexpose" with the one I included.
Please let me know, if it works, then I can update the whole pet.

Mark
Attachments
xfcetestpatch.tar.gz
(4.63 KiB) Downloaded 342 times
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

magerlab
Posts: 739
Joined: Sun 08 Jul 2007, 20:08

#57 Post by magerlab »

thank's again, Mark!
i replaced runexpose with your file
it works but only when i click on it in thunar
when i run expose2now i have desktop shown
if i run directly runexpose in thunar desktop is not shown
strange but i can not run runexpose with shortcut...

wizzerd02
Posts: 8
Joined: Tue 10 Feb 2009, 19:16

#58 Post by wizzerd02 »

i downloaded the muppy expose 2.4 PET and tried again with icewm. I get the same effect as I described before with JWM in puppy 4.2.

I am no linux master, but I have searched the forum and don't know how to make this work.

I booted to icewm. I installed imlib2 dotpup. I installed muppy expose PET.
I start expose from the menu. I open two apps or folders, waiting a few seconds between each. I click at the top of the screen and get one correct image and the other image is one of the windows with the top window overlapping it. Clicking either image gives the same result- i am taken to the top window.

What to do?

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#59 Post by amigo »

I downloaded a pet of expose2.4 the other day -is there any way to tell if I got the latest one, or do we have to refer to the version by the post number of this thread? Mark, please use unique version number for each and every release you create, please, please? We won't think you are a bad porogrammer if your program makes it all the way to 10.3.346.2 or whatever! If you have ten releases all with the same number what is the poinbt of having a version at all?
How about if I want the version that was mentioned on page 3 post 27(zum Beispiel)? How can I get that?

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

#60 Post by MU »

the latest is
expose-2.4-Muppy.pet
on this page.
Yes I know, I'll try to version my programs in future.
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

Post Reply