Looking for a good app launcher for Linux. Currently looking for something for Arch and I see there’s a lot of options liks rofi and wofi. What are your favourite app launchers and why?
If you’re on Wayland, fuzzel just keeps getting better each release.
I’ve been looking for something for Wayland, I’ll give this a go, thank you.
Yep I 100% recommend Fuzzel too !
@gwilikers dmenu is suckles app launcher. it’s super minimalistic and can be used for choosing things with other things as well, for example pass_menu
I use fzf with a popup terminal:
# example for i3 bindsym $mod+Return exec --no-startup-id kitty -T _menu_ -e bash -c 'ls $HOME/.local/bin/ | fzf | xargs -r -I{} i3-msg -t command exec $HOME/.local/bin/{}' for_window [title="_menu_"] floating enable for_window [title="_menu_"] resize set 600 800
I like this approach because it’s simple and configurable. I prefer to see only the symlinks/scripts that I put in my local bin folder, but it can easily be extended to support .desktop files, multiple folders, filtering, etc.
I like these self made scripts. Some ideas to improve this: a) instead ls, use find command if you want use its output as input in another program (will yield fullpath too), b) fzf has a preview functionality, which I like a lot to use when it comes to directories or script files. As for the run command, I’m not sure why you use xargs and what i3-msg is needed for. Here is an alternative way.
(Edit: I always forget that beehaw will convert my ampersand to
&
. Have this in mind if you read the below code.)bash -c 'cd "${HOME}/.local/bin"; path="$(find . -maxdepth 1 -type f -executable -printf "%f\n" | fzf --preview "cat {}")" && "${path}"'
below same command in a bit more readable standalone script:
#!/usr/bin/env bash cd "${HOME}/.local/bin" || exit 1 path="$( \ find . -maxdepth 1 -type f -executable -printf "%f\n" | \ fzf --preview "cat {}" \ )" && "${path}"
The biggest problem with fzf is, that scripts that need an argument are not covered here. One could either use the input string from fzf as arguments or like that, or an optional input after fzf selection.
Ah nice! Thanks for the suggestion. Yeah
--preview
is a great feature that is good to remember.And true, it’s better to use
find -executable
than ls. Although in my case I would use-type f -o -type l
since I want to include symlinks (often I will cd into my local bin folder andln -s $(which )
to add it to my launcher). I’m using ls since I only put executables in there and using relative file paths so that it’s nicer to look at. But cd or sed would work as wellYeah the xargs + i3-msg part is a bit clunky but I’m not sure what else to do, since the terminal window needs to close immediately, which prevents the application from running. I tried a few variations with nohup and launching in the background, but haven’t found another solution. But I’m sure there’s a way
I’m fine with Rofi. I’ve used xfce4-appfinder also, it’s less minimal, not configurable (good graphical defaults, might be what you want).
if you come from Windows, liked the 10 start menu, and you want to use KDE, there’s a pretty similar launcher you can use: https://store.kde.org/p/2142716
it does not have collapsible groups and live tiles, but otherwise it’s pretty good I think
Krunner in KDE Plasma. Fast, customisable and reliable.
I also use krunner but unless I’ve misconfigured it, I wouldn’t call it fast (and it freezes a lot since it runs in the background).
Compared to when I used rofi on hyprland (which was really fast). I’m back on KDE cause of the hyprland toxicity debacle, and honesty the only thing that isn’t fast, customizable, and reliable is the app runner.
Krunner also has a weird quirk where as it loads entries, it will change the currently selected option so when you hit Enter, it will actually not execute the one you want, but instead run “Install <random package from fuzzy search>”
Talking out loud I should probably bind alt+space to back to rofi or try Fuzzel or something
try disabling any krunner plugins you don’t need. that should make things faster.
Yes, good addition to my comment, the first thing I do after a new install is also disabling most of the plugins, since there a LOT.
I use rofi as my app launcher and more. I’ve share my old script here.
I have now extended this script to support the following:
- execute a command if the input text belongs to /bin or /usr/local/bin
- do some basic maths (using menu-calc)
- open url in my web browser if the input text starts starts with http(s) or ends with .xxx (where x is any letter)
- translate the input text in English/French using the deepl website if the input text starts with dpen/dpfr
- search the input text with searx (if all the above failed)
- manage my web bookmarks (using buku)
- manage my clipboard (using copyq)
- manage my passwords and autofill fields (using pass)
- manage bluetooth devices
- manage audio sinks and sources
- manage my wifi and vpn
- manage my tmux sessions
Launch your apps from terminal like a real Arch gangsta
anyrun
Unfortunately not actively maintained and the project got stuck in a decision process from the dev for plugin contribution process.
Fortunately still works. A similar project from a contributor there is walker. Very early in development but is way more promising.
Big fan of bash. Pretty sure it’s already installed for you.
Krunner is great.
I wish raycast was available!
The Mac app? That would be great. Only problem is that the plugin ecosystem is centered around macOS, and they use native UI. However, they do have a waitlist for Windows (and iOS).
Something like that is gonna be hard to pull off.
I use dmenu_run because it’s ridiculously minimal, has zero dependencies, is very fast, and fits with the i3 aesthetic well.
I’ve been using ULauncher for a while and I’m quite happy with it, it has plugin support too.