Aloha! I used to run krunner inside a hyprland session by invoking krunner via hotkeys or console.

Yesterday I removed plasma-desktop as hyprland does all I need except krunner. I kept the krunner package, but the executable “krunner” is no longer found. Anything I can do except installing the whole plasma-desktop again?

  • ragica@lemmy.ml
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 year ago

    the /usr/bin/krunner executable is owned by the plasma-workspace package. It has a lot of dependencies. So yeah, you basically need a huge chunk of kde/plasma to run it.

    A pretty similar Qt-based launcher utility (not quite so good in some areas, possibly better in some) is called albert, if you don’t want to use plasma anymore.

    • vojel@feddit.de
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      I dont’t see plasma-workspace as a dependecy. Output from paru:

      paru -S krunner                                                                                      ✔  41s   
      resolving dependencies...
      looking for conflicting packages...
      
      Packages (41) kactivities-5.109.0-1  kauth-5.109.0-1  kbookmarks-5.109.0-1  kcodecs-5.109.0-1  kcompletion-5.109.0-1
                    kconfig-5.109.0-1  kconfigwidgets-5.109.0-1  kcoreaddons-5.109.0-1  kcrash-5.109.0-1  kdbusaddons-5.109.0-1
                    kdeclarative-5.109.0-1  kded-5.109.0-1  kglobalaccel-5.109.0-1  kguiaddons-5.109.0-1  ki18n-5.109.0-1
                    kiconthemes-5.109.0-1  kio-5.109.0-2  kirigami2-5.109.0-1  kitemviews-5.109.0-1  kjobwidgets-5.109.0-1
                    knotifications-5.109.0-1  kpackage-5.109.0-1  kservice-5.109.0-1  ktextwidgets-5.109.0-1  kwallet-5.109.0-1
                    kwayland-5.109.0-1  kwidgetsaddons-5.109.0-1  kwindowsystem-5.109.0-1  kxmlgui-5.109.0-1
                    libdbusmenu-qt5-0.9.3+16.04.20160218-6  media-player-info-24-2  plasma-framework-5.109.0-1
                    polkit-qt5-0.114.0-1  qca-qt5-2.3.7-1  qt5-multimedia-5.15.10+kde+r3-1  qt5-speech-5.15.10+kde+r1-1
                    qt5-wayland-5.15.10+kde+r57-1  solid-5.109.0-1  sonnet-5.109.0-1  threadweaver-5.109.0-1  krunner-5.109.0-1
      
      Total Download Size:    41.58 MiB
      Total Installed Size:  133.02 MiB
      

      This is still alot for one tool, but as far as I can see it will not install the whole plasma desktop again. I am running GNOME, so not sure if GNOME already brings some dependencies not mentioned in my output.

        • vojel@feddit.de
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          1 year ago

          Ah I see, ragica is right. krunner bin is part of plasma-workspace, kinda misleading that there’s an own package.

          paru -Fy krunner                                                                                             
          :: Synchronizing package databases...
           core                                          1014.4 KiB   956 KiB/s 00:01 [-------------------------------------------] 100%
           extra                                           38.2 MiB  1133 KiB/s 00:34 [-------------------------------------------] 100%
           multilib                                       215.2 KiB   391 KiB/s 00:01 [-------------------------------------------] 100%
          extra/plasma-workspace 5.27.7-2 (plasma)
              usr/bin/krunner
          
    • wintersummerland@discuss.tchncs.deOP
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Tried Albert, seems very capable, alas it is considered to be a regular window in hyprland. I tried catapult from the aur. Blazing fast and does math, I found my new launcher. Thanks everyone 🙏

  • Strit@lemmy.linuxuserspace.show
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    I don’t think there is. The Krunner binary is part of the plasma-desktop and it will likely require some dependencies and libraries usually installed through that package.

  • telepathictofu
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Hi! I think if you wanted to avoid installing the entire set of plasma dependencies again (at least to your hyprland environment), you could theoretically stuff a minimal plasma install into a distrobox container/guest and export the needed krunner binaries back to the hyprland host/environment. The distrobox repo. has some more information that might help accomplish that. specifically export to the host and executing commands on the host may be of interest to you! ^ - ^