Plasma/Installing Plasmoids/zh-cn: Difference between revisions

From KDE UserBase Wiki
m (Created page with "{{Info/zh-cn|这些图片都是‘可点击的’,点击后会显示完整大小的图片。你需要浏览器的后退按钮来返回}}")
mNo edit summary
(18 intermediate revisions by the same user not shown)
Line 3: Line 3:
== 安装 Plasmoid 部件 ==
== 安装 Plasmoid 部件 ==


<div align="center">'''找到一个新的部件,但不知道怎样安装?帮助就在这!'''</div>
<div align="center">'''找到一个新的部件,但不知道怎样安装?不要怕!看这里'''</div>
[[Image:Plasma_InstallingPlasmoids_DownloadNew.png|thumb|265px|center]]
[[Image:Plasma_InstallingPlasmoids_DownloadNew.png|thumb|265px|center]]


{{Info/zh-cn|这些图片都是‘可点击的’,点击后会显示完整大小的图片。你需要浏览器的后退按钮来返回}}
{{Info/zh-cn|这些图片都是‘可点击的’,点击后会显示完整大小的图片。你需要浏览器的后退按钮来返回}}


=== Installing from KDE-Look.org ===
=== 从KDE-Look.org安装 ===


Select <menuchoice>Add Widgets...</menuchoice> from desktop menu.
从桌面菜单中 选择 <menuchoice>添加部件... </menuchoice>


[[Image:Plasma_InstallingPlasmoids_AddWidgets.png|thumb|400px|center]]
[[Image:Plasma_InstallingPlasmoids_AddWidgets.png|thumb|400px|center]]




Select <menuchoice>Get New Widgets -> Download New Plasma Widgets</menuchoice> from '''Widget Explorer'''.
从部件浏览器(Widget Explorer)从选择 <menuchoice>‘获得新部件’ -> ‘下载新的Plasma部件’ </menuchoice>


[[Image:Plasma_InstallingPlasmoids_DownloadNew.png|thumb|550px|center]]
[[Image:Plasma_InstallingPlasmoids_DownloadNew.png|thumb|550px|center]]




Search for the required widget and press <menuchoice>Install</menuchoice>.
搜索部件并按下 <menuchoice>安装 </menuchoice>


[[Image:Plasma_InstallingPlasmoids_Install.png|thumb|400px|center]]
[[Image:Plasma_InstallingPlasmoids_Install.png|thumb|400px|center]]




Drag the installed widget to the desktop or a panel as usual.
像往常一样拖动安装的部件到桌面/面板上。


[[Image:Plasma_InstallingPlasmoids_AddToDesktop.png|thumb|400px|center]]
[[Image:Plasma_InstallingPlasmoids_AddToDesktop.png|thumb|400px|center]]




=== Installing from local file ===
=== 从本地文件安装部件 ===


Select <menuchoice>Add Widgets...</menuchoice> from desktop menu.
从桌面菜单中 选择<menuchoice> 添加部件...</menuchoice>


[[Image:Plasma_InstallingPlasmoids_AddWidgets.png|thumb|400px|center]]
[[Image:Plasma_InstallingPlasmoids_AddWidgets.png|thumb|400px|center]]




Select <menuchoice>Get New Widgets -> Install Widget From Local File...</menuchoice> from '''Widget Explorer'''.
从部件浏览器(Widget Explorer)从选择 <menuchoice>‘获得新部件’ -> ‘从本地文件安装部件...</menuchoice>


[[Image:Plasma_InstallingPlasmoids_Localfile.png|thumb|550px|center]]
[[Image:Plasma_InstallingPlasmoids_Localfile.png|thumb|550px|center]]




Select the widget type to install.
选择部件类型安装。


[[Image:Plasma_InstallingPlasmoids_SelectType.png|thumb|400px|center]]
[[Image:Plasma_InstallingPlasmoids_SelectType.png|thumb|400px|center]]




Select a local file and press <menuchoice>Finish</menuchoice>.
选择本地文件并按下 <menuchoice>完成 </menuchoice>


[[Image:Plasma_InstallingPlasmoids_Finish.png|thumb|400px|center]]
[[Image:Plasma_InstallingPlasmoids_Finish.png|thumb|400px|center]]




=== Installing from Konsole ===
=== 从Konsole安装 ===


To install a ''Plasma widget'' from '''Konsole''' type:
要从Konsole安装 Plasma 部件,输入:
{{Input|1= plasmapkg -u widget-file-name.plasmoid}}
{{Input|1=plasmapkg -u 部件-文件名.plasmoid}}


== FAQ ==
== FAQ ==


=== I can't install plasmoids in Plasma Workspaces 4.5.1 ===
=== KDE 4.5.1 上没法装啊 ===


This is caused by a bug in kdelibs 4.5.1 ([https://bugs.kde.org/show_bug.cgi?id=251192 bug 251192]) which prevents the installer from extracting plasmoid files. The workaround is to extract the file manually and install it from '''Konsole''' or another terminal.
kdelibs 4.5.1 ([https://bugs.kde.org/show_bug.cgi?id=251192 bug 251192]) 有个 bug 引发的问题,手动解压文件,然后从终端装。


* Download the plasmoid
* 下载
* Open the file (*.plasmoid) with '''Ark''' and extract it to a directory
* '''Ark''' 打开,解压
* Open '''Konsole''' and navigate to the directory from the previous step
* 打开 '''Konsole''',进入上一步的位置
{{Input|1=cd ''/path/to/directory''}}
{{Input|1=cd ''/path/to/directory''}}
* Install the plasmoid with the command (where '''''directory-name''''' is the name of the extracted directory)
* 安装
{{Input|1= plasmapkg -i ''directory-name''}}
{{Input|1= plasmapkg -i ''directory-name''}}


{{Tip|You can navigate to the directory in '''Dolphin''' and press <keycap>F4</keycap> to open an embedded terminal.}}
{{Tip/zh-cn|'''Dolphin''' 打开目录,按 <keycap>F4</keycap> 打开内嵌的终端}}


[[Category:Advanced Users]]
[[Category:高级用户/zh-cn]]

Revision as of 11:33, 15 April 2012

安装 Plasmoid 部件

找到一个新的部件,但不知道怎样安装?不要怕!看这里

资讯

这些图片都是‘可点击的’,点击后会显示完整大小的图片。你需要浏览器的后退按钮来返回


从KDE-Look.org安装

从桌面菜单中 选择 添加部件...


从部件浏览器(Widget Explorer)从选择 ‘获得新部件’ -> ‘下载新的Plasma部件’


搜索部件并按下 安装


像往常一样拖动安装的部件到桌面/面板上。


从本地文件安装部件

从桌面菜单中 选择 添加部件...


从部件浏览器(Widget Explorer)从选择 ‘获得新部件’ -> ‘从本地文件安装部件...’


选择部件类型安装。


选择本地文件并按下 完成


从Konsole安装

要从Konsole安装 Plasma 部件,输入:

plasmapkg -u 部件-文件名.plasmoid

FAQ

KDE 4.5.1 上没法装啊

kdelibs 4.5.1 (bug 251192) 有个 bug 引发的问题,手动解压文件,然后从终端装。

  • 下载
  • Ark 打开,解压
  • 打开 Konsole,进入上一步的位置
cd /path/to/directory
  • 安装
plasmapkg -i directory-name

提示

Dolphin 打开目录,按 F4 打开内嵌的终端