When I hit MOD-p in XMonad, I used to get a list of commands. Now I just get an empty menu. If I type the name of an executable on my path and hit the carriage return, the command executes as expected. But why aren't any programs listed in the menu? Solution is posted below.
In XMonad, Mod-p (dmenu_run) displays an empty menu
224 views Asked by mhwombat At
1
There are 1 answers
Related Questions in XMONAD
- How can I change XMobar's Kbd monitor plugin such that clicking on it loops throught the layouts?
- Xmonad is ignoring my keybinding for switching workspaces
- Xmobar commands stuck on 'Updating...'
- Using the BatteryP monitor plugin's -a option causes waitForProcess error in XMobar
- How do I spawn a shell command from X monad and get it output?
- Clickable XMobar works... but crashes XMobar. What is the modern approach I should follow to have anything I want clickable in XMobar?
- How do I make xmonad use a haskell-based xmobar?
- How to manage XMonad (and xmobar and anything else related to it) via GHCup+cabal?
- How do I write the action to loop through layouts?
- How can I figure out specific app is running on Xmonad?
- XMonad: workspaces seem not to be working
- XMonad.Util.Paste.sendKey does not work in some applications?
- XMonad IndependantScreens does not load workspaces on second Screen at startup
- Adjust keybinding depending on number of screens in Xmonad
- Is there a `ifWindowCount` function in xmonad?
Related Questions in DMENU
- How to make this script run in dmenu?
- Display passwords from pass (the standard unix password manager) in dmenu-mac, by executing a shell script
- How do I change dmenu font and size?
- How can I cycle through an array in bash while also passing an argument to the script?
- ValueError: embedded null byte while using os.popen().read()
- In XMonad, Mod-p (dmenu_run) displays an empty menu
- ls ~ / | rofi -show -dmenu does not work with shortcuts in ubuntu
- dmenu hide part of string
- How to get first word of every line and pipe it into dmenu script
- using dmenu to define variables
- Launching a process from dmenu blocks XMonad
- How can I run a .jar program directly from /bin?
- How can dmenu show input as soon as there is input from pipe?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
By default, XMonad maps MOD-p to
dmenu_run. (You can see the default key bindings in the source code on github.) So I tried launchingdmenu_runfrom the command line and saw the same behaviour; a blank menu that allows me to type the name of an executable in my path.The problem was that the file
~/.cache/dmenu_runwas empty. When I deleted this file and randmenu_runagain, it worked perfectly (and created a new, non-empty~/.cache/dmenu_run). I think the problem happened when I added a definition of$XDG_CACHE_HOMEto my.zshrcfile and the cache somehow got blanked out.