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.
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.
- 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.
- 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.
1.0 - 2012/05/10
- Initial release.