Friky

Free your ears, free your computer

  • Home
  • Friky 1
  • Friky 2
  • Take part
  • Contact

Friky 1

Friky 1

Friky 1 is the first version of Friky. It allows to choose music or software in pre-defined categories, and to download them to the USB key. Friky 1 has a nice design, supports internationalization and the different categories can easily be customized. It is ready for production, but doesn't allow the user to preview or to select precisely the music tracks, and is limited in the number of categories.

The free software user group Toulibre already successfully used it during various events.

Download

There have been no official release of Friky 1, so one must get it from the Subversion repository, using the following command :

svn co https://friky.svn.sourceforge.net/svnroot/friky/friky/trunk friky

It will download the source code in the friky directory.

Installation

Friky is written in Python, so it requires a Python interpreter to work. It also needs the Python Gtk bindings, and the Python Gnome Canvas bindings. Under Debian GNU/Linux, the required packages to run Friky are: python, python-gtk2 and python-gnome2.

Friky can directly be run from the directory where it has been installed. You simply need to do make install to generate the locales, and benefit from internationalization.

You can run Friky in full-screen mode by doing :

python friky.py -f

Currently, Friky 1 uses a fixed layout of 800 x600  pixels. If your resolution is bigger, then you'll get gray borders around the Friky 1 interface. If you don't want these gray borders, then you must configure your X server to run at 800 x600 , or you must use the xrandr tool to dynamically change the resolution.

Configuration of categories

Of course, to be fully usable, Friky 1 needs to be configured. All the configuration takes place in a categories.txt file. It is by default searched in the directory of the Friky 1 sources, but this can be overriden using the -c option.

This categories.txt must have the following syntax :

"Music, a Jamendo selection\nwww.jamendo.com" = "/home/friky/friky-data/music/"
"A complete office suite\ncompatible with MS Office" = "/home/friky/friky-data/software/Ooo_2.1.0_win32.exe"
"Mozilla Firefox\nWeb browser" = "/home/friky/friky-data/software/Firefox 2.0.0.1 Setup.exe"
"Mozilla Thunderbird\nE-mail client" = "/home/friky/friky-data/software/Thunderbird 1.5.0.9 Setup.exe"

The first part is a string describing the category, that will be visible by the user. As expected by any programmer, \n allows to put the following text on a new line. The second part is the path to either a directory or a file. If it's a directory, then Friky 1, depending on the space left on the USB key, will allow to transfer the full contents, or only some of the files present in that directory. It is designed for a directory full of music tracks, the number of tracks transferred to the key being dependent of the space available on it.

Friky 1 is limited to four categories, because of the buttons size and the layout.

Customization of the layout

The layout of Friky 1 can be customized using skins. To create a skin, you must create a skin_SKINNAME.py file, which defines several variables, and one function. You must also create the various pictures needed for the layout: the background, the logo and the buttons. Take example on the toulibre skin, which is the only complete skin today.