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:
Force of Nature

Eddie Vedder said “Force of Nature” is “about the strength of one person in the relationship, when they can withstand some of the faults in another.”
Force of Nature / Pearl Jam (Backspacer)
Understand she’s a force of nature
Contraband hiding deep inside her soul
Exorcising her will to lose control
She lets go
A common man, he don’t stand a chance, no
Wonderland pulling Alice in the hole
No way to save someone who won’t take the rope
And just let’s go
One man stands the edge of the ocean
A beacon on dry land
Eyes upon the horizon
In the dark before the dawn
Hurricane has the trade winds blowing
A gale force shaking windows in the storm
Shipwreck on the rock that he calls home
With one light on
Somewhere there’s a siren singing
A song only he hears
All the strength that you might think
Would disappear,.. Resolving
One man stands alone, Awaiting
For her to come home
Eyes upon the horizon
In dark before the darkness meets the dawn.
Makes me ache,… Makes me shake,…
Is it so wrong to think that love can keep us safe?
Last I saw, he was out there waiting
A silhouette in the black light, full moon glow
In the sand there he stands upon the shore
Forevermore
Somewhere there’s a siren singing
A song only he hears
All the strength that you might think
Would disappear, resolving
One man stands along, Awaiting
For her to come home
Eyes are closed,.. You cannot know
But his heart don’t seem to roam.
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.
Olá
Olá Mundo!
Bateu a vontade de ter um blog e escrever sobre o que estou fazendo ou o que pretendo fazer.
Espero que isso me ajude a documentar minhas atividades.
É isso.
Comments (1)