Re: [fluxbox-users] QT applicacion dies on plain fluxbox, but not on fluxbox on top of LXDE

Mathias Gumz <[email protected]> Thu, 12 Nov 2015 07:54:09 +0100
Newsgroups gmane.comp.window-managers.fluxbox.user
Message-ID <CAD=gWLxUkNw6TQg92GQQp-r+cyjq6PnUsgwf1R+4EKsU=zY8=A@mail.gmail.com>
> However now hpmyroom doesn't die.  Or at least it doesn't die where it
> was before.
>
> What value would you suggest setting for DESKTOP_SESSION on a non DE
> plain fluxbox session?  Is there actually a standard for that?
>
> What would be your suggestions be (besides providing the feedback
> about this weird dependency)?  Specially to define a work around
> meanwhile (would NONE be OK?).

/me facepalms a little bit about hpmyroom

this is a bug in hpmyroom. not handling the return value of the
getenv() function properly is a bug. if you want to provide feedback
to solve the problem "correctly" -> hpmyroom.

from a "prevent-crash"-point-of-view: just setting DESKTOP_SESSION to
something will fix hpmyroom. to be honest, i would not set it globally
because other programs might .. interprete a set DESKTOP_SESSION and
behave in $ways, eg, "shiny-p" will look for $things in $folders based
upon DESKTOP_SESSION and there is no way i can answer the sideeffects
of having DESKTOP_SESSION "globally" to something like "LXDE".

to minimize sideeffects, set the variable just for hpmyroom:

    $> env DESKTOP_SESSION=DONT_CRASH hpmyroom

if you don't care about (i doubt there will be many) sideeffects: just
set DESKTOP_SESSION=fluxbox in your .fluxbox/startup file.

@nabble: props for "remote debugging" :)

cheers,
-- 
[uid] mathias gumz [www] http://www.fluxbox.org/
[pgp] 1024D/F6F6B18C [irc] ak|ra at freenode.org

------------------------------------------------------------------------------