Plasma/Krunner/zh-cn: Difference between revisions

From KDE UserBase Wiki
m (Created page with '===使用网站快捷方式===')
m (Created page with '你也可以用网站快捷方式,例如: <code>gg:some-term</code> 会调出 Google 娘的搜索结果。')
Line 36: Line 36:
===使用网站快捷方式===  
===使用网站快捷方式===  


You can also use web shortcuts with KRunner. Example: <code>gg:some-term</code> will bring up Google search results.
你也可以用网站快捷方式,例如: <code>gg:some-term</code> 会调出 Google 娘的搜索结果。


In order to use a web shortcut, first make sure it exists and is checked. You can manage them through [[Konqueror]]'s configuration, [[Rekonq]]'s, or try writting <code>Web Shortcuts</code> in KRunner.
In order to use a web shortcut, first make sure it exists and is checked. You can manage them through [[Konqueror]]'s configuration, [[Rekonq]]'s, or try writting <code>Web Shortcuts</code> in KRunner.

Revision as of 16:58, 15 August 2010

基本控制

Krunner 语法

输入区域右边的 '?' 图标解释每个激活的Runners插件的语法。往下滚动查看所有Runners能够识别的可用关键词和语法。

在搜索结果中切换

假设你搜寻的项目出现一个以上的结果。你除了用鼠标还可以用 Tab/Tab+Shift 和 箭头 键在结果中上下移动,按 Enter 选定一个结果。

挖掘 KRunner 的功能

把它当程序启动器用

你可以把 Krunner 当计算器用。按 Alt+F2,输入要计算的表达式,如 32*12 = 或 =32*12。等号可以放到表达式之前也可以之后。

还可以计算更复杂的表达式,如: =sqrt(4) + 32 * sin(60)

把它当程序启动器用

这你可能已经知道,Krunner还可以启动应用程序。开启Krunner(Alt+F2)并输入您要运行的应用程序名称。

运行BASH命令

除了应用程序,Krunner也可以辨别整个系统中所有的二进位文件。您可以使用这种能力来运行bash命令如cp、mv等。

请这样作,启动Krunner(Alt+F2)并输入命令就像在konsole

  cp ~/Documents/myFile ~/myFile (这例子没啥实际用处,但你能理解用法就行)

打开网站

输入网址- http://www.caonima.cn -会在浏览器中弹出网页。

使用网站快捷方式

你也可以用网站快捷方式,例如: gg:some-term 会调出 Google 娘的搜索结果。

In order to use a web shortcut, first make sure it exists and is checked. You can manage them through Konqueror's configuration, Rekonq's, or try writting Web Shortcuts in KRunner.

KRunner as a unit converter

KRunner can help you convert numbers from one unit to another for area, length, mass, speed and volume in KDE SC 4.2 and currency, energy, pressure and temperature in KDE SC 4.3. For each category, a default unit is set.

Example: 6 feet in meters will output 1.8288 m.

When you don't give the target unit, conversion is done automatically into default unit of the category.

Example: 10 acres will output 40469 m².

Controlling Power Management via PowerDevil addon

It is possible to control the various PowerDevil options via Krunner:

  • power profile brings up available profiles.
  • screen brightness turns off or dims screen.
  • screen brightness <percent> sets the brightness percent of the screen.
  • suspend brings up suspend options.
  • power governor sets the cpu governor.
  • power scheme sets the power scheme.