Skip to content

Instantly share code, notes, and snippets.

@brunob
Last active February 17, 2017 12:17
Show Gist options
  • Save brunob/4916c3a71f5973d5ba0aef7d62eb228e to your computer and use it in GitHub Desktop.
Save brunob/4916c3a71f5973d5ba0aef7d62eb228e to your computer and use it in GitHub Desktop.
Ubuntu launcher for Fireworks using wine / handling open with for jpeg and png files :)
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec=env XMODIFIERS='' sh -c "winepath -w -0 %F | xargs -0 wine '/home/bb/.wine/drive_c/Program Files/Macromedia/Fireworks 8/Fireworks.exe'"
MimeType=image/png;image/jpeg;image/gif;
Name=Fireworks
Icon=/home/bb/.wine/drive_c/Program Files/Macromedia/Fireworks 8/FW9.png
Name[fr]=Fireworks
@brunob
Copy link
Author

brunob commented Feb 9, 2017

Remarque, le coup du env XMODIFIERS='' permet d'éviter le changement de layout du clavier qui peut se produire dans l'appli wine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment