Passing args in terminal window is OK. but isn't when passing in GNOME launcher why?
My distro is Debian Etch 4.0 , proc. AMD64,
Printing server CUPS.
The problem is that status monitor "cngpijmonip4500"
for my printer (original binary from *deb package from Canon Inc.)
works fine calling by command in terminal window (within GNOME-desktop)
and does not work guite properly when is called
as a GNOME desktop menu item.
Let's explain a little bit closer:
- in terminal window it gets correctly printer name
as an argument and every thing is O.K.
Title bar says "Canon iP4500 printer .." so it has received
the printer correetly from CUPS.
Executed (typed) in terminal window command is: cngpijmonip4500 iP4500
- when it is run as an menu item of GNOME desktop command:
in file: /usr/share/applications/xxx.desktop
it does not recognize the printer.
Title bar says: "Unknown printer ..."
Maybe it does not parse properly an argument in xxx.desktop
file or maybe there is any delay or something like this
in sequence of binary execution fromwithin
the GNOME desktop. And a client cngpijmonip4500
does not get the correct data from CUPS server.
What is the difference in GNOME between calling binaries
from menu (launcher) and from terminal window ???
Have anybody any suggestions how to fix it ?