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?
You're right I sbould have included that in the question. I'm on Hyprland with Wayland so there are quite a few choices. I mentioned rofi (rofi-wayland) and wofi because I can see that they are both options here.
I just use whatever is included with the desktop environment. On KDE and GNOME launching an application involves pressing the Super ("Windows") key, typing the first couple of letters of the application I want to launch and pressing the return key.
I might be missing something here but I don't know how other launchers could possibly make this a simpler process.
I might be missing something here but I don’t know how other launchers could possibly make this a simpler process.
Shortcuts to launch an app directly in example. So my keyboard becomes my launcher.
I use bunch of different tools, including KRunner (on KDE) and previously Rofi. These type name and search tools for launching an app have the problem that you need to remember what name the tool was. For programs I use often this is not an issue, but not all applications have names good to remember and not all of them are used often. The associated description helps, but sometimes I don't know what words to type.
Therefore I "need" the app menu with categories and favorites, to navigate with the mouse through. And the most used applications are usually assigned to a shortcut and my panel on the top. In short I use mostly all of these techniques as an application launcher (in that order):
favorites on panel and my keyboard shortcuts
app menu with categories, navigating with mouse
run tool to search for app name and description (also integrated into the app menu)
additional helper scripts to search and launch programs in the terminal
Edit: Forgot to mention that some of the launchers I use are custom made scripts for the terminal.
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
Lots of stuff I'd want in an applications launcher on hyperland.
I'd need it to have all the functions of the important system indicators and essentially take the role of the top panel in gnome.
dmenu is iconic for a reason, although manually patching it to meet your preferences is a bit too much of a project for people who just want something to work. not wanting to learn C is valid.
I like fuzzel, had a few issues with dpi scaling on wofi out of the box.
Easy to integrate clipboard/window select/dmenu binds and a way to distinguish indexed entries from straight text was a plus.
Honestly unless you're going out of the box to something new (Walker and anyrun caught my eye) dmenu has had everything I needed for years... But I don't want to set it up again. Not again.
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.)
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 and ln -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 well
Yeah 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
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).
I like rofi because of how many different modes people have made for it, e.g. rofi-calc, and the customisability is great too. Unfortunately it can be slow to start, but if speed is of utmost importance to you and you're on Wayland, you might want to look into tofi
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
Plasma has such a good tiling window manager now as well, with one of the most low resource draw frameworks powering it. But it isn't cool and hip I guess!