this post was submitted on 29 Sep 2024
64 points (97.1% liked)

Linux

48664 readers
667 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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?

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 33 points 2 months ago (1 children)

Arch is just a distro. What DE or Window manager are you on, Wayland or still XOrg?

rofi and wofi are a good example how this question makes no sense.

[–] [email protected] 7 points 2 months ago (3 children)

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.

[–] [email protected] 7 points 2 months ago* (last edited 2 months ago)

Fuzzel works great for me on Hyprland.

[–] [email protected] 2 points 2 months ago

True, rofi works on Wayland now

[–] [email protected] 2 points 2 months ago

I use a Wayland version of rofi when I use hyprland though wofi probably works fine too (which I believe is default as per the config).

[–] [email protected] 29 points 2 months ago (1 children)

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.

[–] [email protected] 5 points 2 months ago* (last edited 2 months ago)

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):

  1. favorites on panel and my keyboard shortcuts
  2. app menu with categories, navigating with mouse
  3. run tool to search for app name and description (also integrated into the app menu)
  4. 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.

[–] [email protected] 26 points 2 months ago (1 children)

Krunner in KDE Plasma. Fast, customisable and reliable.

[–] [email protected] 4 points 2 months ago (1 children)

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 "

Talking out loud I should probably bind alt+space to back to rofi or try Fuzzel or something

[–] [email protected] 2 points 2 months ago* (last edited 2 months ago)

try disabling any krunner plugins you don't need. that should make things faster.

[–] [email protected] 13 points 2 months ago (2 children)

If you’re on Wayland, fuzzel just keeps getting better each release.

[–] [email protected] 4 points 2 months ago

I’ve been looking for something for Wayland, I’ll give this a go, thank you.

[–] [email protected] 4 points 2 months ago

Yep I 100% recommend Fuzzel too !

[–] [email protected] 7 points 2 months ago

Launch your apps from terminal like a real Arch gangsta

[–] [email protected] 6 points 2 months ago

I use dmenu_run because it's ridiculously minimal, has zero dependencies, is very fast, and fits with the i3 aesthetic well.

[–] [email protected] 5 points 2 months ago (1 children)

I ended up coding my own.

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.

[–] [email protected] 1 points 2 months ago

that's an extreme and impressive solution

[–] [email protected] 5 points 2 months ago

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.

[–] [email protected] 5 points 2 months ago

bemenu. Type stuff in popup, press enter, no confettis thrown on your face.

[–] [email protected] 5 points 2 months ago

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
[–] [email protected] 4 points 2 months ago

Very comfortable with Rofi. It's especially nice in a window manager as it also works as a switcher or shortcut to your open programs.

[–] [email protected] 4 points 2 months ago

I use rofi with these themes and scripts. Never needed anything else.

[–] [email protected] 4 points 2 months ago (1 children)

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.

[–] [email protected] 4 points 2 months ago* (last edited 2 months ago) (1 children)

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.

[–] [email protected] 2 points 2 months ago

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

[–] [email protected] 4 points 2 months ago

I've been using ULauncher for a while and I'm quite happy with it, it has plugin support too.

[–] [email protected] 3 points 2 months ago

@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

[–] [email protected] 2 points 2 months ago

Krunner is great.

[–] [email protected] 2 points 2 months ago (1 children)

Playing along for Mint/Cinnamon suggestions. Already using the Cinimenu (or whatever it is) but its still not "it".

[–] [email protected] 2 points 2 months ago (1 children)

I like ulauncher. That's what I use on my main machine that runs Mint. It's not Mint or Cinnamon specific but it doesn't need to be

[–] [email protected] 2 points 2 months ago

Maybe I misunderstood. Are launchers more like "search" or quick lunch?

I was looking for a start menu replacement.

[–] [email protected] 2 points 2 months ago

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

[–] [email protected] 2 points 2 months ago

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

[–] [email protected] 2 points 2 months ago (1 children)

I wish raycast was available!

load more comments (1 replies)
[–] [email protected] 2 points 2 months ago
[–] [email protected] 2 points 2 months ago

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).

[–] [email protected] 2 points 2 months ago

Big fan of bash. Pretty sure it's already installed for you.

[–] [email protected] 1 points 2 months ago

I use xfce4-appfinder, I just think it's neat

load more comments
view more: next ›