|
From: | Gregory Heytings |
Subject: | bug#18132: Time for a smarter dired-guess-shell-alist-default? (dired-x.el) |
Date: | Sat, 23 Oct 2021 17:17:02 +0000 |
What I want is more or less the exact behavior of xdg-open, but I want to be able to check the actual command (e.g. "evince", not just "xdg-open") before pressing RET.
xdg-mime query default $(xdg-mime query filetype FILE)should return the name of one of the files /usr/share/applications, and you can check for the line starting with Exec in that file to see what command it launches.
[Prev in Thread] | Current Thread | [Next in Thread] |