Kontact Touch/Maemo5
Installation og opdatering
Maemo 5 (fx Nokia N900)
Installation
Der er en enkeltkliks-installationsfil i Kontact Mobiles arkiv. Du skal blot klikke på det link i din N900 browser for at tilføje de nødvendige arkiver.
For at verificere de downloadede pakker i dette arkiv skal du importere Intevations fildistributions-nøgle til apt:
gpg --keyserver hkp://keys.gnupg.net --recv-keys EC70B1B8 gpg --export EC70B1B8 | apt-key add -
Den anbefalede måde at installere Kontact Mobile på N900 er at pbne en terminal og køren
root apt-get update apt-get install kdepim-mobile
efter at havee tilføjet test-arkivet (sørg for at have en god og overkommelig adgavg til internettet, når du gør dette).
For at få adgang til din enhed som root, se [1]
Du kan finde yderligere instruktioner om, hvordan man installerer Kontact Mobiles forskellige arkiver på N900 i denne README
Til testformål skal du altid bruge afsnittet TESTING. Brug ikke de andre afsnit. Vi prøver at opdatere testafsnittet en gang om ugen.
Opdatering
Brug kommandolinjen til opdatering. (I øjeblikket virker opdatering ikke via N900's programhåndtering; vi tror, at den har nogle subtile problemer.)
Du skal have installeret pakken rootsh for at kunne få administratorrettigheder. Brug programmet X Terminal eller en "remote shell"-forbindelse og skriv følgende for at gennemføre opdateringen
root apt-get update apt-get install kdepim-mobile apt-get upgrade
(Teknisk baggrund: 'apt-get upgrade' ville ikke installere nye pakker, som kdepim-mobile kunne have brug for. Med nogle pakker har det ikke virket kun at køre 'install kdepim-mobile' på grund af, at afhængighederne ikke var tilstrækkeligt stramme. Det er således bedre at køre både 'install kdepim-mobile' og 'upgrade'.)
Bemærk, at du skal genstarte N900 eller manuelt genstarte adskillige tjenester som akonadiserver for at få gavn af ændringerne i disse underliggende tjenester. Hvis du tester, så anbefales det kraftigt, at du genstarter telefonen før din næste test.
Stop alle processer relateret til Kontact Mobile
Vi har inkluderet et lille script, som stopper og nedlukker alle processer, som kunne bruge ressourcer, selv efter at du lukker alle KDE's mobilprogrammer. Du skal blot åbne en konsol og køre følgende for at sikre dig, at ingen ressourceslugere kører:
kdepim-shutdown
Alternativt kan du genstarte din telefon.
Afinstallation
Hvis hele installationen foregik i programhåndteringen hildon, så skulle du kunne afinstallere på samme måde.
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.)
Clear the configuration
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
It basically does:
mkdir -p /home/user/.kde/share/apps/kwallet cp /usr/share/kde4/apps/kwallet/kdewallet.kwl /home/user/.kde/share/apps/kwallet
Language
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.
General Hints
- 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 .