Octopi app launch from terminal

Hey, i have started using cachy os from fedora and its too good.
I chose to download hyprland as my desktop manager and things are smooth.
But, i want to customize the keybindings for app launches and i need help to set it up.
Unlike flathub where i can use the flatpak run command in the config file to run at that particular shortcut, how can i do it with octopi installer?
Basically, how can I launch a package installed from octopi on terminal?
(if this question look stupid forgive me, i am new in this)

you seem to want to figure out what command to run for a given installed package to launch it. this may vary for some packages, but here are some examples which should give you hints:

  • most packages come with an executable named like the package itself
    • package thunderbird: just run it with thunderbird
  • maybe the executable needs to be called in some specific form
    • package octopi: if you just run it with octopi it tells you should call it with /usr/bin/octopi
  • when the executable isn’t named after the package you can figure it out with octopi
    • package librewolf-bin:
      • via octopi: find the bin folder in the files tab and look for promising files

      • via pacman: list files for a package and filter for contents of bin directories

> pacman -Ql librewolf-bin | grep -P "bin/.+"
librewolf-bin /usr/bin/librewolf
  • packages may have a terminal/ gui mode … assuming you want to run the gui mode:
    • package timeshift:
      • find executables first
> pacman -Ql timeshift | grep -P "bin/.+"
timeshift /usr/bin/timeshift
timeshift /usr/bin/timeshift-gtk
timeshift /usr/bin/timeshift-launcher
* try which one works for launching the gui mode: here it's `timeshift-launcher`
  • gui mode may also be activated via command line switch: try $PACKAGE_NAME --help or man $PACKAGE_NAME and figure out which options to use

For me, that is the only benefit of Octopi.

Thanks!!
I am using hyprland. So, I need this to set keybindings.