Plasma/Krunner

From KDE UserBase Wiki
Revision as of 06:19, 13 August 2010 by Claus chr (talk | contribs) (Created page with 'Du kan også udregne mere komplicerede udtryk som: <code>=sqrt(4) + 32 * sin(60)</code>')

Grundlæggende kontrol

Krunners syntaks

Ikonet '?' til højre for indtastningsfeltet forklarer anvendelsen af hver af de aktive "runnere". Rul ned for at se alle de nøgleord, som Krunner forstår og deres syntaks.

Navigation igennem resultater

Hvis søgningen finder mere end et resultat, så kan du vælge det ønskede resultat ved et klik med musen, men du kan også bruge Tab/Tab+Skift samt piletasterne til at flytte op eller ned i resultatlisten, og du kan bruge Enter til at vælge et resultat.

Eksempler på brug

Brug den som en regnemaskine

Du kan bruge Krunner som en effektiv regnemaskine. Den er endda meget let at bruge. Tast blot Alt+F2 og skriv det udtryk, som du vil regne ud, fx 32*12= eller =32*12 (lighedstegnet kan stå enten før eller efter udtrykket).

Du kan også udregne mere komplicerede udtryk som: =sqrt(4) + 32 * sin(60)

Using as an application launcher

This you probably already knew, Krunner can also launch applications. Start Krunner (Alt+F2) and type the name of the application you want to run.

Running BASH commands

In addition to applications Krunner also recognizes all binaries throughout your system. You can use this ability to run bash commands such as cp, mv, etc.

To do so, start Krunner (Alt+F2) and type the commands just as you would in Konsole:

cp ~/Documents/myFile ~/myFile  (not a useful example but you get the idea)

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.