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

            Bug ID: 374571
           Summary: Created starter runs wrong command
           Product: plasmashell
           Version: 5.8.5
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Icons-only Task Manager
          Assignee: h...@kde.org
          Reporter: k...@web.de
                CC: plasma-b...@kde.org
  Target Milestone: 1.0

* Created starter runs wrong command
* no way to create correct starter
* wrong icon

I have created a custom .desktop file for starting Firefox.

> ~/local/share/applications/sandbox-firefox.desktop

> [Desktop Entry]
> Type=Application
> Name=Sandboxed Firefox
> GenericName=Secured Firefox
> Exec=firejail /usr/lib/firefox/firefox
> Categories=Network
> Icon=firefox-symbolic
> Terminal=false

When i start firefox directly from this .desktop file (via krunner), the
correct command "firejail /usr/lib/firefox/firefox", as per the Exec= line is
executed.

However, its icon is not the "firefox-symbolic" icon i have defined in the
sandbox-firefox.desktop file, but the standard-firefox-icon.

Then i right-click on the standard-firefox-icon shown in the Icons-only Task
Manager to create a new starter.

When i click on this starter, the wrong command is executed.

This command is "firefox", and probably taken from the standard .desktop file
from /usr/share/applications, which says Exec=firefox %u.

AFAIK, there is no other way of adding a starter to the Icons-only Task Manager
than right-clicking on a running application, which means i can't add a starter
in this Task Manager that starts sandbox-firefox.desktop.

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

Reply via email to