[digiKam-users] AppImage and "Open in File Manager"

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

[digiKam-users] AppImage and "Open in File Manager"

Peter Albrecht
Hello list,

I am using digiKam AppImage 5.9.0 on a KDE desktop. When I rightclick an album
and choose "Open in File Manager" from the context menu, no file manager is
opened. Instead I see the "Choose Application" dialog. And this "Choose
Application" dialog does not show any applications.


Expected behavior:

Clicking "Open in File Manager" starts dolphin (default KDE file manager) in the
album's directory.


Try some workarounds:

Like in the "Open With" dialog, I can type "dolphin" in the "Choose Application"
dialog. This will start dolphin, but instead of the album's directory, I only
see this error message in dolphin:

> Unable to create io-slave. Can not find 'kioslave' executable at '/usr/bin, /usr/bin/libexec, ././/lib64/libexec/kf5'

This dolphin instance is not useable.


Working workaround:

If I type "dolphin4" in the "Choose Application" dialog, a working instance of
dolphin is started and showing the desired album directory.

But this process (open dialog, type "dolphin4", pressing ENTER) is quite
cumbersome for every-day usage.


Does anybody know about another way to start a filemanager in the current album?

Are there plans to create settings in digiKam to configure the paths of external
tools? If it is too errorprone to get the list of file managers from the current
desktop environment, you could provide an input box in digiKam settings, so the
user can define the desired file manager by entering "/usr/bin/dolphin4".

Or is this problem based on the fact, that I am using digiKam AppImage 5.9.0 on
Debian Stretch with an older KDE?

Regards,
        Peter
Reply | Threaded
Open this post in threaded view
|

Re: AppImage and "Open in File Manager"

Maik Qualmann
Yes, digiKam-6.0.0 uses Qt5. We use QDesktopServices class to open File
Manager or Browser. This search for appropriate programs from a KF5 desktop.
There will be no solution to this problem for the AppImage.

Maik

Am Mittwoch, 6. Juni 2018, 21:38:22 CEST schrieb Peter Albrecht:

> Hello list,
>
> I am using digiKam AppImage 5.9.0 on a KDE desktop. When I rightclick an
> album and choose "Open in File Manager" from the context menu, no file
> manager is opened. Instead I see the "Choose Application" dialog. And this
> "Choose Application" dialog does not show any applications.
>
>
> Expected behavior:
>
> Clicking "Open in File Manager" starts dolphin (default KDE file manager) in
> the album's directory.
>
>
> Try some workarounds:
>
> Like in the "Open With" dialog, I can type "dolphin" in the "Choose
> Application" dialog. This will start dolphin, but instead of the album's
> directory, I only
> see this error message in dolphin:
> > Unable to create io-slave. Can not find 'kioslave' executable at
> > '/usr/bin, /usr/bin/libexec, ././/lib64/libexec/kf5'
> This dolphin instance is not useable.
>
>
> Working workaround:
>
> If I type "dolphin4" in the "Choose Application" dialog, a working instance
> of dolphin is started and showing the desired album directory.
>
> But this process (open dialog, type "dolphin4", pressing ENTER) is quite
> cumbersome for every-day usage.
>
>
> Does anybody know about another way to start a filemanager in the current
> album?
>
> Are there plans to create settings in digiKam to configure the paths of
> external tools? If it is too errorprone to get the list of file managers
> from the current desktop environment, you could provide an input box in
> digiKam settings, so the user can define the desired file manager by
> entering "/usr/bin/dolphin4".
>
> Or is this problem based on the fact, that I am using digiKam AppImage 5.9.0
> on Debian Stretch with an older KDE?
>
> Regards,
> Peter




Reply | Threaded
Open this post in threaded view
|

Re: AppImage and "Open in File Manager"

AndriusWild
I add this .desktop file in /home/user/.local/share/applications:
---
[Desktop Entry]
Comment[en_US]=
Comment=
Exec=dolphin --select %U
GenericName[en_US]=
GenericName=
Icon=find-location-symbolic
MimeType=video/x-msvideo;video/x-ms-wmv;video/x-matroska;video/mp4;image/x-adobe-dng;image/jpeg;
Name[en_US]=Locate in Dolphin
Name=Locate in Dolphin
NoDisplay=true
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=
---
Works as a charm for me.

Best regards,

On Wed, Jun 6, 2018 at 2:14 PM, Maik Qualmann <[hidden email]> wrote:
Yes, digiKam-6.0.0 uses Qt5. We use QDesktopServices class to open File
Manager or Browser. This search for appropriate programs from a KF5 desktop.
There will be no solution to this problem for the AppImage.

