Toggle-Compositing

Plasma 4 Widgets

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

8
Score 67.1%
Description:

Toggle-Compositing is a little button that you can conveniently
put anywhere in your plasma panel or desktop and it allows
you to switch with ease, beetween KWin's compositing and
traditional mode.

Since 0.2.2, it needs KDE 4.2+
Last changelog:

10 years ago

[version 0.2.3]
* Fixed small-size-in-panel-after-restarting-plasma bug.

[version 0.2.2]
* 0.2.2 has no changes, other than those required for compilation under KDE 4.1.96 (4.2RC1).
It will probably not compile under older KDE versions (use 0.2.1 for these).

[version 0.2.1]

* Fixed a sizing-related bug that could
turn the app into a CPU hog

[verion 0.2]

* Ported to KDE 4.1

berot3

10 years ago

naegling23 already asked in 2008, but i really would like to know it too. could any1 tell me what to write in the konsole, would like to use it in a script...
or is setting it with "kwriteconfig" and than "kwin --replace" the only "easy" way???

Report

Luziferius

8 years ago

check compositing state with
'qdbus org.kde.kwin /KWin compositingActive'
returns "true" when active
toggle it with
'qdbus org.kde.kwin /KWin toggleCompositing'

Report

ressletr

10 years ago

This is a really nice plasmoid. Thanks it makes it so easy to toggle on and off composite it is incredible. Thank you!!!

Report

lmpeders

10 years ago

Any chance of making the revert changes dialog appear *after* compositing has been turned on (as it does in System Settings)? Sometimes, KWin takes too long to refresh, so the dialog vanishes before I'm able to accept the changes.

Report

mrfixit

10 years ago

This is the single most useful plasmoid I have come across to date! Especially useful for gamers who (sadly) get better FPS when kwin compositing is disabled.

Thankyou for taking the time to create this, and keep up the good work :).

Report

jlindy

10 years ago

Thank you just what I was looking for

Report

m1k0

10 years ago

some artefacts. Please look at screenshot

http://picasaweb.google.com/lh/photo/IQ9AfA6bN0MUhdKyWwYrjA?feat=directlink

Report

TotoKid

10 years ago

When put into a panel, it doesn't save position when plasma restarts. I got it between task manager and pager. When restarting it goes right twice, between tray applet and show dashboard.

Report

TotoKid

10 years ago

It would be nice to have an option to remove the border when put on the dashboard, too.

Report

Bazilio

10 years ago

This is great!!!
Just what i need!

There http://www.recast1.com/trash/plasma-applet-toggle-compositing_0.2.3-1_i386.deb kubuntu i386 package.

Report

smihael

10 years ago

Contact me if you want to get it.

Report

Ketrel

10 years ago

I found that on KDE 4.2 it's not keeping it's size. When adding it it's quite small, if I resize the panel, it corrects it's size, but on a reboot, it is back to being small again.

Report

C

iovar

10 years ago

Should be fine now.

Report

mmikowski

10 years ago

This is a wonderful widget, and I really enjoyed using it! Thank you!

The bad news is I was able to compile this for 4.2 Beta 2, Kubuntu 8.10; however, and the widget fails after an update to 4.2 RC 1, and cannot be recompiled:

=======================================
CMake Error at /usr/share/kde4/apps/cmake/modules/FindPlasma.cmake:13 (message):
FindPlasma.cmake is deprecated. Now with KDE 4.2 Plasma is part of kdelibs
and automatically found using find_package(KDE4) instead.

Replace the variables previously coming from FindPlasma.cmake as follows:

PLASMA_OPENGL_FOUND -> KDE4_PLASMA_OPENGL_FOUND

PLASMA_LIBS -> KDE4_PLASMA_LIBS

PLASMA_INCLUDE_DIR -> KDE4_INCLUDE_DIR or KDE4_INCLUDES, should be already
set anyway

PLASMA_FOUND -> nothing, it's always there if KDE4, version 4.2 or newer
has been found.

If you see this error message in a module within KDE/, update it from svn,
it has been fixed already.

Call Stack (most recent call first):
CMakeLists.txt:5 (find_package)
=======================================

Somewhat related bug in KDE (where unsupported widgets crash plasma):
https://bugs.kde.org/show_bug.cgi?id=172996

Report

C

iovar

