1ROFI-KEYS(5)                  File Formats Manual                 ROFI-KEYS(5)
2
3
4

NAME

6       rofi keys - Rofi Key and Mouse bindings
7
8

DESCRIPTION

10       rofi supports overriding of any of it key and mouse binding.
11
12

Setting binding

14       Bindings can be done on the commandline (-{bindingname}):
15
16
17              rofi -show run -kb-accept-entry 'Control+Shift+space'
18
19
20
21       or via the configuration file:
22
23
24              configuration {
25                kb-accept-entry: "Control+Shift+space";
26              }
27
28
29
30       The key can be set by its name (see above) or its keycode:
31
32
33              configuration {
34                kb-accept-entry: "Control+Shift+[65]";
35              }
36
37
38
39       An easy way to look up keycode is xev(1).
40
41
42       Multiple keys can be specified for an action as a comma separated list:
43
44
45              configuration {
46                kb-accept-entry: "Control+Shift+space,Return";
47              }
48
49
50
51       By  Default  rofi reacts on pressing, to act on the release of all keys
52       prepend the binding with !:
53
54
55              configuration {
56                kb-accept-entry: "!Control+Shift+space,Return";
57              }
58
59
60

Keyboard Bindings

62   kb-primary-paste:
63       Paste primary selection
64
65
66       Default:  Control+V,Shift+Insert
67
68
69   kb-secondary-paste
70       Paste clipboard
71
72
73       Default:  Control+v,Insert
74
75
76   kb-secondary-copy
77       Copy current selection to clipboard
78
79
80       Default:  Control+c
81
82
83   kb-clear-line
84       Clear input line
85
86
87       Default:  Control+w
88
89
90   kb-move-front
91       Beginning of line
92
93
94       Default:  Control+a
95
96
97   kb-move-end
98       End of line
99
100
101       Default:  Control+e
102
103
104   kb-move-word-back
105       Move back one word
106
107
108       Default:  Alt+b,Control+Left
109
110
111   kb-move-word-forward
112       Move forward one word
113
114
115       Default:  Alt+f,Control+Right
116
117
118   kb-move-char-back
119       Move back one char
120
121
122       Default:  Left,Control+b
123
124
125   kb-move-char-forward
126       Move forward one char
127
128
129       Default:  Right,Control+f
130
131
132   kb-remove-word-back
133       Delete previous word
134
135
136       Default:  Control+Alt+h,Control+BackSpace
137
138
139   kb-remove-word-forward
140       Delete next word
141
142
143       Default:  Control+Alt+d
144
145
146   kb-remove-char-forward
147       Delete next char
148
149
150       Default:  Delete,Control+d
151
152
153   kb-remove-char-back
154       Delete previous char
155
156
157       Default:  BackSpace,Shift+BackSpace,Control+h
158
159
160   kb-remove-to-eol
161       Delete till the end of line
162
163
164       Default:  Control+k
165
166
167   kb-remove-to-sol
168       Delete till the start of line
169
170
171       Default:  Control+u
172
173
174   kb-accept-entry
175       Accept entry
176
177
178       Default:  Control+j,Control+m,Return,KP_Enter
179
180
181   kb-accept-custom
182       Use entered text as command (in ssh/run modes)
183
184
185       Default:  Control+Return
186
187
188   kb-accept-custom-alt
189       Use entered text as command (in ssh/run modes)
190
191
192       Default:  Control+Shift+Return
193
194
195   kb-accept-alt
196       Use alternate accept command.
197
198
199       Default:  Shift+Return
200
201
202   kb-delete-entry
203       Delete entry from history
204
205
206       Default:  Shift+Delete
207
208
209   kb-mode-next
210       Switch to the next mode.
211
212
213       Default:  Shift+Right,Control+Tab
214
215
216   kb-mode-previous
217       Switch to the previous mode.
218
219
220       Default:  Shift+Left,Control+ISO_Left_Tab
221
222
223   kb-mode-complete
224       Start completion for mode.
225
226
227       Default:  Control+l
228
229
230   kb-row-left
231       Go to the previous column
232
233
234       Default:  Control+Page_Up
235
236
237   kb-row-right
238       Go to the next column
239
240
241       Default:  Control+Page_Down
242
243
244   kb-row-up
245       Select previous entry
246
247
248       Default:  Up,Control+p
249
250
251   kb-row-down
252       Select next entry
253
254
255       Default:  Down,Control+n
256
257
258   kb-row-tab
259       Go to next row, if one left, accept it, if no left next mode.
260
261
262       Default:
263
264
265   kb-element-next
266       Go to next row.
267
268
269       Default: Tab
270
271
272   kb-element-prev
273       Go to previous row.
274
275
276       Default: ISO_Left_Tab
277
278
279   kb-page-prev
280       Go to the previous page
281
282
283       Default:  Page_Up
284
285
286   kb-page-next
287       Go to the next page
288
289
290       Default:  Page_Down
291
292
293   kb-row-first
294       Go to the first entry
295
296
297       Default:  Home,KP_Home
298
299
300   kb-row-last
301       Go to the last entry
302
303
304       Default:  End,KP_End
305
306
307   kb-row-select
308       Set selected item as input text
309
310
311       Default:  Control+space
312
313
314   kb-screenshot
315       Take a screenshot of the rofi window
316
317
318       Default:  Alt+S
319
320
321   kb-ellipsize
322       Toggle between ellipsize modes for displayed data
323
324
325       Default:  Alt+period
326
327
328   kb-toggle-case-sensitivity
329       Toggle case sensitivity
330
331
332       Default:  grave,dead_grave
333
334
335   kb-toggle-sort
336       Toggle sort
337
338
339       Default:  Alt+grave
340
341
342   kb-cancel
343       Quit rofi
344
345
346       Default:  Escape,Control+g,Control+bracketleft
347
348
349   kb-custom-1
350       Custom keybinding 1
351
352
353       Default:  Alt+1
354
355
356   kb-custom-2
357       Custom keybinding 2
358
359
360       Default:  Alt+2
361
362
363   kb-custom-3
364       Custom keybinding 3
365
366
367       Default:  Alt+3
368
369
370   kb-custom-4
371       Custom keybinding 4
372
373
374       Default:  Alt+4
375
376
377   kb-custom-5
378       Custom Keybinding 5
379
380
381       Default:  Alt+5
382
383
384   kb-custom-6
385       Custom keybinding 6
386
387
388       Default:  Alt+6
389
390
391   kb-custom-7
392       Custom Keybinding 7
393
394
395       Default:  Alt+7
396
397
398   kb-custom-8
399       Custom keybinding 8
400
401
402       Default:  Alt+8
403
404
405   kb-custom-9
406       Custom keybinding 9
407
408
409       Default:  Alt+9
410
411
412   kb-custom-10
413       Custom keybinding 10
414
415
416       Default:  Alt+0
417
418
419   kb-custom-11
420       Custom keybinding 11
421
422
423       Default:  Alt+exclam
424
425
426   kb-custom-12
427       Custom keybinding 12
428
429
430       Default:  Alt+at
431
432
433   kb-custom-13
434       Custom keybinding 13
435
436
437       Default:  Alt+numbersign
438
439
440   kb-custom-14
441       Custom keybinding 14
442
443
444       Default:  Alt+dollar
445
446
447   kb-custom-15
448       Custom keybinding 15
449
450
451       Default:  Alt+percent
452
453
454   kb-custom-16
455       Custom keybinding 16
456
457
458       Default:  Alt+dead_circumflex
459
460
461   kb-custom-17
462       Custom keybinding 17
463
464
465       Default:  Alt+ampersand
466
467
468   kb-custom-18
469       Custom keybinding 18
470
471
472       Default:  Alt+asterisk
473
474
475   kb-custom-19
476       Custom Keybinding 19
477
478
479       Default:  Alt+parenleft
480
481
482   kb-select-1
483       Select row 1
484
485
486       Default:  Super+1
487
488
489   kb-select-2
490       Select row 2
491
492
493       Default:  Super+2
494
495
496   kb-select-3
497       Select row 3
498
499
500       Default:  Super+3
501
502
503   kb-select-4
504       Select row 4
505
506
507       Default:  Super+4
508
509
510   kb-select-5
511       Select row 5
512
513
514       Default:  Super+5
515
516
517   kb-select-6
518       Select row 6
519
520
521       Default:  Super+6
522
523
524   kb-select-7
525       Select row 7
526
527
528       Default:  Super+7
529
530
531   kb-select-8
532       Select row 8
533
534
535       Default:  Super+8
536
537
538   kb-select-9
539       Select row 9
540
541
542       Default:  Super+9
543
544
545   kb-select-10
546       Select row 10
547
548
549       Default:  Super+0
550
551