Maik

Am Mittwoch, 6. Juni 2018, 21:38:22 CEST schrieb Peter Albrecht:
> Hello list,
>
> I am using digiKam AppImage 5.9.0 on a KDE desktop. When I rightclick an
> album and choose "Open in File Manager" from the context menu, no file
> manager is opened. Instead I see the "Choose Application" dialog. And this
> "Choose Application" dialog does not show any applications.
>
>
> Expected behavior:
>
> Clicking "Open in File Manager" starts dolphin (default KDE file manager) in
> the album's directory.
>
>
> Try some workarounds:
>
> Like in the "Open With" dialog, I can type "dolphin" in the "Choose
> Application" dialog. This will start dolphin, but instead of the album's
> directory, I only
> see this error message in dolphin:
> > Unable to create io-slave. Can not find 'kioslave' executable at
> > '/usr/bin, /usr/bin/libexec, ././/lib64/libexec/kf5'
> This dolphin instance is not useable.
>
>
> Working workaround:
>
> If I type "dolphin4" in the "Choose Application" dialog, a working instance
> of dolphin is started and showing the desired album directory.
>
> But this process (open dialog, type "dolphin4", pressing ENTER) is quite
> cumbersome for every-day usage.
>
>
> Does anybody know about another way to start a filemanager in the current
> album?
>
> Are there plans to create settings in digiKam to configure the paths of
> external tools? If it is too errorprone to get the list of file managers
> from the current desktop environment, you could provide an input box in
> digiKam settings, so the user can define the desired file manager by
> entering "/usr/bin/dolphin4".
>
> Or is this problem based on the fact, that I am using digiKam AppImage 5.9.0
> on Debian Stretch with an older KDE?
>
> Regards,
>       Peter





Reply | Threaded
Open this post in threaded view
|

Re: AppImage and "Open in File Manager"

Gilles Caulier-4
Maik,

The solution exists for AppImage, to drop KF5 support in QDesktop service API. This one use KIO witch is a big puzzle to bundle as i already explained in the pass.

I already take a look in Qt5 code, and it sound like possible. I will investigate in few days, when i will less busy at work.

Gilles

2018-06-06 22:32 GMT+02:00 Andrey Goreev <[hidden email]>:
I add this .desktop file in /home/user/.local/share/applications:
---
[Desktop Entry]
Comment[en_US]=
Comment=
Exec=dolphin --select %U
GenericName[en_US]=
GenericName=
Icon=find-location-symbolic
MimeType=video/x-msvideo;video/x-ms-wmv;video/x-matroska;video/mp4;image/x-adobe-dng;image/jpeg;
Name[en_US]=Locate in Dolphin
Name=Locate in Dolphin
NoDisplay=true
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=
---
Works as a charm for me.

Best regards,

On Wed, Jun 6, 2018 at 2:14 PM, Maik Qualmann <[hidden email]> wrote:
Yes, digiKam-6.0.0 uses Qt5. We use QDesktopServices class to open File
Manager or Browser. This search for appropriate programs from a KF5 desktop.
There will be no solution to this problem for the AppImage.

Maik

Am Mittwoch, 6. Juni 2018, 21:38:22 CEST schrieb Peter Albrecht:
> Hello list,
>
> I am using digiKam AppImage 5.9.0 on a KDE desktop. When I rightclick an
> album and choose "Open in File Manager" from the context menu, no file
> manager is opened. Instead I see the "Choose Application" dialog. And this
> "Choose Application" dialog does not show any applications.
>
>
> Expected behavior:
>
> Clicking "Open in File Manager" starts dolphin (default KDE file manager) in
> the album's directory.
>
>
> Try some workarounds:
>
> Like in the "Open With" dialog, I can type "dolphin" in the "Choose
> Application" dialog. This will start dolphin, but instead of the album's
> directory, I only
> see this error message in dolphin:
> > Unable to create io-slave. Can not find 'kioslave' executable at
> > '/usr/bin, /usr/bin/libexec, ././/lib64/libexec/kf5'
> This dolphin instance is not useable.
>
>
> Working workaround:
>
> If I type "dolphin4" in the "Choose Application" dialog, a working instance
> of dolphin is started and showing the desired album directory.
>
> But this process (open dialog, type "dolphin4", pressing ENTER) is quite
> cumbersome for every-day usage.
>
>
> Does anybody know about another way to start a filemanager in the current
> album?
>
> Are there plans to create settings in digiKam to configure the paths of
> external tools? If it is too errorprone to get the list of file managers
> from the current desktop environment, you could provide an input box in
> digiKam settings, so the user can define the desired file manager by
> entering "/usr/bin/dolphin4".
>
> Or is this problem based on the fact, that I am using digiKam AppImage 5.9.0
> on Debian Stretch with an older KDE?
>
> Regards,
>       Peter






