Open With menu in AppImage

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Open With menu in AppImage

AndriusWild
Hello,

I am wondering if there is a way to delete unwanted entries from this menu:

https://www.flickr.com/gp/goreev/U77103
(this is how appimage's open with menu looks like on MATE desktop)

Please advise.

Best regards, 
Andrey
Reply | Threaded
Open this post in threaded view
|

Re: Open With menu in AppImage

Gilles Caulier-4
Well this view is populated with KDE service, through desktop files definition.

So it's a KDE stuff, more and less shared with other Linux desktop.

Under MacOS and Windows, this menu entry do not exist, because the service do not populate the native desktop based applications.

So to change this behavior it's complicated. There is no code in digiKam for that excepted the call to the relevant KDE framework which provide the list (and the dialog if i remember).

If something do not work on application list outside KDE desktop, well this must be fixed in KDE framework.

Gilles Caulier

2017-09-17 16:00 GMT+02:00 Andrey Goreev <[hidden email]>:
Hello,

I am wondering if there is a way to delete unwanted entries from this menu:

https://www.flickr.com/gp/goreev/U77103
(this is how appimage's open with menu looks like on MATE desktop)

Please advise.

Best regards, 
Andrey

Reply | Threaded
Open this post in threaded view
|

Re: Open With menu in AppImage

AndriusWild
Gilles,

I see. Is where a kde library I could install on a non KDE machine in order to make the open with menu defined by the system work?

Also, regarding that empty menu I sent you a screenshot of, it actually remembers previously used commands (paths). Is there a way to delete unwanted ones from the hystory? Let's say I made a typo typing /path/to/scritZ.sh instead of /path/to/script.sh. Can I make digikam forget that entry?

Best regards,

On Sun, Sep 17, 2017 at 8:10 AM, Gilles Caulier <[hidden email]> wrote:
Well this view is populated with KDE service, through desktop files definition.

So it's a KDE stuff, more and less shared with other Linux desktop.

Under MacOS and Windows, this menu entry do not exist, because the service do not populate the native desktop based applications.

So to change this behavior it's complicated. There is no code in digiKam for that excepted the call to the relevant KDE framework which provide the list (and the dialog if i remember).

If something do not work on application list outside KDE desktop, well this must be fixed in KDE framework.

Gilles Caulier

2017-09-17 16:00 GMT+02:00 Andrey Goreev <[hidden email]>:
Hello,

I am wondering if there is a way to delete unwanted entries from this menu:

https://www.flickr.com/gp/goreev/U77103
(this is how appimage's open with menu looks like on MATE desktop)

Please advise.

Best regards, 
Andrey


Reply | Threaded
Open this post in threaded view
|

Re: Open With menu in AppImage

Gilles Caulier-4


2017-09-17 16:32 GMT+02:00 Andrey Goreev <[hidden email]>:
Gilles,

I see. Is where a kde library I could install on a non KDE machine in order to make the open with menu defined by the system work?

A library is not enough to handle this feature. The application must be compiled and linked with this library. It's optional in digiKam at compilation time.

The AppImage is compiled with this option (and library included in the bundle).

For more details, this is the list of digiKam dependencies :


Look well on "remarks" column. The feature is handle by "knotifyconfig" framework.
 

Also, regarding that empty menu I sent you a screenshot of, it actually remembers previously used commands (paths). Is there a way to delete unwanted ones from the hystory? Let's say I made a typo typing /path/to/scritZ.sh instead of /path/to/script.sh. Can I make digikam forget that entry?

Hum, i don't know. Certainly something exists in KDE control panel, with Application section, which is used to manage the mime types <> applications associations. I don't know if this can be handle from CLI.

Gilles Caulier