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?

  • boredsquirrel@slrpnk.net
    link
    fedilink
    arrow-up
    35
    arrow-down
    1
    ·
    2 months ago

    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.

    • gwilikersOP
      link
      fedilink
      arrow-up
      8
      arrow-down
      1
      ·
      2 months ago

      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.

  • narc0tic_bird@lemm.ee
    link
    fedilink
    arrow-up
    31
    arrow-down
    1
    ·
    2 months ago

    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.

    • thingsiplay@beehaw.org
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      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.

    • kelvie@lemmy.ca
      link
      fedilink
      arrow-up
      4
      ·
      2 months ago

      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

  • gramgan
    link
    fedilink
    arrow-up
    13
    ·
    2 months ago

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

  • TootSweet@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    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.

  • Llituro [he/him, they/them]@hexbear.net
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 months ago

    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.

  • sabin@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    2 months ago

    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.

  • cakeistheanswer@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    5
    ·
    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.

  • www-gem
    link
    fedilink
    arrow-up
    5
    ·
    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
  • ctr1@fl0w.cc
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 months ago

    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.

    • thingsiplay@beehaw.org
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      2 months ago

      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 &amp;. 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 {}")" &amp;&amp; "${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 {}" \
      )" &amp;&amp; "${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.

      • ctr1@fl0w.cc
        link
        fedilink
        English
        arrow-up
        2
        ·
        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

  • bledley@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    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.