Reply | Threaded
Open this post in threaded view
|

Re: AppImage and "Open in File Manager"

Peter Albrecht
In reply to this post by AndriusWild
Hello Andrey,

thanks for the hint. This works well in my normal KDE desktop (dolphin,
gwenview, ...), but not in digikam AppImage.

Do you use digikam AppImage? Or is digikam installed by your Linux distribution?

Which Linux distribution do you use?

Regards,
        Peter

On 06.06.2018 22:32, Andrey Goreev wrote:

> I add this .desktop file in /home/user/.local/share/applications:
> ---
> [Desktop Entry]
> Comment[en_US]=
> Comment=
> Exec=dolphin --select %U
> GenericName[en_US]=
> GenericName=
> Icon=find-location-symbolic
> MimeType=video/x-msvideo;video/x-ms-wmv;video/x-matroska;video/mp4;image/x-adobe-dng;image/jpeg;
> Name[en_US]=Locate in Dolphin
> Name=Locate in Dolphin
> NoDisplay=true
> Path=
> StartupNotify=true
> Terminal=false
> TerminalOptions=
> Type=Application
> X-DBUS-ServiceName=
> X-DBUS-StartupType=
> X-KDE-SubstituteUID=false
> X-KDE-Username=
> ---
> Works as a charm for me.
>
> Best regards,
>
> On Wed, Jun 6, 2018 at 2:14 PM, Maik Qualmann <[hidden email]> wrote:
>
>> Yes, digiKam-6.0.0 uses Qt5. We use QDesktopServices class to open File
>> Manager or Browser. This search for appropriate programs from a KF5
>> desktop.
>> There will be no solution to this problem for the AppImage.
>>
>> Maik
>>
>> Am Mittwoch, 6. Juni 2018, 21:38:22 CEST schrieb Peter Albrecht:
>>> Hello list,
>>>
>>> I am using digiKam AppImage 5.9.0 on a KDE desktop. When I rightclick an
>>> album and choose "Open in File Manager" from the context menu, no file
>>> manager is opened. Instead I see the "Choose Application" dialog. And
>> this
>>> "Choose Application" dialog does not show any applications.
>>>
>>>
>>> Expected behavior:
>>>
>>> Clicking "Open in File Manager" starts dolphin (default KDE file
>> manager) in
>>> the album's directory.
>>>
>>>
>>> Try some workarounds:
>>>
>>> Like in the "Open With" dialog, I can type "dolphin" in the "Choose
>>> Application" dialog. This will start dolphin, but instead of the album's
>>> directory, I only
>>> see this error message in dolphin:
>>>> Unable to create io-slave. Can not find 'kioslave' executable at
>>>> '/usr/bin, /usr/bin/libexec, ././/lib64/libexec/kf5'
>>> This dolphin instance is not useable.
>>>
>>>
>>> Working workaround:
>>>
>>> If I type "dolphin4" in the "Choose Application" dialog, a working
>> instance
>>> of dolphin is started and showing the desired album directory.
>>>
>>> But this process (open dialog, type "dolphin4", pressing ENTER) is quite
>>> cumbersome for every-day usage.
>>>
>>>
>>> Does anybody know about another way to start a filemanager in the current
>>> album?
>>>
>>> Are there plans to create settings in digiKam to configure the paths of
>>> external tools? If it is too errorprone to get the list of file managers
>>> from the current desktop environment, you could provide an input box in
>>> digiKam settings, so the user can define the desired file manager by
>>> entering "/usr/bin/dolphin4".
>>>
>>> Or is this problem based on the fact, that I am using digiKam AppImage
>> 5.9.0
>>> on Debian Stretch with an older KDE?
>>>
>>> Regards,
>>>       Peter
>>
>>
>>
>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: AppImage and "Open in File Manager"

AndriusWild
Peter,

It works well in digikam appimage 6.0.0git in openSUSE Tumbleweed KDE.

I also have Debian 9 KDE in dual boot and I can reproduce the same behavior you described below. The Debian KDE I have is a very very light version though so I bet the issue caused by a missing kioslave* / kf5* package.


Sent from my Samsung Galaxy smartphone.

