Plasma/Krunner

From KDE UserBase Wiki
Revision as of 14:32, 17 August 2010 by Qiii2006 (talk | contribs) (Created page with 'cp ~/Documents/myFile ~/myFile (這例子沒啥實際用處,但你能理解用法就行)')

基本控制

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 (這例子沒啥實際用處,但你能理解用法就行)

Launching websites

Enter a URL - http://www.somewhere.com - and the page will pop up in your browser.

Using web shortcuts

You can also use web shortcuts with KRunner. Example: gg:some-term will bring up Google search results.

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.