LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-27-2012, 04:38 AM   #1
rahulkmnair
LQ Newbie
 
Registered: Sep 2012
Location: Dubai
Posts: 6

Rep: Reputation: Disabled
Zenity: This option is not available. Please see --help for all possible usages


Hi

I got an error message while running the following zenity command

zenity --info --text="Testing\!"

and the error message is


This option is not available. Please see --help for all possible usages.


I got the same error message for all the zenity commands.

My OS is CentOS. How to solve the problem?

Regards
Rahul K M
 
Old 09-27-2012, 07:23 AM   #2
SecretCode
Member
 
Registered: Apr 2011
Location: UK
Distribution: Kubuntu 11.10
Posts: 562

Rep: Reputation: 102Reputation: 102
What version of zenity?
Code:
zenity --version
Does
Code:
zenity --help
work (displaying help output)?

Check
Code:
which zenity
(should be /usr/bin/zenity) and trying calling /usr/bin/zenity directly - one thought is you have an alias or another copy of it somewhere else in the path.
 
Old 10-02-2012, 04:46 AM   #3
rahulkmnair
LQ Newbie
 
Registered: Sep 2012
Location: Dubai
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thank you SecretCode for your reply. Please note the following.

Code:
zenity --version
This option is not available. Please see --help for all possible usages.
Code:
zenity --help
Usage:
  zenity [OPTION...]

Help Options:
  -?, --help                  Show help options
  --help-all                  Show all help options
  --help-general              Show general options
  --help-calendar             Show calendar options
  --help-entry                Show text entry options
  --help-error                Show error options
  --help-info                 Show info options
  --help-file-selection       Show file selection options
  --help-list                 Show list options
  --help-notification         Show notification icon options
  --help-progress             Show progress options
  --help-question             Show question options
  --help-warning              Show warning options
  --help-scale                Show scale options
  --help-text-info            Show text information options
  --help-misc                 Show miscellaneous options
  --help-gtk                  Show GTK+ Options

Application Options:
  --calendar                  Display calendar dialog
  --entry                     Display text entry dialog
  --error                     Display error dialog
  --info                      Display info dialog
  --file-selection            Display file selection dialog
  --list                      Display list dialog
  --notification              Display notification
  --progress                  Display progress indication dialog
  --question                  Display question dialog
  --warning                   Display warning dialog
  --scale                     Display scale dialog
  --text-info                 Display text information dialog
  --display=DISPLAY           X display to use

Code:
which zenity
/usr/bin/zenity

And also tried with the following
Code:
/usr/bin/zenity --version
This option is not available. Please see --help for all possible usages.

Do you have any solution please?

Regards
Rahul

Last edited by rahulkmnair; 10-02-2012 at 04:52 AM.
 
Old 10-02-2012, 08:45 AM   #4
SecretCode
Member
 
Registered: Apr 2011
Location: UK
Distribution: Kubuntu 11.10
Posts: 562

Rep: Reputation: 102Reputation: 102
You don't have all the same options as my version (which is 3.2.0). It might be worth seeing if you can upgrade the package that supplies it. (Can't advise on that - I don't use CentOS)

Since your help lists the option, try
Code:
zenity --help-info

Maybe the special characters aren't being escaped in your shell. Try the simplest possible command, say
Code:
zenity --info --text="Testing"
 
Old 10-03-2012, 02:32 AM   #5
rahulkmnair
LQ Newbie
 
Registered: Sep 2012
Location: Dubai
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thank you SecretCode.

I think the problem is related to the installation (with yum) or the version of zenity (as it was an old version). I got a source code for zenity-3.6.0 and going to try source code installation. I'll update the result here.

Regards
Rahul
 
  


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
usages of openser as a register only server rajesh84210 Linux - Newbie 1 10-08-2009 05:40 AM
How to generate option selection box using zenity........? shivarajM Linux - Software 1 04-29-2009 08:07 AM
memory usages avijitp Red Hat 3 04-20-2007 09:10 PM
events/0 99% cpu usages ajt3nc Slackware 2 04-04-2007 10:30 PM
memory usages mchitrakar Linux - Software 1 12-16-2004 05:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:21 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration