Plasma/Krunner/it: Difference between revisions

    From KDE UserBase Wiki
    (Created page with "Nota che la parola chiave <code>termina</code> può essere modificata nell'esecutore "Termina applicazioni" per evitare confusione (in inglese la parola chiave è kill) con il...")
    (Updating to match new version of source page)
    (44 intermediate revisions by 2 users not shown)
    Line 1: Line 1:
    <languages />
    <languages />


    '''KRunner''' è il lanciatore integrato nel desktop Plasma. Sebbene la sua funzione di base sia avviare i programmi da una specie di mini linea di comando, le sue funzioni possono essere estese tramite "esecutori" che aiutano l'utente a compiere un gran numero di attività.
    '''KRunner''' (launched with Alt-F2 or Alt-SPACE) is the launcher built into the Plasma desktop. While its basic function is to launch programs from a sort of mini-command-line, its functionality can be extended by "runners" to assist the user to accomplish a lot of tasks.
     
    {{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 wrench icon.}}


    [[Image:KRunner.png||center]]
    [[Image:KRunner.png||center]]
    Line 11: Line 13:
    ===Avviare e fermare le applicazioni===
    ===Avviare e fermare le applicazioni===


    Puoi avviare i programmi semplicemente digitando il nome dell'applicazione che vuoi lanciare. Devi digitare almeno tre lettere per avviare la ricerca delle corrispondenze. I risultati verranno ricercati tra le applicazioni presenti nel menu.
    You can launch programs by simply typing the name of the application you want to launch - or even simpler: press the down-arrow key for list of ''most recently used'' programs you typed in beforehand.  
     
    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).


    Esempi:
    Esempi:
    Line 20: Line 24:
    |}
    |}


    Puoi utilizzare '''KRunner''' anche per terminare le applicazioni. Digita la parola chiave <code>termina</code> seguita dal nome di un processo e '''KRunner''' fornirà le opzioni per chiudere l'applicazione (SIGTERM) o terminarla forzatamente (SIGKILL). '''KRunner''' mostrerà le corrispondenze tra il nome parziale del processo (almeno tre lettere) e i processi in esecuzione.
    [[Image:KRunner_app.png||center]]
     
    You can use '''KRunner''' to kill applications, too. Type in the keyword <code>kill</code> followed by a process name and '''KRunner''' will provide options to close the application (SIGTERM) or forcibly quit it (SIGKILL). '''KRunner''' will match partial process names to running processes.


    Nota che la parola chiave <code>termina</code> può essere modificata nell'esecutore "Termina applicazioni" per evitare confusione (in inglese la parola chiave è kill) con il comando kill della shell che accetta gli ID dei processi.
    Nota che la parola chiave <code>termina</code> può essere modificata nell'esecutore "Termina applicazioni" per evitare confusione (in inglese la parola chiave è kill) con il comando kill della shell che accetta gli ID dei processi.


    ===Issue (shell) commands===
    ===Direct installation===


    In addition to applications listed in the applications menu, '''KRunner''' can also be used to run shell commands, including launching binaries. Note that when entering shell commands, '''KRunner''' will not accept partial commands or offer command auto completion.
    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.


    Running a command like this brings up a wrench icon which offers additional options. You can choose to spawn a terminal and run the command there (this can be useful if your command produces text output that you want to read), or choose to run the program as a different user (by providing the username and password of that user).
    ===Eseguire comandi (della shell)===


    Examples:
    Oltre alle applicazioni elencate nel menu delle applicazioni, '''KRunner''' può anche essere utilizzato per eseguire comandi della shell, compreso l'avvio di eseguibili binari. Nota che durante l'inserimento di comandi della shell '''KRunner''' non accetterà comandi parziali e non offrirà la funzione di completamento automatico.
     
    L'esecuzione di un comando di questo tipo comporta la visualizzazione di un'icona di chiave inglese che offre opzioni aggiuntive. Puoi scegliere di aprire un terminale da cui eseguire il comando (può essere utile se il comando produce un risultato di testo che vuoi leggere) o scegliere di eseguire il programma con i permessi di un altro utente (fornendo il nome dell'utente e la password).
     
    Esempi:
    {|class="tablecenter" style="border: 1px solid grey"
    {|class="tablecenter" style="border: 1px solid grey"
    | Input || Output
    | Comando || Risultato
    |-
    |-
    |<code> ls ~/Documents </code> || ''lists contents of ~/Documents (preferably in a terminal)''
    |<code> ls ~/Documenti </code> || ''elenca il contenuto di ~/Documenti (preferibilmente in un terminale)''
    |-
    |-
    |<code> cp ~/Documents/myFile ~/myFile </code> || ''copies myFile from ~/Documents to ~/''
    |<code> cp ~/Documenti/mioFile ~/mioFile </code> || ''copia mioFile da ~/Documenti a ~/''
    |-
    |-
    |<code> mplayer myMovie.mkv </code> || ''plays myMovie.mkv in mplayer''
    |<code> mplayer mioFilm.mkv </code> || ''riproduce mioFilm.mkv in mplayer''
    |}
    |}


    Incidentally, if the command line is your thing, you may appreciate the built in integration to man pages. Simply type a command name preceded by a <code>#</code> to open the man page formatted for easy readability in your browser.
    Incidentally, if the command line is your thing, you may appreciate the built in integration to man pages. Simply type a command name preceded by a <code>#</code> or <code>man:/</code> to open the man page formatted for easy readability in your browser.


    Examples:
    Examples:
    Line 48: Line 58:
    |-
    |-
    |<code> #ls </code> || ''opens the manual for ls in a browser''
    |<code> #ls </code> || ''opens the manual for ls in a browser''
    |-
    |<code> man:/grep </code> || ''opens the manual for grep in a browser''
    |}
    |}


    ===Browse websites===
    === Navigare tra i siti web ===


    You can simply start typing the URL of a website to open it in your default browser. You may even type in the name of a bookmark from [[Special:myLanguage/Konqueror|Konqueror]] and '''KRunner''' will open it for you. If you have visited the website in the past, '''KRunner''' can fetch you results from your browser's history, too.
    You can simply start typing the URL of a website to open it in your default browser. You may even type in the name of a browser bookmark and '''KRunner''' will open it for you. If you have visited the website in the past, '''KRunner''' can fetch you results from your browser's history, too.


    Examples:
    Esempi:
    {|class="tablecenter" style="border: 1px solid grey"
    {|class="tablecenter" style="border: 1px solid grey"
    | Input || Output
    | Comando || Risultato
    |-
    |-
    |<code> myBookmark </code> || ''opens the bookmark in a browser''
    |<code> mioSegnalibro </code> || ''apre il segnalibro in un browser''
    |-
    |-
    |<code> kde.org </code> || ''opens the [http://www.kde.org KDE homepage] in a browser''
    |<code> kde.org </code> || ''apre il [http://www.kde.org sito di KDE] in un browser''
    |-
    |-
    |<code> http://userbase.kde.org/ </code> || ''opens [http://userbase.kde.org/ Userbase] in a browser''
    |<code> http://userbase.kde.org/ </code> || ''apre [http://userbase.kde.org/ Userbase] in un browser''
    |}
    |}


    '''KRunner''' already knows your web shortcuts in [[Special:myLanguage/Konqueror|Konqueror]], so you can directly start using them.
    '''KRunner''' already knows your Web Shortcuts, found in Plasma System Settings, so you can directly start using them.


    Examples:
    Esempi:
    {|class="tablecenter" style="border: 1px solid grey"
    {|class="tablecenter" style="border: 1px solid grey"
    | Input || Output
    | Comando || Risultato
    |-
    |-
    |<code> gg:KDE </code> || ''searches Google for KDE''
    |<code> gg:KDE </code> || ''cerca KDE  in Google''
    |-
    |-
    |<code> wp:krunner </code> || ''searches Wikipedia for krunner''
    |<code> wp:krunner </code> || ''cerca krunner in Wikipedia''
    |}
    |}


    '''KRunner''' also provides options to download files from the web using [[Special:myLanguage/KGet|KGet]] by providing their URL.
    '''KRunner''' fornisce anche opzioni per scaricare i file dal web utilizzando [[Special:myLanguage/KGet|KGet]] partendo dai rispettivi URL.


    Additional runners exist for fast searching on Wikipedia, Wikitravel and KDE Techbase.
    Esistono ulteriori esecutori per effettuare ricerche veloci in Wikipedia, Wikitravel e KDE Techbase.


    ===Open files, folders and devices===
    === Aprire file, cartelle e dispositivi ===


    '''KRunner''' can also open files and directories on your local machine for you. If you want to browse remote machines, you can do that, too. Notice how '''KRunner''' uses kioslaves for ssh (fish:) and samba (smb:).
    '''KRunner''' può anche aprire i file e le cartelle del tuo computer. Se vuoi, puoi anche sfogliare le cartelle di computer remoti. Nota come '''KRunner''' utilizza i kioslave per ssh (fish:) e samba (smb:).


    Examples:
    Esempi:
    {|class="tablecenter" style="border: 1px solid grey"
    {|class="tablecenter" style="border: 1px solid grey"
    | Input || Output
    | Comando || Risultato
    |-
    |-
    |<code> file:/home/ </code> || ''opens file:///home/ (the Home directory) in [[Special:myLanguage/Dolphin|Dolphin]]''
    |<code> file:/home/ </code> || ''apre file:///home/ (la cartella Home) in [[Special:myLanguage/Dolphin|Dolphin]]''
    |-
    |-
    |<code> file:myMovie.mkv </code> || ''opens /home/myMovie.mkv''
    |<code> file:mioFilm.mkv </code> || ''apre /home/mioFilm.mkv''
    |-
    |-
    |<code> fish:you@server.com </code> || ''opens fish:/you@server.com/ via fish (file over ssh) protocol''
    |<code> fish:tuo@server.com </code> || ''apre fish:/tuo@server.com/ tramite il protocollo fish (file over ssh)''
    |-
    |-
    |<code> smb:myWindowsBox </code> || ''opens smb:/myWindowsBox via Samba''
    |<code> smb:mioPCWindows </code> || ''apre smb:/mioPCWindows tramite 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 the [[Special:myLanguage/Nepomuk|Nepomuk]] subsystem installed, 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.
    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:
    Examples:
    Line 108: Line 120:
    |}
    |}


    ===Multitask with sessions, windows, desktops and activities===
    === Gestire più sessioni, finestre, desktop e attività ===


    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.
    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.
    Line 125: Line 137:
    |-
    |-
    |<code> switch </code> || ''shows options to switch to an existing session or start a new one''
    |<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.
    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===
    === Comunicare con altre persone ===


    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.
    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.
    Line 144: Line 158:
    |}
    |}


    ===Listen to some music===
    === Ascoltare un po' di musica ===


    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.
    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:
    Examples:
    Line 159: Line 173:
    |}
    |}


    ===Be on time===
    === Ricavare data e ora ===


    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.
    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.
    Line 171: Line 185:
    |<code> time </code> || The current time 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.
    You can even get the date and time at another location by specifying the time zone or the city listed in the TZ database.
    Line 187: Line 203:
    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.
    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===
    === Calcolatrice ===


    '''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.sourceforge.net/gtk-manual/apa.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.
    '''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:
    Examples:
    Line 198: Line 214:
    |-
    |-
    |<code> = sqrt(4) + 32*sin(30*pi/180) </code> || 18
    |<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
    |}
    |}


    Line 217: Line 246:
    | Input || Output
    | Input || Output
    |-
    |-
    |<code> = solve( x^2 + 4*x - 21 = 0 ) </code>|| [7, -3]  
    |<code> = solve( x^2 + 4*x - 21 = 0 ) </code>|| [3, -7]  
    |}
    |}


    Line 257: Line 286:
    |}
    |}


    ===Go places===
    === Andare in posti specifici ===


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


    ===Spell checking and special characters===
    === Correzione ortografica e caratteri speciali ===


    '''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.
    '''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.
    Line 283: Line 312:
    |}
    |}


    ===Manage your computer===
    === Gestire il 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.
    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.
    Line 309: Line 338:
    |-
    |-
    |<code> lock </code> || ''locks the screen''
    |<code> lock </code> || ''locks the screen''
    |-
    |<code> restart </code> || ''restarts computer''
    |-
    |<code> shutdown </code> || ''shutdowns computer''
    |}
    |}


    ==Usage==
    == Utilizzo ==


    ===Open KRunner===
    === Aprire KRunner ===


    The easiest way to open '''KRunner''' is to trigger its global shortcut (<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.
    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>.
    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===
    === Utilizzare KRunner ===


    Use <keycap>Tab</keycap> or <keycap>Shift+Tab</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.
    Use <keycap>Tab</keycap> or <keycap>Shift+Tab</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===
    === Scoprire 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.
    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 waveform icon will open the System Monitor.


    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!
    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==
    == Suggerimenti, trucchi e domande frequenti ==


    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}}
    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}}
    Line 338: Line 369:




    [[Category:Guide/it ]]
    [[Category:Guide/it]]
    [[Category:Sistema/it ]]
    [[Category:Sistema/it]]

    Revision as of 06:20, 29 September 2018

    KRunner (launched with Alt-F2 or Alt-SPACE) is the launcher built into the Plasma desktop. While its basic function is to launch programs from a sort of mini-command-line, its functionality can be extended by "runners" to assist the user to accomplish a lot of tasks.

    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 wrench icon.


    Funzioni

    Questo elenco assolutamente incompleto cerca di presentare alcuni esempi d'uso di base di KRunner. Scopri il resto facendo clic sull'icona '?' in KRunner.

    Avviare e fermare le applicazioni

    You can launch programs by simply typing the name of the application you want to launch - or even simpler: press the down-arrow key for list of most recently used programs you typed in beforehand.

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

    Esempi:

    Digita per
    gwe (avviare Gwenview)

    You can use KRunner to kill applications, too. Type in the keyword kill followed by a process name and KRunner will provide options to close the application (SIGTERM) or forcibly quit it (SIGKILL). KRunner will match partial process names to running processes.

    Nota che la parola chiave termina può essere modificata nell'esecutore "Termina applicazioni" per evitare confusione (in inglese la parola chiave è kill) con il comando kill della shell che accetta gli ID dei processi.

    Direct installation

    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.

    Eseguire comandi (della shell)

    Oltre alle applicazioni elencate nel menu delle applicazioni, KRunner può anche essere utilizzato per eseguire comandi della shell, compreso l'avvio di eseguibili binari. Nota che durante l'inserimento di comandi della shell KRunner non accetterà comandi parziali e non offrirà la funzione di completamento automatico.

    L'esecuzione di un comando di questo tipo comporta la visualizzazione di un'icona di chiave inglese che offre opzioni aggiuntive. Puoi scegliere di aprire un terminale da cui eseguire il comando (può essere utile se il comando produce un risultato di testo che vuoi leggere) o scegliere di eseguire il programma con i permessi di un altro utente (fornendo il nome dell'utente e la password).

    Esempi:

    Comando Risultato
    ls ~/Documenti elenca il contenuto di ~/Documenti (preferibilmente in un terminale)
    cp ~/Documenti/mioFile ~/mioFile copia mioFile da ~/Documenti a ~/
    mplayer mioFilm.mkv riproduce mioFilm.mkv in mplayer

    Incidentally, if the command line is your thing, you may appreciate the built in integration to man pages. Simply type a command name preceded by a # or man:/ to open the man page formatted for easy readability in your browser.

    Examples:

    Input Output
    #ls opens the manual for ls in a browser
    man:/grep opens the manual for grep in a browser

    Navigare tra i siti web

    You can simply start typing the URL of a website to open it in your default browser. You may even type in the name of a browser bookmark and KRunner will open it for you. If you have visited the website in the past, KRunner can fetch you results from your browser's history, too.

    Esempi:

    Comando Risultato
    mioSegnalibro apre il segnalibro in un browser
    kde.org apre il sito di KDE in un browser
    http://userbase.kde.org/ apre Userbase in un browser

    KRunner already knows your Web Shortcuts, found in Plasma System Settings, so you can directly start using them.

    Esempi:

    Comando Risultato
    gg:KDE cerca KDE in Google
    wp:krunner cerca krunner in Wikipedia

    KRunner fornisce anche opzioni per scaricare i file dal web utilizzando KGet partendo dai rispettivi URL.

    Esistono ulteriori esecutori per effettuare ricerche veloci in Wikipedia, Wikitravel e KDE Techbase.

    Aprire file, cartelle e dispositivi

    KRunner può anche aprire i file e le cartelle del tuo computer. Se vuoi, puoi anche sfogliare le cartelle di computer remoti. Nota come KRunner utilizza i kioslave per ssh (fish:) e samba (smb:).

    Esempi:

    Comando Risultato
    file:/home/ apre file:///home/ (la cartella Home) in Dolphin
    file:mioFilm.mkv apre /home/mioFilm.mkv
    fish:[email protected] apre fish:/[email protected]/ tramite il protocollo fish (file over ssh)
    smb:mioPCWindows apre smb:/mioPCWindows tramite 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

    Gestire più sessioni, finestre, desktop e attività

    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.

    Comunicare con altre persone

    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
    [email protected] compose a mail to the KDE mailing list
    myContact show options to contact myContact

    Ascoltare un po' di musica

    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

    Ricavare data e ora

    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.

    Calcolatrice

    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)

    Andare in posti specifici

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

    Correzione ortografica e caratteri speciali

    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 ±

    Gestire il 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

    Utilizzo

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

    Utilizzare KRunner

    Use Tab or Shift+Tab 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.

    Scoprire 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!

    Suggerimenti, trucchi e domande frequenti

    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.