Kontact Touch/Maemo5/ca: Difference between revisions

From KDE Wiki Sandbox
(Created page with "Assegureu-vos de tenir instal·lat el paquet '''rootsh''', per tal d'obtenir drets d'administrador. Utilitzeu l'aplicació '''X Terminal''' o una connexió de shell remota i escr...")
(Created page with "(Tècnica de fons: «apt-get upgrade» no seleccionarà paquets nous per instal·lar que kdepim-mobile podria necessitar. Només fent «install kdepim-mobile» utilitzat per fall...")
Line 40: Line 40:
}}
}}


(Technical background: 'apt-get upgrade' would not install new packages that kdepim-mobile might need. Only doing 'install kdepim-mobile' used to fail with some package sets because the dependencies were not tight enough. So it is better to do both 'install kdepim-mobile' and 'upgrade'.)
(Tècnica de fons: «apt-get upgrade» no seleccionarà paquets nous per instal·lar que kdepim-mobile podria necessitar. Només fent «install kdepim-mobile» utilitzat per fallar amb algun paquet perquè les dependències no han estat prou ajustades. De manera que feu les dues coses «install kdepim-mobile» i «update»).


Note that you have to reboot the N900 or manually restart several services like akonadiserver in order to profit from changes in these underlying services.
Note that you have to reboot the N900 or manually restart several services like akonadiserver in order to profit from changes in these underlying services.

Revision as of 17:03, 14 July 2011

Other languages:

Instal·lar i actualitzar

Maemo 5 (per exemple, Nokia N900)

Instal·lació

El fitxer d'instal lació del repositori s'afegeix als repositoris extras-devel i Kontact-Touch-testing. Simplement feu clic en aquest enllaç al vostre navegador al N900 per afegir els repositoris necessaris.

Atenció
Per utilitzar el repositori de Kontact-Touch haureu d'habilitar el repositori http://wiki.maemo.org/Extras-devel. (L'enllaç anterior ho farà). Igual que tot l'altre programari beta aquest té dependències sobre extras-devel, ens agradaria recordar-vos que no actualitzeu a cegues des de -devel i recomanem deshabilitar extras-devel altra vegada després d'instal·lar o actualitzar Kontact Touch.


Per a verificar els paquets descarregats en aquest repositori d'apt haureu d'importar la clau de dictribució del fitxer Intevation a apt:

gpg --keyserver hkp://keys.gnupg.net --recv-keys EC70B1B8
gpg --export EC70B1B8 | apt-key add -

La forma recomanada d'instal·lar Kontact Touch en N900 és obrir un terminal i executar

root
apt-get update
apt-get install kdepim-mobile

després d'afegiu el repositori testing (assegureu-vos de tenir un bon accés a Internet quan ho feu).

Per aconseguir accés de root al dispositiu veure [1].

Podeu trobar algunes instruccions addicionals sobre la instal·lació des de diferents repositoris de Kontact Touch al N900 en aquest README.

Per a propòsits de prova sempre haureu d'utilitzar la secció TESTING. No utilitzeu les altres seccions. Mirem d'actualitzar la secció de proves una vegada per setmana.

Actualització

Utilitzeu la línia d'ordres per actualitzar. (En aquest moment l'actualització no funciona a través del gestor programes de N900, creiem que té alguns problemes subtils).

Assegureu-vos de tenir instal·lat el paquet rootsh, per tal d'obtenir drets d'administrador. Utilitzeu l'aplicació X Terminal o una connexió de shell remota i escriviu el següent per fer l'actualització

root
apt-get update
apt-get install kdepim-mobile
apt-get upgrade

(Tècnica de fons: «apt-get upgrade» no seleccionarà paquets nous per instal·lar que kdepim-mobile podria necessitar. Només fent «install kdepim-mobile» utilitzat per fallar amb algun paquet perquè les dependències no han estat prou ajustades. De manera que feu les dues coses «install kdepim-mobile» i «update»).

Note that you have to reboot the N900 or manually restart several services like akonadiserver in order to profit from changes in these underlying services. If you are testing, rebooting the phone before your next tests is strongly recommended.

