summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2016-01-25 04:01:54 +0100
committerhut <hut@lepus.uberspace.de>2016-01-25 04:01:54 +0100
commit0267251adf7285b87a6a6b20450ed325b98bc26d (patch)
treefc25211cab23b65b622b1a2c7442b966ab1f825a
parent336cd083bad11e40c5333972001cf20df78497f7 (diff)
downloadranger-0267251adf7285b87a6a6b20450ed325b98bc26d.tar.gz
added ranger.desktop file, fixes #346
-rw-r--r--doc/ranger.desktop9
-rwxr-xr-xsetup.py2
2 files changed, 11 insertions, 0 deletions
diff --git a/doc/ranger.desktop b/doc/ranger.desktop
new file mode 100644
index 00000000..9c140185
--- /dev/null
+++ b/doc/ranger.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=ranger
+Comment=Launches the ranger file manager
+Icon=utilities-terminal
+Terminal=true
+Exec=ranger
+Categories=ConsoleOnly;System;FileTools;FileManager
+MimeType=inode/directory;
diff --git a/setup.py b/setup.py
index 4fbbccba..9da63925 100755
--- a/setup.py
+++ b/setup.py
@@ -27,6 +27,8 @@ if __name__ == '__main__':
         url='http://ranger.nongnu.org',
         scripts=['scripts/ranger', 'scripts/rifle'],
         data_files=[
+            ('share/applications',
+                ['doc/ranger.desktop']),
             ('share/man/man1',
                 ['doc/ranger.1',
                  'doc/rifle.1']),