Cinnamon Window Buttons 1.0
UUID: windowButtons@lippyScore: 12
Download

A Cinnamon applet that adds window buttons to the panel. Based on the Window Buttons Gnome Shell extension by biox.
There are two main modes for the applet. The default behaviour is for the buttons to control the active window. The other 'onlymax' behaviour is for the buttons to control the uppermost maximized window.
There are a few other options. They can all be configured by running dconf-editor and navigating to /org/cinnamon/applets/windowButtons@lippy. Hopefully I'll be able to add a UI for this in a future release.
It's possible to use this with the titlebar disabled for maximized windows. This page gives a good explanation for how to do that.
Requirements
You need to be able to run glib-compile-schemas. In order to do that on Ubuntu / Debian / Linux Mint, use sudo apt-get install libglib2.0-dev.
Installation
- Extract the .zip to a temporary directory.
- Copy the windowButtons@lippy directory to ~/.local/cinnamon/applets or /usr/share/cinnamon/applets.
- As root, copy the org.cinnamon.applets.windowButtons@lippy.gschema.xml file to /usr/share/glib-2.0/schemas.
- As root, run glib-compile-schemas /usr/share/glib-2.0/schemas.
- Open Cinnamon Settings, navigate to Applets and enable the Cinnamon Window Buttons applet.
- Enjoy!
Known Issues
- If you click and hold on a button then move the cursor away before releasing, it will not cancel the button event. In fact, it doesn't matter where on the panel you click on after that. It will still trigger the button event as if you had clicked on the button. I'm not sure how to fix this, and the problem doesn't appear to be exclusive to this applet either.
- The maximize button can be stuck in the highlighted state occasionally. This happens when the button changes to the restore button or vice versa shortly after the cursor has been over it. Mousing over the button will fix the problem if it crops up. I'll try to fix this in the next version.
Changelog
1.0 - 2012/05/10
- Initial release.

You have a nice applet. I run Cinnamon maximized on my laptop with the maximus app so it is nice to be able to access the windows controls. It would be fantastic if there was another applet which allows you to access the menu, similar to Ubuntu's global menu, for people running maximized windows on netbooks. I think it would be better if you can find away to move away from libglib2.0-dev. You can use the Gnome shell gsettings to set/get schema within your applet.
I like this applet. Now just looking for an applet that puts the titlebar in the panel seen here: http://www.webupd8.org/2012/02/window-applets-finally-available-for.html
Ma non sarebbe piu semplice per gli utenti novizi uno script per l'istallazione all interno del pacchetto com'è stato fatto per altre estensioni facilitandogli ancor'piu la cosa???
Does not work für me: Mint 13 Maya
Perfect! 5 stars from me.
It's works perfectly
yeah this does not work for me either. i installed correctly, added the applet but no buttons appear on the panel. help please. im running Mint 13
Awesome applet! When I was on cinnamon 1.4 it did work perfectly for me, but now with cinnamon 1.6 that's not the case anymore. I installed it according to the install notes and it even loads ok (no errors in the glass view). But then I don't have any buttons... Anything I might be doing wrong? Or is it just an incompatibility with cinnamon 1.6? Thanks!
Does not work for Cinnamon 1.6.1, no buttons appear on the panel. Thanks
Not showing at all on LMDE 201204. I'd really like to use this applet...
Do anyone know what's going wrong? The applet does not show at all. I compiled the schemas and everything. This is just like the applet I need the most...
works for cinnamon 1.6 . But i have small problem, when no windows open, if i click close or minimize button, also desktop (file manager-icons, left clisk-) minimize and close. ?ts very usefull applet, in my opinion it comes default with cinnamon
Problems cause from ; "if (!activeWindow || activeWindow.get_title() == "Desktop") {" because i use Turkish Mint, so i change "Desktop"=>"Masaüstü" but still minimize problem go on. i found temporary solution, change; (0->1) 168 :: for ( let i = 1; i < orderRight.length; ++i ) { now minimize icon is hide :)
Hi! It's not working with Cinnamon 1.6.7. Can you please update it? It would be very handy!
it didnt work by default in latest Mint Nadya for me, but i opened dconf and changed setting "pinch" from Cinnamon to Metacity and buttons appeared. I am not good in js, but maybe smb could fix that?
For use in Cinnamon 1.6.7, run dconf-editor and change key : /org/cinnamon/applets/windowButtons@lippy//pinch change to Custom and restart cinnamon. When pinch=Cinnamon or pinch=Metacity call a key non-existent in applet.js : "/desktop/cinnamon/windows/button_layout" or "/apps/metacity/general/button_layout"
Thanks so much for the applet, and for the latest fix for Cinnamon 1.6.7. I haven't been able to change the theme, despite using dconf-editor, however. Any tips?
Hi, I followed the installation instruction, but nothing! I does not work! My linux is fedora 18/cinnamon 1.6.7, with this packeges intalled: glib2-2.34.2-2.fc18.x86_64 glib2-devel-2.34.2-2.fc18.x86_64 Any suggestions?
Unfortunately, not work in LMDE >;<
Great applet, I am using it with Maximus on LMDE 201303 32bit Cinnamon 1.6.7. I followed the installation, but first didn't worked, no buttons on the panel. On Ubuntu based Linux Mint the solution is to install dconf-editor and under org > gnome > shell > extensions > window-buttons modify the 'pinch' value (change it to Metacity or Custom) - more at: http://www.webupd8.org/2011/12/get-unity-like-window-buttons-on-top.html But dconf-editor isn't available in LMDE repos, so I changed the coresponding values in the org.cinnamon.applets.windowButtons@lippy.gschema.xml file using gedit: - on line 25 replaced 'Cinnamon' with 'Custom' - on line 37 (onlymax - control only maximized windows) replaced false with true - on line 43 (hideonnomax) replaced false with true Then follow installation from step 3 (as root copy the new org.cinnamon.applets.windowButtons@lippy.gschema.xml file to /usr/share/glib-2.0/schemas; then as root run in terminal glib-compile-schemas /usr/share/glib-2.0/schemas ). Hope it helps!
maczko: for what it's worth, install dconf-tools in LMDE and it gives you dconf-editor.