Created
November 26, 2017 14:27
-
-
Save kiyui/e0db24940ba4e0bf6c1bd5921c062c2c to your computer and use it in GitHub Desktop.
HiDPI context menu example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Name=Spotify | |
GenericName=Music Player | |
Comment=Spotify streaming music client | |
Icon=com.spotify.Client | |
Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=spotify --file-forwarding com.spotify.Client --force-device-scale-factor=2 @@u %U @@ | |
Terminal=false | |
Type=Application | |
Categories=Audio;Music;Player;AudioVideo; | |
MimeType=x-scheme-handler/spotify; | |
StartupWMClass=Spotify | |
X-Flatpak-Tags=proprietary; | |
X-Flatpak=com.spotify.Client | |
Actions=hi-dpi;low-dpi; | |
[Desktop Action hi-dpi] | |
Name=Open with HiDPI scaling | |
Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=spotify --file-forwarding com.spotify.Client --force-device-scale-factor=2 @@u %U @@ | |
[Desktop Action low-dpi] | |
Name=Open without scaling | |
Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=spotify --file-forwarding com.spotify.Client @@u %U @@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment