GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
rofi-keys(5) File Formats Manual rofi-keys(5)

rofi keys - Rofi Key and Mouse bindings

rofi supports overriding of any of it key and mouse binding.

Bindings can be done on the commandline (-{bindingname}):

rofi -show run -kb-accept-entry 'Control+Shift+space'
    

or via the configuration file:

configuration {

kb-accept-entry: "Control+Shift+space"; }

The key can be set by its name (see above) or its keycode:

configuration {

kb-accept-entry: "Control+Shift+[65]"; }

An easy way to look up keycode is xev(1).

Multiple keys can be specified for an action as a comma separated list:

configuration {

kb-accept-entry: "Control+Shift+space,Return"; }

By Default rofi reacts on pressing, to act on the release of all keys prepend the binding with !:

configuration {

kb-accept-entry: "!Control+Shift+space,Return"; }

To unset a binding, pass an empty string.

configuration {

kb-clear-line: ""; }

Paste primary selection

Default: Control+V,Shift+Insert

Paste clipboard

Default: Control+v,Insert

Copy current selection to clipboard

Default: Control+c

Clear input line

Default: Control+w

Beginning of line

Default: Control+a

End of line

Default: Control+e

Move back one word

Default: Alt+b,Control+Left

Move forward one word

Default: Alt+f,Control+Right

Move back one char

Default: Left,Control+b

Move forward one char

Default: Right,Control+f

Delete previous word

Default: Control+Alt+h,Control+BackSpace

Delete next word

Default: Control+Alt+d

Delete next char

Default: Delete,Control+d

Delete previous char

Default: BackSpace,Shift+BackSpace,Control+h

Delete till the end of line

Default: Control+k

Delete till the start of line

Default: Control+u

Accept entry

Default: Control+j,Control+m,Return,KP_Enter

Use entered text as command (in ssh/run modes)

Default: Control+Return

Use entered text as command (in ssh/run modes)

Default: Control+Shift+Return

Use alternate accept command.

Default: Shift+Return

Delete entry from history

Default: Shift+Delete

Switch to the next mode.

Default: Shift+Right,Control+Tab

Switch to the previous mode.

Default: Shift+Left,Control+ISO_Left_Tab

Start completion for mode.

Default: Control+l

Go to the previous column

Default: Control+Page_Up

Go to the next column

Default: Control+Page_Down

Select previous entry

Default: Up,Control+p

Select next entry

Default: Down,Control+n

Go to next row, if one left, accept it, if no left next mode.

Default:

Go to next row.

Default: Tab

Go to previous row.

Default: ISO_Left_Tab

Go to the previous page

Default: Page_Up

Go to the next page

Default: Page_Down

Go to the first entry

Default: Home,KP_Home

Go to the last entry

Default: End,KP_End

Set selected item as input text

Default: Control+space

Take a screenshot of the rofi window

Default: Alt+S

Toggle between ellipsize modes for displayed data

Default: Alt+period

Toggle case sensitivity

Default: grave,dead_grave

Toggle filtered menu sort

Default: Alt+grave

Quit rofi

Default: Escape,Control+g,Control+bracketleft

Custom keybinding 1

Default: Alt+1

Custom keybinding 2

Default: Alt+2

Custom keybinding 3

Default: Alt+3

Custom keybinding 4

Default: Alt+4

Custom Keybinding 5

Default: Alt+5

Custom keybinding 6

Default: Alt+6

Custom Keybinding 7

Default: Alt+7

Custom keybinding 8

Default: Alt+8

Custom keybinding 9

Default: Alt+9

Custom keybinding 10

Default: Alt+0

Custom keybinding 11

Default: Alt+exclam

Custom keybinding 12

Default: Alt+at

Custom keybinding 13

Default: Alt+numbersign

Custom keybinding 14

Default: Alt+dollar

Custom keybinding 15

Default: Alt+percent

Custom keybinding 16

Default: Alt+dead_circumflex

Custom keybinding 17

Default: Alt+ampersand

Custom keybinding 18

Default: Alt+asterisk

Custom Keybinding 19

Default: Alt+parenleft

Select row 1

Default: Super+1

Select row 2

Default: Super+2

Select row 3

Default: Super+3

Select row 4

Default: Super+4

Select row 5

Default: Super+5

Select row 6

Default: Super+6

Select row 7

Default: Super+7

Select row 8

Default: Super+8

Select row 9

Default: Super+9

Select row 10

Default: Super+0

Go up in the entry history.

Default: Control+Up

Go down in the entry history.

Default: Control+Down

Go to the previous column

Default: ScrollLeft

Go to the next column

Default: ScrollRight

Select previous entry

Default: ScrollUp

Select next entry

Default: ScrollDown

Select hovered row

Default: MousePrimary

Accept hovered row

Default: MouseDPrimary

Accept hovered row with custom action

Default: Control+MouseDPrimary

The following mouse buttons can be bound:

  • Primary: Primary (Left) mouse button click.
  • Secondary: Secondary (Right) mouse button click.
  • Middle: Middle mouse button click.
  • Forward: The forward mouse button.
  • Back: The back mouse button.
  • ExtraN: The N’the mouse button. (Depending on mouse support).

The Identifier is constructed as follow:

  • D indicates optional Double press.
  • Button is the button name.

So MouseDPrimary is Primary (Left) mouse button double click.

rofi(1), rofi-sensible-terminal(1), rofi-theme(5), rofi-script(5)

Qball Cow qball@gmpclient.org

Rasmus Steinke rasi@xssn.at

Morgane Glidic sardemff7+rofi@sardemff7.net

Original code based on work by: Sean Pringle sean.pringle@gmail.com

For a full list of authors, check the AUTHORS file.

rofi

Search for    or go to Top of page |  Section 5 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.