Plasma/zh-cn: Difference between revisions

    From KDE UserBase Wiki
    (Updating to match new version of source page)
    (Updating to match new version of source page)
    Line 52: Line 52:
    === 部件 ===
    === 部件 ===


    [[Image:WidgetsPlasma5.6.png|thumb|150px|left|Plasma Widgets]]
    [[Image:WidgetsPlasma.png|thumb|150px|left|Plasma Widgets]]


    Plasma不但支持Plasma专属的部件(这类部件也叫做Plasmoid),也支持其他来源的部件比如Google Gadgets、Superkaramba 和 Mac OSX 的某些 Dashboard Widgets。额外的部件可以轻易的通过[[Special:myLanguage/Glossary#Get Hot New Stuff|获得百宝箱]]找到并安装。
    Plasma不但支持Plasma专属的部件(这类部件也叫做Plasmoid),也支持其他来源的部件比如Google Gadgets、Superkaramba 和 Mac OSX 的某些 Dashboard Widgets。额外的部件可以轻易的通过[[Special:myLanguage/Glossary#Get Hot New Stuff|获得百宝箱]]找到并安装。

    Revision as of 15:40, 11 June 2019

    一览

    Plasma is the KDE workspace. Actually it is a technology that can adapt to many types of devices. Currently there are two varieties of Plasma: The Plasma Desktop environment which is the focus of the majority of our pages and Plasma Mobile, the new cool environment for pads and smartphones. The Plasma Netbook environment was removed in KDE Plasma 5 and replaced with the Application Dashboard menu.

    典型的 Plasma 桌面看起来像这样:

    默认的 Plasma 桌面有4个关键组件:

    • The panel, sometimes referred to as "the task bar", it provides room for the application launcher, the list of windows (programs), clock and system tray;
    • The desktop, the area where widgets and icons reside;
    • The folder view, a widget that lists the content of a folder on your computer, giving you quick access to basic file management tasks;
    • The Plasma toolbox This is located at the top left of the screen as well as at end of the panel. These are used to access configuration and other options quickly and reliably.

    所有这些东西都是可以完全配置的,之上支持各种工具和内容。

    Plasma 桌面常见问题

    敬请移步至Plasma 常见问题索引页面,里面对当前 Plasma 桌面版本的常见问题做了简要的解答,里面还有指向老版本常见问题的链接。

    使用 Plasma

    你可以像使用其他任何操作系统那样使用 Plasma,访问程序启动器,查看任务栏上当前运行的程序,访问系统托盘上的图标等等。

    Plasma 一个重要的部分是「部件」。部件是桌面上独立单元(individual units),它们包括(不限于)程序菜单,图标,系统托盘,时钟等。部件可以放置在桌面本身,或插入到面板或屏幕保护中,或是部件板上以及其它地方。部件非常之多,除了常规的桌面帮助,还包括微博客(Twitter,identi.ca)、单位换算器、天气预报、文件共享等多的多。面板和桌面自身也是特殊类型的部件,能够容纳其它部件。

    那个怎么跟桌面使用联系起来哪?Plasma 有一些就传统桌面使用的新特性。我们之前已经提到了 Plasma 工具箱(toolboxes):那些就是与Plasma交互,自定义你的 Plasma 桌面的方式。点击它们,屏幕会弹出一个带多种选项的菜单:在那你可以添加部件到面板或桌面上,缩放、添加/删除面板,更改桌面壁纸和其他操作。

    文件夹视图

    如你从前面截图中注意到的,桌面上没有直接放置图标。取而代之的是,它们被放置在一个容器内,该容器叫做"文件夹视图"。默认情况下,「文件夹视图」显示的是「桌面(Desktop)」文件夹的内容,「文件夹视图」允许你拖动文件到其中,打开它们,剪切,复制,粘贴,重命名文件并且也能创建新文件夹/文件。

    你可以拥有多个文件夹视图在桌面上,它们还可以放置到面板上。你可以设定不同文件夹视图显示不同文件夹的内容,本地或是能访问的远程文件夹皆可。每个文件夹视图可以随心所欲的单独移动和缩放。

    文件夹视图也可以设置成默认的全屏桌面背景,这样一来,更像是传统的「图标散落在桌面」布局。

    面板

    面板允许你在屏幕边缘摆放部件。这些部件的集合可以用多种方式配置,包括设定成在其未使用时自动隐藏或对齐到屏幕某个位置。

    默认情况下,只有一个面板在屏幕底部,但你可以添加更多的面板、移动,还可自定义默认面板、删除不想要的面板。所有面板的部件也可以根据喜好调整。

    要获取更多有关设定 Plasma 桌面的面板的信息以及面板的潜力,阅读 Plasma 面板 页面。

    Latte Dock is an alternative panel.

    部件

    Plasma Widgets

    Plasma不但支持Plasma专属的部件(这类部件也叫做Plasmoid),也支持其他来源的部件比如Google Gadgets、Superkaramba 和 Mac OSX 的某些 Dashboard Widgets。额外的部件可以轻易的通过获得百宝箱找到并安装。

    要使用安装好的部件,需要打开部件管理器,方式有这几种

    • 点击屏幕右上角的桌面工具箱,选择 添加部件
    • 面板右侧的面板工具箱,同上;
    • 右击桌面,同上。

    To place a widget on the Desktop simply drag it from the Widget Explorer to the Desktop. To place a widget in the panel first open the Panel Toolbox and from there open the Widget Explorer (click Add Widgets), locate the widget you wish to add and drag it to the desired position in the Panel.

    附注

    锁定的时候你是不能添加部件的。打开桌面工具箱、面板设置或是右击桌面,然后选择 解锁部件


    然后添加完部件后,你可以重复之前的步骤,选择 锁定部件


    停靠在面板中的部件通常都有选项菜单,那些桌面上的部件在'把柄(handle)'上有配置选项,把柄是弹出的灰色区域,悬停鼠标到部件上便会弹出来。点击按住把柄空余部分允许你拖动部件到理想的位置。

    在把柄上有四个工具。顶部那个是缩放。点击并拖动这个工具来放大和缩小该部件。

    第二个工具是旋转工具。同样的,点击并按住它,旋转到理想的角度。


    第三个,把手或手柄样的工具允许你设置当前这个部件的选项。

    最后一个,第四个工具是"扩展视图(expanded view)"工具,只在支持该特性的部件上出现,比如「照片相框」或「Web 浏览器」。点击后,举例来说「照片相框」便会用图片浏览器打开当前图片,同样的操作换成「网页快讯」部件,便会用 Web 浏览器窗口打开网页。

    这里有列出各式 Plasma 部件,同时拥有各自的页面条目,一些我们喜爱的部件在Plasma 部件页面有所讨论。

    活动

    The icons shown in the screenshot have small buttons in the top right and bottom right. The small pause button in the top right prevents the activity from being included when switching through Activities using Super + Tab. It also opens up an "x" to delete the activity. To change the names of the activities, look for the small wrench in the bottom right of the icon.

    Plasma Activity Explorer

    用例

    一个用户喜欢网页连环画(好幼稚...),所以他用「连环画部件」添加了他最爱的网页连环画。这个用户现在有了一个专门用来放他最爱的网页连环画的完整的桌面活动。现在这个用户有了网页连环画很开心,但这用户现在又不得不去工作,因此这个用户创建了一个带「文件夹视图部件」的活动,「文件夹视图部件」被设定到这个用户当前工作的项目文件夹。工作结束后,这用户继续一个业余项目:写爱情小说(写的是H小说吧)。这用户总是在注视他某个重要的人的照片时获得灵感(这就是意淫)。现在用户创建了一个新活动,但不同的是他摆放了显示他重要的那个人照片的「照片框架部件」。用户也有一个显示爱情小说项目文件夹的「文件夹视图部件」。现在不管这个用户在做什么,他都有一个定制好的合适的活动。

    这个博客 看下使用提示。Chanis 博客 也有很多活动的使用录像。

    部件布局和虚拟桌面

    虚拟桌面(Virtual desktops),能够在不同的桌面拥有不同的窗口,可以与活动(Activities)配合使用。你可以设置每个虚拟桌面使用不同的活动。在 Plasma 桌面 4.4,这样做,打开系统设置,进入桌面->多个桌面,勾选每个桌面的活动不同

    In Plasma Desktop 4.3, You configure this by zooming out and choosing configure Plasma. Then select use a different activity on each desktop and zoom in again.

    提示和技巧

    调教 Plasma 娘

    学会如何添加带时钟和新闻的侧边栏
    通过混合多个 Plasma 主题装扮你的 Plasma。
    Learn how to create a look and feel package
    Learn how to create a Unity-like look and feel theme using Plasma’s Desktop Scripting API

    重载 Plasma

    Sometimes you might want to reload Plasma, like right after changing system language so the changes takes effect, or because of a problem with the desktop. To do that, open a terminal(or KRunner) and run these commands:

    kquitapp5 plasmashell
    kstart5 plasmashell

    进一步资料


    返回 KDE介绍