Akonadi/zh-cn: Difference between revisions

From KDE UserBase Wiki
No edit summary
(Updating to match new version of source page)
(61 intermediate revisions by 4 users not shown)
Line 3: Line 3:
==介绍==
==介绍==


'''Akonadi''' 框架为应用程序提供中心数据库,统一保存、索引和获取用户的个人信息。包括邮件、联系人、日历、事件、日志、闹钟和笔记等。在 SC 4.4 中, [[Special:myLanguage/KAddressBook|KAddressBook]] 成为首个使用 '''Akonadi''' 框架的程序。在 SC 4.7 中,  
'''Akonadi''' 框架为应用程序提供中心数据库来统一保存、索引和获取用户的个人信息。这包括邮件、联系人、日历、事件、日志、闹钟和笔记等。在 SC 4.4 中, [[Special:myLanguage/KAddressBook|KAddressBook]] 成为首个使用 '''Akonadi''' 框架的程序。在 SC 4.7 中,  
[[Special:myLanguage/KMail|KMail]], [[Special:myLanguage/KOrganizer|KOrganizer]], [[Special:myLanguage/KJots|KJots]]等也开始更新使用 '''Akonadi''' 。此外,一些 '''Plasma''' 部件也使用 '''Akonadi''' 保存和获取日历事件、笔记等。
[[Special:myLanguage/KMail|KMail]], [[Special:myLanguage/KOrganizer|KOrganizer]], [[Special:myLanguage/KJots|KJots]]等也开始更新使用 '''Akonadi''' 。此外,一些 '''等离子''' 部件也使用 '''Akonadi''' 保存和获取日历事件、笔记等。


At the time of writing, the following applications are enabled to use the '''Akonadi''' framework to centrally store and access user data. Follow through to each application's page to learn more.
在当前,下面的应用程序能够使用'''Akonadi'''框架集中存储和访问用户数据。进入它们的页面可以了解更多信息。
<span id="ApplicationTable"></span>
<span id="ApplicationTable"></span>
:{|
:{|
{{AppItem|KMail|View-pim-mail.png|
{{AppItem|KMail|View-pim-mail.png|
KMail}}Mail Client
KMail}}邮件客户端
Uses '''Akonadi''' to store emails
使用 '''Akonadi''' 保存邮件
|-
|-
{{AppItem|KAddressBook|View-pim-contacts.png|
{{AppItem|KAddressBook|View-pim-contacts.png|
KAddressBook}}Contact Manager
KAddressBook}}联系人管理器
Uses '''Akonadi''' to store contact information
使用 '''Akonadi''' 存储联系人信息
|-
|-
{{AppItem|KOrganizer|View-pim-calendar.png|
{{AppItem|KOrganizer|View-pim-calendar.png|
KOrganizer}}Personal Organizer
KOrganizer}}个人管理
Uses '''Akonadi''' to store calendars, events, journals, etc.
使用 '''Akonadi''' 存储日历、事件、日志等。
|-
|-
{{AppItem|KJots|kjots.png|
{{AppItem|KJots|kjots.png|
KJots}}Note Taking Application
KJots}}记事应用程序
Uses '''Akonadi''' to store notes
使用 '''Akonadi''' 存储笔记
|-
{{AppItem|KAlarm|kalarm.png|
KAlarm}}个人闹钟
使用 '''Akonadi''' 以存储闹钟
|}
|}


In addition to this, plasma widgets like the '''Digital Clock''' widget, the '''Notes''' widget also use '''Akonadi''' to store and retrieve events and notes.
此外,Plasma 部件,如'''数字时钟'''部件、'''笔记'''部件也使用 '''Akonadi''' 来存储和检索事件、笔记。


==Controlling the Akonadi server==
==控制 Akonadi 服务器==


The '''Akonadi''' control module in '''System Settings''' provides an easy means to starting, stopping, restarting and querying the status of the '''Akonadi''' server. You may also accomplish this from the commandline using the command '''akonadictl'''.
The '''Akonadi''' control module started by the context menu of the '''Akonadi''' tray icon provides an easy means to starting, stopping, restarting and querying the status of the '''Akonadi''' server. You may also accomplish this from the commandline using the command <code>akonadictl</code>. Using this method, you can get additional useful information on the console.


To start the '''Akonadi''' server,
启动 '''Akonadi''' 服务器:


{{Input|1=akonadictl start}}
{{Input|1=akonadictl start}}


To stop the '''Akonadi''' server,
停止'''Akonadi''' 服务器:


{{Input|1=akonadictl stop}}
{{Input|1=akonadictl stop}}


To restart a running '''Akonadi''' server,
重新启动正在运行的 '''Akonadi''' 服务器,


{{Input|1=akonadictl restart}}
{{Input|1=akonadictl restart}}


To query the status of the '''Akonadi''' server,
查询 '''Akonadi''' 服务器的状态:


{{Input|1=akonadictl status}}
{{Input|1=akonadictl status}}


===Disabling the Akonadi subsystem===
===Disabling the Akonadi subsystem===  
 
The '''Akonadi''' server is started by any '''Akonadi'''-enabled application. If you don't want Akonadi to be started after login, you have to ensure that no '''Akonadi'''-enabled application is launched at login or thereafter. Remember to check '''Plasma''' widgets as well — the '''Digital Clock''' widget in the default panel, for instance uses '''Akonadi''' to (optionally) display calendar events and this is enabled in its settings by default (see the "Display Events" option) .  You must remove any widgets that may start it from your start-up, if you wish Akonadi to start only when you start '''KMail''' or other applications.
 


{{Remember|1=If you don't want to have '''Akonadi''' running on your system, you can not use any of the '''Akonadi'''-enabled applications. Such applications will start '''Akonadi''', whenever they need its services even if you have disabled it. See the list of [[Special:myLanguage/Akonadi#ApplicationTable|Akonadi-enabled applications]]. Also note, that some '''Plasma''' widgets, such as the '''Digital Clock''' uses '''Akonadi'''}}
{{Remember|1=If you don't want to have '''Akonadi''' running on your system at all, you can not use any of the '''Akonadi'''-enabled applications. Such applications will not work when '''Akonadi''' is disabled using the steps below. See the list of [[Special:myLanguage/Akonadi#ApplicationTable|Akonadi-enabled applications]]. Also note, that some '''Plasma''' widgets, such as the '''Digital Clock''' uses '''Akonadi'''.}}


The '''Akonadi''' server is launched automatically at login whenever any '''Akonadi'''-enabled application requests access to it.
只要使用 '''Akonadi''' 的应用程序请求访问服务,'''Akonadi''' 服务器就会自动启动。


To disable the '''Akonadi''' subsystem, first, shut down the running Akonadi server from the control module or the command line:
To disable the '''Akonadi''' subsystem, shut down the running Akonadi server from the control module or the command line:


{{Input|1=akonadictl stop}}
{{Input|1=akonadictl stop}}


Now, edit the file <tt>~/.config/akonadi/akonadiserverrc</tt> and change <tt>StartServer</tt> from true to false:
To ensure that Akonadi is not started, check that no applications require it at login. In particular, open the Plasma clock applet preferences, go to <menuchoice>Calendar</menuchoice> and uncheck <menuchoice>Show events</menuchoice> to prevent Plasma from requesting information from Akonadi and thus allowing it to start.
 
==常见问题==


{{Input|1=StartServer=false}}
=== 我现在的数据在哪? ===


The '''Akonadi''' server should no longer launch automatically on login.
[http://blogs.kde.org/node/4503 Andras Mantia 的博客]有解释数据的存储位置以及 Akonadi 与其交互的方式。


{{Note|1=The '''Akonadi''' server will still be started by any '''Akonadi'''-enabled application. Ensure that no '''Akonadi'''-enabled application is launched at login or thereafter. Remember to check '''Plasma''' widgets as well — the '''Digital Clock''' widget in the default panel, for instance uses '''Akonadi''' to (optionally) display calendar events and this is enabled in its settings by default.  You must remove any widgets that may start it from your start-up, if you wish Akonadi to remain disabled.}}
=== How to upgrade my PostgreSQL database? ===


==Frequently Asked Questions==
After updating your PostgreSQL server to a new major version, sometimes you will have to convert your Akonadi database for use with this new version. Instructions can be found on [[Special:myLanguage/Akonadi/Postgres_update|this page]].


Refer to [[Special:myLanguage/Akonadi_4.4/Troubleshooting|the Troubleshooting page]] for resolving glitches during migration. '''Akonadi's''' [[Special:myLanguage/Glossary#Akonadi|Glossary entry]] has a brief description of its purpose and other useful links. [[Special:myLanguage/Akonadi_and_AddressBook|This]] page explains how '''Akonadi''' and '''KAddressBook''' work together.
=== 迁移问题 ===


If you are experiencing 100% CPU usage by the ''virtuoso-t'' process when using '''Akonadi''' and related applications, try this proposed workaround while it is being investigated: In '''KRunner's''' configuration page, disable the '''Nepomuk''' search plugin and the '''Contact''' plugin. Then, log out and back in. For further information and inputs, report back here or on the Forum or on the IRC channel #kontact.
'''Akonadi'''的[[Special:myLanguage/Glossary#Akonadi|术语表]]简单描述了它的目的,包含了相关链接。[[Special:myLanguage/Akonadi_and_AddressBook|这个]]页面解释了'''Akonadi''''''KAddressBook'''协同工作的方式。


[[Category:系统/zh-cn]]
[[Category:系统/zh-cn]]

Revision as of 13:30, 15 March 2019

介绍

Akonadi 框架为应用程序提供中心数据库来统一保存、索引和获取用户的个人信息。这包括邮件、联系人、日历、事件、日志、闹钟和笔记等。在 SC 4.4 中, KAddressBook 成为首个使用 Akonadi 框架的程序。在 SC 4.7 中, KMail, KOrganizer, KJots等也开始更新使用 Akonadi 。此外,一些 等离子 部件也使用 Akonadi 保存和获取日历事件、笔记等。

在当前,下面的应用程序能够使用Akonadi框架集中存储和访问用户数据。进入它们的页面可以了解更多信息。

KMail

邮件客户端

使用 Akonadi 保存邮件

KAddressBook

联系人管理器

使用 Akonadi 存储联系人信息

KOrganizer

个人管理

使用 Akonadi 存储日历、事件、日志等。

KJots

记事应用程序

使用 Akonadi 存储笔记

KAlarm

个人闹钟

使用 Akonadi 以存储闹钟

此外,Plasma 部件,如数字时钟部件、笔记部件也使用 Akonadi 来存储和检索事件、笔记。

控制 Akonadi 服务器

The Akonadi control module started by the context menu of the Akonadi tray icon provides an easy means to starting, stopping, restarting and querying the status of the Akonadi server. You may also accomplish this from the commandline using the command akonadictl. Using this method, you can get additional useful information on the console.

启动 Akonadi 服务器:

akonadictl start

停止Akonadi 服务器:

akonadictl stop

重新启动正在运行的 Akonadi 服务器,

akonadictl restart

查询 Akonadi 服务器的状态:

akonadictl status

Disabling the Akonadi subsystem

The Akonadi server is started by any Akonadi-enabled application. If you don't want Akonadi to be started after login, you have to ensure that no Akonadi-enabled application is launched at login or thereafter. Remember to check Plasma widgets as well — the Digital Clock widget in the default panel, for instance uses Akonadi to (optionally) display calendar events and this is enabled in its settings by default (see the "Display Events" option) . You must remove any widgets that may start it from your start-up, if you wish Akonadi to start only when you start KMail or other applications.


Remember

If you don't want to have Akonadi running on your system at all, you can not use any of the Akonadi-enabled applications. Such applications will not work when Akonadi is disabled using the steps below. See the list of Akonadi-enabled applications. Also note, that some Plasma widgets, such as the Digital Clock uses Akonadi.


只要使用 Akonadi 的应用程序请求访问服务,Akonadi 服务器就会自动启动。

To disable the Akonadi subsystem, shut down the running Akonadi server from the control module or the command line:

akonadictl stop

To ensure that Akonadi is not started, check that no applications require it at login. In particular, open the Plasma clock applet preferences, go to Calendar and uncheck Show events to prevent Plasma from requesting information from Akonadi and thus allowing it to start.

常见问题

我现在的数据在哪?

Andras Mantia 的博客有解释数据的存储位置以及 Akonadi 与其交互的方式。

How to upgrade my PostgreSQL database?

After updating your PostgreSQL server to a new major version, sometimes you will have to convert your Akonadi database for use with this new version. Instructions can be found on this page.

迁移问题

Akonadi术语表简单描述了它的目的,包含了相关链接。这个页面解释了AkonadiKAddressBook协同工作的方式。