Plasma/Krunner/es: Difference between revisions

From KDE Wiki Sandbox
(Created page with '''Ejemplo'': <code>6 pies en metros</code> mostrará 1.8288 m.')
(Updating to match new version of source page)
 
(90 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<languages />
<languages />


==Control básico==
<div class="mw-translate-fuzzy">
'''KRunner''' es un lanzador construido sobre el escritorio Plasma. Si bien su función básica es lanzar programas desde una especie de línea de comandos, sus funcionalidades pueden ser extendida por los llamados "runners" que ayudan al usuario a lograr hacer una gran cantidad de tareas.
</div>


===Sintaxis de Krunner===
{{Note|1=You may need to install additional '''KRunner''' addons package depending on your distribution to use some of the functionalities listed here. Note that a large number of active addons may slow down the start of KRunner, adjust this by clicking the "settings" icon to the left of the text entry field.}}


El icono '?' situado a la derecha del campo de entrada explica la sintaxis de cada uno de los Runners activos. Baja la lista para ver todas las palabras clave y la sintaxis que los Runners reconocen.
[[Image:KRunner.png||center]]


===Navegar a través de los resultados===
==Características==
Cuando la búsqueda ha dado más de un resultado, aparte de usar el ratón, puedes usar Tab/Tab+Shift y los cursores para avanzar y retroceder en la lista de resultados, y usar Enter para seleccionar un resultado.


==Explorando las funciones de KRunner==
Lamentablemente esta lista está incompleta y solo se presentan algunos ejemplos básicos del uso de '''KRunner'''. Descubre mas haciendo click en el icono '?' en '''KRunner'''.


===Uso como calculadora===  
===Iniciar y terminar aplicaciones===


Puedes usar Krunner como una calculadora. Sólo tienes que pulsar Alt+F2 y escribir la expresión que deseas evaluar como por ejemplo 32*12= o =32*12. Puedes poner el signo = antes o después de la expresión.
(builtin plugin: Applications)


Es posible evaluar expresiones más sofisticadas como: <code>=sqrt(4) + 32 * sin(60)</code>
<div class="mw-translate-fuzzy">
Puedes iniciar programas escribiendo simplemente el nombre de la aplicación que quieras abrir. Necesitas escribir como mínimo tres caractéres para empezar a buscar coincidencias. Las coincidencias serán encontradas en tu menú de aplicaciones.
</div>  


===Uso como lanzador de aplicaciones===
You may type a single character and KRunner will start finding matches. Matches will be found to applications from your easily customizable applications menu (for that, right-click in menu).


Esto probablemente ya lo sabías, Krunner también puede lanzar aplicaciones. Inicia Krunner (Alt+F2) y escribe el nombre de la aplicación que quieras ejecutar.
Ejemplos:
{|class="tablecenter" style="border: 1px solid grey"
| Entrada || Salida
|-
| <code> gwe </code> || ''(starts [[Special:myLanguage/Gwenview|Gwenview]])''
|}


===Ejecución de órdenes BASH===
[[Image:KRunner_app.png||center]]


Además de aplicaciones, Krunner también reconoce todos los binarios de tu sistema. Puedes usar esta habilidad para ejecutar órdenes como cp, mv, etc.
<div class="mw-translate-fuzzy">
Puedes usar '''KRunner''' para matar aplicaciones también. Escribe en el teclado <code>kill</code> seguido del nombre del proceso y '''KRunner''' mostrará varias opciones para cerrar la aplicación (SIGTERM) o matarla forzosamente (SIGKILL). '''KRunner''' buscará nombres de procesos parciales (a partir de tres caracteres) para ejecutar los procesos.
</div>


Para ello, inicia Krunner (Alt+F2) y escribe las órdenes tal y como lo harías en [[Konsole]]:
Nota que el comando <code>kill</code> puede ser cambiado en el runner "Terminar aplicaciones" para avoler la confusión del comando kill el cual acepta las ID de los procesos.


cp ~/Documentos/miArchivo ~/miArchivo  (no es un ejemplo útil pero se entiende la idea)
===Direct installation===


===Abrir páginas web===
(builtin plugin: Software Center)


Introduce una URL - <code>http://www.algunlugar.com</code> - y la página aparecerá en tu navegador.
In case that you look for an application that has not been installed yet, KRunner will suggest a set of applications that match your search. In specific, since KRunner has been integrated with Plasma Software Center, [[Special:myLanguage/Discover | Discover]], will present you a list of applications, enabling you to proceed to direct installation.


===Uso de accesos rápidos para web===  
===Problemas de los comandos===


También puedes usar accesos rápidos para web con KRunner. Ejemplo: <code>gg:algún-término</code> mostrará los resultados de la búsqueda en Google.
(builtin plugin: Command Line)


Para usar un acceso rápido para web, primero debes asegurarte de que existe y está activado. Puedes gestionarlos desde la configuración de [[Konqueror]], desde la de [[Rekonq]], o escribiendo <code>Accesos rápidos para web</code> en KRunner.
Además para los programas listados en el menú de las aplicaciones, '''KRunner''' puede se usado para ejecutar comandos de la consola, incluyendo lanzadores binarios. Observa que cuando introduces un comando, '''KRunner''' no acepta comandos parciales u ofrece un autocompletado de los comandos.


===KRunner como conversor de unidades===
En la ejecución de un comando aparece un icono de llave inglesa que permite elegir opciones adicionales. Puedes optar por ejecutar el comando en una ventana de terminal e iniciarlo allí (eso puede ser útil si el comando produce una salida de texto que usted desea leer), o ejecutar el programa como un usuario diferente (introduciendo el nombre de usuario y la contraseña de este usario).


KRunner puede ayudarte a convertir números de unas unidades a otras de área, longitud, masa, velocidad y volumen en KDE SC 4.2 y moneda, energía, presión y temperatura en KDE SC 4.3. Para cada categoría hay una unidad por defecto.
Ejemplos:
{|class="tablecenter" style="border: 1px solid grey"
| Entrada || Salida
|-
|<code> ls ~/Documentos </code> || ''lista de contenidos de ~/Documentos (preferentemente un terminal)''
|-
|<code> cp ~/Documentos/miArchivo ~/miArchivo </code> || ''copia miArchivo desde ~/Documentos a ~/''
|-
|<code> mplayer miVídeo.mkv </code> || ''reproduce miVídeo.mkv en mplayer''
|}


''Ejemplo'': <code>6 pies en metros</code> mostrará 1.8288 m.
<div class="mw-translate-fuzzy">
De paso, si la línea de comandos es lo tuyo, podrías apreciar la integración con las páginas de ayuda (man). Simplemente escribe un comando precedido por <code>#</code> para abrir la página de ayuda en formato web para una fácil lectura desde tu navegador.
</div>


When you don't give the target unit, conversion is done automatically into default unit of the category.
<div class="mw-translate-fuzzy">
Ejemplos:
{|class="tablecenter" style="border: 1px solid grey"
| Entrada || Salida
|-
|<code> #ls </code> || ''abre el manual para ls en un navegador''
|}
</div>


''Example'': <code>10 acres</code> will output 40469 m².
===Buscar páginas web===


===Controlling Power Management via PowerDevil addon===
(builtin plugins: Bookmarks, Locations, Web Search Keywords)


It is possible to control the various PowerDevil options via Krunner:
<div class="mw-translate-fuzzy">
Usted puede simplemente comenzar escribiendo la URL del sitio web que desea abrir en su navegador predeterminado. Puede incluso escribir el nombre de un marcador de [[Special:myLanguage/Konqueror|Konqueror]] y '''KRunner''' lo abrirá para ti. Si has visitado una página web en el pasado, '''KRunner''' también puede buscar los resultados desde el historial de tu navegador.
</div>


*'''<code>power profile</code>''' brings up available profiles.
Ejemplos:
*'''<code>screen brightness</code>''' turns off or dims screen.
{|class="tablecenter" style="border: 1px solid grey"
*'''<code>screen brightness <percent></code>''' sets the brightness percent of the screen.
| Entrada || Salida
*'''<code>suspend</code>''' brings up suspend options.
|-
*'''<code>power governor</code>''' sets the cpu governor.
|<code> miMarcador </code> || ''abre el marcador en un navegador''
*'''<code>power scheme</code>''' sets the power scheme.
|-
|<code> kde.org </code> || ''abre [http://www.kde.org la página de inicio de KDE] en un navegador''
|-
|<code> http://userbase.kde.org/ </code> || ''abre [http://userbase.kde.org/ Userbase] en un navegador''
|}


<div class="mw-translate-fuzzy">
'''KRunner''' conoce los atajos de teclado de [[Special:myLanguage/Konqueror|Konqueror]], por lo que puedes utilizarlos directamente.
</div>


[[Category:Tutorials]]
Ejemplos:
[[Category:System]]
{|class="tablecenter" style="border: 1px solid grey"
| Entrada || Salida
|-
|<code> gg:KDE </code> || ''busca en Google KDE''
|-
|<code> wp:krunner </code> || ''busca en Wikipedia krunner''
|}
 
'''KRunner''' además ofrece opciones para descargar archivos desde una web utilizando [[Special:myLanguage/KGet|KGet]] escribiendo la URL.
 
Existen runners adicionales para una búsqueda rápida en Wikipedia, Wikitravel y KDE Techbase.
 
===Abrir archivos, carpetas y dispositivos===
 
(builtin plugin: Locations)
 
'''KRunner''' puede además abrir archivos y directorias en tu equipo local. Si desea buscar equipos remotos, puedes hacerlo también. Prestad atención como '''KRunner''' usa kioslaves para ssh (fish:) y samba (smb:).
 
Ejemplos:
{|class="tablecenter" style="border: 1px solid grey"
| Entrada || Salida
|-
|<code> file:/home/ </code> || ''opens file:///home/ (el directorio Home) en [[Special:myLanguage/Dolphin|Dolphin]]''
|-
|<code> file:miVídeo.mkv </code> || ''abre /home/miVídeo.mkv''
|-
|<code> fish:you@server.com </code> || ''abre fish:/you@server.com/ vía fish (archivo sobre protocolo ssh)''
|-
|<code> smb:miCarpetadeWindows </code> || ''abre smb:/miCarpetadeWindows vía Samba''
|}
 
If you don't know the path to a file, simply type the name of the file. If the file is a recently opened document, '''KRunner''' will list it for you. If you have enabled "File Search" provided by [https://community.kde.org/Baloo Baloo] daemon, you can also search your computer for the file by its indexed contents. '''KRunner''' will also open folders you've bookmarked in [[Special:myLanguage/Dolphin|Dolphin]] (in your Places sidebar) if you type their name in. What's more, if you want to access devices on your system (both mounted and unmounted), you can do that, too. '''KRunner''' will even provide device-specific options.
 
Examples:
{|class="tablecenter" style="border: 1px solid grey"
| Input || Output
|-
|<code> Home </code> || ''opens the Home directory in [[Special:myLanguage/Dolphin|Dolphin]]''
|-
|<code> myFlashDrive </code> || ''shows options to mount or open the contents of myFlashDrive''
|}
 
===Multitask with sessions, windows, desktops and activities===
 
Several KDE applications allow you to save and load sessions. '''KRunner''' allows you to launch these sessions. You can either type in the name of the application or directly type in the name of the session. Runners exist for opening sessions saved in [[Special:myLanguage/Kate|Kate]], [[Special:myLanguage/Konqueror|Konqueror]], [[Special:myLanguage/Konsole|Konsole]], etc.
 
'''KRunner''' is a multitasker's dream. If you have too many windows open, just type in the title of the window and switch directly to it. You can similarly type in the name of a virtual desktop and switch directly to it. If you roll with activities, switch activities by typing their name in. '''KRunner''' will find a match as soon as you type three characters in.
 
'''KRunner''' will even switch desktop sessions for you. Type in the keyword <code>switch</code> or <code>new session</code> to start a separate X session. You can switch back and forth between sessions by using the <code>switch</code> keyword.
 
Examples:
{|class="tablecenter" style="border: 1px solid grey"
| Input || Output
|-
|<code> Desktop 1 </code> || ''switches the virtual desktop to Desktop 1''
|-
|<code> myWorkActivity </code> || ''switches the activity to myWorkActivity''
|-
|<code> switch </code> || ''shows options to switch to an existing session or start a new one''
|-
|<code> new session </code> || ''starts a new session''
|}
 
Several plasma widgets can be launched as windowed applications. You can simply type the name of a widget and '''KRunner''' will launch a window for you.
 
===Talk to people===
 
Type in the name of a contact in your [[Special:myLanguage/KAddressBook|KAddressBook]] to get a list of options to contact them. Typing in an email address into '''KRunner''' will open a [[Special:myLanguage/KMail|KMail]] composer window. You can also search through contacts in your [[Special:myLanguage/Kopete|Kopete]] contact list.
 
The addressbook and kopete runners don't seem to be working in SC 4.8.
 
Examples:
{|class="tablecenter" style="border: 1px solid grey"
| Input || Output
|-
|<code> kde@mail.kde.org </code> || ''compose a mail to the KDE mailing list''
|-
|<code> myContact </code> || ''show options to contact myContact''
|}
 
===Listen to some music===
 
You can control any modern audio player such as [[Special:myLanguage/Amarok|Amarok]] using '''KRunner'''. You can use several keywords (all configurable) to <code>play</code>, <code>pause</code> or skip songs. Typing in the name of an artist, album or song that is in [[Special:myLanguage/Amarok|Amarok]]'s library will let you either play immediately, play next (<code>queue</code>) or play at the end (<code>append</code>) of the current playlist. You can use keywords to <code>increase</code> or <code>decrease</code> the volume of the player, or even to <code>mute</code> or <code>quit</code> it.
 
Examples:
{|class="tablecenter" style="border: 1px solid grey"
| Input || Output
|-
|<code> play ''song search'' </code> || ''plays a song immediately''
|-
|<code> pause </code> || ''pauses [[Special:myLanguage/Amarok|Amarok]] or your designated music player''
|-
|<code> next </code> || ''plays next song in playlist''
|}
 
===Be on time===
 
You can get the current date or time by typing in the keywords <code>date</code> or <code>time</code>. Selecting the result will copy it to your clipboard so you can paste it elsewhere. The format of the date and time respects your system settings.
 
Examples:
{|class="tablecenter" style="border: 1px solid grey"
| Input || Output
|-
|<code> date </code> || Today's date is ...
|-
|<code> time </code> || The current time is ...
|}
 
[[Image:KRunner_time.png||center]]
 
You can even get the date and time at another location by specifying the time zone or the city listed in the TZ database.
 
Examples:
{|class="tablecenter" style="border: 1px solid grey"
| Input || Output
|-
|<code> time UTC </code> || The current time in UTC is ...
|-
|<code> time oslo </code> || The current time in Europe/Oslo is ...
|-
|<code> time kolkata </code> || The current time in Asia/Kolkata is ...
|}
 
There is a runner for interfacing with [[Special:myLanguage/KOrganizer|Korganizer]] and fetching events, but it doesn't seem to be working in SC 4.8.
 
===Calculator===
 
'''KRunner''' features a very versatile calculator that can be called by starting or ending a calculation with an <code>=</code> sign. In addition to basic arithmetic, you can call scientific functions like <code>sqrt()</code>, <code>sin()</code>, <code>log()</code>, etc. A list of the supported functions is [http://qalculate.github.io/manual/qalculate-definitions-functions.html here]. Note that trigonometric functions like <code>sin()</code>, <code>cos()</code>, etc expect the angle in radians. '''KRunner''' understands <code>pi</code> in expressions.
 
Examples:
{|class="tablecenter" style="border: 1px solid grey"
| Input || Output
|-
|<code> 32*12 = </code> || 384
|-
|<code> = sqrt(4) + 32*sin(30*pi/180) </code> || 18
|}
 
[[Image:KRunner_calc.png||center]]
 
'''KRunner''' also supports combinatorics functions, like <code>perm()</code> or <code>comb()</code>.
 
Examples:
{|class="tablecenter" style="border: 1px solid grey"
| Input || Output
|-
|<code> = perm(10,5) </code> || 30240
|-
|<code> = comb(10,5) </code> || 252
|}
 
'''KRunner''' can also handle symbolic mathematics and perform integration and differentiation on expressions
 
Examples:
{|class="tablecenter" style="border: 1px solid grey"
| Input || Output
|-
|<code> = integrate( -x/y^2, y ) </code> || -x/y
|-
|<code> diff( log(x) ) = </code> || 1/x
|}
 
You can also use '''KRunner''' to solve polynomial functions to find its roots.
 
Examples:
{|class="tablecenter" style="border: 1px solid grey"
| Input || Output
|-
|<code> = solve( x^2 + 4*x - 21 = 0 ) </code>|| [3, -7]
|}
 
'''KRunner''' intelligently handles units as part of the calculations. Try the following examples to see how.
 
Examples:
{|class="tablecenter" style="border: 1px solid grey"
| Input || Output
|-
|<code> = 2.5 kg * 10 m/s^2 </code> || 25 N
|-
|<code> 220 V / 10 A = </code> || 22 ohms
|}
 
Since '''KRunner''' understands most units, you can use it to convert them very quickly. Note that unit conversions don't require an <code>=</code> sign.
 
Examples:
{|class="tablecenter" style="border: 1px solid grey"
| Input || Output
|-
|<code> 30 F </code> || -1.11111 degrees C (°C), 273.039 K, ...
|-
|<code> 27.8 km </code> || 1.09449e+06 inches (in), 17.2742 miles (mi), ...
|-
|<code> 5 gallons in liters </code> || 18.9271 liters (l)
|}
 
'''KRunner''' knows currencies, too. Conversions between currencies is done by fetching the exchange rate from the [http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html European Central Bank] website.
 
Examples:
{|class="tablecenter" style="border: 1px solid grey"
| Input || Output
|-
|<code> 1 dollar </code> || 0.657002 pounds sterling (GBP), 0.742501 euros (EUR), ...
|-
|<code> 125 euros </code> || 110.606 pounds sterling (GBP), 15,785 yen (JPY), ...
|-
|<code> 30 JPY in RUB </code> || 9.40731 rubles (RUB)
|}
 
===Go places===
 
If you have bookmarked locations in the '''Marble''' (in OpenStreetMap), '''KRunner''' can open the map directly.
 
===Spell checking and special characters===
 
'''KRunner''' can tell you whether your spelling is correct and/or suggest corrections. The default keyword to start the spellchecker is <code>spell</code> and can be configured.
 
Examples:
{|class="tablecenter" style="border: 1px solid grey"
| Input || Output
|-
|<code> spell linux </code> || Suggested words: Linux, lynx, ...
|}
 
'''KRunner''' can also allow you to pick special characters if you can specify the hexadecimal unicode for the character, preceded by a <code>#</code> sign.
 
Examples:
{|class="tablecenter" style="border: 1px solid grey"
| Input || Output
|-
|<code> #03b2 </code> || β
|-
|<code> #00b1 </code> || ±
|}
 
===Manage your computer===
 
You can directly open system settings control modules from '''KRunner'''. Often, if you want to change something, just type associated terms and '''KRunner''' will find the control module with the settings you want.
 
Examples:
{|class="tablecenter" style="border: 1px solid grey"
| Input || Output
|-
|<code> keyboard </code> || ''opens the Keyboard settings control module''
|-
|<code> fonts </code> || ''opens the fonts settings control module''
|-
|<code> password </code> || ''opens the Password & User account control module''
|}
 
'''KRunner''' can also be used to adjust the screen brightness by using the keywords "screen brightness". You can specify a percentage or just turn the brightness halfway or fully down. Additionally, keywords exist to suspend, logout, shutdown or restart your machine.
 
Examples:
{|class="tablecenter" style="border: 1px solid grey"
| Input || Output
|-
|<code> screen brightness 100 </code> || ''increases screen brightness to 100%''
|-
|<code> sleep </code> || ''suspends computer to RAM''
|-
|<code> lock </code> || ''locks the screen''
|-
|<code> restart </code> || ''restarts computer''
|-
|<code> shutdown </code> || ''shutdowns computer''
|}
 
==Usage==
 
===Open KRunner===
 
The easiest way to open '''KRunner''' is to trigger its global shortcut (<keycap>Alt+Space</keycap> or <keycap>Alt+F2</keycap>, by default). In some activities (e.g. Desktop), you can simply click on the desktop and start typing. In others (e.g. Search and Launch), '''KRunner''' may be built into the activity itself.
 
You can also right-click on your plasma workspace and select <menuchoice>Run Command...</menuchoice> or just simply launch it from the commandline by typing <code>krunner</code>.
 
===Use KRunner===
 
Use <keycap>Tab</keycap>/<keycap>Ctrl+j</keycap> or <keycap>Shift+Tab</keycap>/<keycap>Ctrl+k</keycap> to navigate up and down results. Use <keycap>arrow keys</keycap> to move between options (if any) in a result. Use <keycap>Enter</keycap> (or left click) to select a result.
 
===Discover KRunner===
 
Click on the wrench icon to bring up configuration options where you can enable/disable/configure runners that will process your searches. Additional options are available to change the position on the screen where krunner appears. You can even change the style to a task-oriented interface, if you like.
 
Clicking on the '?' icon opens a scrollable list that explains the syntax of all the available runners. This is a good way to discover new functionality!
<span id="Tips, Tricks and FAQs"></span>
==Tips, Tricks and FAQs==
 
You can use '''KRunner''' in a special "single runner" mode. While in this mode, KRunner will only have one active runner to process your searches. This feature isn't supported by all runners, but quite a few already do. Open the global keyboard shortcuts control module directly from '''KRunner''' and choose the "Run Command Interface" to see what's available. Set a global shortcut for the mode you want and launch '''KRunner''' in that mode. You can have as many modes as you can find shortcuts for. {{Smiley}}
 
This [https://sciencekde.wordpress.com/2010/12/07/advanced-calculator-runner/ blog] covers some of the advanced usage of the calculator runner.
 
 
[[Category:Tutoriales/es]]
[[Category:Sistema/es ]]

Latest revision as of 23:05, 23 September 2022

KRunner es un lanzador construido sobre el escritorio Plasma. Si bien su función básica es lanzar programas desde una especie de línea de comandos, sus funcionalidades pueden ser extendida por los llamados "runners" que ayudan al usuario a lograr hacer una gran cantidad de tareas.

Note
You may need to install additional KRunner addons package depending on your distribution to use some of the functionalities listed here. Note that a large number of active addons may slow down the start of KRunner, adjust this by clicking the "settings" icon to the left of the text entry field.


Características

Lamentablemente esta lista está incompleta y solo se presentan algunos ejemplos básicos del uso de KRunner. Descubre mas haciendo click en el icono '?' en KRunner.

Iniciar y terminar aplicaciones

(builtin plugin: Applications)

Puedes iniciar programas escribiendo simplemente el nombre de la aplicación que quieras abrir. Necesitas escribir como mínimo tres caractéres para empezar a buscar coincidencias. Las coincidencias serán encontradas en tu menú de aplicaciones.

You may type a single character and KRunner will start finding matches. Matches will be found to applications from your easily customizable applications menu (for that, right-click in menu).

Ejemplos:

Entrada Salida
gwe (starts Gwenview)

Puedes usar KRunner para matar aplicaciones también. Escribe en el teclado kill seguido del nombre del proceso y KRunner mostrará varias opciones para cerrar la aplicación (SIGTERM) o matarla forzosamente (SIGKILL). KRunner buscará nombres de procesos parciales (a partir de tres caracteres) para ejecutar los procesos.

Nota que el comando kill puede ser cambiado en el runner "Terminar aplicaciones" para avoler la confusión del comando kill el cual acepta las ID de los procesos.

Direct installation

(builtin plugin: Software Center)

In case that you look for an application that has not been installed yet, KRunner will suggest a set of applications that match your search. In specific, since KRunner has been integrated with Plasma Software Center, Discover, will present you a list of applications, enabling you to proceed to direct installation.

Problemas de los comandos

(builtin plugin: Command Line)

Además para los programas listados en el menú de las aplicaciones, KRunner puede se usado para ejecutar comandos de la consola, incluyendo lanzadores binarios. Observa que cuando introduces un comando, KRunner no acepta comandos parciales u ofrece un autocompletado de los comandos.

En la ejecución de un comando aparece un icono de llave inglesa que permite elegir opciones adicionales. Puedes optar por ejecutar el comando en una ventana de terminal e iniciarlo allí (eso puede ser útil si el comando produce una salida de texto que usted desea leer), o ejecutar el programa como un usuario diferente (introduciendo el nombre de usuario y la contraseña de este usario).

Ejemplos:

Entrada Salida
ls ~/Documentos lista de contenidos de ~/Documentos (preferentemente un terminal)
cp ~/Documentos/miArchivo ~/miArchivo copia miArchivo desde ~/Documentos a ~/
mplayer miVídeo.mkv reproduce miVídeo.mkv en mplayer

De paso, si la línea de comandos es lo tuyo, podrías apreciar la integración con las páginas de ayuda (man). Simplemente escribe un comando precedido por # para abrir la página de ayuda en formato web para una fácil lectura desde tu navegador.

Ejemplos:

Entrada Salida
#ls abre el manual para ls en un navegador

Buscar páginas web

(builtin plugins: Bookmarks, Locations, Web Search Keywords)

Usted puede simplemente comenzar escribiendo la URL del sitio web que desea abrir en su navegador predeterminado. Puede incluso escribir el nombre de un marcador de Konqueror y KRunner lo abrirá para ti. Si has visitado una página web en el pasado, KRunner también puede buscar los resultados desde el historial de tu navegador.

Ejemplos:

Entrada Salida
miMarcador abre el marcador en un navegador
kde.org abre la página de inicio de KDE en un navegador
http://userbase.kde.org/ abre Userbase en un navegador

KRunner conoce los atajos de teclado de Konqueror, por lo que puedes utilizarlos directamente.

Ejemplos:

Entrada Salida
gg:KDE busca en Google KDE
wp:krunner busca en Wikipedia krunner

KRunner además ofrece opciones para descargar archivos desde una web utilizando KGet escribiendo la URL.

Existen runners adicionales para una búsqueda rápida en Wikipedia, Wikitravel y KDE Techbase.

Abrir archivos, carpetas y dispositivos

(builtin plugin: Locations)

KRunner puede además abrir archivos y directorias en tu equipo local. Si desea buscar equipos remotos, puedes hacerlo también. Prestad atención como KRunner usa kioslaves para ssh (fish:) y samba (smb:).

Ejemplos:

Entrada Salida
file:/home/ opens file:///home/ (el directorio Home) en Dolphin
file:miVídeo.mkv abre /home/miVídeo.mkv
fish:you@server.com abre fish:/you@server.com/ vía fish (archivo sobre protocolo ssh)
smb:miCarpetadeWindows abre smb:/miCarpetadeWindows vía Samba

If you don't know the path to a file, simply type the name of the file. If the file is a recently opened document, KRunner will list it for you. If you have enabled "File Search" provided by Baloo daemon, you can also search your computer for the file by its indexed contents. KRunner will also open folders you've bookmarked in Dolphin (in your Places sidebar) if you type their name in. What's more, if you want to access devices on your system (both mounted and unmounted), you can do that, too. KRunner will even provide device-specific options.

Examples:

Input Output
Home opens the Home directory in Dolphin
myFlashDrive shows options to mount or open the contents of myFlashDrive

Multitask with sessions, windows, desktops and activities

Several KDE applications allow you to save and load sessions. KRunner allows you to launch these sessions. You can either type in the name of the application or directly type in the name of the session. Runners exist for opening sessions saved in Kate, Konqueror, Konsole, etc.

KRunner is a multitasker's dream. If you have too many windows open, just type in the title of the window and switch directly to it. You can similarly type in the name of a virtual desktop and switch directly to it. If you roll with activities, switch activities by typing their name in. KRunner will find a match as soon as you type three characters in.

KRunner will even switch desktop sessions for you. Type in the keyword switch or new session to start a separate X session. You can switch back and forth between sessions by using the switch keyword.

Examples:

Input Output
Desktop 1 switches the virtual desktop to Desktop 1
myWorkActivity switches the activity to myWorkActivity
switch shows options to switch to an existing session or start a new one
new session starts a new session

Several plasma widgets can be launched as windowed applications. You can simply type the name of a widget and KRunner will launch a window for you.

Talk to people

Type in the name of a contact in your KAddressBook to get a list of options to contact them. Typing in an email address into KRunner will open a KMail composer window. You can also search through contacts in your Kopete contact list.

The addressbook and kopete runners don't seem to be working in SC 4.8.

Examples:

Input Output
kde@mail.kde.org compose a mail to the KDE mailing list
myContact show options to contact myContact

Listen to some music

You can control any modern audio player such as Amarok using KRunner. You can use several keywords (all configurable) to play, pause or skip songs. Typing in the name of an artist, album or song that is in Amarok's library will let you either play immediately, play next (queue) or play at the end (append) of the current playlist. You can use keywords to increase or decrease the volume of the player, or even to mute or quit it.

Examples:

Input Output
play song search plays a song immediately
pause pauses Amarok or your designated music player
next plays next song in playlist

Be on time

You can get the current date or time by typing in the keywords date or time. Selecting the result will copy it to your clipboard so you can paste it elsewhere. The format of the date and time respects your system settings.

Examples:

Input Output
date Today's date is ...
time The current time is ...

You can even get the date and time at another location by specifying the time zone or the city listed in the TZ database.

Examples:

Input Output
time UTC The current time in UTC is ...
time oslo The current time in Europe/Oslo is ...
time kolkata The current time in Asia/Kolkata is ...

There is a runner for interfacing with Korganizer and fetching events, but it doesn't seem to be working in SC 4.8.

Calculator

KRunner features a very versatile calculator that can be called by starting or ending a calculation with an = sign. In addition to basic arithmetic, you can call scientific functions like sqrt(), sin(), log(), etc. A list of the supported functions is here. Note that trigonometric functions like sin(), cos(), etc expect the angle in radians. KRunner understands pi in expressions.

Examples:

Input Output
32*12 = 384
= sqrt(4) + 32*sin(30*pi/180) 18

KRunner also supports combinatorics functions, like perm() or comb().

Examples:

Input Output
= perm(10,5) 30240
= comb(10,5) 252

KRunner can also handle symbolic mathematics and perform integration and differentiation on expressions

Examples:

Input Output
= integrate( -x/y^2, y ) -x/y
diff( log(x) ) = 1/x

You can also use KRunner to solve polynomial functions to find its roots.

Examples:

Input Output
= solve( x^2 + 4*x - 21 = 0 ) [3, -7]

KRunner intelligently handles units as part of the calculations. Try the following examples to see how.

Examples:

Input Output
= 2.5 kg * 10 m/s^2 25 N
220 V / 10 A = 22 ohms

Since KRunner understands most units, you can use it to convert them very quickly. Note that unit conversions don't require an = sign.

Examples:

Input Output
30 F -1.11111 degrees C (°C), 273.039 K, ...
27.8 km 1.09449e+06 inches (in), 17.2742 miles (mi), ...
5 gallons in liters 18.9271 liters (l)

KRunner knows currencies, too. Conversions between currencies is done by fetching the exchange rate from the European Central Bank website.

Examples:

Input Output
1 dollar 0.657002 pounds sterling (GBP), 0.742501 euros (EUR), ...
125 euros 110.606 pounds sterling (GBP), 15,785 yen (JPY), ...
30 JPY in RUB 9.40731 rubles (RUB)

Go places

If you have bookmarked locations in the Marble (in OpenStreetMap), KRunner can open the map directly.

Spell checking and special characters

KRunner can tell you whether your spelling is correct and/or suggest corrections. The default keyword to start the spellchecker is spell and can be configured.

Examples:

Input Output
spell linux Suggested words: Linux, lynx, ...

KRunner can also allow you to pick special characters if you can specify the hexadecimal unicode for the character, preceded by a # sign.

Examples:

Input Output
#03b2 β
#00b1 ±

Manage your computer

You can directly open system settings control modules from KRunner. Often, if you want to change something, just type associated terms and KRunner will find the control module with the settings you want.

Examples:

Input Output
keyboard opens the Keyboard settings control module
fonts opens the fonts settings control module
password opens the Password & User account control module

KRunner can also be used to adjust the screen brightness by using the keywords "screen brightness". You can specify a percentage or just turn the brightness halfway or fully down. Additionally, keywords exist to suspend, logout, shutdown or restart your machine.

Examples:

Input Output
screen brightness 100 increases screen brightness to 100%
sleep suspends computer to RAM
lock locks the screen
restart restarts computer
shutdown shutdowns computer

Usage

Open KRunner

The easiest way to open KRunner is to trigger its global shortcut (Alt+Space or Alt+F2, by default). In some activities (e.g. Desktop), you can simply click on the desktop and start typing. In others (e.g. Search and Launch), KRunner may be built into the activity itself.

You can also right-click on your plasma workspace and select Run Command... or just simply launch it from the commandline by typing krunner.

Use KRunner

Use Tab/Ctrl+j or Shift+Tab/Ctrl+k to navigate up and down results. Use arrow keys to move between options (if any) in a result. Use Enter (or left click) to select a result.

Discover KRunner

Click on the wrench icon to bring up configuration options where you can enable/disable/configure runners that will process your searches. Additional options are available to change the position on the screen where krunner appears. You can even change the style to a task-oriented interface, if you like.

Clicking on the '?' icon opens a scrollable list that explains the syntax of all the available runners. This is a good way to discover new functionality!

Tips, Tricks and FAQs

You can use KRunner in a special "single runner" mode. While in this mode, KRunner will only have one active runner to process your searches. This feature isn't supported by all runners, but quite a few already do. Open the global keyboard shortcuts control module directly from KRunner and choose the "Run Command Interface" to see what's available. Set a global shortcut for the mode you want and launch KRunner in that mode. You can have as many modes as you can find shortcuts for.

This blog covers some of the advanced usage of the calculator runner.