this post was submitted on 31 Aug 2023
12 points (100.0% liked)

Arch Linux

7173 readers
11 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
 

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?

top 12 comments
sorted by: hot top controversial new old
[โ€“] ragica@lemmy.ml 6 points 1 year ago (3 children)

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.

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 ๐Ÿ™

[โ€“] vojel@feddit.de 2 points 1 year ago (1 children)

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.

[โ€“] wintersummerland@discuss.tchncs.de 1 points 1 year ago (1 children)

I have the krunner package installed, though I cannot run it in a console anymore as in- "$ krunner" command not found

[โ€“] vojel@feddit.de 2 points 1 year ago* (last edited 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

Thanks, I ll take albert into consideration

[โ€“] DrRatso@lemmy.world 2 points 1 year ago (1 children)

Do you need Krunner as a generic applauncher or do you use other features too?

[โ€“] wintersummerland@discuss.tchncs.de 2 points 1 year ago (1 children)

I use the maths functionality and find the unit conversion handy to have, though I admit I cannot remember using it ;)

[โ€“] DrRatso@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

If you tinker with programming , you can look into ags - aylurs gnome shell. His dotfiles include an app launcher in it, adding this functionality should not be too hard.

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.

[โ€“] vojel@feddit.de 1 points 1 year ago (1 children)

Did you try a simple pacman -S krunner?

Yes, it does not supply the krunner executable