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?

  • chronicledmonocle@lemmy.world
    link
    fedilink
    arrow-up
    2
    arrow-down
    2
    ·
    53 minutes ago

    So you’re using Hyprland WM… I’m assuming to have a minimalistic Window Manager… But you want an app launcher.

    No offense, but FFS just use a DE at that point. You’re just creating a DE with extra steps. KDE is nice and fairly lightweight.

    • jmf@lemm.ee
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      32 minutes ago

      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!

  • boredsquirrel@slrpnk.net
    link
    fedilink
    arrow-up
    16
    arrow-down
    1
    ·
    9 hours 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.

    • gwilikers@lemmy.mlOP
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      3 hours 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
    14
    arrow-down
    1
    ·
    10 hours 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
      4
      ·
      edit-2
      10 hours 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.

  • hushable@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    8 hours ago

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

  • communism@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    7 hours 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

    • 8Bitz0@discuss.tchncs.de
      link
      fedilink
      arrow-up
      1
      ·
      5 hours 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.

    • kelvie@lemmy.ca
      link
      fedilink
      arrow-up
      1
      ·
      28 minutes 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

  • www-gem@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    9 hours 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
    ·
    10 hours 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
      3
      ·
      edit-2
      7 hours 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
        1
        ·
        2 minutes 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

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

  • TootSweet@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    12 hours ago

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

  • khurozov@jvm.social
    link
    fedilink
    arrow-up
    2
    ·
    10 hours 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