Archive

Posts Tagged ‘linux’

Encryped Dropbox

11 November, 2010 Leave a comment

Wikipedia about Dropbox:

Dropbox is a Web-based file hosting service operated by Dropbox, Inc. which uses cloud computing to enable users to store and share files and folders with others across the Internet using file synchronization.

Err, what’s the problem?

This is a cloud computing service. There’s no garantee that my data is secure from others. So, it’s necessary to find a way to secure this data, as we can’t take care of unpermitted access.

After many tries to find a solution to turn Dropbox storage more private and secure, I finally stumbled on encfs[1] and gnome-encfs[2].

“EncFS provides an encrypted filesystem in user-space. It runs without any special permissions and uses the FUSE library and Linux kernel module to provide the filesystem interface. You can find links to source and binary releases below. EncFS is open source software, licensed under the GPL.” (EncFS – About[1])

Gnome-EncFS integrates EncFS into GNOME keyring, can mount an EncFS directory at login and is a open source software, licensed under GPLv3.

Combining these two applications it’s possible to save secure data in Dropbox.

How to?

Install encfs package (probably your distro will have it on package list). To use it:

$ mkdir ~/Dropbox/Safe

$ mkdir ~/Safe

$ encfs ~/Dropbox/Safe ~/Safe

Now go on gnome-encfs website[2] and install it. Later, type:

$ gnome-encfs -a ~/Dropbox/Safe ~/Safe

Now enjoy it!

References

[1] –EncFS http://www.arg0.net/encfs

[2] – Gnome-EncFS http://bitbucket.org/obensonne/gnome-encfs

Swapper ported to Compiz++

15 November, 2009 1 comment

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:

Code

Smart Put news

26 December, 2008 2 comments

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:

Video link

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

30 November, 2008 6 comments

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.

Window Management on Compiz-Fusion – New Plugins

7 November, 2008 16 comments

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.

Code
Video

Minimumize
Resize to half size of the window in a particular direction.

Code
Video

Smart Put
Cleverly find the best gap suitable for the current window.

Code
Video

New Put
It’s equal to Put plugin, but you can move only through empty spaces.

Code
Video

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.

Code

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

3 November, 2008 3 comments

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!

Code here

(Modified) Maximumize and Minimumize

29 October, 2008 4 comments

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.

Links:
Maximumize Plus code

Minimumize code