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

Javier Vasquez <[email protected]> Thu, 12 Nov 2015 10:01:05 -0600
Newsgroups gmane.comp.window-managers.fluxbox.user
Message-ID <CALUrRGfbaJty6Z-i9UPBcpH=T+5CmXxtU0+0OcUcQ66iLgSNLQ@mail.gmail.com>
> On Thu, Nov 12, 2015 at 12:54 AM, Mathias Gumz <[email protected]> wrote:
>
> ...
>
> 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" :)


That's exactly what I'm doing, :-)  I edited "usermenu" for that instead:

% 'grep' hpmyroom .fluxbox/usermenu
            [exec] (MyRoom)        {export DESKTOP_SESSION=none &&
hpmyroom}        </usr/share/hpmyroom/Resources/MyRoom64.png>

To then run "fluxbox-generate_menu".  Perhaps doing the export is not
necessary though...

Thanks so much again,

-- 
Javier

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