KWin Button applet improved
KDE Plasma 4 Extensions
Score 77%
Description:

This is the KWinButton applet developed by Stefan Majewsky and improved by me (Alberto Pajuelo Montes) for add show only when window is maximized option.

If the author release a new version with my improvements I will delete this post.

Here you can see in video the new behaviour:
http://www.youtube.com/watch?v=OWIgq3SV_hQ

if you want more information visit my webpage http://www.albertinux.com
Regards
Last changelog:

5 years ago

0.6

Fixed bug that cause desktop to crash when close some windows.

Fixed bug that shows buttons on startup when setted show only when maximized


0.5

Adapted to KDE 4.8 (Thanks to Aliaksandr Stelmachonak)

0.4

- Fix bug that applet disappntear after add it to panel
- Kubuntu amd64 deb package added to tar
in the same donwload

0.3

-Bugfix
- Added a folder with oxygen window icons for use with custom icon option.

nowardev

4 years ago

here there is a valid link for oxygen style buttons


https://kde-peace-settings.googlecode.com/files/oxygenbuttons.tar.gz

Report

serrum

5 years ago

It is compatible with Kubuntu 12.10?

Report

nowardev

5 years ago

i have installed my old package 32bit in 12.10 works fine here

Report

serrum

5 years ago

My kubuntu 12.10 is dead after installation.

Strange?

Report

nowardev

5 years ago

i dunno here works fine what i have to add?
maybe you are using a alpha kubuntu so don't aspect it will work good

btw i use right now 12.10 and i have no problem with that even with kwin buttons

Report

serrum

5 years ago

I'll wait a bit because I have to reinstall all my kubuntu 12.10.
Too bad, I like having the buttons in the toolbar.

Report

Contrast

5 years ago

Ubuntu packages: https://launchpad.net/~mikevaughn/+archive/omnilinux/

Report

Thaodan

5 years ago

The status that the window is maximized or not shoud only be set by the windows on the current monitor. The status that a window is maximzed or not shoud only set by the window that is maximized.
The buttons shoud only work only for the last window that got maximized if you open an app that is not maximize,

For example:
The button is on the main monitor
I open a window on the second monitor and set it to fullscreen: it dosn't count for the button.
I open an new window my web browser on the main monitor and set it to full screen it counts.
I open a new window on the main screen, the button is still present but it only works for the last application that was fullscreen: my webbrowser.
I open an second application on the main screen my musik player, I set it to full screen, the buttons work for my music player.
I switch back to my web browser the buttons go to my browser again.

Report

fannymites

5 years ago

According to the changelog, an amd64 Kubuntu package was added but it isn't in the tar when downloaded?

Report

nowardev

5 years ago

i have written how to create a debian package here

http://nowardev.wordpress.com/2012/02/26/kwin-button-close-minimize-on-your-panel-kubuntu-12-04/

i did for 32 bit you could do for 64bit

Report

fannymites

5 years ago

Thanks for the howto but alas, I was hoping for something pre-built.

Report

EternalLight

5 years ago

I am ok KDE 4.7 (openSuSE 12.1) and I get this error during make:

/usr/include/taskmanager/taskitem.h:41:26: note: candidate expects 1 argument, 2 provided
make[2]: *** [CMakeFiles/plasma_applet_kwinbutton.dir/applet.o] Error 1
make[1]: *** [CMakeFiles/plasma_applet_kwinbutton.dir/all] Error 2
make: *** [all] Error 2




I hope I can make this widget work. I will be so much happier with my desktop.

Report

nowardev

5 years ago

test if you want here works i did like dependencies

SET(CPACK_DEBIAN_PACKAGE_DEPENDS " libplasma3 , plasma-desktop ")

so it *should* work fine in other debian distro


http://dl.dropbox.com/u/4127065/debian%20package/precise/kwinbuttonapplet_0.5.0.deb

Report

luisfpg

5 years ago

It would be great to add another button "role": show the current window title.
This way, we could have a complete "window decoration" on the panel.
What do you think?
Even better: perhaps the window title could support dragging the active window. That would be perfect, but I don't know if it's feasible.
Together with BorderlessMaximizedWindows=true, we could save an entire decoration / panel on maximized windows...

Report

maroony

5 years ago

Is there a way to drag a maximized window with the mouse without using ALT + Left Mousebutton like it is in Unity?

Report

Moviuro

5 years ago

It is exactly the thing I missed with QtCurve Window decoration disappearing from maximized windows :D
And plus, the svg files are great.

An enhancement could be: choose a pic for the unhovered icon (white & black, for example) and an other one for the hovered button (red & white for the close button), to have them behave like the Oxygen decorations ;)

Thx for the great work !!!

Report

ZomAur

5 years ago

Doesn't build on KDE 4.8 beta2 yet, though since it it's just a beta it's probably no priority. Just thought you'd might like to know. :)

Report

Serafean