Aturar tots els processos relacionats amb Kontact Touch

We have included a small script that stops and shuts down all processes that might cost you resources even after you quit any KDE mobile application. Just open a console and, to be sure there are no resource eaters running, run

kdepim-shutdown

Alternatively you can restart your phone.

Desinstal·lació

If installation happened only using the hildon application manager, you should be able to uninstall the same way.

When apt-get was used manually, you might have selected some additional packages for which you need apt-get to remove them again. Typically this will need

apt-get remove kdepim-mobile

You could find the following helpful to remove all the KDE related stuff.

apt-get remove libkdecore5 kdelibs5-data kdebase-runtime-data
apt-get autoremove

Check what is installed by using

dpkg -l | grep kde

. Everything that has an "ii" in the beginning of the line still is installed. Another attempt to see what is already installed from a KDE SC 4.x is

dpkg -l | grep -e "^.i.*4:4"

.

(Pay attention that other installations might use the KDE components, like libkok is used by freoffice.)

Netejar la configuració

If you want to start over or remove the configuration of the KDE components completely, you need to deal with three places. First make sure that no kdepim related application is running anymore! Here are a number of commands to move the old files into a new backup directory 'dot.kde-20100728'.

cd
d=dot.kde-20100728
mkdir $d $d/dot.config 
mv .config/akonadi $d/dot.config
mkdir -p $d/dot.local/share
mv .local/share/akonadi $d/dot.local/share
mv .kde $d

Also, some resources (like unsent mails) can be found at ~/.local/share/local-mail, ~/.local/share/contacts, ~/.local/share/notes and ~/.local/share/.local-mail.directory .

There is one step that you might have to do after moving away (or deleting) the .kde directory. Some packages create a preset kdewallet.kwl file for the 'user', which you need to recreate. The script doing so usually can be rightfully called so by the user:

/var/lib/dpkg/info/kdebase-runtime.postinst

El que bàsicament fa:

mkdir -p /home/user/.kde/share/apps/kwallet
cp /usr/share/kde4/apps/kwallet/kdewallet.kwl /home/user/.kde/share/apps/kwallet

Idioma

If you want to test a localized version, issue

root
apt-get update
apt-get install kde-l10n-de
apt-get upgrade

The above snippet will install the German (-de) translation. Remove the "-de" for English, and substitute a language code for any other language.

Get encryption working

There is a touch version of kleopatra, if the package is not installed by the dependencies, install it. You can use it to import your certificates or you just use Gnupg like you would on other GNU systems on the command line.

You might need to check the permissions and the owner on the .gnupg folder, it seems that there are some conditions where this folder belongs to root. For crypto to work as a user, the user will need to be able to write the files in the folder.

Alternatively: Assuming you have all your keys together on your computer, you can find them most likely in ~/.gnupg. Please copy this folder to your N900, by simply connecting it via USB with your computer and copying the folder (Note: you might need to change some settings to be able to see hidden files. In Dolphin this would be Alt + . ). Now disconnect your N900.

If you already have a .gnupg folder on your phone, consider making a backup or deleting it before you do next steps.

Close all Kontact mobile applications. Open X Terminal on the N900. If you copied the .gnupg to the root folder of your MemoryCard on your N900 (Default Name: 'MyDocs') the following commands in X Terminal will do the job for you:

mv MyDocs/.gnupg ~/.gnupg
chmod 700 ~/.gnupg

Now you should be able to read and write signed and encrypted messages.

Consells generals

  • If an application hangs you can press ctl(sym) + backspace (upper left and upper right button) simultaneously to get back to the application overview.
  • To enter special symbols like < > or | you can push the arrow symbol in the upper left corner and then the ctl(sym) to get a symbol table.
  • To make a screenshot, press Ctrl + Shift + P. The screenshot(s) will be saved in /home/user/MyDocs/.images .
  • If you like to start the applications from the command line, you need to use the wrapper scripts, as long as qt-experimental is used, to set the right LD_LIBRARY_PATH, e.g. kmail-mobile.sh, korganiser-mobile.sh, kaddressbook-mobile.sh.