diff --git a/.emacs b/.emacs
index e919577b31e0a194883cf0e30308f0ef98716e09..4064c0edef29f7815c80b6acb5fda30087c29cb5 100644
--- a/.emacs
+++ b/.emacs
@@ -628,6 +628,36 @@
   :config
   (edit-server-start))
 
+;; Openwith : utilsation de programmes externe lors de
+;; l'ouverture pour certains types de fichiers
+(use-package openwith
+  :ensure t
+  :config
+  (when (require 'openwith nil 'noerror)
+      (setq openwith-associations
+            (list
+             (list (openwith-make-extension-regexp
+                    '("mpg" "mpeg" "mp3" "mp4"
+                      "avi" "wmv" "wav" "mov" "flv"
+                      "ogm" "ogg" "mkv"))
+                   "vlc"
+                   '(file))
+             (list (openwith-make-extension-regexp
+                    '("xbm" "pbm" "pgm" "ppm" "pnm"
+                      "png" "gif" "bmp" "tif" "jpeg" "jpg"))
+                   "gwenview"
+                   '(file))
+             (list (openwith-make-extension-regexp
+                    '("doc" "xls" "ppt" "odt" "ods" "odg" "odp" "docx" "xlsx"))
+                   "libreoffice"
+                   '(file))
+             (list (openwith-make-extension-regexp
+                    '("pdf" "ps" "ps.gz" "dvi"))
+                   "okular"
+                   '(file))
+             ))
+      (openwith-mode 1)))
+
 ;; ===============================
 ;; Configurations variables/styles 
 ;; ===============================