Are there any desktops still actively supported which include a PCManFM 
too old to be storing its file associations in
~/.local/share/applications/mimeapps.list?

http://freedesktop.org/wiki/Specifications/mime-actions-spec/

If not, I think it'd be better to advocate for patching the LXDE special 
case out of a version of xdg-open new enough to support reading the 
standardized cross-desktop config directly.

On 13-11-19 09:21 AM, christ...@surlykke.dk wrote:
> Hi
>
> Running lxde-qt as my desktop I ran into a small glitch: The script
> startlxde-qt runs:
>
> lxsession -s LXDE-Qt -e LXDE
>
> The -e switch defines name of the desktop environment, and it is stored
> into the XDG_CURRENT_DESKTOP variable.
>
> Now, I'm on Arch, and use stock xdg-scripts. If I run
>
> xdg-open some-file
>
> xdg-open decides, based on XDG_CURRENT_DESKTOP=LXDE, to hand over
> some-file to pcmanfm, but that fails as I haven't got pcmanfm installed
> (I have pcmanfm-qt).
>
> Bottom line: I cannot, for example, open a downloaded pdf-file from my
> browser.
>
>   This patch on lxde-common fixes it for me:
>
> diff --git a/startlxde-qt.in <http://startlxde-qt.in> b/startlxde-qt.in
> <http://startlxde-qt.in>
> index 4a56d8d..8b1e7e3 100755
> --- a/startlxde-qt.in <http://startlxde-qt.in>
> +++ b/startlxde-qt.in <http://startlxde-qt.in>
> @@ -34,4 +34,4 @@ fi
>   export XDG_MENU_PREFIX="lxde-"
>   # Start the LXDE session
> -exec lxsession -s LXDE-Qt -e LXDE
> +exec lxsession -s LXDE-Qt -e LXDE-Qt
>
> So we get XDG_CURRENT_SESSION=LXDE-Qt instead. I hesitate to commit &&
> push, though, as I'm not sure it won't break something else. Does
> anybody know if this will cause problems?
>
> (Maybe we should decide a name for this brand-new desktop :-) Soonish.
> There is a risk if we use LXDE-Qt that 3rd-party tools and apps will
> begin to depend on it.)
>
> br. Chr.
>
> br. Chr.
>
>
> ------------------------------------------------------------------------------
> Shape the Mobile Experience: Free Subscription
> Software experts and developers: Be at the forefront of tech innovation.
> Intel(R) Software Adrenaline delivers strategic insight and game-changing
> conversations that shape the rapidly evolving mobile landscape. Sign up now.
> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
>
>
>


------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Lxde-list mailing list
Lxde-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to