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

Linux

48208 readers
1066 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] 2 points 1 month ago

Krunner is great.

[–] [email protected] 5 points 1 month 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 1 month ago

that's an extreme and impressive solution

[–] [email protected] 1 points 1 month ago

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

[–] [email protected] 4 points 1 month ago

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

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

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

[–] [email protected] 4 points 1 month 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] 1 points 1 month ago (1 children)
[–] [email protected] 1 points 1 month ago

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.

[–] [email protected] 3 points 1 month 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] 7 points 1 month ago

Launch your apps from terminal like a real Arch gangsta

[–] [email protected] 5 points 1 month ago

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

[–] [email protected] 2 points 1 month 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 1 month ago (1 children)

I wish raycast was available!

[–] [email protected] 1 points 1 month ago

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.

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

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

[–] [email protected] 5 points 1 month 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 1 month 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] 34 points 1 month 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 1 month 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] 2 points 1 month ago

True, rofi works on Wayland now

[–] [email protected] 3 points 1 month 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] 7 points 1 month ago* (last edited 1 month ago)

Fuzzel works great for me on Hyprland.

[–] [email protected] 4 points 1 month 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 1 month ago* (last edited 1 month 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 1 month 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] 3 points 1 month 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

load more comments
view more: next ›