Kontact Touch/Maemo5/uk: Difference between revisions

From KDE UserBase Wiki
(Created page with "Зауважте, що вам слід перезавантажити N900 або вручну перезапустити деякі зі служб, зокрема akonadiserver...")
(Created page with "==== Завершення роботи всіх пов’язаних з Kontact Touch процесів ====")
Line 43: Line 43:
Зауважте, що вам слід перезавантажити N900 або вручну перезапустити деякі зі служб, зокрема akonadiserver, щоб програми могли скористатися змінами у роботі фонових служб. Якщо ви тестуєте комплект програм, наполегливо рекомендуємо вам перезавантажити пристрій.
Зауважте, що вам слід перезавантажити N900 або вручну перезапустити деякі зі служб, зокрема akonadiserver, щоб програми могли скористатися змінами у роботі фонових служб. Якщо ви тестуєте комплект програм, наполегливо рекомендуємо вам перезавантажити пристрій.


==== Stop all Kontact Mobile related processes ====  
==== Завершення роботи всіх пов’язаних з 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
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

Revision as of 18:30, 20 January 2011

Other languages:

Встановлення і оновлення

Maemo 5 (наприклад, Nokia N900)

Встановлення

Нами створено файл встановлення одним натисканням кнопки для сховища Kontact Touch. Просто натисніть посилання у вашій програмі для перегляду інтернет у N900, щоб додати потрібні для встановлення сховища.

Щоб перевірити звантажені пакунки у цьому сховищі APT, вам слід імпортувати ключ розповсюдження файлів Intevation до APT:

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

Рекомендованим способом встановлення Kontact Touch на N900 є відкриття вікна термінала з відданням команд

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

Після цього додайте тестове сховище (не забудьте, що для цього вам потрібне надійне і швидкісне з’єднання з інтернетом).

Настанови щодо отримання адміністративного доступу до системи можна знайти тут.

Додаткові настанови щодо встановлення з інших сховищ Kontact Touch на N900 можна знайти у цьому файлі.

З метою тестування вам слід завжди використовувати розділ TESTING. Не використовуйте інші розділи. Розробники намагаються оновлювати тестовий розділ раз на тиждень.

Оновлення

Для оновлення комплекту скористайтеся командним рядком. (У поточній версії оновлення за допомогою програми для керування пакунками N900 не працюватиме, ймовірно, маємо справу з якимись тонкощами роботи системи.)

Не забудьте, встановити пакунок rootsh, щоб мати змогу отримати права доступу адміністратора. Скористайтеся програмою X Terminal або віддаленим з’єднанням з оболонкою і введіть наведені нижче команди для оновлення

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

Технічні подробиці: «apt-get upgrade» не встановить потрібні для роботи kdepim-mobile пакунки. Якщо буде використано лише команду «install kdepim-mobile», можливі помилки з деякими наборами пакунків, оскільки залежності не є достатньо жорсткими. Отже краще скористатися одразу «install kdepim-mobile» і «upgrade».

Зауважте, що вам слід перезавантажити N900 або вручну перезапустити деякі зі служб, зокрема akonadiserver, щоб програми могли скористатися змінами у роботі фонових служб. Якщо ви тестуєте комплект програм, наполегливо рекомендуємо вам перезавантажити пристрій.

Завершення роботи всіх пов’язаних з 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.

Deinstallation

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.)

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 .