Questions tagged [rofi]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
21 views

Rofi leaves unresponsive terminals after run-shell-command | `Q` or `Ctrl-C` don't work

I'm trying to switch from using dmenu to rofi on my system, on which I use i3wm. I have the following keybinding: bindsym $mod+Ctrl+d exec --no-startup-id rofi -combi-modi window#drun#run -show combi -...
nonreligious's user avatar
0 votes
1 answer
431 views

Automatically resize rofi menu height

I want rofi to automatically resize menu's height to the number of available options. There is an option -lines but with it I could only pass constant number. So for each call I'm forced to execute ...
anlar's user avatar
  • 4,155
2 votes
1 answer
388 views

Piping continuous output into rofi

I'm trying to write a bash script to pipe strings into rofi. These strings are continuously generated by a function gen_x. The function gen_x sometimes (only when a condition is met) outputs new ...
Friendly Penguin 123's user avatar
0 votes
2 answers
174 views

How to get full path names of all opened pdf files (in zathura) - like rofi does

I am trying to get the full path of every PDF that I have opened in the zathura viewer. I know it is possible, since with rofi -show window, I can see the full path. I have tried running ps -p $(pgrep ...
I.P's user avatar
  • 111
0 votes
0 answers
193 views

All daemons show in 'rofi -show run' using qtile

I'm having a problem using rofi launcher with qtile Window Manager, the problem is that when I execute "rofi -show run" (with my keybind assignment) and I get a list of all the daemons ...
Raxabi's user avatar
  • 1
1 vote
1 answer
971 views

Cannot start rofi

getting this error after I updated by system yesterday, running endevouros i3 flavor. The following errors where detected when starting rofi: Failed to set binding Tab for: Go to next element (in ...
sahil's user avatar
  • 23
1 vote
2 answers
13k views

How to launch application with rofi using i3wm's exec?

I had this issue and now I know how to solve it. I need to launch applications with i3wm's exec command. ButI use rofi as launchmenu and I have no idea how to make it lauch applications with i3wm's ...
Jan Černý's user avatar
  • 1,331
0 votes
1 answer
4k views

Where is the rofi configuration file?

Where is the rofi configuration file? The various manual/help files are wrong. They state that it is /etc/rofi.rasi but this file does not exist on my system. Furthermore, ~/.config/rofi is empty. The ...
Tyler Durden's user avatar
  • 5,581
1 vote
1 answer
453 views

Why does pkill not work with rofi?

I want to toggle rofi an application launcher with one keybinding. I made a shell script, #!/bin/bash rofi -dpi 1 -modi drun -show drun -show-icons And bound it to some key. This works but to toggle ...
scribe's user avatar
  • 123
5 votes
2 answers
2k views

Is it possible to tell linux to look for .desktop files in a directory?

I started using rofi as an application launcher using its drun function. It works fine, .desktop files in /usr/share/applications and $HOME/.local/share/applications both show on it with no problems. ...
SandWood Jones's user avatar
2 votes
0 answers
108 views

Executing typed Rofi command, not what is selected?

Is there a way to execute the typed command in Rofi, instead of what is highlighted? I'm having an issue where I'm trying to execute gnome-screenshot -a, but Rofi keeps selecting gnome-screenshot -d 2,...
Dargscisyhp's user avatar
4 votes
1 answer
442 views

Set EWMH properties, such as _NET_WM_WINDOW_TYPE, as a user?

For example, rofi runs as _NET_WM_WINDOW_TYPE_NORMAL (or, as I think I understand from the code, otherwise inherits from a parent window), but I'd like it to be _NET_WM_WINDOW_TYPE_POPUP_MENU in order ...
OJFord's user avatar
  • 1,963
0 votes
0 answers
27 views

How to echo a lozenge using bash?

I want to provide output like zsh powerline does: My main goal is to output a lozenge indicating an active item in rofi which I'll be using as a dmenu. How can I echo "Active" as a lozenge ...
Utkarsh Verma's user avatar
8 votes
1 answer
2k views

How multi-select work in rofi dmenu

I am using rofi 1.5.4 Suppose I run the command echo -e "Option #1\nOption #2\nOption #3" | rofi -dmenu -multi-select | xargs -I{} echo {} What keys shall I use to select multiple menu item?...
Ahmad Ismail's user avatar
  • 2,648
2 votes
1 answer
536 views

How to use terminal as program runner with FZF

I have a thought. Can I use a terminal as program runner? Instead of dmenu / rofi I was thinking to list all the programs with FZF, run the selection, and then close the terminal after it runs. I ...
Nora's user avatar
  • 21
1 vote
1 answer
99 views

Script becomes unresponsive when running from gnome keyboard shortcut

I have a shell script /usr/local/bin/myrofi.sh which contains: #!/bin/sh /usr/bin/rofi -run-list-command ". /usr/local/bin/get_aliases.sh" -run-command "/usr/bin/zsh -i -c '{cmd}'" -show run when I ...
Ritesh Sahu's user avatar
1 vote
1 answer
866 views

Rofi run mode is not showing ~/bin executables

When I run rofi in run mode it shows /usr/bin executables but it doesn't show my ~/bin executables. I have ~/bin in the $PATH variable in .zprofile file.
Ritesh Sahu's user avatar
4 votes
0 answers
3k views

How do I get Rofi/Dmenu to read my $PATH?

I have a very similar issue to How to get installed application to be detected by rofi? - or rather a followup question. My question is, outside of symlinking, is there a way to export my path for ...
hicksca's user avatar
  • 41
0 votes
1 answer
4k views

Rofi icons not showing on void-linux + i3 + Papirus icon theme

After I installed the papirus-icon-theme package, I setup rofi configuration like this: rofi.theme: ~/.vendor/gruvbox-rofi/gruvbox-dark.rasi rofi.show-icons: true At rofi launch, I can see a space ...
Soullivaneuh's user avatar
1 vote
1 answer
199 views

Truncate from beginning in Rofi

I'm using this command for a rofi-locate script (source): xdg-open "$(locate $query | rofi -threads 0 -width 90 -dmenu -i -p "locate:")" Currently all long path results are truncated from the end, ...
aksh1618's user avatar
  • 326
2 votes
1 answer
3k views

In NixOS, is there a way to use Rofi instead of Dmenu when invoking Passmenu?

I'm using the pass package for password management. The passmenu command that comes with it uses dmenu, but I'd like for it to use Rofi instead. I saw on the Arch wiki that it's possible to use rofi ...
Jonathan's user avatar
  • 1,260
1 vote
2 answers
14k views

Why doesn't Rofi show icons on Debian 9 when run with drun-icon-theme option?

I use i3 as my primary user interface. To start applications I use Rofi which I execute as: rofi -show drun -drun-icon-theme MacBuntu-Remix where MacBuntu-Remix is a theme I have installed in ~/....
Josh Pinto's user avatar
  • 3,493