Plasma/Krunner/nl: Difference between revisions

From KDE UserBase Wiki
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 1: Line 1:
<languages />
<languages />


<span class="mw-translate-fuzzy">
'''KRunner''' is een hulpprogramma voor het zoeken naar bestanden en programma's en het starten ervan. Het kan ook gebruikt worden als calculator of voor conversie van eenheden. '''Op de meeste systemen kan KRunner geactiveerd worden door de toetscombinatie Alt+F2 te gebruiken.'''.
'''KRunner''' is een hulpprogramma voor het zoeken naar bestanden en programma's en het starten ervan. Het kan ook gebruikt worden als calculator of voor conversie van eenheden. '''Op de meeste systemen kan KRunner geactiveerd worden door de toetscombinatie Alt+F2 te gebruiken.'''.
</span>


[[Image:KRunner.png||center]]
[[Image:KRunner.png||center]]


==Basic control==
==Basic control==
===Open KRunner===
There are several ways you can open '''KRunner''':
* Press its global shortcut (<keycap>Alt + F2</keycap> by default)
* Right click on your [[Special:mylanguage/Plasma|Plasma ]] workspace and choose <menuchoice>Run Command...</menuchoice>
* Run "krunner" command from a console


===Krunner syntax===  
===Krunner syntax===  


The '?' icon to the right of the entry field explains the syntax of each of the active Runners. Scroll to see all the possible keywords and syntaxes that Runners recognise.
The '?' icon to the right of the entry field explains the syntax of each of the active''Runners''. Scroll to see all the possible keywords and syntaxes that Runners recognise.
<span id="Navigating through results"></span>
<span id="Navigating through results"></span>
===Navigating through results===
===Navigating through results===
When search brought more than one result, you can use Tab/Tab+Shift and arrow keys to move forward and backward in result list and use Enter to select a result in addition to using mouse.
 
When search brought more than one result, you can use <keycap>Tab/Tab + Shift</keycap> and <keycap>arrow keys</keycap> to move forward and backward in result list and use <keycap>Enter</keycap> to select a result in addition to using mouse.


==Exploring KRunner's Functions==  
==Exploring KRunner's Functions==  
Line 18: Line 31:
===Using as a calculator===  
===Using as a calculator===  


You can use Krunner as a calculator. Just press Alt+F2 and type the expression you want to evaluate such as 32*12= or =32*12. You can put the = sign before or after the expression.
You can use '''KRunner''' as a calculator. Just open '''KRunner''' and type the expression you want to evaluate such as 32*12= or =32*12. You can put the = sign before or after the expression.


It is possible to evaluate more sophisticated expressions such as: <code>=sqrt(4) + 32 * sin(60)</code>
It is possible to evaluate more sophisticated expressions such as: <code>=sqrt(4) + 32 * sin(60)</code>
Line 24: Line 37:
===Using as an application launcher===  
===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. For applications that appear in the applications menu, you may type a portion of the application name or keywords from its description. You may also use the names or descriptions of individual control panels to launch them.
This you probably already knew, '''KRunner''' can also launch applications.  Start '''Krunner''' (<keycap>Alt + F2</keycap>) and type the name of the application you want to run. For applications that appear in the applications menu, you may type a portion of the application name or keywords from its description. You may also use the names or descriptions of individual control panels to launch them.
<span id="Running BASH commands"></span>
<span id="Running BASH commands"></span>
===Running BASH commands===  
===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.
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]]:
To do so, start '''KRunner''' (<keycap>Alt + F2</keycap>) and type the commands just as you would in [[Konsole|Konsole]]:


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


===Launching websites===  
===Launching websites===  
Line 40: Line 53:
===Using web shortcuts===  
===Using web shortcuts===  


You can also use web shortcuts with KRunner. Example: <code>gg:some-term</code> will bring up Google search results.
You can also use web shortcuts with '''KRunner'''. Example: <code>gg:some-term</code> 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 <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|Konqueror's]] configuration, [[Rekonq|Rekonq's]], or try writing <code>Web Shortcuts</code> in '''KRunner'''.
<span id="KRunner as a unit converter"></span>
<span id="KRunner as a unit converter"></span>
===KRunner as a unit converter===  
===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.
'''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'': <code>6 feet in meters</code> will output 1.8288 m.
''Example'': <code>6 feet in meters</code> will output <code class="output">1.8288 m</code>.


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


''Example'': <code>10 acres</code> will output 40469 m².
''Example'': <code>10 acres</code> will output <code class="output">40469 m²</code>.
<span id="Controlling Power Management via PowerDevil addon"></span>
<span id="Controlling Power Management via PowerDevil addon"></span>
===Controlling Power Management via PowerDevil addon===  
===Controlling Power Management via PowerDevil addon===  


It is possible to control the various PowerDevil options via Krunner:
It is possible to control the various '''PowerDevil''' options via '''Krunner''':
 
*'''<code>power profile</code>''' brings up available profiles.
*'''<code>screen brightness</code>''' turns off or dims screen.
*'''<code>screen brightness <percent></code>''' sets the brightness percent of the screen.
*'''<code>suspend</code>''' brings up suspend options.
*'''<code>power governor</code>''' sets the cpu governor.
*'''<code>power scheme</code>''' sets the power scheme.


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


===Windows===
===Windows===
Line 72: Line 84:
==Advanced Usage with Single Runner Mode==  
==Advanced Usage with Single Runner Mode==  


You can use krunner in a special mode called "Single Runner Mode", which allows you to restrict your search results to those given by a specific plug-in. For instance, you can restrict search results to the "Windows" runner and browse open windows enjoying the filtering features of the plug-in. Another example would be using the "Devices" runner so that you would be able to browse, mount or unmount devices from within krunner.<br />
You can use '''KRunner''' in a special mode called "Single Runner Mode", which allows you to restrict your search results to those given by a specific plug-in. For instance, you can restrict search results to the "Windows" runner and browse open windows enjoying the filtering features of the plug-in. Another example would be using the "Devices" runner so that you would be able to browse, mount or unmount devices from within '''KRunner'''.<br />
An increasing number of plug-ins allow this mode; it is simple to activate it by assigning the corresponding shortcut via the "Global keyboard shortcuts" systemsettings module.   
An increasing number of plug-ins allow this mode; it is simple to activate it by assigning the corresponding shortcut via the "Global keyboard shortcuts" systemsettings module.   



Revision as of 17:14, 29 December 2010

KRunner is een hulpprogramma voor het zoeken naar bestanden en programma's en het starten ervan. Het kan ook gebruikt worden als calculator of voor conversie van eenheden. Op de meeste systemen kan KRunner geactiveerd worden door de toetscombinatie Alt+F2 te gebruiken..

Basic control

Open KRunner

There are several ways you can open KRunner:

  • Press its global shortcut (Alt + F2 by default)
  • Right click on your Plasma workspace and choose Run Command...
  • Run "krunner" command from a console

Krunner syntax

The '?' icon to the right of the entry field explains the syntax of each of the activeRunners. Scroll to see all the possible keywords and syntaxes that Runners recognise.

Navigating through results

When search brought more than one result, you can use Tab/Tab + Shift and arrow keys to move forward and backward in result list and use Enter to select a result in addition to using mouse.

Exploring KRunner's Functions

Using as a calculator

You can use KRunner as a calculator. Just open KRunner and type the expression you want to evaluate such as 32*12= or =32*12. You can put the = sign before or after the expression.

It is possible to evaluate more sophisticated expressions such as: =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. For applications that appear in the applications menu, you may type a portion of the application name or keywords from its description. You may also use the names or descriptions of individual control panels to launch them.

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 writing 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.

Windows

This plug-in allows you to switch to windows or virtual desktops by entering its name. It matches partial window titles, application names (if it can be extracted from the window title) and virtual desktop names.

Advanced Usage with Single Runner Mode

You can use KRunner in a special mode called "Single Runner Mode", which allows you to restrict your search results to those given by a specific plug-in. For instance, you can restrict search results to the "Windows" runner and browse open windows enjoying the filtering features of the plug-in. Another example would be using the "Devices" runner so that you would be able to browse, mount or unmount devices from within KRunner.
An increasing number of plug-ins allow this mode; it is simple to activate it by assigning the corresponding shortcut via the "Global keyboard shortcuts" systemsettings module.