Lancelot/Discover Lancelot/zh-cn: Difference between revisions

From KDE Wiki Sandbox
m (Created page with "预设 Lancelot 可以用<keycap> Alt + F5</keycap> 快捷键打开(可自定义)。")
 
(26 intermediate revisions by the same user not shown)
Line 21: Line 21:
预设 Lancelot 可以用<keycap> Alt + F5</keycap> 快捷键打开(可自定义)。
预设 Lancelot 可以用<keycap> Alt + F5</keycap> 快捷键打开(可自定义)。


== Basic usage ==
== 基本用法 ==


{|style="text-align:center"
{|style="text-align:center"
|[[Image:Lancelot-howto-default-screen.png|thumb|center|240px]]||    ||'''Lancelot, with default settings'''
|[[Image:Lancelot-howto-default-screen.png|thumb|center|240px]]||    ||'''默认的 Lancelot'''
|}
|}


When you click the launcher icon you added to the panel, the '''Lancelot''' menu will open.
点击添加到面板上的启动器图标,Lancelot 菜单便会弹出。


It shows four sections - <menuchoice>Applications</menuchoice>, <menuchoice>Computer</menuchoice>, <menuchoice>Contacts</menuchoice> and <menuchoice>Documents</menuchoice>.
一共分四个区域 - <menuchoice>应用程序</menuchoice><menuchoice>计算机</menuchoice><menuchoice>联系人</menuchoice><menuchoice>文档</menuchoice>


=== Sections ===
=== 区域 ===


==== Applications ====
==== 应用程序 ====


The '''Applications''' section contains a list of your favourite applications in the left column, and application categories in the right one. If the application that you are looking for is not in the list of '''Favourites''', you can browse the categories on the right just by selecting one of them.
「应用程序」区的左栏列出收藏的程序,右栏列出程序分类。如果要打开的程序不在「收藏」中,你可以点进程序分类。


When you dive into the categories, the '''Favourites''' section will disappear to provide more space for the browsing. You can always return to it by using the breadcrumb bar on the top.
点进「程序分类」后,「收藏」区域会消失让出空间便于浏览「程序分类」。用菜单顶部的「面包屑导航栏」可返回「收藏」。


==== Computer ====
==== 计算机 ====


{|style="text-align:center"
{|style="text-align:center"
|[[Image:Lancelot-howto-computer-section.png|thumb|center|240px]]||    ||'''Computer section of Lancelot'''
|[[Image:Lancelot-howto-computer-section.png|thumb|center|240px]]||    ||'''Lancelot 的计算机区'''
|}
|}


The '''Computer''' section contains list of defined places (as seen in [[Special:myLanguage/Dolphin|Dolphin]]), some useful system applications and a list of storage devices.
「计算机」区列出的有设定好的位置([[Special:myLanguage/Dolphin|Dolphin]]中的那个面板),一些有用的系统程序和存储驱动器。


You can eject/mount/unmount removable devices directly from the menu just by right-clicking the desired one and choosing the appropriate option from the context menu.
右击驱动器-选择,你便可直接弹出/挂载/卸载移动设备。


==== Contacts ====
==== 联系人 ====


The '''Contacts''' section shows the list of unread mails from '''Akonadi''' ('''KMail''') and online contacts from '''Kopete'''.
「联系人」区列出 Akonadi(KMail)中的未读邮件和 Kopete 的在线联系人。


==== Documents ====
==== 文档 ====


The '''Documents''' section shows a list of office applications on the left, and a list of currently and recently opened documents on the right.
「文档」区左侧显示办公程序,右侧显示当前、最近打开过的文档列表。


=== Searching capabilities ===
=== 搜索功能 ===


'''Lancelot''' provides all searching features [[Special:myLanguage/KRunner|KRunner]] has. You can use it to find applications, to do calculations, execute BASH commands, as a unit converter etc. For more details, see [[Special:myLanguage/Plasma/Krunner|KRunner Usage]].
'''Lancelot''' 提供了 [[Special:myLanguage/KRunner|KRunner]]所有功能。你可以用它查找程序、计算、运行 Bash 命令、单位换算等。浏览 [[Special:myLanguage/Plasma/Krunner|KRunner 用法]]了解更多。


=== Keyboard navigation ===
=== 键盘导航 ===


If you don't like to use the mouse, every part of '''Lancelot''' can be accessed via keyboard.
如果你不喜欢用鼠标,其实 Lancelot 可以用纯键盘来操作。


{| class="wikitable" border="1"
{| class="wikitable" border="1"
!Action
!动作
!Key
!快捷键
!Description
!说明
|-
|-
|Switch sections one by one
|Switch sections one by one
Line 78: Line 78:
|<keycap>Alt + 1</keycap> for '''Applications''', <keycap>Alt + 2</keycap> for '''Computer'''...
|<keycap>Alt + 1</keycap> for '''Applications''', <keycap>Alt + 2</keycap> for '''Computer'''...
|-
|-
|Activating items
|激活菜单项
|<keycap>Alt + letter</keycap>
|<keycap>Alt + 字母</keycap>
|If an item has a letter underlined in its title, it can be activated by pressing together <keycap>Alt</keycap> and that letter
|如果某个菜单项的标题有字母下划线,便可按下<keycap> Alt</keycap> 和字母激活。
|-
|-
|Moving through list items
|Moving through list items
Line 90: Line 90:
|
|
|-
|-
|Activating the selected item
|激活选定的菜单项
|<keycap>Enter</keycap>
|<keycap>Enter(回车)</keycap>
|If no item is selected, the first search result is executed
|如果没选定任何菜单项,便会执行第一个搜索出来的结果
|-
|-
|Opening context menu for the selected item
|打开当前选定菜单项的右键关联菜单
|<keycap>Alt + Enter</keycap>
|<keycap>Alt + Enter(回车)</keycap>
|
|
|-
|-
|Search box completion
|搜索框的匹配
|<keycap>Tab</keycap> and <keycap>End</keycap>; <keycap>Left</keycap> and <keycap>Right</keycap> keys
|<keycap>Tab</keycap> and <keycap>End</keycap>; <keycap>Left</keycap> and <keycap>Right</keycap> keys
|<keycap>Tab</keycap> and <keycap>End</keycap> keys use the whole suggestion while <keycap>Left</keycap> and <keycap>Right</keycap> move through the suggestion.
|<keycap>Tab</keycap> and <keycap>End</keycap> keys use the whole suggestion while <keycap>Left</keycap> and <keycap>Right</keycap> move through the suggestion.
|}
|}


== More advanced topics ==
== 更高级的东东 ==


=== Advanced UI concepts ===
=== 先进的 UI 概念设计 ===


==== No-click activation ====
==== 悬停触发(No-click activation) ====


In order to reduce [http://en.wikipedia.org/wiki/Repetitive_strain_injury repetitive strain injuries] produced by clicking the mouse buttons, '''Lancelot''' can be operated, if desired, without a single click.
In order to reduce [http://en.wikipedia.org/wiki/Repetitive_strain_injury repetitive strain injuries] produced by clicking the mouse buttons, '''Lancelot''' can be operated, if desired, without a single click.
Line 145: Line 145:
[[Image:Lancelot-howto-sections-small.png|thumb|center|240px]]
[[Image:Lancelot-howto-sections-small.png|thumb|center|240px]]


==== Custom system actions ====
==== 定制系统动作 ====


If you don't use session switching (the 'switch user' feature), you can set different actions to the buttons in the bottom part of the window via the <menuchoice>General</menuchoice> tab of the Lancelot's configuration dialogue.
如果你不用「切换会话」('切换用户'功能),你可以设定窗口底部的按钮为其它不同的动作,用 Lancelot 的设置对话框的<menuchoice>常规</menuchoice>标签页。


==== Custom applications ====
==== Custom applications ====
Line 171: Line 171:
It is useful to have things that you use often placed on the desktop or the panel. For more info, see [[Special:myLanguage/Lancelot/Shelf Applet|using the Shelf applet]]
It is useful to have things that you use often placed on the desktop or the panel. For more info, see [[Special:myLanguage/Lancelot/Shelf Applet|using the Shelf applet]]


[[Category:Tutorials]]
[[Category:教程/zh-cn]]
[[Category:Plasma]]
[[Category:Plasma/zh-cn]]

Latest revision as of 13:22, 22 March 2011

Other languages:

第一部分简单介绍 Lancelot。第二部分主要讲更高级的选项和概念。

常规信息

介绍

Lancelot 是一款为 KDE 软件集(Software Compilation)设计的程序启动菜单。

Lancelot 还是 Kickoff?

相对 Kickoff ,Lancelot 提供了更多的功能和设置选项。浏览 对比其他启动器了解更多。

Kickoff 是 KDE SC 的默认程序启动菜单。要换用 Lancelot,你需要使用到 '添加部件' 面板。浏览Plasma/HOWTO 操作演示了解更多关于添加/删除部件的信息。

Lancelot 还是 KRunner?

Lancelot 可以用来替代KRunner。浏览对比其他启动器了解这样做的好处。

预设 Lancelot 可以用 Alt + F5 快捷键打开(可自定义)。

基本用法

默认的 Lancelot

点击添加到面板上的启动器图标,Lancelot 菜单便会弹出。

一共分四个区域 - 应用程序计算机联系人文档

区域

应用程序

「应用程序」区的左栏列出收藏的程序,右栏列出程序分类。如果要打开的程序不在「收藏」中,你可以点进程序分类。

点进「程序分类」后,「收藏」区域会消失让出空间便于浏览「程序分类」。用菜单顶部的「面包屑导航栏」可返回「收藏」。

计算机

Lancelot 的计算机区

「计算机」区列出的有设定好的位置(Dolphin中的那个面板),一些有用的系统程序和存储驱动器。

右击驱动器-选择,你便可直接弹出/挂载/卸载移动设备。

联系人

「联系人」区列出 Akonadi(KMail)中的未读邮件和 Kopete 的在线联系人。

文档

「文档」区左侧显示办公程序,右侧显示当前、最近打开过的文档列表。

搜索功能

Lancelot 提供了 KRunner所有功能。你可以用它查找程序、计算、运行 Bash 命令、单位换算等。浏览 KRunner 用法了解更多。

键盘导航

如果你不喜欢用鼠标,其实 Lancelot 可以用纯键盘来操作。

动作 快捷键 说明
Switch sections one by one Page Up and Page Down Shows previous and next section respectively
Switch to the specific section Alt + number Alt + 1 for Applications, Alt + 2 for Computer...
激活菜单项 Alt + 字母 如果某个菜单项的标题有字母下划线,便可按下 Alt 和字母激活。
Moving through list items Up and Down keys
Moving between columns Left and Right keys
激活选定的菜单项 Enter(回车) 如果没选定任何菜单项,便会执行第一个搜索出来的结果
打开当前选定菜单项的右键关联菜单 Alt + Enter(回车)
搜索框的匹配 Tab and End; Left and Right keys Tab and End keys use the whole suggestion while Left and Right move through the suggestion.

更高级的东东

先进的 UI 概念设计

悬停触发(No-click activation)

In order to reduce repetitive strain injuries produced by clicking the mouse buttons, Lancelot can be operated, if desired, without a single click.

When you hover an item in the menu, a small icon that looks like a target with a mouse cursor drawn in it will appear. Instead of clicking, you can just hover the icon (or the area near it) and the item will be automatically activated.

Adaptive layout

The layout of the menu differs depending on the position of the applet which invoked it.

Always, the closest to the invoking applet (and the mouse cursor) are the section and system buttons, and the search box is on the opposite side since it has the focus by default and you don't need to click it in order to use it.

The sections are also reordered so that the Applications section is the closest to the mouse cursor.

Adaptive item sizes

The less items a list has, the larger the items and bigger the area for clicking.

When there are more items, Lancelot tries to show them all at once by reducing the size. If there are too many items to be shown all at once, the scrollbars are used as a solution.

Customizing the menu

Show sections inside the applet

If you think that the section buttons are too big and would be better if placed inside the panel itself, just right-click the applet, choose Lancelot Launcher settings and Show categories inside the applet.

Show smaller section buttons

If you think that the section buttons are too big, but you don't want to place them inside the panel, just right-click them and choose Make buttons narrower.

定制系统动作

如果你不用「切换会话」('切换用户'功能),你可以设定窗口底部的按钮为其它不同的动作,用 Lancelot 的设置对话框的常规标签页。

Custom applications

You can choose which applications to show in the Documents and System sections via the Applications tab of the Lancelot configuration dialogue.

Reordering items

You can change the order of favourite applications just by drag and drop. Mind that for it to work, you need to unlock your desktop first.

Cascading submenus

Some users prefer that the applications subcategories open in separate popups like they are used to from the classic menu from KDE 3. Since KDE SC 4.5, a new experimental feature was added to Lancelot which enables this behaviour.

To enable it, check the Open popups for subcategories option in the Applications tab of Lancelot's configuration dialogue.

Parts of the Lancelot menu on the desktop

It is useful to have things that you use often placed on the desktop or the panel. For more info, see using the Shelf applet