Archive
Swapper ported to Compiz++
Almost one year ago we presented Swap plugin here. Now we renamed it to Swapper and ported to Compiz++ (future Compiz 0.9).
Just to remember that it allows you to swap the geometry of two windows. Basically we changed Switcher plugin to swap active window with another window.
Swapper could be inserted on new Compiz if everybody likes it. Waiting for replies!
Video:
Smart Put news
Massimo Mund, Marco Diego and myself have been working on Smart Put plugin.
Smart Put is a kind of Best Fit algorithm to Compiz Windows. This plugins tries to find the best(largest area) gap for windows.
If it can’t find a good gap, Smart Put can(if option is enabled) :
- Stack the window onto an underlying window.
- OR shrink to fit.
And finally, Smart Put has a undo too 🙂
All these new features were developed by Massimo Mund. Thanks man.
Here’s a video:
Try it out and tell us about any request,input,feature,…
$ git clone git://anongit.compiz-fusion.org/users/edgurgel/smartput
P.S.: I’m working on a Smart Put port to Compiz++. Till there.
Swap
Almost one month ago we presented New plugins. One of them was Swap plugin. Let me explain it better now:
Purpose
We were missing a plugin that could just exchange properties. Sometimes you just need to minimize a window and “unminimize” other. To do it, you would need to perform 2 or more clicks. So, we created Swap! 🙂
Description
It allows you to swap the geometry of two windows. Basically we changed Static Switcher plugin to swap active window with another window.
Here’s a video to show what Swap can do:
Get it here: Code
P.S.: Forró is the genre of the music. Forró is a kind of Northeastern Brazilian music.
Merge
Transitive verb
To cause to combine, unite, or coalesce [1]
Maximumize Plus and Minimumize plugins were shared one month ago by me and Marco Diego (Bacharel Marcola).
October 20th,
Maximumize2 (Maximumize Plus) release:
http://forum.compiz-fusion.org/showthread.php?t=10077
October 23rd,
Minimumize release:
http://forum.compiz-fusion.org/showthread.php?t=10097
Yesterday Kristian Lyngstol (Maximumize maintainer) talked with me to merge our code. Result:
Massive import from maximumizeplus
We’re luck that Compiz-Fusion uses the Bazzar[2] way of developing. After one month we are helping to develop CF and noone opposed our development!
So, if you can help, come on!
P.S.: I really needed to expose my happiness 🙂
[1] http://www.merriam-webster.com/dictionary/merge
[2] http://en.wikipedia.org/wiki/The_Cathedral_and_the_Bazaar
Window Management on Compiz-Fusion – New Plugins
Well, on the last post we (Eduardo Gurgel aka edgurgel & Marco Diego aka Bacharel Marcola) said that new useful plugins were coming soon. This is a brief look on what we’re currently working and a preview on what else is coming.
Compiz has been well taught since its inception as a beautiful, feature-rich (in terms of bling and effects), modern window manager. Although we agree in most of what is said about compiz, its abilities for window placement, window distribution and good use of screen real state were terribly lacking compared to other window managers such as tiled-window-managers (ion, wmii, dwm…). We’ve been working to minimize this inferiority.
For those who can’t wait for a better explanation, here’s a video showing whats is going on:
Plugins used:
New Maximumize
It expands the window on a specified direction as much as possible. It is totally based on Maximumize plugin.
Minimumize
Resize to half size of the window in a particular direction.
Smart Put
Cleverly find the best gap suitable for the current window.
New Put
It’s equal to Put plugin, but you can move only through empty spaces.
Toggle Decoration
Simple and very useful plugin to enable/disable window decoration(on a window, or all of them on the same desktop). You will discover how much space you waste with your window decorator. Toggle Decoration is totally necessary for us because we don’t use maximize and minimize anymore.
Swap
Swap window’s location and size. Simple like that.
Useful when you have a main frame and others smaller windows on same desktop. You can quickly change the scope.
Code still not available. We will release ASAP.
Next steps
We noticed that all we need is love.
Just Kidding.
All we need is an automatic layout windows definition. So you can easily define YOUR own window arrangement. We will work on it on next weeks (maybe months).
P.S.: No mice were harmed during the making of this video.
Smart Put Plugin
It’s not so simple to explain what this plugins does, so, since an image is worth a thousand words, maybe a video is worth a thousand images:
Explanation:
It puts the current window in the empty region of the screen with maximum available free space!
It was born from the perception with the combined use of maximumize/minumumize plugins: sometimes everything we just wanted was to put a window in an available empty region of the screen. So… we did it!
As is becoming a standard in this kind of plugin most of the code is inspired/stolen from the maximumize plugin.The algorithm is actually dumb and, maybe, it’s even not correct, but in our tests it worked pretty damn well.
The plugin works like this: a window has four corners. For each window, on each corner we put a box with height 1 pixel and width of 1 pixel. Using routines from the maximumize plugin we expand these boxes and find witch one has maximum area. If the box with maximum area is bigger than the current window box than we just set a new box for the current window. And believe-me: it works!
Finally: It is another useful plugin from us (Eduardo Gurgel and Marco Diego)! You can wait for more useful plugins coming soon!
(Modified) Maximumize and Minimumize
Marco Diego(Marcola) and Eduardo Gurgel(me) were thinking about how improve window management on Compiz-Fusion. We decided to work on it modifying Maximumize and creating Minimumize.
First we modified Maximumize plugin to maximumize on any direction. Later, we created Minimumize plugin that allows the user to set the window to half the size in a specified direction. Hard to imagine? Watch the videos:
Later I will talk about our (Modified) Put plugin and new ideas to Compiz.