Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [dmenu]

dmenu implements an X11 popup window listing lines from stdin, and allows you to select and edit them with the keyboard. Used for minimalist interaction, for example by i3wm.

Filter by
Sorted by
Tagged with
0 votes
2 answers
47 views

access shell alias with dmenu

I have a collection of bash commands (one liners) that I use on a regular basis to open new shells or start programs with a given set of arguments. As I use dmenu, I'd like to be able to use those ...
PinkFloyd's user avatar
  • 429
0 votes
0 answers
10 views

"i3 exec" Not Working When Used With Xbindkeys Shortcut

I am making a "dmenu" shell script that will read a list of my VPN connetions and pipe them through dmenu. After the user selects the appropriate entry we call "nmcli". Bellow is ...
sashok_bg's user avatar
  • 111
0 votes
0 answers
36 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
0 answers
49 views

fzf output to xdotool instead of the terminal

I can create a fzf.sh script to launch a list of items, allow me to select an item, and print the output of the specific line selected to the terminal: #!/bin/bash cat ~/list.txt | fzf --reverse I ...
jophuh's user avatar
  • 23
2 votes
1 answer
491 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
1 vote
0 answers
439 views

Sway's dmenu not finding $PATH

I recently installed EndeavourOS, followed by Sway I've added ~/scripts/screenshot.sh however dmenu is not finding it, so tried adding ~/scripts to my path environment however none of my approaches ...
andrewjamesbowen's user avatar
2 votes
1 answer
85 views

How to add a substring to a string as a column

The title may not be the best at describing the issue, but this was the best I could come up with, moving on to describe what I'm trying to do, I use artix runit as my os, and it is tedious to create ...
Stagnant's user avatar
0 votes
1 answer
584 views

Ubuntu / i3wm: rename AppImage in dmenu entry

