Celestia --url script.cel doesn't work under Linux

General discussion about Celestia that doesn't fit into other forums.
Topic author
amoroso
Posts: 50
Joined: 07.06.2003
With us: 21 years 5 months

Celestia --url script.cel doesn't work under Linux

Post #1by amoroso » 02.04.2005, 15:42

A week ago I posted this question to Celestia Scripting, but received no reply. I try again with Celestia Users, which probably has a wider audience.

When I start Celestia and run a script from the shell prompt with the command:

Code: Select all

celestia --url myscript.cel


the program starts, but the script doesn't run. And if I add the --once option, a new instance of Celestia is started.

I use Celestia 1.3.2 configured with

Code: Select all

--prefix=/usr/local/celestia --with-gtk --with-lua=/usr/local/lua


under Slackware Linux 10.0. Do I need any specific configuration options or command line arguments?

I read a posting to Celestia Users that seemed to imply that the --url option works only on Windows. Is this correct? If not, how do I run a script from the command line?


Paolo Amoroso

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Post #2by Christophe » 05.04.2005, 19:30

You can't start a script from the command line with the GTK version of Celestia. The CLI parameters are not the same on all platforms, and --url is only available on Windows. With the KDE version, simply put the script file name or url after 'celestia'.

Code: Select all

$ celestia --help
Usage: celestia [Qt-options] [KDE-options] url

Celestia

Generic options:
  --help                    Show help about options
  --help-qt                 Show Qt specific options
  --help-kde                Show KDE specific options
  --help-all                Show all options
  --author                  Show author information
  -v, --version             Show version information
  --license                 Show license information
  --                        End of options

Arguments:
  url                       Start and go to url
Christophe

Topic author
amoroso
Posts: 50
Joined: 07.06.2003
With us: 21 years 5 months

Post #3by amoroso » 06.04.2005, 06:45

Christophe wrote:You can't start a script from the command line with the GTK version of Celestia. The CLI parameters are not the same on all platforms, and --url is only available on Windows. With the KDE version, simply put the script file name or url after 'celestia'.


Thanks for the info, but I can't use the KDE version. I have the same problem described in this Celestia Users post with my Slackware Linux 10.0 box and KDE 3.2.3.


Paolo Amoroso


Return to “Celestia Users”