Frequently Asked Questions

Install

  • How do I clear RRDTool database and graphics?
    Simply delete the .rdd files from domotiga/rrd, they will be re-created (empty of course) automatically.
    Same for graphics, they are in domotiga/rrd/graphs.
  • How can I delete all default devices?
    Goto menu Tools->Database Admin and click on Devices Delete all.

Appearance

  • My buttons and windows look awful, how do I fix this?
    If you are not using Ubuntu and have installed Gambas afterwards, sometimes the buttons and windows look awful.

Here a guide to pimp up your desktop:

Both the Qt configuration utility and the Polymer theme don’t have any KDE dependencies, so they’ll work well for GNOME users.

Install the two packages:

$ sudo apt-get install qt3-qtconfig polymer

Run the configuration utility from the command line:
$ qtconfig-qt3

You can set up Qt however you like using this utility to match your own GTK theme. Here’s what I did to match the Clearlooks theme:

In the Appearance tab, use the Select GUI Style drop down box and select Polymer. Click Tune Palette. In the Central color roles area, select Background and set the colour to R237 G236 B235. Select Highlight and set it to R78 G118 B168. Close the tuning dialog. Open the Fonts tab. Change the font Family to sans-serif and the Size to 10. Save and quit the utility.

Translate DomotiGa

Gambas has a nifty translation module, all strings put between () in the code and all form strings are made translatable.
The default is English, and if other translations for a word or sentence are not defined the English text is played.

If you want to translate a language already known to DomotiGa, download the latest code.
And open DomotiGa project inside the IDE
Then type CTRL-T.

You will see this:

So you can see which/how many strings need translation, you see where they are in the project.
You can set strings not translatable, for example error messages and combobox entries.

The translations are stored in these files.
http://domotiga.nl/projects/domotiga/repository/show/trunk/DomotiGa/.lang

I you translated some text please export them and send the file to me, I will add it to the svn.

If you want to translate to a language not supported yet (it's not under Menu -> GUI -> Language) please let me know and I will add it.

Note to Self:
While writing this how to, I noticed that a lot of translations are gone, German, France, I will look them up in older versions and add them.

If you get this error when you switch program language to Dutch:

WARNING: cannot switch to language 'nl_NL.UTF-8'.
Did you install the corresponding locale?

You have to install the Dutch language pack like so:
$ sudo apt-get install language-pack-nl-base

This also is true for other locales ofcourse.

Related Resources

Comment

    Updated by: rdnzl, Updated 6 months ago
    Access count: 557 since 2011-08-25

    Attached Files

    translation.png (50.1 kB) rdnzl, 11/29/2011 01:40 pm