bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18132: Time for a smarter dired-guess-shell-alist-default? (dired-x.


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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]