Plasma/Krunner/ru: Difference between revisions

    From KDE UserBase Wiki
    (Created page with "Вероятно Вы уже знаете - Krunner может запускать приложения. Запустите Krunner (Alt+F2) и наберите имя прило...")
    (Created page with "===Выполнение команд BASH===")
    Line 26: Line 26:
    Вероятно Вы уже знаете - Krunner может запускать приложения. Запустите Krunner (Alt+F2) и наберите имя приложения, которое Вы хотите выполнить. Для приложений, находящихся в меню приложений, можно ввести часть его названия или относящиеся к нему ключевые слова. Также можно запускать различные модули настройки, введя их названия или описания.
    Вероятно Вы уже знаете - Krunner может запускать приложения. Запустите Krunner (Alt+F2) и наберите имя приложения, которое Вы хотите выполнить. Для приложений, находящихся в меню приложений, можно ввести часть его названия или относящиеся к нему ключевые слова. Также можно запускать различные модули настройки, введя их названия или описания.
    <span id="Running BASH commands"></span>
    <span id="Running BASH commands"></span>
    ===Running BASH commands===  
    ===Выполнение команд BASH===  


    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.

    Revision as of 19:47, 19 November 2010

    Krunner — это инструмент для поиска и запуска файлов и приложений. Кроме того, он может быть использован для выполнения других операции, например, в качестве калькулятора или преообразователя единиц измерения. В большинстве систем Krunner может быть активирован путем нажатия комбинации клавиш Alt+F2.

    Basic control

    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.

    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

    Использование в качестве калькулятора

    Вы можете использовать Krunner в качестве практичного калькулятора. Применять его также просто. Для этого нажмите комбинацию клавиш Alt+F2 и наберите выражение, которое Вы хотите вычислить, например, 32*12= или =32*12 (Вы можете поместить знак = до или после выражения).

    Также возможно вычисление более сложных выражений, таких как: =sqrt(4) + 32 * sin(60)

    Использование для запуска приложений

    Вероятно Вы уже знаете - Krunner может запускать приложения. Запустите Krunner (Alt+F2) и наберите имя приложения, которое Вы хотите выполнить. Для приложений, находящихся в меню приложений, можно ввести часть его названия или относящиеся к нему ключевые слова. Также можно запускать различные модули настройки, введя их названия или описания.

    Выполнение команд BASH

    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.


    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.