Under XFCE, at least a couple of programs don't display file open dialogue
boxes correct. For example, if I load "shotcut" and press "Ctrl-O", I get a
blank window instead of a file chooser, and the whole program becomes stuck.
kdenlive also has the same problem.

The problem seems to be related to this message from a few years back:

  https://marc.info/?l=openbsd-ports&m=151397647426167&w=2

On XFCE this variable is set as follows:

  $ echo $XDG_CURRENT_DESKTOP
  XFCE

In the case of shotcut, I need, at a minimum, to do:

  $ XDG_CURRENT_DESKTOP= shotcut

in order for shotcut to work. But, weirdly, on another machine (with a
more-or-less identical setup), that isn't enough and I need to do:

  $ XDG_CURRENT_DESKTOP=kde shotcut

or otherwise set XDG_CURRENT_DESKTOP to some value other than XFCE or "" in
order for things to work.

I *think* (but might have misunderstood) that some programs have previously
been patched so that they do "the right thing" for different values of
XDG_CURRENT_DESKTOP, so I'm not clear if there's a general solution or not.
If there isn't, and if programs such as shotcut and kdenlive continue to have
problems, hopefully this message might help someone else work out how to get
them working, albeit not in the most satisfactory manner!


Laurie

Reply via email to