kando icon indicating copy to clipboard operation
kando copied to clipboard

An application-chooser for the Launch-App item

Open Schneegans opened this issue 1 year ago • 5 comments

Description

Below the command field in the editor, there could be a list of all installed applications. If an app is selected in the list, the name, command, and icon would be automatically filled.

Affected Desktop Environments

All

Additional Information

This will require a new method for each backend: List all installed apps.

Schneegans avatar Jun 21 '24 06:06 Schneegans

How to open Illustrator program with Kando? image

I have tried many times but still can't find a solution. I look forward to your help. Thank you!

idesign2018 avatar Jul 26 '24 09:07 idesign2018

@idesign2018 Have you tried "wrapping the command in quotes"? The path contains spaces, so this will be necessary.

Besides, please open a discussion here on GitHub or join our Discord server for such questions in the future. The issue tracker is meant to be used for feature requests or bug reports :smile:

Schneegans avatar Jul 26 '24 10:07 Schneegans

@idesign2018 Have you tried "wrapping the command in quotes"? The path contains spaces, so this will be necessary.您是否尝试过“将命令用引号括起来”?路径包含空格,因此这将是必要的。

Besides, please open a discussion here on GitHub or join our Discord server for such questions in the future. The issue tracker is meant to be used for feature requests or bug reports 😄此外,请在 GitHub 上打开讨论或加入我们的 Discord 服务器将来有此类问题。问题跟踪器旨在用于功能请求或错误报告 😄

I have joined Discord. Which communication channel can help me find the answers I need?

idesign2018 avatar Jul 26 '24 16:07 idesign2018

Are you still looking for someone to work on this?

jonthemonke avatar Mar 27 '25 23:03 jonthemonke

Are you still looking for someone to work on this?

Yes, definitely! However, as you may have seen (https://www.youtube.com/watch?v=cE8FOOfI7II), I am currently working on a complete rewrite of the settings dialog. So there is no point in implementing this into the old settings.

However, this will require also some backend work which one could work on first. I have not yet put too much thought into that, but I think that each backend will need to get a maethod for returning a list of installed applications. Maybe there is something around which we could use (e.g. https://github.com/Xutaotaotao/get-installed-apps looks promising but has no Linux support apparently) but maybe we need to spin our own retrieval code here.

Getting the name and a command to launch an app should be possible. However, I am not sure how to handle the icons. Maybe the most simple way would be to load the app's icon to memory and return a base64 encoded image from the backend...

Schneegans avatar Mar 28 '25 04:03 Schneegans

Just for future reference: We may have a look at this: https://github.com/cerebroapp/plugins/tree/main/cerebro-basic-apps

Schneegans avatar Jun 02 '25 17:06 Schneegans