GNU bug report logs - #18132
Time for a smarter dired-guess-shell-alist-default? (dired-x.el)

Previous Next

Package: emacs;

Reported by: Reuben Thomas <rrt <at> sc3d.org>

Date: Mon, 28 Jul 2014 18:27:01 UTC

Severity: wishlist

Fixed in version 30.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Gregory Heytings <gregory <at> heytings.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 18132 <at> debbugs.gnu.org, rrt <at> sc3d.org
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.




This bug report was last modified 363 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.