Skip to content

Instantly share code, notes, and snippets.

@mmaz
Created June 21, 2011 21:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mmaz/1039022 to your computer and use it in GitHub Desktop.
Save mmaz/1039022 to your computer and use it in GitHub Desktop.
Ubuntu Unity 11.04 .desktop file for adding a shell script button (screen rotation in this case) to the Launcher
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon[en_US]=/usr/share/icons/gnome/256x256/devices/video-display.png
Exec=/path/to/script/TabletRotation.sh
Name[en_US]=Rotate Tablet PC Screen
Comment[en_US]=Toggles Tablet PC rotation
Name=Rotate Tablet PC Screen
Comment=Toggles Tablet PC rotation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment