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

Wine shortcuts need special parsing #25

Open
4 tasks
Poikilos opened this issue Jun 8, 2022 · 0 comments
Open
4 tasks

Wine shortcuts need special parsing #25

Poikilos opened this issue Jun 8, 2022 · 0 comments

Comments

@Poikilos
Copy link
Collaborator

Poikilos commented Jun 8, 2022

Actual behavior
whichicon mixcraft yields:

* Checking for "mixcraft"...not a full path and command "None" is not in the environment's PATH either.
* [/home/redacted/.local/bin/whichicon] looking for a shortcut to "mixcraft"...
/home/redacted/.local/share/applications/wine-extension-mx6.desktop
  * skipping "/home/redacted/.local/share/applications/wine-extension-mx6hs.desktop" since already got a result!
  * skipping "/home/redacted/.local/share/applications/wine-extension-mx6hstemplate.desktop" since already got a result!
  * skipping "/home/redacted/.local/share/applications/wine-extension-mx6template.desktop" since already got a result!
  * skipping "/home/redacted/.local/share/applications/wine-extension-mx7.desktop" since already got a result!
  * skipping "/home/redacted/.local/share/applications/wine-extension-mx7hs.desktop" since already got a result!
  * skipping "/home/redacted/.local/share/applications/wine-extension-mx7hstemplate.desktop" since already got a result!
  * skipping "/home/redacted/.local/share/applications/wine-extension-mx7template.desktop" since already got a result!
  * skipping "/home/redacted/.local/share/applications/wine-extension-mx8.desktop" since already got a result!
  * skipping "/home/redacted/.local/share/applications/wine-extension-mx8hs.desktop" since already got a result!
  * skipping "/home/redacted/.local/share/applications/wine-extension-mx8hstemplate.desktop" since already got a result!
  * skipping "/home/redacted/.local/share/applications/wine-extension-mx8template.desktop" since already got a result!
  * skipping "/home/redacted/.local/share/applications/wine-extension-mx9.desktop" since already got a result!
  * skipping "/home/redacted/.local/share/applications/wine-extension-mx9template.desktop" since already got a result!

Expected behavior:

  • check ~/.local before system icons
  • check ~/Desktop
  • strip the env command and the wine command such as in Exec=env WINEPREFIX="/home/redacted/.wine" wine C:\\\\Program\\ Files\\\\Acoustica\\ Mixcraft\\ 9\\\\mixcraft9.exe
  • wine extensions should be ignored (such as /home/redacted/.local/share/applications/wine-extension-mx9.desktop which contains Exec=env WINEPREFIX="/home/redacted/.wine" wine start /ProgIDOpen Mixcraft\\ 9\\ Project.Document %f and name=Mixcraft 9)
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