From 7df7518625b5a80aa1ff35c8c6e49e6e257672d9 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 11 Oct 2011 15:58:38 -0700 Subject: Have "make install" act more as expected for a desktop application I'm trying to get subsurface to get closer to becoming a "regular desktop application"; so far this is based on the recommendations and guidelines on OpenSUSE and Fedora. The icon is now named subsurface.svg and make install installs it in the correct location. At runtime subsurface first checks if an icon is installed and if it is it uses that - otherwise it falls back to the old code that tries to read the svg file from the current directory. We also install a subsurface.desktop file Signed-off-by: Dirk Hohndel --- subsurface.desktop | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 subsurface.desktop (limited to 'subsurface.desktop') diff --git a/subsurface.desktop b/subsurface.desktop new file mode 100644 index 000000000..6fdec1053 --- /dev/null +++ b/subsurface.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Name=subsurface +GenericName=dive log program +Comment=manage and display dive computer data +Icon=subsurface +Exec=subsurface +Terminal=false +Categories=Accessories; + -- cgit v1.2.3-70-g09d2