komposé

Various Stuff

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 50.0%
Description:

Komposé provides a fullscreen view of all your tasks and/or virtual desktops where every window is represented by a scaled screenshot of it's own.

0.5 now features support for the Composite and Damage extensions (disabled by default, enable it in the preferences), however with the current state of graphics drivers XOrg may be awfully slow (or even crash sometimes) when enabling the Composite extension.
So blame me for your bad gfx drivers :)
Last changelog:

14 years ago

0.5.3
- well, 0.5.2 didn't show plain and tiled backgrounds right... here we go
- updated author's email addy

0.5.2
- Nicer layouting (less grid-like)
- ADD: Icons for different views (thanks to Bill Kendrick)
- FIX: no more debug out if compiled normally (qDebug() to kdDebug())
- some code cleanups
- Remove flicker on desktop widget mouseover
- Added the ability to show the currently activated Desktop number on the systray icon (thanks to Debajyoti Bera)
- get rid of KRootPixmap
- Autoactivate when mouse moves on to the screen edge

0.5.1
-Hot corners delay controls whether Kompos�is started and not when it's started :)
-imlib2 error message added to configure script
-Fixed "if a kompose window (prefs, about) is open, you are stuck"
-Added german translation (thanks to Thomas Fischer)

0.5:
-Composite support to take screenshots without raising windows
-Damage support for live-updates of windows
-major refactoring for a cleaner design
-new View Type (current desktop)
-activate when mouse moves in one of the screen's corners
-added popup menu for windows
-added a small screenshot delay for passive screenshots. This should make switching between tasks seem more responsive (redraws occur before taking screenshots) and help on most of the "overlapping windows" problems
-fixed flashing background when activating Kompos�
-Switched to themable KDE cursors
-Window title changes are now updated properly
-Correct handling of windows that are on all desktops
-additionally using hjkl(vi) keys for moving and c/m keys for close/minimize/restore
-Imlib2, Composite and Damage autodetected through configure
-some minor bugs and various smaller performance improvements

bienchen

15 years ago

Yeah, awful!
I really like this. Keep on the work. Where can I vote it into the next kde release?

Report

Yaba

15 years ago

Would be great if you could integrate somehow with Taskbar v2 (http://www.kde-look.org/content/show.php?content=16261) to use a common repository of applikation screenshots.

Currently both apps are taking screenshots. I think it would be great, if kompose could simply use the screenshots from Taskbar v2.

Report

C

oisch

15 years ago

I once took a look at the code when it was in a very early development phase. The code looked suspiciously similar to mine :)
So I believe it won't be too hard to work together, however I guess XComposite will make all this screenshot stuff become a thing of the past, soon.
So I won't put much effort in something that will be deprecated in some month.
sorry :)

Report

nuka

15 years ago

configure works fine, but make dosent. i installed imlib too.

Report

Nikoo

15 years ago

Wonderful, great with Mandrake 10.0 Official !!!

Nicelly integrated with KDE. I found the rpm with rpm.pbone.net.

But the keyboard shortcut by default are not very easy to use on a AZERTY.

I chose Alt + ² for "ungrouped"
and Alt + Space bar for "grouped by virtual desktop".


Next step : activation of kompose thanks to a mouse's clic or movement ? like on MacOS X Panther.

Report

Zoombie

15 years ago

Your autoconfigure script does not check for imlib, but without having imlib installed, make fails.

Report

linuxgalore

15 years ago

wow works great in Mandrake 10...just had to install imlib2 with rpmdrake and it worked..only minor thing was I had to reduce the font size or it looks a bit weird at the bottom of the screen.

Report

vilaplana

15 years ago

I found debian package yesterday for sid, and it works for me on kde 3.3
here: http://flinkserver.net/~flink/debian/binary-i386/
good luck

Report

nuka

15 years ago

i know its a pretty noobish question, but i have no idea how to start this thing. i compiled it and everything, but now im just staring at it going WTF do i do now?

i know its going to be some stupid answer like "click on the kompose icon", but i havent found any icons yet.

Report

nightwriter

15 years ago

