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
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.
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.
openDesktop.org :
nowardev
4 years ago
https://kde-peace-settings.googlecode.com/files/oxygenbuttons.tar.gz
Report
serrum
5 years ago
Report
nowardev
5 years ago
Report
serrum
5 years ago
Strange?
Report
nowardev
5 years ago
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
Too bad, I like having the buttons in the toolbar.
Report
Contrast
5 years ago
Report
Thaodan
5 years ago
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
Report
nowardev
5 years ago
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
Report
EternalLight
5 years ago
/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
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
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
Report
Moviuro
5 years ago
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
6 years ago
Report
Serafean
6 years ago
/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
paju
6 years ago
Regards
Report
paju
5 years ago
Report
ava1ar
5 years ago
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
Works for me: KDE 4.8 on openSUSE 11.4 (x86_64)
Report
paju
5 years ago
Report
GeorgeB
5 years ago
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
6 years ago
Report