Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
adi-g15 opened this issue Jul 2, 2021 · 0 comments
Open

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

adi-g15 opened this issue Jul 2, 2021 · 0 comments

Comments

@adi-g15
Copy link

adi-g15 commented Jul 2, 2021

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();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant