.\" Automatically generated by Pandoc 3.2 .\" .TH "rofi\-keys" "5" "" "rofi" "File Formats Manual" .SH NAME \f[B]rofi keys\f[R] \- Rofi Key and Mouse bindings .SH DESCRIPTION \f[B]rofi\f[R] supports overriding of any of it key and mouse binding. .SH Setting binding Bindings can be done on the commandline (\-{bindingname}): .IP .EX rofi \-show run \-kb\-accept\-entry \[aq]Control+Shift+space\[aq] .EE .PP or via the configuration file: .IP .EX configuration { kb\-accept\-entry: \[dq]Control+Shift+space\[dq]; } .EE .PP The key can be set by its name (see above) or its keycode: .IP .EX configuration { kb\-accept\-entry: \[dq]Control+Shift+[65]\[dq]; } .EE .PP An easy way to look up keycode is xev(1). .PP Multiple keys can be specified for an action as a comma separated list: .IP .EX configuration { kb\-accept\-entry: \[dq]Control+Shift+space,Return\[dq]; } .EE .PP By Default \f[B]rofi\f[R] reacts on pressing, to act on the release of all keys prepend the binding with \f[B]!\f[R]: .IP .EX configuration { kb\-accept\-entry: \[dq]!Control+Shift+space,Return\[dq]; } .EE .SH Unsetting a binding To unset a binding, pass an empty string. .IP .EX configuration { kb\-clear\-line: \[dq]\[dq]; } .EE .SH Keyboard Bindings .TP \f[B]kb\-primary\-paste\f[R] Paste primary selection .RS .PP Default: Control+V,Shift+Insert .RE .TP \f[B]kb\-secondary\-paste\f[R] Paste clipboard .RS .PP Default: Control+v,Insert .RE .TP \f[B]kb\-secondary\-copy\f[R] Copy current selection to clipboard .RS .PP Default: Control+c .RE .TP \f[B]kb\-clear\-line\f[R] Clear input line .RS .PP Default: Control+w .RE .TP \f[B]kb\-move\-front\f[R] Beginning of line .RS .PP Default: Control+a .RE .TP \f[B]kb\-move\-end\f[R] End of line .RS .PP Default: Control+e .RE .TP \f[B]kb\-move\-word\-back\f[R] Move back one word .RS .PP Default: Alt+b,Control+Left .RE .TP \f[B]kb\-move\-word\-forward\f[R] Move forward one word .RS .PP Default: Alt+f,Control+Right .RE .TP \f[B]kb\-move\-char\-back\f[R] Move back one char .RS .PP Default: Left,Control+b .RE .TP \f[B]kb\-move\-char\-forward\f[R] Move forward one char .RS .PP Default: Right,Control+f .RE .TP \f[B]kb\-remove\-word\-back\f[R] Delete previous word .RS .PP Default: Control+Alt+h,Control+BackSpace .RE .TP \f[B]kb\-remove\-word\-forward\f[R] Delete next word .RS .PP Default: Control+Alt+d .RE .TP \f[B]kb\-remove\-char\-forward\f[R] Delete next char .RS .PP Default: Delete,Control+d .RE .TP \f[B]kb\-remove\-char\-back\f[R] Delete previous char .RS .PP Default: BackSpace,Shift+BackSpace,Control+h .RE .TP \f[B]kb\-remove\-to\-eol\f[R] Delete till the end of line .RS .PP Default: Control+k .RE .TP \f[B]kb\-remove\-to\-sol\f[R] Delete till the start of line .RS .PP Default: Control+u .RE .TP \f[B]kb\-accept\-entry\f[R] Accept entry .RS .PP Default: Control+j,Control+m,Return,KP_Enter .RE .TP \f[B]kb\-accept\-custom\f[R] Use entered text as command (in ssh/run modes) .RS .PP Default: Control+Return .RE .TP \f[B]kb\-accept\-custom\-alt\f[R] Use entered text as command (in ssh/run modes) .RS .PP Default: Control+Shift+Return .RE .TP \f[B]kb\-accept\-alt\f[R] Use alternate accept command. .RS .PP Default: Shift+Return .RE .TP \f[B]kb\-delete\-entry\f[R] Delete entry from history .RS .PP Default: Shift+Delete .RE .TP \f[B]kb\-mode\-next\f[R] Switch to the next mode. .RS .PP Default: Shift+Right,Control+Tab .RE .TP \f[B]kb\-mode\-previous\f[R] Switch to the previous mode. .RS .PP Default: Shift+Left,Control+ISO_Left_Tab .RE .TP \f[B]kb\-mode\-complete\f[R] Start completion for mode. .RS .PP Default: Control+l .RE .TP \f[B]kb\-row\-left\f[R] Go to the previous column .RS .PP Default: Control+Page_Up .RE .TP \f[B]kb\-row\-right\f[R] Go to the next column .RS .PP Default: Control+Page_Down .RE .TP \f[B]kb\-row\-up\f[R] Select previous entry .RS .PP Default: Up,Control+p .RE .TP \f[B]kb\-row\-down\f[R] Select next entry .RS .PP Default: Down,Control+n .RE .TP \f[B]kb\-row\-tab\f[R] Go to next row, if one left, accept it, if no left next mode. .RS .PP Default: .RE .TP \f[B]kb\-element\-next\f[R] Go to next row. .RS .PP Default: Tab .RE .TP \f[B]kb\-element\-prev\f[R] Go to previous row. .RS .PP Default: ISO_Left_Tab .RE .TP \f[B]kb\-page\-prev\f[R] Go to the previous page .RS .PP Default: Page_Up .RE .TP \f[B]kb\-page\-next\f[R] Go to the next page .RS .PP Default: Page_Down .RE .TP \f[B]kb\-row\-first\f[R] Go to the first entry .RS .PP Default: Home,KP_Home .RE .TP \f[B]kb\-row\-last\f[R] Go to the last entry .RS .PP Default: End,KP_End .RE .TP \f[B]kb\-row\-select\f[R] Set selected item as input text .RS .PP Default: Control+space .RE .TP \f[B]kb\-screenshot\f[R] Take a screenshot of the rofi window .RS .PP Default: Alt+S .RE .TP \f[B]kb\-ellipsize\f[R] Toggle between ellipsize modes for displayed data .RS .PP Default: Alt+period .RE .TP \f[B]kb\-toggle\-case\-sensitivity\f[R] Toggle case sensitivity .RS .PP Default: grave,dead_grave .RE .TP \f[B]kb\-toggle\-sort\f[R] Toggle filtered menu sort .RS .PP Default: Alt+grave .RE .TP \f[B]kb\-cancel\f[R] Quit rofi .RS .PP Default: Escape,Control+g,Control+bracketleft .RE .TP \f[B]kb\-custom\-1\f[R] Custom keybinding 1 .RS .PP Default: Alt+1 .RE .TP \f[B]kb\-custom\-2\f[R] Custom keybinding 2 .RS .PP Default: Alt+2 .RE .TP \f[B]kb\-custom\-3\f[R] Custom keybinding 3 .RS .PP Default: Alt+3 .RE .TP \f[B]kb\-custom\-4\f[R] Custom keybinding 4 .RS .PP Default: Alt+4 .RE .TP \f[B]kb\-custom\-5\f[R] Custom Keybinding 5 .RS .PP Default: Alt+5 .RE .TP \f[B]kb\-custom\-6\f[R] Custom keybinding 6 .RS .PP Default: Alt+6 .RE .TP \f[B]kb\-custom\-7\f[R] Custom Keybinding 7 .RS .PP Default: Alt+7 .RE .TP \f[B]kb\-custom\-8\f[R] Custom keybinding 8 .RS .PP Default: Alt+8 .RE .TP \f[B]kb\-custom\-9\f[R] Custom keybinding 9 .RS .PP Default: Alt+9 .RE .TP \f[B]kb\-custom\-10\f[R] Custom keybinding 10 .RS .PP Default: Alt+0 .RE .TP \f[B]kb\-custom\-11\f[R] Custom keybinding 11 .RS .PP Default: Alt+exclam .RE .TP \f[B]kb\-custom\-12\f[R] Custom keybinding 12 .RS .PP Default: Alt+at .RE .TP \f[B]kb\-custom\-13\f[R] Custom keybinding 13 .RS .PP Default: Alt+numbersign .RE .TP \f[B]kb\-custom\-14\f[R] Custom keybinding 14 .RS .PP Default: Alt+dollar .RE .TP \f[B]kb\-custom\-15\f[R] Custom keybinding 15 .RS .PP Default: Alt+percent .RE .TP \f[B]kb\-custom\-16\f[R] Custom keybinding 16 .RS .PP Default: Alt+dead_circumflex .RE .TP \f[B]kb\-custom\-17\f[R] Custom keybinding 17 .RS .PP Default: Alt+ampersand .RE .TP \f[B]kb\-custom\-18\f[R] Custom keybinding 18 .RS .PP Default: Alt+asterisk .RE .TP \f[B]kb\-custom\-19\f[R] Custom Keybinding 19 .RS .PP Default: Alt+parenleft .RE .TP \f[B]kb\-select\-1\f[R] Select row 1 .RS .PP Default: Super+1 .RE .TP \f[B]kb\-select\-2\f[R] Select row 2 .RS .PP Default: Super+2 .RE .TP \f[B]kb\-select\-3\f[R] Select row 3 .RS .PP Default: Super+3 .RE .TP \f[B]kb\-select\-4\f[R] Select row 4 .RS .PP Default: Super+4 .RE .TP \f[B]kb\-select\-5\f[R] Select row 5 .RS .PP Default: Super+5 .RE .TP \f[B]kb\-select\-6\f[R] Select row 6 .RS .PP Default: Super+6 .RE .TP \f[B]kb\-select\-7\f[R] Select row 7 .RS .PP Default: Super+7 .RE .TP \f[B]kb\-select\-8\f[R] Select row 8 .RS .PP Default: Super+8 .RE .TP \f[B]kb\-select\-9\f[R] Select row 9 .RS .PP Default: Super+9 .RE .TP \f[B]kb\-select\-10\f[R] Select row 10 .RS .PP Default: Super+0 .RE .TP \f[B]kb\-entry\-history\-up\f[R] Go up in the entry history. .RS .PP Default: Control+Up .RE .TP \f[B]kb\-entry\-history\-down\f[R] Go down in the entry history. .RS .PP Default: Control+Down .RE .TP \f[B]kb\-matcher\-up\f[R] Select the next matcher. .RS .PP Default: Super+equal .RE .TP \f[B]kb\-matcher\-down\f[R] Select the previous matcher. .RS .PP Default: Super+minus .RE .SH Mouse Bindings .TP \f[B]ml\-row\-left\f[R] Go to the previous column .RS .PP Default: ScrollLeft .RE .TP \f[B]ml\-row\-right\f[R] Go to the next column .RS .PP Default: ScrollRight .RE .TP \f[B]ml\-row\-up\f[R] Select previous entry .RS .PP Default: ScrollUp .RE .TP \f[B]ml\-row\-down\f[R] Select next entry .RS .PP Default: ScrollDown .RE .TP \f[B]me\-select\-entry\f[R] Select hovered row .RS .PP Default: MousePrimary .RE .TP \f[B]me\-accept\-entry\f[R] Accept hovered row .RS .PP Default: MouseDPrimary .RE .TP \f[B]me\-accept\-custom\f[R] Accept hovered row with custom action .RS .PP Default: Control+MouseDPrimary .RE .SH Mouse key bindings The following mouse buttons can be bound: .IP \[bu] 2 \f[B]Primary\f[R]: Primary (Left) mouse button click. .IP \[bu] 2 \f[B]Secondary\f[R]: Secondary (Right) mouse button click. .IP \[bu] 2 \f[B]Middle\f[R]: Middle mouse button click. .IP \[bu] 2 \f[B]Forward\f[R]: The forward mouse button. .IP \[bu] 2 \f[B]Back\f[R]: The back mouse button. .IP \[bu] 2 \f[B]ExtraN\f[R]: The N\[cq]the mouse button. (Depending on mouse support). .PP The Identifier is constructed as follow: .TP \f[B]Mouse