10 years ago

You can get a version that compiles with 4.1.96(4.2RC1), here:
http://ivplasma.googlecode.com/files/toggle-compositing-0.2.2.tar.gz

I would update the links, but currently there seems to be some bug or change in
the kde-look.org site code, that prevents me from doing it.

Report

mmikowski

10 years ago

Thank you for the new build. It indeed compiles on my system (KDE 4.2 RC 1), and so far works beautifully!

I hope you can update the link soon. Thanks again.

Report

saturnx

10 years ago

Is it possible to add action to change between kwin and compiz ??

Report

RalIlAn

10 years ago

Not about your applet, your applet works perfectly

Report

RalIlAn

10 years ago

KDE 4.1.85, kubuntu 8.10

Linking CXX shared module lib/plasma_applet_weatherforecast.so
CMakeFiles/plasma_applet_weatherforecast.dir/plasma-weatherforecast.o: In function `Plasma_Weather::parseData()':
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:113: undefined reference to `QDomDocument::QDomDocument(QString const&)'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:117: undefined reference to `QDomDocument::setContent(QIODevice*, QString*, int*, int*)'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:120: undefined reference to `QDomDocument::documentElement() const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:122: undefined reference to `QDomNode::firstChild() const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:124: undefined reference to `QDomNode::firstChild() const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:124: undefined reference to `QDomNode::operator=(QDomNode const&)'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:124: undefined reference to `QDomNode::~QDomNode()'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:125: undefined reference to `QDomNode::firstChild() const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:125: undefined reference to `QDomNode::operator=(QDomNode const&)'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:125: undefined reference to `QDomNode::~QDomNode()'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:198: undefined reference to `QDomNode::nextSibling() const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:198: undefined reference to `QDomNode::operator=(QDomNode const&)'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:198: undefined reference to `QDomNode::~QDomNode()'
CMakeFiles/plasma_applet_weatherforecast.dir/plasma-weatherforecast.o: In function `~QDomElement':
/usr/include/qt4/QtXml/qdom.h:472: undefined reference to `QDomNode::~QDomNode()'
CMakeFiles/plasma_applet_weatherforecast.dir/plasma-weatherforecast.o: In function `Plasma_Weather::parseData()':
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:127: undefined reference to `QDomNode::isNull() const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:129: undefined reference to `QDomNode::toElement() const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:131: undefined reference to `QDomNode::isNull() const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:133: undefined reference to `QDomElement::tagName() const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:135: undefined reference to `QDomElement::attribute(QString const&, QString const&) const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:136: undefined reference to `QDomElement::attribute(QString const&, QString const&) const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:137: undefined reference to `QDomElement::attribute(QString const&, QString const&) const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:139: undefined reference to `QDomElement::tagName() const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:141: undefined reference to `QDomElement::attribute(QString const&, QString const&) const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:199: undefined reference to `QDomNode::~QDomNode()'
CMakeFiles/plasma_applet_weatherforecast.dir/plasma-weatherforecast.o: In function `~QDomElement':
/usr/include/qt4/QtXml/qdom.h:472: undefined reference to `QDomNode::~QDomNode()'
CMakeFiles/plasma_applet_weatherforecast.dir/plasma-weatherforecast.o: In function `Plasma_Weather::parseData()':
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:199: undefined reference to `QDomDocument::~QDomDocument()'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:143: undefined reference to `QDomElement::tagName() const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:147: undefined reference to `QDomElement::tagName() const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:149: undefined reference to `QDomNode::firstChild() const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:149: undefined reference to `QDomNode::operator=(QDomNode const&)'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:149: undefined reference to `QDomNode::~QDomNode()'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:191: undefined reference to `QDomNode::nextSibling() const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:191: undefined reference to `QDomNode::operator=(QDomNode const&)'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:191: undefined reference to `QDomNode::~QDomNode()'
CMakeFiles/plasma_applet_weatherforecast.dir/plasma-weatherforecast.o: In function `~QDomElement':
/usr/include/qt4/QtXml/qdom.h:472: undefined reference to `QDomNode::~QDomNode()'
CMakeFiles/plasma_applet_weatherforecast.dir/plasma-weatherforecast.o: In function `Plasma_Weather::parseData()':
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:151: undefined reference to `QDomNode::isNull() const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:153: undefined reference to `QDomNode::toElement() const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:155: undefined reference to `QDomNode::isNull() const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:157: undefined reference to `QDomElement::tagName() const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:168: undefined reference to `QDomElement::tagName() const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:170: undefined reference to `QDomElement::attribute(QString const&, QString const&) const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:171: undefined reference to `QDomElement::attribute(QString const&, QString const&) const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:172: undefined reference to `QDomElement::attribute(QString const&, QString const&) const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:173: undefined reference to `QDomElement::attribute(QString const&, QString const&) const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:174: undefined reference to `QDomElement::attribute(QString const&, QString const&) const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:176: undefined reference to `QDomNode::nextSibling() const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:176: undefined reference to `QDomNode::operator=(QDomNode const&)'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:176: undefined reference to `QDomNode::~QDomNode()'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:177: undefined reference to `QDomNode::toElement() const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:178: undefined reference to `QDomElement::tagName() const'
CMakeFiles/plasma_applet_weatherforecast.dir/plasma-weatherforecast.o: In function `~QDomElement':
/usr/include/qt4/QtXml/qdom.h:472: undefined reference to `QDomNode::~QDomNode()'
CMakeFiles/plasma_applet_weatherforecast.dir/plasma-weatherforecast.o: In function `Plasma_Weather::parseData()':
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:145: undefined reference to `QDomElement::attribute(QString const&, QString const&) const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:194: undefined reference to `QDomNode::parentNode() const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:194: undefined reference to `QDomNode::operator=(QDomNode const&)'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:194: undefined reference to `QDomNode::~QDomNode()'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:159: undefined reference to `QDomElement::attribute(QString const&, QString const&) const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:160: undefined reference to `QDomElement::attribute(QString const&, QString const&) const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:161: undefined reference to `QDomElement::attribute(QString const&, QString const&) const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:181: undefined reference to `QDomElement::attribute(QString const&, QString const&) const'
/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:182: undefined reference to `QDomElement::attribute(QString const&, QString const&) const'
CMakeFiles/plasma_applet_weatherforecast.dir/plasma-weatherforecast.o:/home/user/plasma-weatherforecast-0.4/plasma-weatherforecast.cpp:183: more undefined references to `QDomElement::attribute(QString const&, QString const&) const' follow
collect2: выполнение ld завершилось с кодом возврата 1
make[2]: *** [lib/plasma_applet_weatherforecast.so] Ошибка 1
make[1]: *** [CMakeFiles/plasma_applet_weatherforecast.dir/all] Ошибка 2
make: *** [all] Ошибка 2

