2013/11/19 chri...@surlykke.dk <chri...@surlykke.dk>-e is supposed to set the XDG desktop environment you want to run (like LXDE, GNOME, KDE ....). It's also useful for the .desktop which will be displayed on the menu. So, as LXDE-Qt is not an environment on XDG, is probably not a good idea.
HiRunning lxde-qt as my desktop I ran into a small glitch: The script startlxde-qt runs:lxsession -s LXDE-Qt -e LXDEThe -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 runxdg-open some-filexdg-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 b/startlxde-qt.inindex 4a56d8d..8b1e7e3 100755--- a/startlxde-qt.in+++ b/startlxde-qt.in@@ -34,4 +34,4 @@ fiexport XDG_MENU_PREFIX="lxde-"# Start the LXDE session-exec lxsession -s LXDE-Qt -e LXDE+exec lxsession -s LXDE-Qt -e LXDE-QtSo 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.)
I think the proper short-term fix is to symlink pcmanfm-qt to pcmanfm. I think what ever pcmanfm can open, pcmanfm-qt will be able to do the same job.
--Regards,Julien Lavergne
--
You received this message because you are subscribed to the Google
Groups "Razor-qt" group.
For more options, visit this group at
http://groups.google.com/group/razor-qt?hl=en
---
You received this message because you are subscribed to the Google Groups "Razor-qt" group.
To unsubscribe from this group and stop receiving emails from it, send an email to razor-qt+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
2013/11/19 Stephan Sokolow <gmane.s...@spamgourmet.com>
On 13-11-19 01:10 PM, chri...@surlykke.dk wrote:
> Well, it's a fix, yes. But I think it is wrong to hardwire the use of
> pcmanfm-qt. LXDE-Qt should be a modular desktop system, meaning if a
> user wants to use another file manager, things should still be able to
> work. That is best achieved (IMHO) by letting xdg scripts do their thing
> without lxde-qt components getting involved.
>
That's actually one reason I suggested advocating for the LXDE special
case to be removed from xdg-open as soon as PCManFM on every
still-supported release uses mimeapps.list to store that setting.
When the LXDE support was added, xdg-open didn't have support for
falling back to the cross-desktop standard. Now that it does, it really
has no reason to be using a desktop-specific lookup on any desktop
that's spec-compliant.
I think we agree fully here. But it would be somewhat faster to change an environment variable, than to push a change and get a new release of xdg (these release does not seem to happen very often these days). Also it might make make sense for LXDE-Qt to set that environment variable to something different than what LXDE(-classic) does. They are different desktops after all. Changing the environment variable does not preclude pushing for a change of xdg-open.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
_______________________________________________
Lxde-list mailing list
Lxde...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxde-list
------------------------------------------------------------------------------
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...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxde-list
Not sure I agree here. If xdg-open doesn't know $XDG_CURRENT_DESKTOP, it falls back to default behavior, which is to use the desktop database to figure out which application to use. That's how it worked with Razor which didn't have any special handling in xdg-open (or other xdg scripts). I think this is the correct behavior if we want to adhere to standards.
For the time being we can probably use razor. We will have to discuss this at some point though.. With the xdg list as well.
--
Ok. RAZOR it is.
Br. Chr.
I support the idea.
For the new merged project, a new name is also wanted, too.
Though previously we said that we can rename later, but I'm not against the idea of do the renaming now if someone can come up with a cool name. Do you have good proposals?Personally I think LDE is also an acceptable option.The alphabet 'L' is next to 'K'. :-)
Given that pretty much everyone contributing to the project has been
using LXQt in the wild and nobody really brought up good alternatives,
I think it's been implicitly agreed for a while that LXQt is the
project's name.
--
LDE-Qt
LiDE [Li]ghtweight [D]esktop [E]nviromentLwDE [l]ight[w]eight [D]esktop [E]nviroment
LDE-Qt
To unsubscribe from this group and stop receiving emails from it, send an email to razor-qt+unsubscribe@googlegroups.com.