Kontact Touch/Maemo5

    From KDE UserBase Wiki
    Revision as of 14:40, 16 July 2011 by Abella (talk | contribs) (Created page with "Quan apt-get s'usa de forma manual, hi poden haver alguns paquets addicionals per que necessiteu apt-get per eliminar-los de nou. Normalment haureu de")
    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»).

    Tingueu en compte que haureu de reiniciar el N900 o reiniciar manualment diversos serveis com akonadiserver per tal de beneficiar-vos dels canvis en aquests serveis subjacents. Si feu proves, el reiniciar el telèfon abans de la propera prova és molt recomanable.

    Aturar tots els processos relacionats amb Kontact Touch

    Hem inclòs un petit script que atura i tanca tots els processos que poden costar recursos, fins i tot després de sortir de qualsevol aplicació mòbil de KDE. Només haureu d'obrir una consola i, per assegurar-vos que no hi ha menjadors de recursos executant, executeu

    kdepim-shutdown

    Alternativament podeu reiniciar el telèfon.

    Desinstal·lació

    Si la instal·lació ha resultat bé només amb el gestor d'aplicacions hildon, hauríeu de ser capaç de desinstal·lar de la mateixa manera.

    Quan apt-get s'usa de forma manual, hi poden haver alguns paquets addicionals per que necessiteu apt-get per eliminar-los de nou. Normalment haureu de

    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

    Si voleu provar una versió localitzada,

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

    El fragment anterior instal·larà la traducció al català (-ca). Eliminar el «-ca» per l'anglès, i substituïu-la per un codi d'idioma per a qualsevol altre idioma.

    Fer que el xifrat funcioni

    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.