Report

FrostBlue

10 years ago

Hi,
I think this little tool is simply great.Really good job.
I have recently upgraded from hardy 8.04 to 8.10 and a lot of the applets are not working,it seems to me (my linux mojo is limited) that the files are not found by plasma, maybe.

Can you please help me out ?

Thanks a lot.

Report

santam

10 years ago

Thanks for a nice, simple and effective way to manage compositing in KDE 4.1 without going through the rigmarole of going to KDE control center. Two thumbs up :-D

Report

nickkefi

10 years ago

Is it posible to make the button semi-stransparent? (like glass)?
Very usefull!

Report

smihael

10 years ago

Simply by switching plasma theme.

Report

devel0per

10 years ago

Ebuild is here - http://sonylaptoptools.sourceforge.net/ebuilds/toggle-compositing-0.2.1.ebuild

Report

slux83

10 years ago

This plasmoid is good when i whant switch off the compositing before start my preferred Quake3 based games :D

Nice Job!

Report

10 years ago

[version 0.2.3]
* Fixed small-size-in-panel-after-restarting-plasma bug.

[version 0.2.2]
* 0.2.2 has no changes, other than those required for compilation under KDE 4.1.96 (4.2RC1).
It will probably not compile under older KDE versions (use 0.2.1 for these).

[version 0.2.1]

* Fixed a sizing-related bug that could
turn the app into a CPU hog

[verion 0.2]

* Ported to KDE 4.1

12345678910
3
product-maker axanon Mar 17 2012 9 excellent
product-maker Okanda Jun 29 2011 9 excellent
product-maker agaya Mar 29 2011 9 excellent
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
0.2.3
updated Jan 29 2009
added Apr 03 2008
downloads today
0
page views today 7