5 years ago

Adding to this FYI : TaskManager has aparently seen quite an overhaul during this release period.

/home/martin/proj/kwinbuttonapplet-0.4_improved/applet.h:28:20: erreur: ‘TaskManager::TaskPtr’ has not been declared
/home/martin/proj/kwinbuttonapplet-0.4_improved/applet.h:61:22: erreur: ‘TaskPtr’ has not been declared
/home/martin/proj/kwinbuttonapplet-0.4_improved/applet.h:79:3: erreur: ‘TaskPtr’ in namespace ‘TaskManager’ does not name a type
/home/martin/proj/kwinbuttonapplet-0.4_improved/applet.cpp: In constructor ‘KWinButtonApplet::KWinButtonApplet(QObject*, const QVariantList&)’:
/home/martin/proj/kwinbuttonapplet-0.4_improved/applet.cpp:44:4: erreur: class ‘KWinButtonApplet’ does not have any field named ‘m_activeTask’
/home/martin/proj/kwinbuttonapplet-0.4_improved/applet.cpp: In member function ‘void KWinButtonApplet::setGraphics(const QIcon&, const QString&, bool)’:
/home/martin/proj/kwinbuttonapplet-0.4_improved/applet.cpp:101:29: erreur: ‘m_activeTask’ was not declared in this scope
/home/martin/proj/kwinbuttonapplet-0.4_improved/applet.cpp: At global scope:
/home/martin/proj/kwinbuttonapplet-0.4_improved/applet.cpp:149:51: erreur: variable or field ‘windowChanged’ declared void
/home/martin/proj/kwinbuttonapplet-0.4_improved/applet.cpp:149:38: erreur: ‘TaskPtr’ is not a member of ‘TaskManager’
/home/martin/proj/kwinbuttonapplet-0.4_improved/applet.cpp:149:90: erreur: expected primary-expression before ‘change’

On 4.8 RC1

Report

C

paju

5 years ago

I will try to fix that after kde 4.8 final release.

Regards

Report

C

paju

5 years ago

Sorry, I tried to fix it but i cant, a lot of changes in the libtaskmanager for kde 4.8. Someone can fix it? :S

Report

ava1ar

5 years ago

Compilation issues fixed. Updated source code located here: http://dl.dropbox.com/u/4514366/kwinbuttonapplet-improved-0.5.tar.gz
PKGBUILD for Arch Linux is here: https://aur.archlinux.org/packages.php?ID=56160

Works fine for me (Arch Linux x64 + KDE 4.8 from [testing])

Report

SvenArcher

5 years ago

Thank you!

Works for me: KDE 4.8 on openSUSE 11.4 (x86_64)

Report

C

paju

5 years ago

Thanks for the fix great job :)

Report

GeorgeB

5 years ago

Hi Paju;
Could you add a link to the Arch Linux PKGBUILD here - https://aur.archlinux.org/packages.php?ID=55898 - to the description, ava1ar is going to remove the build that he linked to as he created it without knowing about the other package.

Report

masterdany88

5 years ago

It dosent work for me. I can set only one button of all. Why???

Report

5 years ago

0.6

Fixed bug that cause desktop to crash when close some windows.

Fixed bug that shows buttons on startup when setted show only when maximized


0.5

Adapted to KDE 4.8 (Thanks to Aliaksandr Stelmachonak)

0.4

- Fix bug that applet disappntear after add it to panel
- Kubuntu amd64 deb package added to tar
in the same donwload

0.3

-Bugfix
- Added a folder with oxygen window icons for use with custom icon option.

product-maker grusta Feb 13 2016

product-maker RingOV Apr 01 2015

product-maker msx Jun 30 2013

product-maker seaman123 Feb 07 2013

product-maker bohoomil Sep 14 2012

product-maker Contrast Jul 30 2012

product-maker unikum111 Jul 13 2012

product-maker RAIDENSUB Jun 12 2012

product-maker EternalLight May 13 2012

product-maker nowardev Feb 26 2012

product-maker maroony Feb 11 2012

product-maker Moviuro Feb 05 2012

product-maker Serafean Dec 27 2011

product-maker nikore90 Dec 17 2011

product-maker avlas Dec 14 2011

product-maker s4ncho Nov 28 2011

product-maker hlebarkata Oct 23 2011

product-maker exalm Aug 29 2011

product-maker Pyruzan Aug 15 2011

product-maker quippini Aug 10 2011

product-maker e1nste1n Jul 27 2011

product-maker deabru Jul 27 2011

product-maker natha Jul 27 2011

product-maker trebor Jul 27 2011

product-maker reves121 Jul 26 2011

product-maker robyshot Jul 26 2011

product-maker Saleel Jul 26 2011

product-maker dreamsoul Jul 26 2011

product-maker 6 6

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
0.6
updated Sep 08 2012
added Jul 26 2011
downloads today
0
page views today 0