Mailinglist Archive: opensuse-es (2025 mails)

< Previous Next >
Re: [opensuse-es] Xplanet [Era: KDE4]
  • From: csalinux <csalinux@xxxxxxxxx>
  • Date: Tue, 06 Jan 2009 14:29:12 +0100
  • Message-id: <49635CA8.2060305@xxxxxxxxx>
Carlos E. R. escribió:

El 2009-01-06 a las 14:20 +0100, Camaleón escribió:

No, es que es al revés: es Plasma quien tiene que entenderse con
es lo que quiero decir. La manera más fácil es generar un png y
decirle al
entorno que lo recargue periodicamente.

En KDE4 está "marble":


Marble is a generic geographical map widget that is meant to be used
by KDE4 applications. It shows the earth as a sphere but doesn't make
use of any hardware acceleration (No OpenGL). So although it might
look similar to applications like Google Earth or Nasa World Wind it's
rather meant to be a small light weight multi purpose widget.

Es decir, algo de eso permite. Ahora bien, meter el xplanet tal cual,
sin adaptarlo al plasma, creo que al menos en kde 4.1 no funciona.

Ni con kde ni con ninguno. El xearth no sabe decirle ni al kde ni al
gnome que pinte un fondo de pantalla. Puede pintar una ventana, puede
pintar la ventana raiz, que será machacada por el kde y no funcionará. O
puede generar un fichero.

-- Saludos
Carlos E.R.

How can I get xplanet to work with KDE?
From Jeremy Sonander <Jeremy at saros dot com>:
- Right click on the backdrop, and select "Configure desktop"
- Select Background
- Go to the Wallpaper tab and select no wallpaper
- Go to the Background tab and select Background Program from the
Mode tab
- Click Setup
- There should already be an Xplanet entry. Select this and click
- The Command and Preview Command should be
xplanet --num_times 1 --geometry %xx%y --latitude 20 --output
%f.png && mv %f.png %f

How can I get xplanet to work with Gnome2?
Modify the following script to suit your preferences, from

#!/bin/bash shell script v0.2
#shows Earth on your Gnome desktop with current lighting conditions,i.e.
day and night



#default is no projection,i.e. render a globe
#rectangular is the flat world map. also try ancient, azimuthal,

#rename background image so Gnome realises image has changed - thx to

if [ -e "$PREFIX$OUTPUT" ]; then

if [ -z $PROJECTION ]; then
xplanet -num_times 1 -output "$PREFIX$OUTPUT" -geometry $GEOMETRY
-longitude $LONGITUDE -latitude $LATITUDE
xplanet -num_times 1 -output "$PREFIX$OUTPUT" -geometry $GEOMETRY
-longitude $LONGITUDE -latitude $LATITUDE -projection $PROJECTION

#update Gnome backgound
gconftool -t str -s /desktop/gnome/background/picture_filename

sleep $DELAY
exec $0

Make sure this script is executed at Gnome startup. There are several
ways to do this:
Using Gnome session manager. Select Applications (the Footer menu) ->
Desktop Preferences -> Advanced -> Sessions and hit the Startup Programs
tab. Click Add and browse to where you saved the above script and select
it. Click OK. Hit the Current Sessions tab and click Apply. That's it.
Remove this entry if you don't want XPlanet backgrounds any more.
Call the script in an X11 startup script like
/home/nazgul/ & . Do not omit the & .



Enfréntate a los malos; enfréntate a los crueles; enfréntate a todos,
menos a los tontos. Son demasiados y siempre serás derrotado.

(Proverbio hindú)
Para dar de baja la suscripción, mande un mensaje a:
Para obtener el resto de direcciones-comando, mande
un mensaje a:

< Previous Next >
Follow Ups