zaterdag 2010.01.30
With 2 desktops, 2 laptops, an EEE and a phone it was always hard to keep my bookmarks, browser history and username/passwords in sync. Not anymore! Weave is an add-on for Firefox that keeps al your Firefox data in sync in a central database. And yes, it works great! Just install the add-on on every FF you have. You can use the central Mozilla database for syncing. It is safe to use; your data is stored encrypted with a key that only you know.
But then still.. wouldn’t it be nice to have it stored on your own servers. Storing passwords (even when they are encrypted) on a remote, not controlled-by-me host is not my first choice. Those guys @ mozilla understood that, and also released the sync server as open source. So you can have everything under your own control.. nice!
I added a script that integrates a Drupal install with the Weave Sync server. We use a Drupal install for our Intranet; every one who works for us has a Drupal account. I wanted to avoid a new user base for Weave, to simplify maintenance and reduce questions from users. Luckily the Weave Sync server is very modular en overall very well done!
Source code is found here: drupal.php
Here is how i did it:
Install the weave sync server (note there are different servers (full, registration, sync). In this case you just need the sync server, accounts can be created and updated in your drupal install)
I followed these instructions:
https://wiki.mozilla.org/Labs/Weave/Sync/1.0/Setup
After successful installation of the sync server, you need to add your drupal user base
1. edit this line in your {hostname}_constants.php
if (!defined('WEAVE_AUTH_ENGINE')) { define('WEAVE_AUTH_ENGINE', 'drupal'); }
2. Add and edit these lines in your {hostname}_constants.php
the mysql user has to have read access to your users table in the drupal install
if (WEAVE_AUTH_ENGINE == 'drupal')
{
#host, db name, username, password and prefix for the drupal auth store
if (!defined('WEAVE_DRUPAL_MYSQL_AUTH_HOST')) { define('WEAVE_DRUPAL_MYSQL_AUTH_HOST', 'localhost'); }
if (!defined('WEAVE_DRUPAL_MYSQL_AUTH_DB')) { define('WEAVE_DRUPAL_MYSQL_AUTH_DB', 'drupal'); }
if (!defined('WEAVE_DRUPAL_MYSQL_AUTH_USER')) { define('WEAVE_DRUPAL_MYSQL_AUTH_USER', 'drupal'); }
if (!defined('WEAVE_DRUPAL_MYSQL_AUTH_PASS')) { define('WEAVE_DRUPAL_MYSQL_AUTH_PASS', 'drupal'); }
if (!defined('WEAVE_DRUPAL_MYSQL_AUTH_PREFIX')) { define('WEAVE_DRUPAL_MYSQL_AUTH_PREFIX', ''); }
}
3. save the drupal.php file in the folder 1.0/weave_user
Now install the firefox add-on and start syncing with your drupal login/pass combo
maandag 2008.09.15
Alweer even geleden vroeg een ondernemer zonder vaste werk- of verblijfplaats mijn advies voor zijn email. Nu is de situatie zo, dat hij met een USB stick de Outlook bestanden kopieert van zijn laptop naar zijn vaste computer thuis of naar een computer bij een klant. Dat gesleep met data werkt, maar is verre van handig. Je moet goed nadenken over hoe je alles synchroon houdt (waar is de laatste versie?). Tijd voor een oplossing. Ik zal in deze post een aantal mogelijkheden nader onderzoeken. Lees het hele verhaal »
dinsdag 2008.06.24
Ik zit al tijden te schelden op de CTRL-ALT-ENTER switch voor tsclient op Ubuntu.
TSClient is een wrapper om oa. rdesktop. Normaal kun je dan switchen vanuit de fullscreen mode naar windowed mode met ctrl-alt-enter, maar ik kreeg dat nooit voor elkaar met Ubuntu, als je compiz (wobbly windows etc) aan hebt staan. Erg irritant, maar er is verlossing mogelijk. Beetje ervaring met ubuntu moet je wel hebben!
- Installeer “Advanced Desktop Effects Settings (ccsm)”
bijvoorbeeld met de zoekopdracht ‘compiz’ in de visual installer - Start ccsm
Systeem > Voorkeuren > Advanced Desktop Effects Settings - In ccsm
Kies Utility > Workarounds - Zet Legacy Fullscreen support (eerste optie) uit!
- Sla de boel op en klaar!
Zo… nu hoef je nooit meer je verbinding te verbreken als je een mailtje binnenkrijgt…