I downloaded an AppImage (LogSeq to be precise) and wanted to add it to the dmenu. With the help of a friend i did the following: move AppImage to a appropriate directory (not required, but appears ...
anotherFishInTheTank's user avatar
0 votes
0 answers
161 views

dmenu auto execute command if only one option is left

is there a way of having dmenu automatically exectue a given command, if there is only one option left? What I mean is this: Say I have a set of options: Execute A Execute B Execute C etc. When I ...
I.P's user avatar
  • 111
0 votes
1 answer
75 views

Why do some fonts appear zoomed in after system update?

Since the last system update, for various applications the font size has increased. Even one application for which I can be sure, that it has not been replaced, because I have a custom version and ...
Benj's user avatar
  • 123
0 votes
2 answers
915 views

How to run scripts from Awesome Window Manager

I would like to run scripts with a shortcut the same way I can run apps like firefox. I have a Dmenu script (called dmconf) that list all my configuration files, I've already make it executable and is ...
GhostOrder's user avatar
0 votes
1 answer
504 views

How to use high priority patch in dmenu

I am trying to use this patch in dmenu https://tools.suckless.org/dmenu/patches/highpriority/ I have the patch installed but I can not figure out how to set hp (the list of items to be considered high ...
Michael Gallo's user avatar
1 vote
0 answers
48 views

Why does dmenu block SIGINT propagation?

When running Jetbrains IDEs (such as PyCharm and Android Studio) through dmenu, I get the following warning: The IDE ignores SIGINT: the "Stop" button in run configurations may not work. It then ...
cdgraham's user avatar
  • 111
0 votes
1 answer
402 views

Certain programs launched by Dmenu immediately close after opening

I'm writing this question because I'm trying to launch a web browser called vimb using dmenu, but by first running it through a program called tabbed. For context, vimb is a minimal browser I've taken ...
LiveAndLetLove's user avatar
1 vote
1 answer
4k views

Manjaro i3 fresh install; dmenu not working

dmenu not working in a fresh i3 setup This is the second time this is happening for me. (I reinstalled it) The error I get is, warning: no locale support warning: no locale modifiers support My ...
Goutham Ganesan's user avatar
0 votes
1 answer
109 views

Kerberos with i3-dmenu-desktop

I use Kerberos authentication in Thunderbird, Firefox and for ssh and it works just fine if I use the programs from the shell. But when I use i3-dmenu-desktop to start Thunderbird and Firefox, the ...
Johannes Titz's user avatar
2 votes
1 answer
558 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
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
432 views

Multiples of entries for the same software name

For a while now I have been using i3 with dmenu over a xubuntu. One thing that keeps bugging me is that there are some apps for example on my install the "file manager", "vlc media player" and "xfce ...
Bence Vörös's user avatar
1 vote
1 answer
1k views

Downgrading libfontconfig1 causing Fontconfig error

During the building of dwm, I was prompted that X11/Xft/Xft.h cannot be found and apt-get can't install it because libfontconfig1 is 2.13.0-5 while 2.11.0 is required. So I downgraded the ...
JiaHao Xu's user avatar
  • 228
0 votes
1 answer
2k views

How does dmenu_run work?

My system is Debian 9.4 which uses linux kernel 4.9.0-8-amd64 and echo $SHELL on my system gives /bin/bash and /bin/sh is a link to /bin/dash. I was curious why every time I run an application with ...
JiaHao Xu's user avatar
  • 228
3 votes
1 answer
1k views

dmenu: how to create submenu

In a simple way, how to create a submenu of dmenu, manpage doesn't help much also archlinux, gentoo wikipage, Use case: I'd to pip a list of note files to dmenu and then list all that files under a ...
raring-coffee20's user avatar
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,280
1 vote
3 answers
2k views

Hide password in dmenu

I'm new to dmenu. I'm trying to run programs which need sudo permission with dmenu. I've followed this link. So I have script ./dpass in my bin folder which says: #!/bin/bash dmenu -p "$1" <&- ...
odbhut.shei.chhele's user avatar
1 vote
1 answer
1k views

how to enable dmenu autocompletion?

How to enable autocompletion for command options in dmenu? For example with the default options systemctl poweroff autocompletes only systemctl and not poweroff
Reyx_0's user avatar
  • 951
4 votes
1 answer
2k views

Eliminate from dmenu the programs that cannot be launched

I use i3 with dmenu. Is it possible to prevent from showing up the programs that cannot be launched via dmenu? (e.g. top, ps, ls etc...)
Reyx_0's user avatar
  • 951
2 votes
1 answer
505 views

issue with starting apps: command line vs. gui

First off, relevant specs: Arch Linux x86_64 Thinkpad T450s Kernel: 4.13.12-1-ARCH Shell: zsh 5.4.2 WM: i3 + Ly (w/ polybar, rofi) I am having a problem with getting MATLAB to launch from rofi, or ...
bieberman's user avatar
  • 131
1 vote
1 answer
3k views

How to define some shortcut-keys for dmenu?

When using dmenu to launch applications, it supports Ctrl+N and Ctrl+P to choose next one and previous one. How can I define Ctrl+H and Ctrl+L to function same to choose?
Yu Su's user avatar
  • 11
0 votes
1 answer
435 views

Differences in launching a program through terminal and through an application launcher

I am trying to run GVim with Vim LaTex-Suite to be able to compile LaTeX documents. I have two ways of running GVim: Open Terminal, then type gvim and enter Use an application launcher e.g. xfce4-...
Zili's user avatar
  • 3
6 votes
1 answer
5k views

How to reset dmenu app launching preferences in i3

I accidentally selected "terminal" instead of "background" in dmenu when I launched a GUI applications. Now, every time I launch the app I get an unwanted terminal. How do I reset the dmenu preference?...
crypdick's user avatar
  • 1,743
1 vote
2 answers
1k views

Arch linux + I3 + URXVT: ROFI opens nano editor in bash instead of URXVT

The bash script that uses ROFI is: xdg-open "$(locate home | rofi threads 0 -dmenu -i -p "locate:")" This works fine from URXVT (command line), but when I bind this to a key and open ROFI, Every ...
Prashant Thomas's user avatar
1 vote
0 answers
632 views

How do I replace the spectrwm bar with tint2, while maintaining dmenu?

I am running the spectrwm window manager on a WattOS Microwatt R10 (Ubuntu 16.04 based) install. I would like to do the following: Replace the spectrwm bar with tint2. Need tint2 to appear on all of ...
globetrotterdk's user avatar
6 votes
3 answers
22k views

How to get installed application to be detected by rofi?

I recently installed an IDE into /opt (I know that some recommend putting software into /usr/local but this was entirely self-contained) because the application was not available in my ditro's ...
anon2332's user avatar
  • 101
5 votes
1 answer
1k views

Exclude windows with no static id from Compton

I use archlinux and compton. I read this in the wiki: Exclude all windows with no name from compton using the following options: $ compton <other arguments> --focus-exclude "! name~=" ...
linuxNewbie's user avatar
3 votes
1 answer
803 views

i3 run dmenu in different modes for each workspace

Assume I would open a new workspace e.g. to run a terminal in the next unused workspace. i3-msg workspace $(($(i3-msg -t get_workspaces | tr , '\n' | grep '"num":' | cut -d : -f 2 | sort -rn | head -...
Hölderlin's user avatar
  • 1,188
19 votes
4 answers
25k views

i3 dmenu does not browse $PATH

I want to run a shell script ~/.local/bin/test.sh via dmenu. If I run dmenu via $mod+D and browse for the entry test.sh I couldn't find it. The path ~/.local/bin is already set to my $PATH variable ...
Hölderlin's user avatar
  • 1,188
4 votes
2 answers
2k views

How do I include shortcuts for the gnome setting program and wine apps in dmenu?

I would like to use dmenu as my launcher instead of the Gnome3-overlay that is displayed after hitting the super-key. From the Gnome3-overlay, I am able to launch both apps, gnome settings, and wine ...
joelostblom's user avatar
  • 1,931
3 votes
1 answer
13k views

Custom font with dmenu_run in i3

I am trying to change the font of dmenu. I am running the i3 window manager. $ dmenu_run -v /bin/bash: line 1: dmenu-4.5,: command not found $ dmenu_run -fn "-xos4-terminus-medium-r-*-*-14-*" ...
ILikeTurtles's user avatar
0 votes
0 answers
146 views

dmenu-like X program, but with dynamically generated results

I really love the simplicity of dmenu, but unfortunately it's a bit limiting for things that would benefit greatly from (or be impossible without) dynamically generated results. For example, using ...
0942v8653's user avatar
  • 233
2 votes
1 answer
827 views

Why do some apps leave KeyRelease events to be consumed by next focused app/window

I'm trying to wrap dmenu within some script to feed it input and act on it, however when pressing the Return key to select some dmenu input, a KeyRelease event gets sent to whatever window is focused ...
Klaas's user avatar
  • 21
0 votes
1 answer
1k views

nmcli_dmenu doesn't work

I try to run nmcli_dmenu, here is the error message: Error: Object 'networking' is unknown, try 'nmcli help'. Usage: nmcli connection { COMMAND | help } COMMAND := { list | status | up | down | ...
Nick's user avatar
  • 1,137
0 votes
2 answers
7k views

How to change dmenu's font size in xmonad?

I just start to use xmonad window manager. It is wonderful. I tried to modify some configurations to get it work more suitable for me. My question is: How to make a keyboard shortcut for commonly ...
Nick's user avatar
  • 1,137
9 votes
1 answer
8k views

Dmenu does not start some programms (e.g., emacs) -- is there a log file?

I'm running dwm with dmenu under Arch Linux. While dmenu is working, it doesn't start some programs, e.g., emacs, although it shows the command with auto-completion. When I start them in the terminal, ...
Michael's user avatar
  • 243
10 votes
1 answer
981 views

How can I access menu bar items alike hud (unity)?

Currently I have archlinux installed, but I used Ubuntu in the past. What I really miss from ubuntu is the HUD from unity which allows hotkey searching for top menu bar items from the current ...
milarepa's user avatar
  • 1,456
3 votes
3 answers
885 views

Dmenu Processes Forked by Bash?

I was looking at the output of pstree, and realised that processes that I started using dmenu seem to fork from bash. What is the reasoning behind this? And is there any way I can make dmenu behave ...
user avatar
12 votes
4 answers
13k views

Transparently run wine programs

When I want to run a wine program I have to type e.g. $ wine ~/.wine/drive_c/Program\ Files/TextAloud/TextAloudMP3.exe Would it be possible to run directly TextAloudMP3? I mean not only from command ...
xralf's user avatar
  • 15.5k