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

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

bug#9779: No usable browser found on Lubuntu


From: Stefan Monnier
Subject: bug#9779: No usable browser found on Lubuntu
Date: Tue, 18 Oct 2011 09:17:21 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)

>  (defun browse-url-can-use-xdg-open ()
> -  "Check if xdg-open can be used, i.e. we are on Gnome, KDE or xfce4."
> +  "Check if xdg-open can be used, i.e. we are on Gnome, KDE, Xfce4 or LXDE."
>    (and (getenv "DISPLAY")
>         (executable-find "xdg-open")
>         ;; xdg-open may call gnome-open and that does not wait for its child
> @@ -947,7 +969,8 @@ (defun browse-url-can-use-xdg-open ()
>                     "/bin/sh" nil nil nil
>                     "-c"
>                     "xprop -root _DT_SAVE_MODE|grep xfce4"))
> -          (error nil)))))
> +          (error nil))
> +        (equal (getenv "XDG_CURRENT_DESKTOP") "LXDE"))))
 
Thanks, please install,


        Stefan





reply via email to

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