cannot launch some applications from within XFCE

Andrew Conkling andrew.conkling at gmail.com
Tue May 30 22:20:28 CEST 2006


On 5/30/06, nusret <nbalci_l at yahoo.com> wrote:
>
>
> --- Alexander Toresson <alexander.toresson at gmail.com>
> wrote:
>
> > On 5/30/06, Andrew Conkling
> > <andrew.conkling at gmail.com> wrote:
> > > On 5/30/06, Alexander Toresson
> > <alexander.toresson at gmail.com> wrote:
> > > > On 5/30/06, nusret <nbalci_l at yahoo.com> wrote:
> > > > > I recently built the FOX C++ library simply to
> > use
> > > > > their Adie text editor, on Xubuntu Dapper with
> > XFCE
> > > > > 4.4.
> > > > > When I install the built shared library
> > *really
> > > > > locally* (I mean, if I don't invoke ldconfig,
> > but just
> > > > > set the LD_LIBRARY_PATH in my .bashrc login
> > script), I
> > > > > observe the following issue:
> > > > > When I type
> > > > > >>adie
> > > > > from the console, the program starts. But,
> > > > > double-clicking in the filemanger fails to
> > execute the
> > > > > file.
> > > > > If I globally install the shared library by
> > modifying
> > > > > /etc/ld.so.conf and then invoke ldconfig as
> > root,
> > > > > filemanager successfully executes "adie" (the
> > text
> > > > > editor aforementioned).
> > > > >
> > > > > Any idea why this happens?
> > > > > Thank you.
> > > > > N.
> > > > >
> > > >
> > > > .bashrc is afaik ignored for X programs.
>
> Is there any other mechanism in place by XFCE to
> achieve the same? Idea is to localize a user specific
> environment and contain any software libraries
> installed by the user and at the same time not to
> sacrifice the convenience of the graphical user
> interface.
>
> N.
>
> > > Just off the top of my head, would "open in
> > terminal" for a launcher
> > > make a difference in this case?
> >
> > I'm not sure. It depends on whether or not a
> > non-login instance of
> > bash is opened.
> >
> > Regards, Alexander Toresson
>
>
> I understand this is a different question than mine. I
> personally don't see any advantage to using the
> "launcher". And there is no option like run in
> terminal for file properties that manages
> 'double-click and open' that I can see.

It's tangential at worst, but still relevant.  I think you could set
it in, instead of .bashrc, .bash_profile and it'd be run when you
first log in.  Then you'd be able to run it anywhere.  That's just a
hunch, but I've done similar things elsewhere, wanting to set
something for the entire session, and others just for the specific
instance.

(In fact, at one point I was so fed up with the confusion of it all
that I simply had .bashrc call .bash_profile. ;)

For a dirty hack (or for something you want to run only in Xfce), you
could look at setting it in ~/.config/xfce4/xinitrc (IIRC).  I've done
this also, when I wanted Xfce to do something that I didn't want done
elsewhere.

Hope this helps,
Andrew



More information about the Xfce mailing list