Cimi’s Official Blog

Italians do it Better…

Just a Blog on Gtk+ Theming, Bleeding-Edge, Good Software...

htaccess to redirect on DropBox’s public folder 17 September, 2008

Got tired of the long dropbox url for your public files? It is difficult to remember when you are on IRC and you don’t want to open nautilus and search for that file?
Do this with a htaccess!

You just need to follow these two easy steps:

  1. Create a new folder on your web server, for example “dropbox”. In my case I’ll have http://cimitan.com/dropbox or http://dropbox.cimitan.com
  2. Create this .htaccess file (with the dot!) and place it inside the “dropbox” folder:

    RewriteEngine on
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ http://dl.getdropbox.com/u/012345/$1 [L,QSA]

    Of course remember to change “012345″ with your dropbox user ID!

Result: http://dropbox.cimitan.com/screens/dropbox.gif

You can also play with symlinks in your Public folder! For example: inside my Public folder I’ve a subdirectory called Screenshots, which is symlinked to screens and tmp. They will work too!

Spread the Voice!
  • Digg
  • Slashdot
  • del.icio.us
  • Technorati
  • Google

Posted in Dropbox, English | 6 Comments »

Super-Silent Mediacenter on an USB disk/pendrive! 10 September, 2008

This is more a help post, rather than new code :)

The idea is simple: I want to get rid of all my hard disk noise, dvd drive (etc…) by running the system from an USB pendrive.

It will be fantastic, because your mediacenter applications (elisa, mythtv, mplayer…) will be loaded from the USB device in absolute silence.

The easier solution would be booting from an USB device if your bios supports it: unfortunately, PCs used as mediacenters are generally quite old and “boot from usb” is not supported.

Now comes two different hypothesis:

  1. Install GRUB into the HDD, then run /dev/sdb (USB device). I’m not sure GRUB supports it.
  2. Run initrd and kernel from the HDD, then mount the pendrive as root / partition.

…and maybe a third, if you have some ideas :)

Do you know how to manage/install that correctly, could you help me? :)

Spread the Voice!
  • Digg
  • Slashdot
  • del.icio.us
  • Technorati
  • Google

Posted in English, Multimedia | 19 Comments »

Three new smooth themes for Murrine (Chrome, Cream, Candido) 4 September, 2008

Today is the 3-C day: Chrome Cream Candido! :-)

Since I would to show you the new contrast function, I’ve done 3 new themes that are using it to draw their widgets.
They require the latest Murrine SVN snapshot. Emerald themes are included.

You may not like them, they were created just to show the contrast function, not with the goal to be a killer-theme :)

Also, as they have a low contrast, you need to use a great LCD monitor to enhance their feeling, so in some CRTs they might look very odd (I hope not!)

As always, download is available in the Murrine Themes Gallery.

Spread the Voice!
  • Digg
  • Slashdot
  • del.icio.us
  • Technorati
  • Google

Posted in English, GTK, Murrine, Themes | 33 Comments »

New Contrast function for Murrine (Clearlooks soon) 4 September, 2008

Yesterday I’ve rewritten the contrast function of Murrine, now it works much better, increasing or decreasing the contrast of the whole window, with better results.

Below a comparison/testcase, where I used big values to show you better what this means. It’s not meant to be good-looking, but to show how the engine manages the values.
Of course adjusting contrast to smoother values will be really useful to improve the quality of your themes.


contrast = 0.2


contrast = 1.0


contrast = 1.5

Spread the Voice!
  • Digg
  • Slashdot
  • del.icio.us
  • Technorati
  • Google

Posted in English, GNOME, GTK, Murrine | 6 Comments »

This blog is "Powered by Cimi"

Theme from: Kaushal Sheth | Modified by: Andrea Cimitan