! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
unable to run program from launcher
Status:
RESOLVED: INVALID
Product:
Xfce4-panel
Component:
Launcher

Comments

Description Todd 2011-10-13 19:55:22 CEST
Hi Guys,

Under Xfce 4.4.2 and CentOS 5.6 x32 I can run the following from a program launcher in my panel without issue:

rdesktop -N -d abc-server -u Administrator -g 80% -a 16 -r printer:B4350='HP LaserJet IIP' -r disk:MyLocalDrive=/home/OurStuff/temp -r clipboard:CLIPBOARD 67.xxx.yyy.zzz:abcd       

Portions of the above are redacted.

Under Xfce 4.8.3 and Scientific Linux 6.1 x 64, nothing happens when I click on the (pop up from the launcher) icon: no pop ups, no errors, nothing in /var/log/messages.  If I copy and paste it to a command prompt (xterm), the run line works fine.

Wrapping the run line around a bash script (bash -c "rdesktop ...") also does not work either.

The work around is to copy the run line to a one line bash script and point the icon to the bash script.

Many thanks,
-T
Comment 1 Nick Schermer editbugs 2011-10-23 20:23:16 CEST
You need a double %%. I think that should fix it.
Comment 2 Todd 2011-11-03 04:45:30 CET
"%%" worked perfectly.  Thank you!

Question: since this is a change in behavior from Xfce 4.4.2 to 4.8, is this change a bug or is it on purpose?

-T
Comment 3 Nick Schermer editbugs 2011-11-03 08:04:56 CET
Purpose, %F etc are replaced with the filename if an uri is dropped on the launcher, so we follow the .desktop file spec.
Comment 4 Todd 2011-11-04 18:59:20 CET
(In reply to comment #3)
> Purpose, %F etc are replaced with the filename if an uri is dropped on the
> launcher, so we follow the .desktop file spec.

Okay.  Then the change is on purpose.  Closing my report as invalid.  Thank you for the %% tip!  -T

Bug #8035

Reported by:
Todd
Reported on: 2011-10-13
Last modified on: 2011-11-04

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Attachments

Additional information