diff --git a/.Desktop.swp b/.Desktop.swp
deleted file mode 100644
index 441676f..0000000
Binary files a/.Desktop.swp and /dev/null differ
diff --git a/.config/openbox/autostart.sh b/.config/openbox/autostart.sh
index 4b175bb..943d210 100644
--- a/.config/openbox/autostart.sh
+++ b/.config/openbox/autostart.sh
@@ -5,4 +5,5 @@ pidgin &
evolution &
conky &
/usr/lib/gnome-volume-manager/gnome-volume-manager --sm-disable &
+xplanet &
#nm-applet --sm-disable &
diff --git a/.config/openbox/rc.xml b/.config/openbox/rc.xml
index 2859d3c..f4cc9d6 100644
--- a/.config/openbox/rc.xml
+++ b/.config/openbox/rc.xml
@@ -113,10 +113,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/clouds.pl b/clouds.pl new file mode 100644 index 0000000..82b3ef4 --- /dev/null +++ b/clouds.pl @@ -0,0 +1,106 @@ +#!/usr/bin/perl +# +# A ajouter dans /etc/crontab +# 49 2,5,8,11,14,17,20,23 * * * perl /usr/local/bin/clouds.pl +#49 2,5,8,11,14,17,20,23 * * * mathieu perl /usr/local/bin/clouds.pl > /home/mathieu/xplanetclouds.log +# ------------------------------------------------------------------------------------ +# Program for downloading XPlanet cloud images from a random mirror +# +# Copyright (c) 2003, cueSim Ltd. http://www.cueSim.com, Bedford, UK +# +# ------------------------------------------------------------------------------------ +# +# Redistribution and use, with or without modification, are permitted provided +# that the following conditions are met: +# +# * Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# * Neither the cueSim name nor the names of its contributors may +# be used to endorse or promote products derived from this software without +# specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY +# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +# SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# (2005-06) hacked by mose at nguild.org for personal use on a debian SID +# (2008-08) hacked by benhaim_jerome at yahoo.fr for personal use on a ubuntu Hardy + +use LWP::Simple; + +# Options: +# - ou sauvegarder l'image des nuages (par defaut le répertoire courant) +# + +my $Filename = "/home/mathieu/.xplanet/images/clouds.jpg"; + +# - fréquences de mise à jour de l'image sur le serveur +my $MaxDownloadFrequencyHours = 2; + +# - Combien d'essais, si le serveur ne répond pas +my $MaxRetries = 3; + +## Note: excessive requests to a single image server is discouraged. +## This script limits max retries, does not download more frequently +## than every two hours (the file is generated every 3 hours). and +## picks a random mirror location for every download. +## +## Changer les paramètres risque de vous exclure (blacklisted) +## des serveurs d'images + +if(-f $Filename) { + my @Stats = stat($Filename); + my $FileAge = (time() - $Stats[9]); + my $FileSize = $Stats[7]; + if($FileAge < 60 * 60 * $MaxDownloadFrequencyHours && $FileSize > 400000) { + print "File is already up to date\n"; + exit(1); + } +} + +for(1..$MaxRetries) { + my $MirrorURL = GetRandomMirror(); + print "Using $MirrorURL\nDownloading...\n"; + my $Response = getstore($MirrorURL, $Filename); + if( IndicatesSuccess($Response)) { + print "Finished: file successfully downloaded to $Filename\n"; + exit(0); + } + print "Download not available, trying another website\n\n"; +} +print "ERROR: Tried to download the file $MaxRetries times, but no servers could provide the file\n"; +exit(2); + +sub IndicatesSuccess() { + my $Response = shift(); + if($Response =~ /2\d\d/) { + return(1); + } else { + return(0); + } +} +## Liste des serveurs miroir +sub GetRandomMirror() { + my @Mirrors = ( + "http://xplanet.arculeo.com/clouds_2048.jpg", + "http://xplanet.sourceforge.net/clouds/clouds_2048.jpg", + "http://www.ruwenzori.net/earth/clouds_2048.jpg", + "http://xplanet.dyndns.org/clouds/clouds_2048.jpg", + "http://userpage.fu-berlin.de/~jml/clouds_2048.jpg", + "http://userpage.fu-berlin.de/~jml/clouds_4096.jpg", + "http://php.nctu.edu.tw/~ijliao/clouds_2048.jpg", + "http://home.megapass.co.kr/~gitto88/cloud_data/clouds_2048.jpg", + "http://home.megapass.co.kr/~holywatr/cloud_data/clouds_2048.jpg", + "ftp://ftp.iastate.edu/pub/xplanet/clouds_2048.jpg", + "http://xplanet.explore-the-world.net/clouds_2048.jpg", + "ftp://mirror.pacific.net.au/xplanet/clouds_2048.jpg", + "http://www.narrabri.atnf.csiro.au/operations/NASA/clouds_2048.jpg", + ); + return $Mirrors[rand scalar(@Mirrors)]; +} diff --git a/conkyrcExample b/conkyrcExample new file mode 100644 index 0000000..8f7e109 --- /dev/null +++ b/conkyrcExample @@ -0,0 +1,41 @@ +#background no +#out_to_console yes +#total_run_times 0 +#no_buffers yes +#uppercase no +#update_interval 5 +#maximum_width 1 + +#Avoid flicker +double_buffer yes +#own window to run simultanious 2 or more conkys +#on_bottom no +own_window yes +own_window_transparent yes +own_window_type override +own_window_hints undecorate,sticky,skip_taskbar,skip_pager +#borders +draw_borders no +border_margin 0 +#shades +draw_shades no +#position +gap_x 0 +gap_y 4 +alignment top_middle +#behaviour +update_interval 5 +#colour +default_shade_color 000000 +own_window_colour 3d414c +#font +use_xft yes +xftfont snap:pixelsize=12 +#to prevent window from moving +use_spacer no +#maximum_size 1280 0 + + +TEXT +${alignc}${color cyan}:: ${color orange}Kernel: ${color D7D3C5}$kernel ${color cyan}:: ${color D7D3C5}${time %H:%M %d/%m/%y} ${color cyan}:: ${color orange}Cpu1: ${color D7D3C5}${cpu cpu1}% ${cpubar 6,50 AEA08E 9F907D} ${color D7D3C5} == ${color orange}Cpu2: ${color D7D3C5}${cpu cpu2}% ${cpubar 6,50 AEA08E 9F907D} ${color D7D3C5} ${color cyan}:: ${color orange}Mem: ${color D7D3C5}$mem/$memmax - $memperc% ${membar 6,50}${color D7D3C5} ${color cyan}:: ${color orange}Net: ${color green}${downspeed eth0} ${color D7D3C5}Kb/s ${downspeedgraph eth0 8,50 AEA08E 9F907D} ${color D7D3C5} ${totaldown eth0} ${color purple}down ${color D7D3C5}- ${color red}${upspeed eth0} ${color D7D3C5}Kb/s ${upspeedgraph eth0 8,50 green 9F907D} ${color 909090}${totalup eth0} ${color purple}up ${color cyan}:: +${alignc}${color cyan}:: ${color orange}Temperature: ${color D7D3C5}${acpitemp} C ${color cyan}:: ${color orange}Battery: ${color D7D3C5}${battery}-${battery_time} ${color cyan}:: ${color orange}terra: ${color D7D3C5}${font}${fs_free /} / ${fs_size /} - ${fs_free_perc /}% ${color orange}mercury: ${color D7D3C5}${fs_free /mnt/mercury} / ${fs_size /mnt/mercury} - ${fs_free_perc /mnt/mercury}% ${color cyan}:: diff --git a/conkyrcExample2 b/conkyrcExample2 new file mode 100644 index 0000000..4199976 --- /dev/null +++ b/conkyrcExample2 @@ -0,0 +1,43 @@ +#Avoid flicker +double_buffer yes + +#own window to run simultanious 2 or more conkys +#on_bottom no +own_window yes +own_window_transparent yes +own_window_type override +own_window_hints undecorate,sticky,skip_taskbar,skip_pager + +#borders +draw_borders no +border_margin 0 + +#shades +draw_shades no + +#position +gap_x 0 +gap_y 0 +alignment bottom_middle + +#behaviour +update_interval 5 + +#colour +default_color 7CE56D + +#default_shade_color 000000 +own_window_colour 3d414c + +#font +use_xft yes +xftfont snap:pixelsize=12 + +#to prevent window from moving +use_spacer no +#minimum_size 1280 0 + +TEXT + +${alignc}${color cyan}:: ${color orange}Email: ${color D7D3C5}${pop3_unseen } - ${color cyan}G${color red}m${color yellow}a${color cyan}i${color green}l${color d7d3c5}: ${execi 50 python gmail.py} ${color cyan}:: ${color orange}Weather: ${color D7D3C5} ${execi 1800 weatherget -f ~/.conkyweatherrc -s GRXX0004 --metric } ${color cyan}:: ${color orange}Up: ${color D7D3C5}${uptime_short} ${color cyan}:: ${color orange}Processes: ${color D7D3C5}$processes : $running_processes ${color cyan}:: ${color orange}Top CPU usage: ${color ddaa00 } ${top name 1}:${top cpu 1} - ${color white} ${top name 2}:${top cpu 2} ${color cyan}:: ${color orange} + diff --git a/debian-multimedia-keyring_2008.10.16_all.deb b/debian-multimedia-keyring_2008.10.16_all.deb new file mode 100644 index 0000000..a0f374f Binary files /dev/null and b/debian-multimedia-keyring_2008.10.16_all.deb differ diff --git a/default b/default new file mode 100644 index 0000000..fb1dd41 --- /dev/null +++ b/default @@ -0,0 +1,227 @@ +# This file contains options you might want to customize for each +# body. It's best to leave this file alone and modify a copy. Use the +# -config option to tell xplanet to read your copy. + +[default] # Values in this section apply to all + # bodies unless overridden below. + +arc_color=white +#arc_file= + +#bump_map= +bump_scale=1 + +cloud_gamma=1 +#cloud_map= +cloud_ssec=false # true if the cloud map is from the + # University of Wisconsin Space + # Science and Engineering Center +cloud_threshold=90 + +color={255,255,255} # fallback color in case an image map + # isn't found + +draw_orbit=false # if true, draw this body's orbit + # about its primary + +grid=false +grid1=6 +grid2=15 + +#image= + +magnify=40 # draw the body as if its radius were + # magnified by this factor + +marker_color=red +#marker_file= +#marker_font= + +max_radius_for_label=3 # don't draw a label if the body's + # radius in pixels is more than this + +min_radius_for_label=.01 # don't draw a label if the body's + # radius in pixels is less than this + +min_radius_for_markers=40 # don't draw markers if the body's + # radius in pixels is less than this + +#night_map= + +orbit={-.5,.5,2} # extent of orbit to draw, + # {start, end, delta}, where + # start and end are in units of period + # of revolution and delta is angular + # increment in degrees to evaluate + # position + +orbit_color={255,255,255} # color for the orbit + +random_origin=true # Can this body be considered if + # -origin random is used? + +random_target=true # Can this body be considered if + # -target random is used? + +#satellite_file= + +shade=30 # 0 = black, 100 = same as dayside + +#specular_map= + +text_color={255,0,0} # color for text (markers & body label) + +twilight=6 # blend the day and night images for + # pixels within this many degrees of + # the terminator + +[sun] +"Sun" +color={255,255,166} + +max_radius_for_label=0 # never draw a label for the sun + +shade=100 # No night side! + +[mercury] +"Mercury" +color={100, 100, 100} + +min_radius_for_label=0 # always draw a label + +[venus] +"Venus" +color={161, 129, 70} + +min_radius_for_label=0 + +[earth] +"Earth" +color={28, 82, 110} +cloud_map=clouds.jpg + +# I have day and night maps of Australia centered on Alice Springs, +# which are cropped from higher resolution maps. +#map=alice_springs.png +#night_map=alice_springs_night.png +#mapbounds={-1.2,98.7107,-46.2,169.023} # lat1, lon1, lat2, lon2 + +#marker_file=earth + +min_radius_for_label=0 + +#satellite_file=iss + +[moon] +"Moon" +color={100, 100, 100} + +[mars] +"Mars" +color={172, 123, 67} + +min_radius_for_label=0 + +[phobos] +"Phobos" + +[deimos] +"Deimos" + +[jupiter] +"Jupiter" +color={204, 163, 133} +min_radius_for_label=0 + +[io] +"Io" +color={212, 182, 52} + +[europa] +"Europa" +color={140, 140, 140} + +[ganymede] +"Ganymede" +color={150, 150, 150} + +[callisto] +"Callisto" +color={70, 70, 70} + +[saturn] +"Saturn" +color={244, 199, 134} +min_radius_for_label=0 + +[mimas] +"Mimas" + +[enceladus] +"Enceladus" + +[tethys] +"Tethys" + +[dione] +"Dione" + +[rhea] +"Rhea" + +[titan] +"Titan" + +color={252,94,7} + +[hyperion] +"Hyperion" + +[iapetus] +"Iapetus" + +[phoebe] +"Phoebe" + +[uranus] +"Uranus" + +color={105, 197, 238} + +min_radius_for_label=0 + +[miranda] +"Miranda" + +[ariel] +"Ariel" + +[umbriel] +"Umbriel" + +[titania] +"Titania" + +[oberon] +"Oberon" + +[neptune] +"Neptune" +color={95, 133, 232} + +min_radius_for_label=0 + +[triton] +"Triton" + +[nereid] +"Nereid" + +[pluto] +"Pluto" +color={206, 180, 153} + +min_radius_for_label=0 + +[charon] +"Charon" diff --git a/install_config.sh b/install_config.sh index 7686272..1292175 100644 --- a/install_config.sh +++ b/install_config.sh @@ -1,6 +1,6 @@ #!/bin/bash -for i in $(ls -lA| awk '{print $8}'| grep -e "^\."| grep -v "git"|grep -v "swp") +for i in $(ls -lA| awk '{print $9}'| grep -e "^\."| grep -v "git"|grep -v "swp") do echo "ln -s $PWD/$i $HOME/$i" done diff --git a/models/model.tex b/models/model.tex new file mode 100644 index 0000000..e2f04b7 --- /dev/null +++ b/models/model.tex @@ -0,0 +1,45 @@ +\documentclass[a4paper,10pt]{report} +\usepackage{graphicx} +\usepackage{fancyhdr} +\usepackage[bookmarks=false,colorlinks,linkcolor=blue]{hyperref} +\usepackage[utf8]{inputenc} + + +\pagestyle{fancy} +\fancyhf{} + +\lhead{OpenWide} +\rhead{\today} +\chead{} +\cfoot{\thepage} + + +% Title Page +\title{E-Compagnon et SisellDroid} +\author{Mathieu Maret} + + + +\begin{document} +\maketitle + +\begin{abstract} + +Ce document présente SisellDroid, une application de visualisation de webcam pour plateforme android réalisé dans le cadre du projet e-compagnon. +\end{abstract} +\tableofcontents + + +\chapter{Présentation de SisellDroid} +Dans le cadre du projet e-compagnon, OpenWide en partenarie avec Archos developpe des applications pour la plateform Android. + + +\chapter{Taches effectuées} +\section[camera]{Gestion des caméras} + +\chapter{Prochaines évolutions} + + + + +\end{document} diff --git a/sources.list b/sources.list new file mode 100644 index 0000000..fe51b5b --- /dev/null +++ b/sources.list @@ -0,0 +1,36 @@ +# +# deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 CD Binary-1 20090214-16:29]/ lenny main + +#deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 CD Binary-1 20090214-16:29]/ lenny main + + +#depot a la con +deb http://nosuchfile.org/debian lenny main + +#deb http://vlab:9999/debian stable main contrib + +##Dépôts multimédia +deb http://www.debian-multimedia.org/ lenny main + + +deb http://ftp.fr.debian.org/debian/ lenny main +deb-src http://ftp.fr.debian.org/debian/ lenny main + +deb http://ftp.fr.debian.org/debian/ lenny contrib non-free + +deb http://security.debian.org/ lenny/updates main +deb-src http://security.debian.org/ lenny/updates main + +deb http://volatile.debian.org/debian-volatile lenny/volatile main +deb-src http://volatile.debian.org/debian-volatile lenny/volatile main + +#wine +#deb http://www.lamaresh.net/apt lenny main + +#Scratchbox +deb http://scratchbox.org/debian stable main +deb http://scratchbox.org/debian legacy main + +#virtual box +deb http://download.virtualbox.org/virtualbox/debian lenny non-free + diff --git a/sun_vbox.asc b/sun_vbox.asc new file mode 100644 index 0000000..410a614 --- /dev/null +++ b/sun_vbox.asc @@ -0,0 +1,31 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1.4.6 (GNU/Linux) + +mQGiBEh7C8oRBACtOAieuw71PWaeBpi3djCX2sbZ3pqvfMsTaUb4E8Jo6ylC5xOa +rc4PUQt5/fHaFwOgP+MF11pt8LunY7nXgFNufmXWxAwjaB26EqAF9CytxJS7viu9 +tjEFqWQIL+2GHE1sEAevr8EvVr7fnmCUuY06nb1WvaOlL1VO2DAs+aJ2fwCguhlZ +ozqrrFyhO7XjRX9imHXbIvsD/2ntslEsaYgnTaNAOCGVUZi4kUQKVZrELgYpLo0Z +Wq6fbAskgI5qFe4XgP0TqLoI4KLg5OaMXdWDhboaJ3Ln9JgQnjLS3fJG75Lu3QF/ +6nPWYKcuQILLOcsXPthHDxyvRqTv5uUmiNRSDJSMLMA2LgUjzKJ7mEzDZ/uL8jZq +jfR2A/9r+H4wct/YS0Xmm2JWZxDlT+D27zF0zKzHVINr2eSK8K5mIhOZxAJN37ay +qVcegz23JII3MQKOuvuH7pBzGEY1IiT6gvAI7WjVm+pRU+TarVwytoANWOvTWfid +2Y/OgClJ4iqnhj/egM/c3A7KrGG4Q/Tj1rHqnB+rRilVoYQbaLRRU3VuIE1pY3Jv +c3lzdGVtcywgSW5jLiAoeFZNIFZpcnR1YWxCb3ggYXJjaGl2ZSBzaWduaW5nIGtl +eSkgPGluZm9AdmlydHVhbGJveC5vcmc+iGAEExECACAFAkh7C8oCGwMGCwkIBwMC +BBUCCAMEFgIDAQIeAQIXgAAKCRDc+fh7bfvLrnOHAJwLYTeiZC3HyO6758GKiMHZ +2VTO5gCfXb1PdW17wqGKz5nyka9qpjOAs2C5Ag0ESHsL0BAIAKVaUE5yk8vsXkbj +CPxrs2R7XuqrLp2/KSdjV7wi1dhwOgFUNObNMsK3K683mxmMnT65mJ/HqiXgW9WY +5PgLzrHnEA27O7v2ol3O86wkr5BHaaStsLpkDIMItywjPqZkp7KHFDRXrhGTiHLg +0D6YQB/+GRlxWZTAmB6F+ZGwQj3k9+q7kUd5Gj+LbmC6RA/7yrxgLgCRpdbilGQd +xV2mGanX2qoA0Fu1nVXDWw3lPU95za3iAXVle89YRNFRK2WxV0hIFhqA/DndR1Y8 +M9fL4jDYXRtbDnUTkhfZiH9MiuDVSzcXN0cUApaovLlnvDaPB7iLTi8SmIMdO6YY +ME7JwCsAAwUIAISgj2zdQC4TilbTGifMMJ0m3dVbjaoApuTaQc+vulCIhr/rf1DN +V7gtLNd+CRx67xtyVKfxPWL5vBL9OBCWcCdYY2iCplXv8gUZmwRtTN/B0+Ce07Re ++bWUe/wBl7z6YBYQnmtOxK55OXEgzv3/wL7L8Mt3co8AeO1qy4kM66JFnq8Scw81 +Axx4lcIPW1q17moygSwD/1YbEgFMQHs/8V8aqB9xIs5yOdsA4VWj32V7ymW2V+sx +4oKoiZiYuGZOjgGpZlQMxgUaORO0PPRSqnCmuV9zujmd28Fljdrb+WDvc/xDwiKg +nN/FKpMczPur8keOGpPSeUmZPaxkNmKbqGyISQQYEQIACQUCSHsL0AIbDAAKCRDc ++fh7bfvLronZAKCfiCvC2s61vA1x/YJ9QUPn4lCpjgCbB4dSVAHE/imWR02yFhqz +32NqKPU= +=FQ5T +-----END PGP PUBLIC KEY BLOCK----- diff --git a/xplanet-bg b/xplanet-bg new file mode 100755 index 0000000..8b81f95 --- /dev/null +++ b/xplanet-bg @@ -0,0 +1,63 @@ +#!/bin/bash +# xplanet-gnome.sh shell script v0.2 +# Montre la Terre sur le bureau Gnome avec les condition courante d'éclairage,ex: le jour et la nuit + +# délai de mise à jour en minutes +DELAY=10 + +# Répertoire racine de xplanet +PREFIX=~/.xplanet/ + +# Non du fichier images créer +OUTPUT=xplanet.png + +# origine et look_at ne peuvent etre les mêmes +# modifier ORIGINE pour donner la planete d'où vous regardez +# modifier LOOK_AT pour changer la planete que vous regardez +ORIGINE=moon +LOOK_AT=earth + +APPEND=2 + + +# Géométrie de l'image à régler suivant la résolution du bureau +GEOMETRY=1280x1024 + +# Si vous utilisez un dock pour votre portable (et avez donc plusieurs résolutions +# d'écran suivant si vous êtes en vadrouille ou au bureau), commentez la ligne +# précédente et décommentez les trois suivantes +#XXX=`xdpyinfo|awk '$0~"dimensions"{print substr($0,match($0,/[[:digit:]]/),match($0,"x")-match($0,/[[:digit:]]/))}'` +#YYY=`xdpyinfo|awk '$0~"dimensions"{print substr($0,match($0,"x")+1,match($0,"pixel")-match($0,"x")-1)}'` +#GEOMETRY=${XXX}x${YYY} + + +# Position depuis où vous voulez regarder. +# Pour trouver la valeurs regarder dans les liens en fin de la page +# http://doc.ubuntu-fr.org/xplanet#Voir_aussi +# Nice L = 43.700° 43° 42'N; H = 7.266274° 7° 15′E +LONGITUDE=7 +LATITUDE=43 + +# Par defaut il n'y as pas de projection. Rendre un globe avec la projection rectangulaire en fait une carte à plat. vous pouvez aussi essayer : ancient, azimuthal, mercator,.. +#PROJECTION=rectangular + +# Renome l'image de fond ainsi Gnome réalise que l'image as changé - thx to dmbasso + +if [ -e "$PREFIX$OUTPUT" ]; then + rm "$PREFIX$OUTPUT" + OUTPUT="$APPEND$OUTPUT" +else + rm "$PREFIX$APPEND$OUTPUT" +fi + +if [ -z $PROJECTION ]; then +xplanet -num_times 1 -geometry $GEOMETRY -origin $ORIGINE -body $LOOK_AT -longitude $LONGITUDE -latitude $LATITUDE +else +xplanet -num_times 1 -geometry $GEOMETRY -origin $ORIGINE -body $LOOK_AT -longitude $LONGITUDE -latitude $LATITUDE -projection $PROJECTION +fi + +# met à jour le fond d'écran de Gnome +#gconftool -t str -s /desktop/gnome/background/picture_filename "$PREFIX$OUTPUT" + +sleep $DELAY +exec $0 diff --git a/xplanet.conf b/xplanet.conf new file mode 100644 index 0000000..f2b49a6 --- /dev/null +++ b/xplanet.conf @@ -0,0 +1,232 @@ +# This file contains options you might want to customize for each +# body. It's best to leave this file alone and modify a copy. Use the +# -config option to tell xplanet to read your copy. + +[default] # Values in this section apply to all + # bodies unless overridden below. + +arc_color=white +#arc_file= + +#bump_map= +bump_scale=1 + +cloud_gamma=1 +#cloud_map= +cloud_ssec=false # true if the cloud map is from the + # University of Wisconsin Space + # Science and Engineering Center +cloud_threshold=90 + +color={255,255,255} # fallback color in case an image map + # isn't found + +draw_orbit=false # if true, draw this body's orbit + # about its primary + +grid=false +grid1=6 +grid2=15 + +#image= + +magnify=90 # draw the body as if its radius were + # magnified by this factor + +marker_color=red +#marker_file= +#marker_font= + +max_radius_for_label=3 # don't draw a label if the body's + # radius in pixels is more than this + +min_radius_for_label=.01 # don't draw a label if the body's + # radius in pixels is less than this + +min_radius_for_markers=40 # don't draw markers if the body's + # radius in pixels is less than this + +#night_map= + +orbit={-.5,.5,2} # extent of orbit to draw, + # {start, end, delta}, where + # start and end are in units of period + # of revolution and delta is angular + # increment in degrees to evaluate + # position + +orbit_color={255,255,255} # color for the orbit + +random_origin=true # Can this body be considered if + # -origin random is used? + +random_target=true # Can this body be considered if + # -target random is used? + +#satellite_file= + +shade=30 # 0 = black, 100 = same as dayside + +#specular_map= + +text_color={255,0,0} # color for text (markers & body label) + +twilight=6 # blend the day and night images for + # pixels within this many degrees of + # the terminator + +[sun] +"Sun" +color={255,255,166} + +max_radius_for_label=0 # never draw a label for the sun + +shade=100 # No night side! + +[mercury] +"Mercury" +color={100, 100, 100} + +min_radius_for_label=0 # always draw a label + +[venus] +"Venus" +color={161, 129, 70} + +min_radius_for_label=0 + +[earth] +"Earth" +color={28, 82, 110} +cloud_map=clouds.jpg +#draw_orbit=true +#bump_map=bump.jpg +# I have day and night maps of Australia centered on Alice Springs, +# which are cropped from higher resolution maps. +#map=alice_springs.png +#night_map=alice_springs_night.png +#mapbounds={-1.2,98.7107,-46.2,169.023} # lat1, lon1, lat2, lon2 + +#marker_file=earth + +min_radius_for_label=0 + +#satellite_file=iss + +[moon] +"Moon" +color={100, 100, 100} +#draw_orbit=true + +#orbit={-.51,.5,2} + +[mars] +"Mars" +color={172, 123, 67} +#draw_orbit=true + +min_radius_for_label=0 + +[phobos] +"Phobos" + +[deimos] +"Deimos" + +[jupiter] +"Jupiter" +color={204, 163, 133} +min_radius_for_label=0 + +[io] +"Io" +color={212, 182, 52} + +[europa] +"Europa" +color={140, 140, 140} + +[ganymede] +"Ganymede" +color={150, 150, 150} + +[callisto] +"Callisto" +color={70, 70, 70} + +[saturn] +"Saturn" +color={244, 199, 134} +min_radius_for_label=0 + +[mimas] +"Mimas" + +[enceladus] +"Enceladus" + +[tethys] +"Tethys" + +[dione] +"Dione" + +[rhea] +"Rhea" + +[titan] +"Titan" + +color={252,94,7} + +[hyperion] +"Hyperion" + +[iapetus] +"Iapetus" + +[phoebe] +"Phoebe" + +[uranus] +"Uranus" + +color={105, 197, 238} + +min_radius_for_label=0 + +[miranda] +"Miranda" + +[ariel] +"Ariel" + +[umbriel] +"Umbriel" + +[titania] +"Titania" + +[oberon] +"Oberon" + +[neptune] +"Neptune" +color={95, 133, 232} + +min_radius_for_label=0 + +[triton] +"Triton" + +[nereid] +"Nereid" + +[pluto] +"Pluto" +color={206, 180, 153} + +min_radius_for_label=0 + +[charon] +"Charon"