-------- Original message --------
From: Peter Albrecht <[hidden email]>
Date: 2018-06-09 4:29 AM (GMT-07:00)
To: digiKam - Home Manage your photographs as a professional with the power of open source <[hidden email]>
Subject: Re: [digiKam-users] AppImage and "Open in File Manager"

Hello Andrey,

thanks for the hint. This works well in my normal KDE desktop (dolphin,
gwenview, ...), but not in digikam AppImage.

Do you use digikam AppImage? Or is digikam installed by your Linux distribution?

Which Linux distribution do you use?

Regards,
Peter

On 06.06.2018 22:32, Andrey Goreev wrote:

> I add this .desktop file in /home/user/.local/share/applications:
> ---
> [Desktop Entry]
> Comment[en_US]=
> Comment=
> Exec=dolphin --select %U
> GenericName[en_US]=
> GenericName=
> Icon=find-location-symbolic
> MimeType=video/x-msvideo;video/x-ms-wmv;video/x-matroska;video/mp4;image/x-adobe-dng;image/jpeg;
> Name[en_US]=Locate in Dolphin
> Name=Locate in Dolphin
> NoDisplay=true
> Path=
> StartupNotify=true
> Terminal=false
> TerminalOptions=
> Type=Application
> X-DBUS-ServiceName=
> X-DBUS-StartupType=
> X-KDE-SubstituteUID=false
> X-KDE-Username=
> ---
> Works as a charm for me.
>
> Best regards,
>
> On Wed, Jun 6, 2018 at 2:14 PM, Maik Qualmann <[hidden email]> wrote:
>
>> Yes, digiKam-6.0.0 uses Qt5. We use QDesktopServices class to open File
>> Manager or Browser. This search for appropriate programs from a KF5
>> desktop.
>> There will be no solution to this problem for the AppImage.
>>
>> Maik
>>
>> Am Mittwoch, 6. Juni 2018, 21:38:22 CEST schrieb Peter Albrecht:
>>> Hello list,
>>>
>>> I am using digiKam AppImage 5.9.0 on a KDE desktop. When I rightclick an
>>> album and choose "Open in File Manager" from the context menu, no file
>>> manager is opened. Instead I see the "Choose Application" dialog. And
>> this
>>> "Choose Application" dialog does not show any applications.
>>>
>>>
>>> Expected behavior:
>>>
>>> Clicking "Open in File Manager" starts dolphin (default KDE file
>> manager) in
>>> the album's directory.
>>>
>>>
>>> Try some workarounds:
>>>
>>> Like in the "Open With" dialog, I can type "dolphin" in the "Choose
>>> Application" dialog. This will start dolphin, but instead of the album's
>>> directory, I only
>>> see this error message in dolphin:
>>>> Unable to create io-slave. Can not find 'kioslave' executable at
>>>> '/usr/bin, /usr/bin/libexec, ././/lib64/libexec/kf5'
>>> This dolphin instance is not useable.
>>>
>>>
>>> Working workaround:
>>>
>>> If I type "dolphin4" in the "Choose Application" dialog, a working
>> instance
>>> of dolphin is started and showing the desired album directory.
>>>
>>> But this process (open dialog, type "dolphin4", pressing ENTER) is quite
>>> cumbersome for every-day usage.
>>>
>>>
>>> Does anybody know about another way to start a filemanager in the current
>>> album?
>>>
>>> Are there plans to create settings in digiKam to configure the paths of
>>> external tools? If it is too errorprone to get the list of file managers
>>> from the current desktop environment, you could provide an input box in
>>> digiKam settings, so the user can define the desired file manager by
>>> entering "/usr/bin/dolphin4".
>>>
>>> Or is this problem based on the fact, that I am using digiKam AppImage
>> 5.9.0
>>> on Debian Stretch with an older KDE?
>>>
>>> Regards,
>>>       Peter
>>
>>
>>
>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: AppImage and "Open in File Manager"

AndriusWild
Have you tried playing with the setting "Use file dialogs from the system"
(Settings - Miscellaneous)?

I don't think it actually works though. I get this error in the terminal no
matter whether it is on or off:

unknown: "applications.menu"  not found in  ("/home/user/.config/menus",
"/etc/xdg/menus")



--
Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html
Reply | Threaded
Open this post in threaded view
|

Re: AppImage and "Open in File Manager"

etrigan63
In reply to this post by Peter Albrecht
I can confirm that this behavior is happening with the AppImage under Kubuntu
18.04. Any time I try to export an image and I have to authenticate,
generates this failure.



--
Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html