Mouse Bindings

553   ml-row-left
554       Go to the previous column
555
556
557       Default:  ScrollLeft
558
559
560   ml-row-right
561       Go to the next column
562
563
564       Default:  ScrollRight
565
566
567   ml-row-up
568       Select previous entry
569
570
571       Default:  ScrollUp
572
573
574   ml-row-down
575       Select next entry
576
577
578       Default:  ScrollDown
579
580
581   me-select-entry
582       Select hovered row
583
584
585       Default:  MousePrimary
586
587
588   me-accept-entry
589       Accept hovered row
590
591
592       Default:  MouseDPrimary
593
594
595   me-accept-custom
596       Accept hovered row with custom action
597
598
599       Default:  Control+MouseDPrimary
600
601

SEE ALSO

603       rofi(1), rofi-sensible-terminal(1), rofi-theme(5), rofi-script(5)
604
605

AUTHOR

607       Qball Cow qball@gmpclient.org ⟨mailto:qball@gmpclient.org⟩
608
609
610       Rasmus Steinke rasi@xssn.at ⟨mailto:rasi@xssn.at⟩
611
612
613       Morgane               Glidic               sardemff7+rofi@sardemff7.net
614       ⟨mailto:sardemff7+rofi@sardemff7.net⟩
615
616
617       Original  code  based  on  work by: Sean Pringle sean.pringle@gmail.com
618       ⟨mailto:sean.pringle@gmail.com⟩
619
620
621       For a full list of authors, check the AUTHORS file.
622
623
624
625                                   rofi-keys                      ROFI-KEYS(5)
Impressum