summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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']),