Skip to content

Instantly share code, notes, and snippets.

@fsimonis
Last active April 12, 2024 08:39
Show Gist options
  • Save fsimonis/a08c3771abf808b0534d658bcb563f90 to your computer and use it in GitHub Desktop.
Save fsimonis/a08c3771abf808b0534d658bcb563f90 to your computer and use it in GitHub Desktop.
Desktop file for precice-config-visualizer-gui using pipx
[Desktop Entry]
Name=preCICE Config Visualizer
Comment=Visualize preCICE configuration files
Exec=sh -c "$HOME/.local/bin/precice-config-visualizer-gui %f"
Terminal=false
Type=Application
Categories=Development
MimeType=application/xml
StartupNotify=true
StartupWMClass=preciceconfigvisualizer
@fsimonis
Copy link
Author

Launching sh to expand $HOME is required as the gnome launcher doesn't expand it when checking for an existing Exec. It thus filters the desktop file out.

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