panel 1 launcher problem

Gaël Bonithon trash.paradise at protonmail.com
Tue Dec 31 08:25:41 CET 2024


Various characters need to be escaped too, see https://specifications.freedesktop.org/desktop-entry-spec/1.1/exec-variables.html
As advised in another reply, maybe you should use a script in a separate file instead, it avoids all these issues.

Cheers,
Gaël

On Tuesday, December 31st, 2024 at 6:10 AM, ToddAndMargo <ToddAndMargo at zoho.com> wrote:

> On 12/30/24 21:55, ToddAndMargo wrote:
> 
> > > On Tuesday, December 31st, 2024 at 4:17 AM, ToddAndMargo
> > > ToddAndMargo at zoho.com wrote:
> > > 
> > > > On 12/30/24 19:04, ToddAndMargo wrote:
> > > > 
> > > > > Hi All,
> > > > > 
> > > > > Fedora41
> > > > > Xfce 4.18
> > > > > 
> > > > > This works from the command line:
> > > > > 
> > > > > bash -c "cd /home/tony/.wine/drive_c/lotus/123; wine explorer /
> > > > > desktop=$(date +%H:%M:%S)_wine_virtual_desktop_1680x1050,1680x1050
> > > > > 123w.exe"
> > > > > 
> > > > > But from a panel 1 launcher
> > > > > $(date +%H:%M:%S)
> > > > > displays as a single flower character.
> > > > > 
> > > > > What am I doing wrong?
> > > > > 
> > > > > Many thanks,
> > > > > -T
> > > > 
> > > > From the command line:
> > > > https://ibb.co/gy04cvQ
> > > > 
> > > > From Panel 1:
> > > > https://ibb.co/wwFxX1r
> > 
> > On 12/30/24 20:56, Gaël Bonithon wrote:
> > 
> > > You have to escape '%', i.e. date +%%H:%%M:%%S
> > > 
> > > Cheers,
> > > Gaël
> > 
> > $ bash -c "cd $HOME/.wine/drive_c/lotus/approach; wine explorer /
> > desktop=$(date +%%H:%%M:%%S)_wine_virtual_desktop_1680x1050,1680x1050
> > approach.exe"
> > 
> > "Failed to execute child process "$" (No such file or directory
> > 
> > Rats!
> 
> 
> 
> I traded
> $(date +%%H:%%M:%%S)
> for
> `date +%%H:%%M:%%S`
> 
> And that worked.
> 
> But how do I also get the $(...) to work?
> 
> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> https://mail.xfce.org/mailman/listinfo/xfce
> http://www.xfce.org


More information about the Xfce mailing list