Binary name in the desktop file
Dominique Michel
dominique.michel at vtxnet.ch
Thu Dec 26 12:00:39 PST 2013
Le Thu, 26 Dec 2013 20:19:08 +0100,
Dominique Michel <dominique.michel at vtxnet.ch> a écrit :
> Le Thu, 26 Dec 2013 11:56:57 +0000,
> Jerome Leclanche <adys.wh at gmail.com> a écrit :
>
> > My point is, "env" is not what you should get for this. Wine is just
> > using env as a "hacky" way to give wine the WINEPREFIX variable.
> >
> >
> > J. Leclanche
>
> So, this is a wine bug, as their non standard Wine category which
> is not prefixed by X- and necessitate an extra xdg menu
> infrastructure.
Another one is the bogus focus policy of the wine windows that think
they know better than the wm how to focus.
>
> Dominique
>
> >
> >
> > On Thu, Dec 26, 2013 at 11:51 AM, Kevin Krammer <krammer at kde.org>
> > wrote:
> > > On Thursday, 2013-12-26, 11:33:13, Jerome Leclanche wrote:
> > >> On Thu, Dec 26, 2013 at 11:25 AM, Kevin Krammer <krammer at kde.org>
> > >> wrote:
> > >> > On Thursday, 2013-12-26, 10:56:11, Jerome Leclanche wrote:
> > >> >> I'd really like to be able to get the binary name from desktop
> > >> >> files (eg a way to "start without any argument"). Current
> > >> >> implementations rely on getting the first word of the Exec key
> > >> >> OR replace %f etc by nothing, but that fails for things such
> > >> >> as these:
> > >> >>
> > >> >> Exec=env
> > >> >> WINEPREFIX="/home/adys/.local/share/wineprefixes/default" wine
> > >> >> start /ProgIDOpen chm.file %f
> > >> >
> > >> > What do you mean when you say "fails"?
> > >> > That the command won't launch if %f is replaced by nothing or
> > >> > that taking the first string fails to see that the launched
> > >> > program is /usr/bin/env?
> > >> Sorry, I meant the usual way of getting the binary name (which in
> > >> this case would be "env").
> > >
> > > Ok, thank you for clarifying.
> > > However, I don't see how the simple algorith of taking the first
> > > word could possibly fail to return 'env'.
> > > That is the most simple case: no path, no escaped or quoted
> > > whitespace, just a simple alphabetic sequence.
> > >
> > > Cheers,
> > > Kevin
> > > --
> > > Kevin Krammer, KDE developer, xdg-utils developer
> > > KDE user support, developer mentoring
> > >
> > > _______________________________________________
> > > xdg mailing list
> > > xdg at lists.freedesktop.org
> > > http://lists.freedesktop.org/mailman/listinfo/xdg
> > >
> > _______________________________________________
> > xdg mailing list
> > xdg at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/xdg
> _______________________________________________
> xdg mailing list
> xdg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xdg
More information about the xdg
mailing list