Re: panel 1 launcher problem
Gaël Bonithon <[email protected]> Tue, 31 Dec 2024 07:25:41 +0000
| Newsgroups | gmane.comp.xfce.user |
|---|---|
| Message-ID | <k2N3uTjXdrV-nfhD072kPQGjRlZEsxm6cZ3gYvtd2EJCTuMq9YgtE_551LrLCK5LYl5nXGOunN7wTew47KZQhxMxC_W2AS3okDKdx6vtdcE=@protonmail.com> |
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 <[email protected]> wrote: > On 12/30/24 21:55, ToddAndMargo wrote: > > > > On Tuesday, December 31st, 2024 at 4:17 AM, ToddAndMargo > > > [email protected] 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 > [email protected] > https://mail.xfce.org/mailman/listinfo/xfce > http://www.xfce.org _______________________________________________ Xfce mailing list [email protected] https://mail.xfce.org/mailman/listinfo/xfce http://www.xfce.org