An Icon doesn't exist .. however if you go to a term window and type kompose then it will start kompose and put an icon in the systray. If you then log out of kde and log back in kde will have saved the session info and will restart it automatically. IF you don't save session info (some do some don't) then cd ~/.kde/Autostart and create a file called kompose with this content.

#!/bin/sh
kompose &

save the file in this dir and then chmod 755 the file. KDE will now run this little program when it starts and kompose will start for you.

NOTE: Make sure that it doesn't save the session info first or on some systems ever time you restart KDE you might have last sessions number + 1

Report

nuka

15 years ago

i must have compiled it wrong then, cause that dosent work.

ill try some rpm's this time instead of source.

Report

C

oisch

15 years ago

An icon should exist under utilities in the K Menu.

Report

sewagemaster

15 years ago

K->run command->type in "kompose"

Report

nightwriter

15 years ago

Having trouble getting 4.1 to find any of the QT includes as long as the imlib include is on this line. Using MDK 10.0CE running KDE 3.2.3.


If I remove the -I ..... for imlib it finds the qt includes (gobject.h qtstring.h etc.)

Thanks.

Report

C

oisch

15 years ago

Check if an "imlib2-config" binary exists on your system. It's used by the Kompos

Report

nightwriter

15 years ago

Checked and it does. However the problem is not finding it but rather if the includes instruction in Makefile.am has the info for it then it blocks the program from being able to find the QT includes.

Report

sewagemaster

15 years ago

Replace the first 2 lines in your Makefile.am file (located in the src directory) with:

# set the include path for X, qt and KDE
INCLUDES = $(all_includes) -I `imlib2-config --cflags`

Then it should work (on debian unstable).

Or you can wait for the 0.4.2 release, which should be out fairly soon.

Report

nsteeves

15 years ago

gcc 3.3.4, glibc 2.3.3, qt 3.3.3, kdelibs 3.3.0

There were lots of:

/usr/include/kkeydialog.h:273: error: parse error before `*' token
/usr/include/kkeydialog.h:273: error: type specifier omitted for parameter `
QVariant'

and

/usr/include/qt/qslider.h:146: error: non-member function `int
positionFromValue(int)' cannot have `const' method qualifier
/usr/include/qt/qslider.h:147: error: non-member function `int
valueFromPosition(int)' cannot have `const' method qualifier
/usr/include/qt/qslider.h:151: error: non-member function `int available()'
cannot have `const' method qualifier
/usr/include/qt/qslider.h:152: error: non-member function `int goodPart(const
QPoint&)' cannot have `const' method qualifier
/usr/include/qt/qslider.h:155: error: conflicting types for `QSliderPrivate*d'
/usr/include/qt/qvariant.h:311: error: previous declaration as `Private*d'
/usr/include/qt/qslider.h:160: error: 'State' is used as a type, but is not
defined as a type.
/usr/include/qt/qslider.h:163: error: 'TickSetting' is used as a type, but is
not defined as a type.
/usr/include/qt/qslider.h:164: error: `int tickInt' used prior to declaration
/usr/include/qt/qslider.h:165: error: 'Orientation' is used as a type, but is
not defined as a type.
/usr/include/qt/qslider.h:167: error: parse error before `private'
/usr/include/qt/qslider.h:170: error: syntax error before `&' token
/usr/include/qt/qslider.h:175: error: no `bool QSlider::tracking() const'
member function declared in class `QSlider'
/usr/include/qt/qslider.h:180: error: no `Qt::Orientation

and finally

komposetaskcontainerwidget.h:28: error: candidate is: virtual bool
KomposeTaskContainerWidget::qt_property(int, int, QVariant*)
komposetaskcontainerwidget.moc:113: error: type specifier omitted for parameter
`QVariant'
komposetaskcontainerwidget.moc:113: error: parse error before `*' token
komposetaskcontainerwidget.moc:113: error: prototype for `bool
KomposeTaskContainerWidget::qt_static_property(...)' does not match any in
class `KomposeTaskContainerWidget'
komposetaskcontainerwidget.h:28: error: candidate is: static bool
KomposeTaskContainerWidget::qt_static_property(QObject*, int, int,
QVariant*)
In file included from kompose.all_cpp.cpp:18:
komposeimage.h: In constructor `KomposeImage::KomposeImage(void*&)':
komposeimage.h:80: warning: `KomposeImage::lasteffect' will be initialized
after
komposeimage.h:64: warning: `int KomposeImage::myWidth'
komposeimage.cpp:24: warning: when initialized here
komposeimage.h: In constructor `KomposeImage::KomposeImage()':
komposeimage.h:80: warning: `KomposeImage::lasteffect' will be initialized
after
komposeimage.h:64: warning: `int KomposeImage::myWidth'
komposeimage.cpp:42: warning: when initialized here
In file included from komposeimage.cpp:246,
from kompose.all_cpp.cpp:18:
komposeimage.moc: At global scope:
komposeimage.moc:119: error: type specifier omitted for parameter `QVariant'
komposeimage.moc:119: error: parse error before `*' token
komposeimage.moc:120: error: prototype for `bool KomposeImage::qt_property(...)
' does not match any in class `KomposeImage'
komposeimage.h:31: error: candidate is: virtual bool
KomposeImage::qt_property(int, int, QVariant*)
komposeimage.moc:124: error: type specifier omitted for parameter `QVariant'
komposeimage.moc:124: error: parse error before `*' token
komposeimage.moc:124: error: prototype for `bool
KomposeImage::qt_static_property(...)' does not match any in class `
KomposeImage'
komposeimage.h:31: error: candidate is: static bool
KomposeImage::qt_static_property(QObject*, int, int, QVariant*)
/usr/include/qt/qvariant.h:282: warning: `const char* typeToName(...)' declared
`static' but never defined
make[2]: *** [kompose.all_cpp.o] Error 1
make[2]: Leaving directory `/usr/ports/sten/kompose/work/src/kompose-0.4.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/ports/sten/kompose/work/src/kompose/work/src/kompose-0.4.1'
make: *** [all] Error 2

Report

Zoombie

15 years ago

Kompose works great, except that while it's running, Windows will periodically lock for a split second, usually after gaining focus. It's most noticable while scrolling. Does this usually happen? It makes KDE seem somewhat unresponsive.

Report

C

oisch

15 years ago

This is one drawback of "passive screenshots". Whenever an app receives focus a screenshot is created.
The screenshot is in Xserver's pixmap format and therefore very small and fast, but nevertheless it may be noticeable on slower systems. You can still switch this fonction off.

I can however only fix it once the new XServer extensions become mainstream and screenshots of hidden windows can be created via XComposite.

Report

gekko

15 years ago

Great idea! I like it.
How can I change the systemtry-icon??

Report

Yaba

15 years ago

Surely some people may like it to have unused desktops smaller.

In my opinion it's confusing to have a different desktop layout depending on the current usage.

Would be great, if you could make this configurable, so that I can switch back to the previous view with lots of wasted space ;-)

Report

wwwonka

15 years ago

Agree completely with above. I liked having my view as 4 distinct desktops, wether empty or not...alot less confusing. Can't please everybody all the time time I suppose.

As for the reliance on systray and the non daemon feature here are my suggestions: Allow kompose to start as a daemon(invisible - no systray) and to be called by another switch. Running with --singleshot and no daemon seems real slow. Ideally I would like to have kompose running in the background and called with an icon of my choice in my panel.

Report

Yaba

15 years ago

Actually you can launch it through an icon, if you use a dcop call to kompose. (Run kdcop for more info)

Report

sewagemaster

15 years ago

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I `imlib2-config --cflags` -I/usr/include/kde -I/usr/share/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion-Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -c -o main.o `test -f 'main.cpp' || echo './'`main.cpp
In file included from komposeglobal.h:15,
from main.cpp:22:
komposesystray.h:15:25: ksystemtray.h: No such file or directory


Same problem here.
I've tried different tweaks here and there but it still wont compile.

I have it in /usr/include/kde.

Report

14 years ago

0.5.3
- well, 0.5.2 didn't show plain and tiled backgrounds right... here we go
- updated author's email addy

0.5.2
- Nicer layouting (less grid-like)
- ADD: Icons for different views (thanks to Bill Kendrick)
- FIX: no more debug out if compiled normally (qDebug() to kdDebug())
- some code cleanups
- Remove flicker on desktop widget mouseover
- Added the ability to show the currently activated Desktop number on the systray icon (thanks to Debajyoti Bera)
- get rid of KRootPixmap
- Autoactivate when mouse moves on to the screen edge

0.5.1
-Hot corners delay controls whether Kompos�is started and not when it's started :)
-imlib2 error message added to configure script
-Fixed "if a kompose window (prefs, about) is open, you are stuck"
-Added german translation (thanks to Thomas Fischer)

0.5:
-Composite support to take screenshots without raising windows
-Damage support for live-updates of windows
-major refactoring for a cleaner design
-new View Type (current desktop)
-activate when mouse moves in one of the screen's corners
-added popup menu for windows
-added a small screenshot delay for passive screenshots. This should make switching between tasks seem more responsive (redraws occur before taking screenshots) and help on most of the "overlapping windows" problems
-fixed flashing background when activating Kompos�
-Switched to themable KDE cursors
-Window title changes are now updated properly
-Correct handling of windows that are on all desktops
-additionally using hjkl(vi) keys for moving and c/m keys for close/minimize/restore
-Imlib2, Composite and Damage autodetected through configure
-some minor bugs and various smaller performance improvements

12345678910
product-maker Base: 4 x 5.0 Ratings
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs ocs-url or ocs-store to install things
Pling
0 Affiliates
Details
license
version
0.5.3
updated Jul 22 2005
added Aug 01 2004
downloads 24h
0
page views 24h 5