https://bugs.kde.org/show_bug.cgi?id=435696

            Bug ID: 435696
           Summary: Validate relative paths in desktop files for
                    X-KDE-DBUS-Restricted-Interfaces
           Product: kwin
           Version: unspecified
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: platform-wayland
          Assignee: kwin-bugs-n...@kde.org
          Reporter: genalo...@gmail.com
  Target Milestone: ---

SUMMARY

At the moment, to take a screenshot on Walyand, the
`X-KDE-DBUS-Restricted-Interfaces = org.kde.kwin.Screenshot` parameter must be
specified in the .desktop file. But this only works for absolute paths
specified in `Exec=`. Meven suggested to handle relative paths in this comment:
https://phabricator.kde.org/D29407#inline-171509, it has not been resolved.

ADDITIONAL INFORMATION

My application (https://github.com/crow-translate/crow-translate) uses text
recognition from the screen and in order to be able to capture the screen on
Walyand I need to hardcoded the full path in the .desktop file. This creates
some inconvenience, for example, for creating an AppImage.

The standard allows the use of relative paths:
https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#exec-variables

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to