Bug 47837 - Не находит найденный desktop-файл для запуска
Summary: Не находит найденный desktop-файл для запуска
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: xdg-desktop-portal (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Yuri N. Sedunov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-04 16:53 MSK by Sergey V Turchin
Modified: 2023-10-04 17:32 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey V Turchin 2023-10-04 16:53:35 MSK
При попытке обработать файл говорит:
XDP: Content type for file /home/zerg/Documents/1_ST_EX4350_DS_0806.pdf: application/pdf
XDP: Default handler kf5-okularApplication_pdf for file, application/pdf
XDP: Recommended handlers for file, application/pdf: kf5-okularApplication_pdf, kf5-org.kde.mobile.okular_pdf, kf5-krita_pdf, yandex-browser, gimp, libreoffice-draw, org.inkscape.Inkscape

, но GUI выбора не отображает все, что начинаются с "kf5-".
Если выбрать org.kde.okular вручную, ругается:
XDP: Received choice org.kde.okular
XDP: Cannot launch org.kde.okular.desktop because desktop file does not exist

При этом есть
/usr/share/applications/kf5/org.kde.okular.desktop
/usr/share/applications/kf5/okularApplication_pdf.desktop
и
XDG_DATA_DIRS=/usr/share/kf5:/usr/share:/var/lib/flatpak/exports/share
Comment 1 Yuri N. Sedunov 2023-10-04 16:58:06 MSK
Напиши об этом в апстрим.
Comment 2 Sergey V Turchin 2023-10-04 17:32:43 MSK
Для дебага запускать:
/usr/libexec/xdg-desktop-portal --verbose --replace