Skip to content

Pinned application fails to run from dock, if exec has a space #5

@adi-g15

Description

@adi-g15

Applications like youtube-music-bin fail to run when clicked on dock icon, the reason i believe is space in Exec path,

[YouTube%20Music]
DesktopPath=/usr/share/applications/youtube-music.desktop
Exec=/opt/YouTube Music/youtube-music
Icon=youtube-music
Index=3
VisibleName=YouTube Music

And, it fails at this part, since first part is meant to be the executable path,

image

Using double quotes maybe considered here i guess ?

settings.beginGroup(item->id);
settings.setValue("Index", index);
settings.setValue("Icon", item->iconName);
settings.setValue("VisibleName", item->visibleName);
settings.setValue("Exec", item->exec);
settings.setValue("DesktopPath", item->desktopPath);
settings.endGroup();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions