LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 11-18-2008, 06:00 PM   #1
majrys1962
LQ Newbie
 
Registered: Nov 2008
Posts: 3

Rep: Reputation: 0
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:
Exec=/usr/bin/cngpijmonip4500 iP4500
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 ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing args to port / make and apache rob0t *BSD 4 08-27-2008 10:34 AM
Passing args in an IOCTL neerajb Linux - Software 0 04-20-2006 05:51 AM
perl: passing 2 individual arrays/lists as args johnMG Programming 12 04-18-2005 03:49 PM
passing passing variable in Java as reference djgerbavore Programming 3 11-10-2004 02:18 PM
passing terminal commands joey Linux - General 3 03-21-2002 11:24 AM


All times are GMT -5. The time now is 03:38 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration