(process:2): X11Helper-WARNING **: 15:18:05.658: Failed to open display: (null)
/usr/bin/rofi usage:
/usr/bin/rofi [-options ...]
Command line only options:
-config [file] Load an alternative configuration.
-no-config Do not load configuration, use default values.
-v,-version Print the version number and exit.
-dmenu Start in dmenu mode.
-display [string] X server to contact.
${DISPLAY}
-h,-help This help message.
-e [string] Show a dialog displaying the passed message and exit.
-markup Enable pango markup where possible.
-normal-window Behave as a normal window. (experimental)
-transient-window Behave as a modal dialog that is transient to the currently focused window. (experimental)
-show [mode] Show the mode 'mode' and exit. The mode has to be enabled.
-no-lazy-grab Disable lazy grab that, when fail to grab keyboard, does not block but retry later.
-no-plugins Disable loading of external plugins.
-plugin-path Directory used to search for rofi plugins. *DEPRECATED*
-dump-config Dump the current configuration in rasi format and exit.
-dump-theme Dump the current theme in rasi format and exit.
-list-keybindings Print a list of current keybindings and exit.
DMENU command line options:
-mesg [string] Print a small user message under the prompt (uses pango markup)
-p [string] Prompt to display left of entry field
-selected-row [integer] Select row
-format [string] Output format string
s
-u [list] List of row indexes to mark urgent
-a [list] List of row indexes to mark active
-l [integer] Number of rows to display
-window-title [string] Set the dmenu window title
-i Set filter to be case insensitive
-only-match Force selection to be given entry, disallow no match
-no-custom Don't accept custom entry, allow no match
-select [string] Select the first row that matches
-password Do not show what the user inputs. Show '*' instead.
-markup-rows Allow and render pango markup as input data.
-sep [char] Element separator.
'\n'
-input [filename] Read input from file instead from standard input.
-sync Force dmenu to first read all input data, then show dialog.
-w windowid Position over window with X11 windowid.
-keep-right Set ellipsize to end.
-display-columns Only show the selected columns
-display-column-separator Separator to use to split columns (regex)
-ballot-selected-str When multi-select is enabled prefix this string when element is selected.
-ballot-unselected-str When multi-select is enabled prefix this string when element is not selected.
-ellipsize-mode end Set ellipsize mode(start | middle | end).
Global options:
-modes [string] Enable modes
window,drun,run,ssh (Default)
-font [string] Font to use
mono 12 (Default)
-location [number] Location on screen
0 (Default)
-wayland-layer [string] On Wayland, specifies the layer where rofi is rendered. Available layers are background, bottom, top, overlay.
overlay (Default)
-yoffset [number] Y-offset relative to location. *DEPRECATED* see rofi-theme manpage for new option
0 (Default)
-xoffset [number] X-offset relative to location. *DEPRECATED* see rofi-theme manpage for new option
0 (Default)
-[no-]fixed-num-lines Always show number of lines
True (Default)
-[no-]show-icons Whether to load and show icons in the default theme
False (Default)
-preview-cmd [string] Custom command to generate preview icons
(unset) (Default)
-on-selection-changed [string] Custom command to call when menu selection changes
(unset) (Default)
-on-mode-changed [string] Custom command to call when menu mode changes
(unset) (Default)
-on-entry-accepted [string] Custom command to call when menu entry is accepted
(unset) (Default)
-on-menu-canceled [string] Custom command to call when menu is canceled
(unset) (Default)
-on-menu-error [string] Custom command to call when menu finds errors
(unset) (Default)
-on-screenshot-taken [string] Custom command to call when menu screenshot is taken
(unset) (Default)
-terminal [string] Terminal to use
rofi-sensible-terminal (Default)
-ssh-client [string] Ssh client to use
ssh (Default)
-ssh-command [string] Ssh command to execute
{terminal} -e {ssh-client} {host} [-p {port}] (Default)
-run-command [string] Run command to execute
{cmd} (Default)
-run-list-command [string] Command to get extra run targets
(Default)
-run-shell-command [string] Run command to execute that runs in shell
{terminal} -e {cmd} (Default)
-window-command [string] Command to executed when -kb-accept-alt binding is hit on selected window
wmctrl -i -R {window} (Default)
-window-match-fields [string] Window fields to match in window mode
all (Default)
-icon-theme [string] Theme to use to look for icons
(unset) (Default)
-drun-match-fields [string] Desktop entry fields to match in drun
name,generic,exec,categories,keywords (Default)
-drun-categories [string] Only show Desktop entry from these categories
(unset) (Default)
-drun-exclude-categories [string] Exclude Desktop entries from these categories
(unset) (Default)
-[no-]drun-show-actions Desktop entry show actions.
False (Default)
-drun-display-format [string] DRUN format string. (Supports: generic,name,comment,exec,categories)
{name} [<span weight='light' size='small'><i>({generic})</i></span>] (Default)
-drun-url-launcher [string] Command to open a Desktop Entry that is a Link.
xdg-open (Default)
-[no-]disable-history Disable history in run/ssh
False (Default)
-ignored-prefixes [string] Programs ignored for history
(Default)
-[no-]sort Sort menu when filtered
False (Default)
-sorting-method [string] Choose sort strategy: normal (levenshtein) or fzf.
normal (Default)
-[no-]case-sensitive Set case-sensitivity
False (Default)
-[no-]case-smart Set smartcase like vim (determine case-sensitivity by input)
False (Default)
-[no-]cycle Cycle through the results list
True (Default)
-[no-]sidebar-mode Enable sidebar-mode
False (Default)
-[no-]hover-select Enable hover-select
False (Default)
-eh [number] Row height (in chars)
1 (Default)
-[no-]auto-select Enable auto select mode
False (Default)
-[no-]parse-hosts Parse hosts file for ssh mode
False (Default)
-[no-]parse-known-hosts Parse known_hosts file for ssh mode
True (Default)
-combi-modes [string] Set the modes to combine in combi mode
window,run (Default)
-matching [string] Set the matching algorithm. (normal, regex, glob, fuzzy, prefix)
normal (Default)
-[no-]tokenize Tokenize input string
True (Default)
-m [string] Monitor id to show on
-5 (Default)
-filter [string] Pre-set filter
(unset) (Default)
-dpi [number] DPI
-1 (Default)
-threads [number] Threads to use for string matching
0 (Default)
-scroll-method [number] Scrolling method. (0: Page, 1: Centered)
0 (Default)
-window-format [string] Window Format. w (desktop name), t (title), n (name), r (role), c (class)
{w} {c} {t} (Default)
-[no-]click-to-exit Click outside the window to exit
True (Default)
-touch-scroll-step [number] Touch swipe in pixels per scroll step, 0 for one list element (wayland)
0 (Default)
-[no-]global-kb Inhibit compositor shortcuts so they can be reused in rofi (wayland)
False (Default)
-max-history-size [number] Max history size (WARNING: can cause slowdowns when set too high).
25 (Default)
-[no-]combi-hide-mode-prefix Hide the prefix mode prefix on the combi view.**deprecated** use combi-display-format
False (Default)
-combi-display-format [string] Combi format string. (Supports: mode, text)
{mode} {text} (Default)
-matching-negate-char [character] Set the character used to negate the matching. ('\0' to disable)
- (Default)
-cache-dir [string] Directory where history and temporary files are stored.
(unset) (Default)
-[no-]window-thumbnail Show window thumbnail (if available) as icon in window switcher.
False (Default)
-[no-]drun-use-desktop-cache DRUN: build and use a cache with desktop file content.
False (Default)
-[no-]drun-reload-desktop-cache DRUN: If enabled, reload the cache with desktop file content.
False (Default)
-[no-]normalize-match Normalize string when matching (disables match highlighting).
False (Default)
-[no-]steal-focus Steal focus on launch and restore to window that had it on rofi start on close .
False (Default)
-application-fallback-icon [string] Fallback icon to use when the application icon is not found in run/drun.
(unset) (Default)
-refilter-timeout-limit [number] When filtering takes more then this time (in ms) switch to delayed filter.
300 (Default)
-[no-]xserver-i300-workaround Workaround for XServer issue #300 (issue #611 for rofi.)
False (Default)
-completer-mode [string] What completer to use for drun/run.
filebrowser (Default)
-[no-]imdkit Whether to enable imdkit
True (Default)
-fallback-icon-themes [string] List of fallback icon themes
Adwaita,gnome (Default)
-pid [string] Pidfile location
/tmp/.cache/rofi.pid (Default)
-display-window [string] The display name of this browser
(unset) (Default)
-display-windowcd [string] The display name of this browser
(unset) (Default)
-display-run [string] The display name of this browser
(unset) (Default)
-display-ssh [string] The display name of this browser
(unset) (Default)
-display-drun [string] The display name of this browser
(unset) (Default)
-display-combi [string] The display name of this browser
(unset) (Default)
-display-keys [string] The display name of this browser
(unset) (Default)
-display-filebrowser [string] The display name of this browser
(unset) (Default)
-display-recursivebrowser [string] The display name of this browser
(unset) (Default)
-kb-primary-paste [string] Paste primary selection
Control+V,Shift+Insert (Default)
-kb-secondary-paste [string] Paste clipboard
Control+v,Insert (Default)
-kb-secondary-copy [string] Copy to clipboard
Control+c (Default)
-kb-clear-line [string] Clear input line
Control+w (Default)
-kb-move-front [string] Beginning of line
Control+a (Default)
-kb-move-end [string] End of line
Control+e (Default)
-kb-move-word-back [string] Move back one word
Alt+b,Control+Left (Default)
-kb-move-word-forward [string] Move forward one word
Alt+f,Control+Right (Default)
-kb-move-char-back [string] Move back one char
Left,Control+b (Default)
-kb-move-char-forward [string] Move forward one char
Right,Control+f (Default)
-kb-remove-word-back [string] Delete previous word
Control+Alt+h,Control+BackSpace (Default)
-kb-remove-word-forward [string] Delete next word
Control+Alt+d (Default)
-kb-remove-char-forward [string] Delete next char
Delete,Control+d (Default)
-kb-remove-char-back [string] Delete previous char
BackSpace,Shift+BackSpace,Control+h (Default)
-kb-remove-to-eol [string] Delete till the end of line
Control+k (Default)
-kb-remove-to-sol [string] Delete till the start of line
Control+u (Default)
-kb-transpose-chars [string] Transpose (swap) two chars before cursor
Control+t (Default)
-kb-accept-entry [string] Accept entry
Control+j,Control+m,Return,KP_Enter (Default)
-kb-accept-custom [string] Use entered text as command (in ssh/run modes)
Control+Return (Default)
-kb-accept-custom-alt [string] Use entered text as command (in ssh/run modes)
Control+Shift+Return (Default)
-kb-accept-alt [string] Use alternate accept command.
Shift+Return (Default)
-kb-delete-entry [string] Delete entry from history
Shift+Delete (Default)
-kb-mode-next [string] Switch to the next mode.
Shift+Right,Control+Tab (Default)
-kb-mode-previous [string] Switch to the previous mode.
Shift+Left,Control+ISO_Left_Tab (Default)
-kb-mode-complete [string] Start completion for mode.
Control+l (Default)
-kb-row-left [string] Go to the previous column
Control+Page_Up (Default)
-kb-row-right [string] Go to the next column
Control+Page_Down (Default)
-kb-row-up [string] Select previous entry
Up,Control+p (Default)
-kb-row-down [string] Select next entry
Down,Control+n (Default)
-kb-row-tab [string] Go to next row, if one left, accept it, if no left next mode.
(Default)
-kb-element-next [string] Go to next element (in logical order).
Tab (Default)
-kb-element-prev [string] Go to next previous element (in logical order).
ISO_Left_Tab (Default)
-kb-page-prev [string] Go to the previous page
Page_Up (Default)
-kb-page-next [string] Go to the next page
Page_Down (Default)
-kb-row-first [string] Go to the first entry
Home,KP_Home (Default)
-kb-row-last [string] Go to the last entry
End,KP_End (Default)
-kb-row-select [string] Set selected item as input text
Control+space (Default)
-kb-screenshot [string] Take a screenshot of the rofi window
Alt+S (Default)
-kb-ellipsize [string] Toggle between ellipsize modes for displayed data
Alt+period (Default)
-kb-toggle-case-sensitivity [string] Toggle case sensitivity
grave,dead_grave (Default)
-kb-toggle-sort [string] Toggle sort
Alt+grave (Default)
-kb-cancel [string] Quit rofi
Escape,Control+g,Control+bracketleft,MouseSecondary (Default)
-kb-custom-1 [string] Custom keybinding 1
Alt+1 (Default)
-kb-custom-2 [string] Custom keybinding 2
Alt+2 (Default)
-kb-custom-3 [string] Custom keybinding 3
Alt+3 (Default)
-kb-custom-4 [string] Custom keybinding 4
Alt+4 (Default)
-kb-custom-5 [string] Custom Keybinding 5
Alt+5 (Default)
-kb-custom-6 [string] Custom keybinding 6
Alt+6 (Default)
-kb-custom-7 [string] Custom Keybinding 7
Alt+7 (Default)
-kb-custom-8 [string] Custom keybinding 8
Alt+8 (Default)
-kb-custom-9 [string] Custom keybinding 9
Alt+9 (Default)
-kb-custom-10 [string] Custom keybinding 10
Alt+0 (Default)
-kb-custom-11 [string] Custom keybinding 11
Alt+exclam (Default)
-kb-custom-12 [string] Custom keybinding 12
Alt+at (Default)
-kb-custom-13 [string] Custom keybinding 13
Alt+numbersign (Default)
-kb-custom-14 [string] Custom keybinding 14
Alt+dollar (Default)
-kb-custom-15 [string] Custom keybinding 15
Alt+percent (Default)
-kb-custom-16 [string] Custom keybinding 16
Alt+dead_circumflex (Default)
-kb-custom-17 [string] Custom keybinding 17
Alt+ampersand (Default)
-kb-custom-18 [string] Custom keybinding 18
Alt+asterisk (Default)
-kb-custom-19 [string] Custom Keybinding 19
Alt+parenleft (Default)
-kb-select-1 [string] Select row 1
Super+1 (Default)
-kb-select-2 [string] Select row 2
Super+2 (Default)
-kb-select-3 [string] Select row 3
Super+3 (Default)
-kb-select-4 [string] Select row 4
Super+4 (Default)
-kb-select-5 [string] Select row 5
Super+5 (Default)
-kb-select-6 [string] Select row 6
Super+6 (Default)
-kb-select-7 [string] Select row 7
Super+7 (Default)
-kb-select-8 [string] Select row 8
Super+8 (Default)
-kb-select-9 [string] Select row 9
Super+9 (Default)
-kb-select-10 [string] Select row 10
Super+0 (Default)
-kb-entry-history-up [string] Go up in the history of the entry box
Control+Up (Default)
-kb-entry-history-down [string] Go down in the history of the entry box
Control+Down (Default)
-kb-matcher-up [string] Switch to the previous matcher
Super+equal (Default)
-kb-matcher-down [string] Switch to the next matcher
Super+minus (Default)
-ml-row-left [string] Go to the previous column
ScrollLeft (Default)
-ml-row-right [string] Go to the next column
ScrollRight (Default)
-ml-row-up [string] Select previous entry
ScrollUp (Default)
-ml-row-down [string] Select next entry
ScrollDown (Default)
-me-select-entry [string] Select hovered row
MousePrimary (Default)
-me-accept-entry [string] Accept hovered row
MouseDPrimary (Default)
-me-accept-custom [string] Accept hovered row with custom action
Control+MouseDPrimary (Default)
Display backends:
• xcb: selected
• wayland
Detected modes:
• +window
• windowcd
• +run
• +ssh
• +drun
• combi
• keys
• filebrowser
• recursivebrowser
Detected user scripts:
Compile time options:
• Pango version 1.58.2
• window enabled
• drun enabled
• asan disabled
• imdkit disabled
• xcb enabled
• wayland enabled (1.26.0)
For more information see: man rofi
Version: 2.1.0
Bugreports: https://github.com/davatorium/rofi/
Support: https://github.com/davatorium/rofi/discussions
#rofi @ libera.chat
Configuration file: /tmp/.config/rofi/config.rasi
Parsed files:
XDG Data directories
User:
• XDG_DATA_HOME='/tmp/.local/share'
• XDG_CONFIG_HOME='/tmp/.config'
• XDG_CACHE_HOME='/tmp/.cache'
• Desktop='/tmp/Desktop'
• pictures='(null)'
System:
• XDG_DATA_DIRS=['/usr/local/share/','/usr/share/']
• XDG_CONFIG_DIRS=['/etc/xdg']
Options (182)
| Option | Description | Source |
|---|---|---|
-config file | Load an alternative configuration. | help |
-no-config | Do not load configuration, use default values. | help |
-v, -version | Print the version number and exit. | help |
-dmenu | Start in dmenu mode. | help |
-display string | X server to contact. | help |
-h, -help | This help message. | help |
-e string | Show a dialog displaying the passed message and exit. | help |
-markup | Enable pango markup where possible. | help |
-normal-window | Behave as a normal window. | help |
-transient-window | Behave as a modal dialog that is transient to the currently focused window. | help |
-show mode | Show the mode 'mode' and exit. | help |
-no-lazy-grab | Disable lazy grab that, when fail to grab keyboard, does not block but retry later. | help |
-no-plugins | Disable loading of external plugins. | help |
-plugin-path | Directory used to search for rofi plugins. | help |
-dump-config | Dump the current configuration in rasi format and exit. | help |
-dump-theme | Dump the current theme in rasi format and exit. | help |
-list-keybindings | Print a list of current keybindings and exit. | help |
-mesg string | Print a small user message under the prompt (uses pango markup) | help |
-p string | Prompt to display left of entry field | help |
-selected-row integer | Select row | help |
-format string | Output format string s | help |
-u list | List of row indexes to mark urgent | help |
-a list | List of row indexes to mark active | help |
-l integer | Number of rows to display | help |
-window-title string | Set the dmenu window title | help |
-i | Set filter to be case insensitive | help |
-only-match | Force selection to be given entry, disallow no match | help |
-no-custom | Don't accept custom entry, allow no match | help |
-select string | Select the first row that matches | help |
-password | Do not show what the user inputs. | help |
-markup-rows | Allow and render pango markup as input data. | help |
-sep char | Element separator. | help |
-input filename | Read input from file instead from standard input. | help |
-sync | Force dmenu to first read all input data, then show dialog. | help |
-w windowid | Position over window with X11 windowid. | help |
-keep-right | Set ellipsize to end. | help |
-display-columns | Only show the selected columns | help |
-display-column-separator | Separator to use to split columns (regex) | help |
-ballot-selected-str | When multi-select is enabled prefix this string when element is selected. | help |
-ballot-unselected-str | When multi-select is enabled prefix this string when element is not selected. | help |
-ellipsize-mode end | Set ellipsize mode(start | middle | end). | help |
-modes string | Enable modes window,drun,run,ssh (Default) | help |
-font string | Font to use mono 12 (Default) | help |
-location number | Location on screen 0 (Default) | help |
-wayland-layer string | On Wayland, specifies the layer where rofi is rendered. | help |
-yoffset number | Y-offset relative to location. | help |
-xoffset number | X-offset relative to location. | help |
-preview-cmd string | Custom command to generate preview icons (unset) (Default) | help |
-on-selection-changed string | Custom command to call when menu selection changes (unset) (Default) | help |
-on-mode-changed string | Custom command to call when menu mode changes (unset) (Default) | help |
-on-entry-accepted string | Custom command to call when menu entry is accepted (unset) (Default) | help |
-on-menu-canceled string | Custom command to call when menu is canceled (unset) (Default) | help |
-on-menu-error string | Custom command to call when menu finds errors (unset) (Default) | help |
-on-screenshot-taken string | Custom command to call when menu screenshot is taken (unset) (Default) | help |
-terminal string | Terminal to use rofi-sensible-terminal (Default) | help |
-ssh-client string | Ssh client to use ssh (Default) | help |
-ssh-command string | Ssh command to execute {terminal} -e {ssh-client} {host} [-p {port}] (Default) | help |
-run-command string | Run command to execute {cmd} (Default) | help |
-run-list-command string | Command to get extra run targets (Default) | help |
-run-shell-command string | Run command to execute that runs in shell {terminal} -e {cmd} (Default) | help |
-window-command string | Command to executed when -kb-accept-alt binding is hit on selected window wmctrl -i -R {window} (Default) | help |
-window-match-fields string | Window fields to match in window mode all (Default) | help |
-icon-theme string | Theme to use to look for icons (unset) (Default) | help |
-drun-match-fields string | Desktop entry fields to match in drun name,generic,exec,categories,keywords (Default) | help |
-drun-categories string | Only show Desktop entry from these categories (unset) (Default) | help |
-drun-exclude-categories string | Exclude Desktop entries from these categories (unset) (Default) | help |
-drun-display-format string | DRUN format string. | help |
-drun-url-launcher string | Command to open a Desktop Entry that is a Link. | help |
-ignored-prefixes string | Programs ignored for history (Default) | help |
-sorting-method string | Choose sort strategy: normal (levenshtein) or fzf. | help |
-eh number | Row height (in chars) 1 (Default) | help |
-combi-modes string | Set the modes to combine in combi mode window,run (Default) | help |
-matching string | Set the matching algorithm. | help |
-m string | Monitor id to show on | help |
-5 (Default) | help | |
-filter string | Pre-set filter (unset) (Default) | help |
-dpi number | DPI | help |
-1 (Default) | help | |
-threads number | Threads to use for string matching 0 (Default) | help |
-scroll-method number | Scrolling method. | help |
-window-format string | Window Format. | help |
-touch-scroll-step number | Touch swipe in pixels per scroll step, 0 for one list element (wayland) 0 (Default) | help |
-max-history-size number | Max history size (WARNING: can cause slowdowns when set too high). | help |
-combi-display-format string | Combi format string. | help |
-matching-negate-char character | Set the character used to negate the matching. | help |
-cache-dir string | Directory where history and temporary files are stored. | help |
-application-fallback-icon string | Fallback icon to use when the application icon is not found in run/drun. | help |
-refilter-timeout-limit number | When filtering takes more then this time (in ms) switch to delayed filter. | help |
-completer-mode string | What completer to use for drun/run. | help |
-fallback-icon-themes string | List of fallback icon themes Adwaita,gnome (Default) | help |
-pid string | Pidfile location /tmp/.cache/rofi.pid (Default) | help |
-display-window string | The display name of this browser (unset) (Default) | help |
-display-windowcd string | The display name of this browser (unset) (Default) | help |
-display-run string | The display name of this browser (unset) (Default) | help |
-display-ssh string | The display name of this browser (unset) (Default) | help |
-display-drun string | The display name of this browser (unset) (Default) | help |
-display-combi string | The display name of this browser (unset) (Default) | help |
-display-keys string | The display name of this browser (unset) (Default) | help |
-display-filebrowser string | The display name of this browser (unset) (Default) | help |
-display-recursivebrowser string | The display name of this browser (unset) (Default) | help |
-kb-primary-paste string | Paste primary selection Control+V,Shift+Insert (Default) | help |
-kb-secondary-paste string | Paste clipboard Control+v,Insert (Default) | help |
-kb-secondary-copy string | Copy to clipboard Control+c (Default) | help |
-kb-clear-line string | Clear input line Control+w (Default) | help |
-kb-move-front string | Beginning of line Control+a (Default) | help |
-kb-move-end string | End of line Control+e (Default) | help |
-kb-move-word-back string | Move back one word Alt+b,Control+Left (Default) | help |
-kb-move-word-forward string | Move forward one word Alt+f,Control+Right (Default) | help |
-kb-move-char-back string | Move back one char Left,Control+b (Default) | help |
-kb-move-char-forward string | Move forward one char Right,Control+f (Default) | help |
-kb-remove-word-back string | Delete previous word Control+Alt+h,Control+BackSpace (Default) | help |
-kb-remove-word-forward string | Delete next word Control+Alt+d (Default) | help |
-kb-remove-char-forward string | Delete next char Delete,Control+d (Default) | help |
-kb-remove-char-back string | Delete previous char BackSpace,Shift+BackSpace,Control+h (Default) | help |
-kb-remove-to-eol string | Delete till the end of line Control+k (Default) | help |
-kb-remove-to-sol string | Delete till the start of line Control+u (Default) | help |
-kb-transpose-chars string | Transpose (swap) two chars before cursor Control+t (Default) | help |
-kb-accept-entry string | Accept entry Control+j,Control+m,Return,KP_Enter (Default) | help |
-kb-accept-custom string | Use entered text as command (in ssh/run modes) Control+Return (Default) | help |
-kb-accept-custom-alt string | Use entered text as command (in ssh/run modes) Control+Shift+Return (Default) | help |
-kb-accept-alt string | Use alternate accept command. | help |
-kb-delete-entry string | Delete entry from history Shift+Delete (Default) | help |
-kb-mode-next string | Switch to the next mode. | help |
-kb-mode-previous string | Switch to the previous mode. | help |
-kb-mode-complete string | Start completion for mode. | help |
-kb-row-left string | Go to the previous column Control+Page_Up (Default) | help |
-kb-row-right string | Go to the next column Control+Page_Down (Default) | help |
-kb-row-up string | Select previous entry Up,Control+p (Default) | help |
-kb-row-down string | Select next entry Down,Control+n (Default) | help |
-kb-row-tab string | Go to next row, if one left, accept it, if no left next mode. | help |
-kb-element-next string | Go to next element (in logical order). | help |
-kb-element-prev string | Go to next previous element (in logical order). | help |
-kb-page-prev string | Go to the previous page Page_Up (Default) | help |
-kb-page-next string | Go to the next page Page_Down (Default) | help |
-kb-row-first string | Go to the first entry Home,KP_Home (Default) | help |
-kb-row-last string | Go to the last entry End,KP_End (Default) | help |
-kb-row-select string | Set selected item as input text Control+space (Default) | help |
-kb-screenshot string | Take a screenshot of the rofi window Alt+S (Default) | help |
-kb-ellipsize string | Toggle between ellipsize modes for displayed data Alt+period (Default) | help |
-kb-toggle-case-sensitivity string | Toggle case sensitivity grave,dead_grave (Default) | help |
-kb-toggle-sort string | Toggle sort Alt+grave (Default) | help |
-kb-cancel string | Quit rofi Escape,Control+g,Control+bracketleft,MouseSecondary (Default) | help |
-kb-custom-1 string | Custom keybinding 1 Alt+1 (Default) | help |
-kb-custom-2 string | Custom keybinding 2 Alt+2 (Default) | help |
-kb-custom-3 string | Custom keybinding 3 Alt+3 (Default) | help |
-kb-custom-4 string | Custom keybinding 4 Alt+4 (Default) | help |
-kb-custom-5 string | Custom Keybinding 5 Alt+5 (Default) | help |
-kb-custom-6 string | Custom keybinding 6 Alt+6 (Default) | help |
-kb-custom-7 string | Custom Keybinding 7 Alt+7 (Default) | help |
-kb-custom-8 string | Custom keybinding 8 Alt+8 (Default) | help |
-kb-custom-9 string | Custom keybinding 9 Alt+9 (Default) | help |
-kb-custom-10 string | Custom keybinding 10 Alt+0 (Default) | help |
-kb-custom-11 string | Custom keybinding 11 Alt+exclam (Default) | help |
-kb-custom-12 string | Custom keybinding 12 Alt+at (Default) | help |
-kb-custom-13 string | Custom keybinding 13 Alt+numbersign (Default) | help |
-kb-custom-14 string | Custom keybinding 14 Alt+dollar (Default) | help |
-kb-custom-15 string | Custom keybinding 15 Alt+percent (Default) | help |
-kb-custom-16 string | Custom keybinding 16 Alt+dead_circumflex (Default) | help |
-kb-custom-17 string | Custom keybinding 17 Alt+ampersand (Default) | help |
-kb-custom-18 string | Custom keybinding 18 Alt+asterisk (Default) | help |
-kb-custom-19 string | Custom Keybinding 19 Alt+parenleft (Default) | help |
-kb-select-1 string | Select row 1 Super+1 (Default) | help |
-kb-select-2 string | Select row 2 Super+2 (Default) | help |
-kb-select-3 string | Select row 3 Super+3 (Default) | help |
-kb-select-4 string | Select row 4 Super+4 (Default) | help |
-kb-select-5 string | Select row 5 Super+5 (Default) | help |
-kb-select-6 string | Select row 6 Super+6 (Default) | help |
-kb-select-7 string | Select row 7 Super+7 (Default) | help |
-kb-select-8 string | Select row 8 Super+8 (Default) | help |
-kb-select-9 string | Select row 9 Super+9 (Default) | help |
-kb-select-10 string | Select row 10 Super+0 (Default) | help |
-kb-entry-history-up string | Go up in the history of the entry box Control+Up (Default) | help |
-kb-entry-history-down string | Go down in the history of the entry box Control+Down (Default) | help |
-kb-matcher-up string | Switch to the previous matcher Super+equal (Default) | help |
-kb-matcher-down string | Switch to the next matcher Super+minus (Default) | help |
-ml-row-left string | Go to the previous column ScrollLeft (Default) | help |
-ml-row-right string | Go to the next column ScrollRight (Default) | help |
-ml-row-up string | Select previous entry ScrollUp (Default) | help |
-ml-row-down string | Select next entry ScrollDown (Default) | help |
-me-select-entry string | Select hovered row MousePrimary (Default) | help |
-me-accept-entry string | Accept hovered row MouseDPrimary (Default) | help |
-me-accept-custom string | Accept hovered row with custom action Control+MouseDPrimary (Default) | help |
Examples (7) from the manual page, untested
rofi -modes run -show run
Show the run dialog:rofi -modes run,drun -show run
Show the run dialog, and allow switching to Desktop File run dialog (drun):rofi -modes combi -show combi -combi-modes run,drun
Combine the run and Desktop File run dialog (drun):rofi -modes combi,window -show combi -combi-modes run,drun
Combine the run and Desktop File run dialog (drun), and allow switching to window switcher:rofi -e "This is the end"
Pop up a text message claiming that this is the end:rofi -e "<span color='red'><b>This is still the end</b></span>" -markup
Pop up a text message in red, bold font claiming that this is still the end:rofi -show keys
Show all key bindings: