Questions tagged [rofi]
22 questions
8
votes
1 answer
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
- 2,478
- 1
- 22
- 47
5
votes
2 answers
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. I've been wanting to change where I keep my…
SandWood Jones
- 53
- 5
4
votes
1 answer
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 to do something more generic in i3 & picom…
OJFord
- 1,838
- 1
- 16
- 26
4
votes
0 answers
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 Rofi or similar apps? It is already set in my…
hicksca
- 41
- 1
- 3
2
votes
1 answer
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 strings. I currently implement the gen_x-function with…
Friendly Penguin 123
- 23
- 3
2
votes
0 answers
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, a command I had run some time in the past, out…
Dargscisyhp
- 251
- 1
- 6
2
votes
1 answer
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 tried this but it's not working.
termite -e run.sh or…
Nora
- 21
- 1
2
votes
1 answer
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 as a drop-in dmenu replacement, but the path…
Jonathan
- 1,210
- 4
- 23
- 41
1
vote
1 answer
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 logical order).(kb-element-next):
there is…
sahil
- 23
- 3
1
vote
2 answers
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 exec command ?
I have binded rofi menu using this…
Jan Černý
- 1,185
- 2
- 24
- 46
1
vote
1 answer
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 toggle it back to not running, I tried:
pkill -0…
scribe
- 123
- 5
1
vote
1 answer
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 run this script from terminal it works perfectly,…
Ritesh Sahu
- 61
- 6
1
vote
1 answer
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
- 61
- 6
1
vote
1 answer
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, and the actual filename isn't visible, as Rofi…
aksh1618
- 326
- 1
- 15
1
vote
2 answers
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 ~/.icons. On Gentoo Linux this command causes icons to…
Josh Pinto
- 3,483
- 15
- 52
- 87