Hello List, has anyone any Information how to configure Xplanet? i really like it and it is running. But I wanna change the latitude and longitude, so Europe or the US will be in the center. Can anyone help me with that?? I am using KDE 3.3.2 and Suse 9.2 and Xplanet 1.1.1 Thomas -- Thomas Wedehase Nuernberg, Germany www.thomaswedehase.com
* Thomas Wedehase
has anyone any Information how to configure Xplanet?
man xplanet
i really like it and it is running. But I wanna change the latitude and longitude, so Europe or the US will be in the center.
Can anyone help me with that?? I am using KDE 3.3.2 and Suse 9.2 and Xplanet 1.1.1
When in doubt, always try the documentation, then google. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos
Thomas, On Sunday 23 January 2005 11:24, Thomas Wedehase wrote:
Hello List,
has anyone any Information how to configure Xplanet? i really like it and it is running. But I wanna change the latitude and longitude, so Europe or the US will be in the center.
Can anyone help me with that?? I am using KDE 3.3.2 and Suse 9.2 and Xplanet 1.1.1
Patrick is right. The man page is adequate documentation. Here's the invocation I use to generate my desktop image, once every 15 minutes: exec \ xplanet \ -center +800+480 \ -radius 45 \ -label \ -labelpos -10+35 \ -label_string "Viewing Earth over Denver" \ -color 0xffffff \ -font LucidaSansRegular \ -fontsize 11 \ -latitude 39.75 \ -longitude -104.87 \ -projection orthographic \ -starfreq 0.03 \ "$@" \ My monitor is 1280x1024 and I have 64-pixel-tall panel at the bottom. You can see the latitude and longitude of Denver in the arguments to -latitude and -longitude. Let me know how you deal with darkness of the image. I have to adjust my system gamma upward (to 1.50) to make the image bright enough.
Thomas
Randall Schulz
Am Monday 24 January 2005 01:18 schrieb Randall R Schulz:
Thomas,
On Sunday 23 January 2005 11:24, Thomas Wedehase wrote:
Hello List,
has anyone any Information how to configure Xplanet? i really like it and it is running. But I wanna change the latitude and longitude, so Europe or the US will be in the center.
Can anyone help me with that?? I am using KDE 3.3.2 and Suse 9.2 and Xplanet 1.1.1
Patrick is right. The man page is adequate documentation.
Here's the invocation I use to generate my desktop image, once every 15 minutes:
exec \ xplanet \ -center +800+480 \ -radius 45 \ -label \ -labelpos -10+35 \ -label_string "Viewing Earth over Denver" \ -color 0xffffff \ -font LucidaSansRegular \ -fontsize 11 \ -latitude 39.75 \ -longitude -104.87 \ -projection orthographic \ -starfreq 0.03 \ "$@" \
Thanks for your help, but I just don't get it. Where do I safe the settings you gave me?? I checked out the man pages, but I don't know where to put the settings. I use KDE to put the image in the background. How do you put the picture in the background.
My monitor is 1280x1024 and I have 64-pixel-tall panel at the bottom.
You can see the latitude and longitude of Denver in the arguments to -latitude and -longitude.
Let me know how you deal with darkness of the image. I have to adjust my system gamma upward (to 1.50) to make the image bright enough.
Thomas
Randall Schulz
-- Thomas Wedehase Nuernberg, Germany www.thomaswedehase.com PGP-KEY: 0x3337F9AC
Thomas, On Monday 24 January 2005 09:55, Thomas Wedehase wrote:
Am Monday 24 January 2005 01:18 schrieb Randall R Schulz:
Thomas,
On Sunday 23 January 2005 11:24, Thomas Wedehase wrote:
Hello List,
has anyone any Information how to configure Xplanet? i really like it and it is running. But I wanna change the latitude and longitude, so Europe or the US will be in the center.
Can anyone help me with that?? I am using KDE 3.3.2 and Suse 9.2 and Xplanet 1.1.1
Patrick is right. The man page is adequate documentation.
Here's the invocation I use to generate my desktop image, once every 15 minutes:
exec \ xplanet \ -center +800+480 \ -radius 45 \ -label \ -labelpos -10+35 \ -label_string "Viewing Earth over Denver" \ -color 0xffffff \ -font LucidaSansRegular \ -fontsize 11 \ -latitude 39.75 \ -longitude -104.87 \ -projection orthographic \ -starfreq 0.03 \ "$@" \
Thanks for your help, but I just don't get it. Where do I safe the settings you gave me?? I checked out the man pages, but I don't know where to put the settings. I use KDE to put the image in the background.
Put it in a script, naturally. For me, it's ~/bin/xplanet-local.
How do you put the picture in the background.
Assuming the script I supplied and named as mine is, "~/bin/xplanet-local": KDE Control Center + Appearance & Themes ++ Background - Set "No picture" - Click "Advanced Options" - Enabled the "Background Program" section - "Add..." a new program -- Give it a name, "xplanet-local" and a comment, if you wish -- Set the Executable "xplanet-local" -- Set this Command: "xplanet-local --geometry %xx%y --num_times 1 --output %f.jpg && mv %f.jpg %f" -- Set this Preview Command: "xplanet-local --geometry %xx%y --num_times 1 --output %f.jpg && mv %f.jpg %f" -- Set the refresh interval you want to use. I use 15 minutes. - Make sure this new program is the one left selected when you confirm the Advanced dialog. - Confirm all the changes and you should see the desktop image shortly. Randall Schulz
I don't know whathappend with the last email, but I just wanted to say thank you. I finally got it to work. Thanks again Thomas Am Monday 24 January 2005 19:58 schrieb Randall R Schulz:
Thomas,
On Monday 24 January 2005 09:55, Thomas Wedehase wrote:
Am Monday 24 January 2005 01:18 schrieb Randall R Schulz:
Thomas,
On Sunday 23 January 2005 11:24, Thomas Wedehase wrote:
Hello List,
has anyone any Information how to configure Xplanet? i really like it and it is running. But I wanna change the latitude and longitude, so Europe or the US will be in the center.
Can anyone help me with that?? I am using KDE 3.3.2 and Suse 9.2 and Xplanet 1.1.1
Patrick is right. The man page is adequate documentation.
Here's the invocation I use to generate my desktop image, once every 15 minutes:
exec \ xplanet \ -center +800+480 \ -radius 45 \ -label \ -labelpos -10+35 \ -label_string "Viewing Earth over Denver" \ -color 0xffffff \ -font LucidaSansRegular \ -fontsize 11 \ -latitude 39.75 \ -longitude -104.87 \ -projection orthographic \ -starfreq 0.03 \ "$@" \
Thanks for your help, but I just don't get it. Where do I safe the settings you gave me?? I checked out the man pages, but I don't know where to put the settings. I use KDE to put the image in the background.
Put it in a script, naturally. For me, it's ~/bin/xplanet-local.
How do you put the picture in the background.
Assuming the script I supplied and named as mine is, "~/bin/xplanet-local":
KDE Control Center + Appearance & Themes ++ Background
- Set "No picture" - Click "Advanced Options" - Enabled the "Background Program" section
- "Add..." a new program -- Give it a name, "xplanet-local" and a comment, if you wish -- Set the Executable "xplanet-local" -- Set this Command: "xplanet-local --geometry %xx%y --num_times 1 --output %f.jpg && mv %f.jpg %f" -- Set this Preview Command: "xplanet-local --geometry %xx%y --num_times 1 --output %f.jpg && mv %f.jpg %f" -- Set the refresh interval you want to use. I use 15 minutes.
- Make sure this new program is the one left selected when you confirm the Advanced dialog.
- Confirm all the changes and you should see the desktop image shortly.
Randall Schulz
-- Thomas Wedehase Nuernberg, Germany www.thomaswedehase.com PGP-KEY: 0x3337F9AC
Thomas, On Wednesday 26 January 2005 08:15, Thomas Wedehase wrote:
I don't know whathappend with the last email, but I just wanted to say thank you. I finally got it to work.
Thanks again Thomas
Sure thing. It took me quite a while to get everything sorted out. Did you have to adjust the monitor gamma setting to make the image light enough? Randall Schulz
Hey Randall, Okay, I was a little to fast. I got it to work in school, just as you told me to. Btw I didn't need to change the gamma to see it. Now i wanted to try it at my desktop at home and i encountered some problems. First of all, I don't get the script to work again. i did the same as before, but it won't work, just a black screen. Secondly, I don't have the gamma tab in the display settings. Can you tell me what I am doing wrong or what i am missing? Greets Thomas Am Wednesday 26 January 2005 17:33 schrieb Randall R Schulz:
Thomas,
On Wednesday 26 January 2005 08:15, Thomas Wedehase wrote:
I don't know whathappend with the last email, but I just wanted to say thank you. I finally got it to work.
Thanks again Thomas
Sure thing. It took me quite a while to get everything sorted out.
Did you have to adjust the monitor gamma setting to make the image light enough?
Randall Schulz
-- Thomas Wedehase Nuernberg, Germany www.thomaswedehase.com PGP-KEY: 0x3337F9AC
Thomas, On Wednesday 26 January 2005 11:15, Thomas Wedehase wrote:
Hey Randall,
Okay, I was a little to fast. I got it to work in school, just as you told me to. Btw I didn't need to change the gamma to see it.
Now i wanted to try it at my desktop at home and i encountered some problems. First of all, I don't get the script to work again. i did the same as before, but it won't work, just a black screen. Secondly, I don't have the gamma tab in the display settings. Can you tell me what I am doing wrong or what i am missing?
The first things to check are: - XPlanet is installed - After you copied the script you made it executable ("chmod +x ...") - Make sure that the correct entry is left selected in the "Background Program" section of the "Advanced Background Settings" dialog of KDE Background Control Center section. - Make sure xplanet-local script is being executed by examining the log file it creates ($HOME/.xplanet-local-invocations). As far as the Gamma tab being absent from the KDE control center, I can only guess that it's supplied by an optional KDE component that you don't have installed. Since I tend to install huge swathes of the distribution, I don't often run into the problem of things only partially installed. In particular, I have all the (non-development) KDE components installed.
Greets Thomas
Randall Schulz
Am Wednesday 26 January 2005 20:35 schrieb Randall R Schulz:
Thomas,
On Wednesday 26 January 2005 11:15, Thomas Wedehase wrote:
Hey Randall,
Okay, I was a little to fast. I got it to work in school, just as you told me to. Btw I didn't need to change the gamma to see it.
Now i wanted to try it at my desktop at home and i encountered some problems. First of all, I don't get the script to work again. i did the same as before, but it won't work, just a black screen. Secondly, I don't have the gamma tab in the display settings. Can you tell me what I am doing wrong or what i am missing?
The first things to check are:
- XPlanet is installed Yes, the default works
- After you copied the script you made it executable ("chmod +x ...") Done - Make sure that the correct entry is left selected in the "Background Program" section of the "Advanced Background Settings" dialog of KDE Background Control Center section. Yes, checked a couple times - Make sure xplanet-local script is being executed by examining the log file it creates ($HOME/.xplanet-local-invocations). File does not exist
i am at the end of my knowledge, I checked this in the first place and after you wrote, I checked again and --just a black screen!
As far as the Gamma tab being absent from the KDE control center, I can only guess that it's supplied by an optional KDE component that you don't have installed. Since I tend to install huge swathes of the distribution, I don't often run into the problem of things only partially installed. In particular, I have all the (non-development) KDE components installed.
Greets Thomas
Randall Schulz
-- Thomas Wedehase Nuernberg, Germany www.thomaswedehase.com PGP-KEY: 0x3337F9AC
Thomas, On Wednesday 26 January 2005 12:21, Thomas Wedehase wrote:
...
The first things to check are:
- XPlanet is installed
Yes, the default works
- After you copied the script you made it executable ("chmod +x ...")
Done
- Make sure that the correct entry is left selected in the "Background Program" section of the "Advanced Background Settings" dialog of KDE Background Control Center section.
Yes, checked a couple times
- Make sure xplanet-local script is being executed by examining the log file it creates ($HOME/.xplanet-local-invocations).
File does not exist
Then xplanet-local is not getting executed. Based on this, I'm guessing the preview does not show XPlanet output, either. Another entry for the check list: - $HOME/bin (or whatever directory holds the xplanet-local script) is in your PATH variable. In particular, it must be in the PATH that's in effect for KDE. Did you select "No picture" in the main panel of the Background Control Center module? If not, my experience was that the selected picture obscures the dynamically generated desktop image. You might want to look for clues in $HOME/.xsession-errors.
i am at the end of my knowledge, I checked this in the first place and after you wrote, I checked again and --just a black screen!
Randall Schulz
Am Wednesday 26 January 2005 21:33 schrieb Randall R Schulz:
Thomas,
On Wednesday 26 January 2005 12:21, Thomas Wedehase wrote:
...
The first things to check are:
- XPlanet is installed
Yes, the default works
- After you copied the script you made it executable ("chmod +x ...")
Done
- Make sure that the correct entry is left selected in the "Background Program" section of the "Advanced Background Settings" dialog of KDE Background Control Center section.
Yes, checked a couple times
- Make sure xplanet-local script is being executed by examining the log file it creates ($HOME/.xplanet-local-invocations).
File does not exist
Then xplanet-local is not getting executed. Based on this, I'm guessing the preview does not show XPlanet output, either.
Another entry for the check list:
- $HOME/bin (or whatever directory holds the xplanet-local script) is in your PATH variable. In particular, it must be in the PATH that's in effect for KDE.
Did you select "No picture" in the main panel of the Background Control Center module? If not, my experience was that the selected picture obscures the dynamically generated desktop image.
You might want to look for clues in $HOME/.xsession-errors.
i am at the end of my knowledge, I checked this in the first place and after you wrote, I checked again and --just a black screen!
Randall Schulz
Okay, I found the problem. You won't believe it, but the font made the problems. Xplanet could not find the font. I took it out and it works just fine. Could you give me the name of the file, cause I really like your font. Thanks again for all your help I appreciate it Thomas -- Thomas Wedehase Nuernberg, Germany www.thomaswedehase.com PGP-KEY: 0x3337F9AC
Thomas, I'm glad you worked it out. On Wednesday 26 January 2005 13:51, Thomas Wedehase wrote:
...
Okay, I found the problem. You won't believe it, but the font made the problems. Xplanet could not find the font. I took it out and it works just fine. Could you give me the name of the file, cause I really like your font.
I'm a little confused about what you want. I'm using LucidaSansRegular, as you can see from my xplanet-local script. But you've never seen a rendering of my desktop image (I hope! -- Are you snooping around my machine somehow? If so, you have skills! Marketable sckills, if you catch my drift...) Actually, I think I see now what's up. XPlanet will only use fonts from its own fonts directory: "/usr/share/xplanet/fonts/". On my system, that's: % ll /usr/share/xplanet/fonts/ total 1544 -rw-r--r-- 1 root root 175016 2004-04-05 19:47 FreeMonoBold.ttf -r--r--r-- 2 root root 698236 2004-07-07 16:18 LucidaSansRegular -r--r--r-- 2 root root 698236 2004-07-07 16:18 LucidaSansRegular.ttf -rw-r--r-- 1 root root 92 2004-04-05 19:47 README What's noteworthy here are the dates. Apparently I added the LucidaSans files (which are the same file--i.e., they're hard links). I guess I must have done that because I didn't want to use the FreeMonoBold font supplied with XPlanet. What's more, I apparently appropriated that font from my Java installation, 'cause that's the only other place that file exists on my system! So it appears whatever font you want to use, you have to copy it to /usr/share/xplanet/fonts. I believe it must be a TrueType font, but I'm not 100% sure about that (doubtless the XPlanet documentation will make that clear). Fonts.com sels a suite of six Lucida Sans fonts for the low, low price of $118 (US)! Linotype sells a Lucida Sans Regular for $29. Here's a free one: http://www.webpagepublicity.com/free-fonts-l3.html. You'll have to search. It's about two thirds of the way down. (Lest there be any confusion, font names cannot be copyrighted or trademarked--only the actual font designs themselves get any kind of proprietary protection. Thus there can be any number of fonts out there, both free and commercial, all named Lucida something-or-other.)
Thanks again for all your help I appreciate it
No problemo! I please to aim.
Thomas
Randall Schulz
Just to let you know, I never saw your system. I am not doing that. I just needed the name of the font-file (which you gave me), because in school it worked somehow, but there weren't any fonts in the folder of xplanet. Now i got everything i needed :) Thomas Am Wednesday 26 January 2005 23:56 schrieb Randall R Schulz:
Thomas,
I'm glad you worked it out.
On Wednesday 26 January 2005 13:51, Thomas Wedehase wrote:
...
Okay, I found the problem. You won't believe it, but the font made the problems. Xplanet could not find the font. I took it out and it works just fine. Could you give me the name of the file, cause I really like your font.
I'm a little confused about what you want. I'm using LucidaSansRegular, as you can see from my xplanet-local script. But you've never seen a rendering of my desktop image (I hope! -- Are you snooping around my machine somehow? If so, you have skills! Marketable sckills, if you catch my drift...)
Actually, I think I see now what's up. XPlanet will only use fonts from its own fonts directory: "/usr/share/xplanet/fonts/".
On my system, that's:
% ll /usr/share/xplanet/fonts/ total 1544 -rw-r--r-- 1 root root 175016 2004-04-05 19:47 FreeMonoBold.ttf -r--r--r-- 2 root root 698236 2004-07-07 16:18 LucidaSansRegular -r--r--r-- 2 root root 698236 2004-07-07 16:18 LucidaSansRegular.ttf -rw-r--r-- 1 root root 92 2004-04-05 19:47 README
What's noteworthy here are the dates. Apparently I added the LucidaSans files (which are the same file--i.e., they're hard links). I guess I must have done that because I didn't want to use the FreeMonoBold font supplied with XPlanet.
What's more, I apparently appropriated that font from my Java installation, 'cause that's the only other place that file exists on my system!
So it appears whatever font you want to use, you have to copy it to /usr/share/xplanet/fonts. I believe it must be a TrueType font, but I'm not 100% sure about that (doubtless the XPlanet documentation will make that clear).
Fonts.com sels a suite of six Lucida Sans fonts for the low, low price of $118 (US)! Linotype sells a Lucida Sans Regular for $29.
Here's a free one: http://www.webpagepublicity.com/free-fonts-l3.html. You'll have to search. It's about two thirds of the way down.
(Lest there be any confusion, font names cannot be copyrighted or trademarked--only the actual font designs themselves get any kind of proprietary protection. Thus there can be any number of fonts out there, both free and commercial, all named Lucida something-or-other.)
Thanks again for all your help I appreciate it
No problemo! I please to aim.
Thomas
Randall Schulz
-- Thomas Wedehase Nuernberg, Germany www.thomaswedehase.com PGP-KEY: 0x3337F9AC
Thomas, As this thread has made me curious about what this is all about I have configured XPlanet as Randall suggests and I am running it right now on my desktop.
$HOME/.xplanet-local-invocations File does not exist
I can't find it either, but XPlanet runs just fine.
i am at the end of my knowledge, I checked this in the first place and after you wrote, I checked again and --just a black screen!
When I set up my script, I ran it several times from the shell before installing it as a KDE background generator. I experienced just the same as you - a black image. I am really not sure what causes that behaviour, but I learned to delete the image file generated by a previous run before running the script again from a shell account. This apparently made it work and I got to see what I was expecting to see. This is my script: exec \ xplanet \ -radius 45 \ -label \ -labelpos -1050+10 \ -label_string "Colombia desde el espacio" \ -color 0xffffff \ -font FreeMonoBold.ttf \ -fontsize 11 \ -latitude 04 \ -longitude -75 \ -projection orthographic \ -starfreq 0.03 \ "$@" \ You see,very similar to what Randall has suggested. It is in an executable script file under /usr/local/bin, and from my user shell account I invoke it as 'xplanet-local -geometry 1280x1024 -num_times 1 -output earth.jpg'. It produces a visible image 1280x1024 pixels, with my city centered. The file '$HOME/.xplanet-local-invocations' is NOT created. If I don't delete earth.jpg before subsequent runs of the script from the shell, XPlanet outputs the following message: "Warning: Resizing night map. For better performance, all image maps should be the same size as the day map" The resulting image is all black. Regards, -- Andreas Philipp Noema Ltda. Bogotá, D.C. - Colombia http://www.noemasol.com
participants (4)
-
Andreas Philipp
-
Patrick Shanahan
-
Randall R Schulz
-
Thomas Wedehase