Vous pouvez regarder une démo de looking glass sur http://wwws.sun.com/software/looking_glass/demo.html(...)
Mais attention !
Cette "version" de looking glass était un proof of concept, pas conçu pour être utilisé. Bref, pour montrer vite fait ce qu'on peut faire et faire de la pub pour Sun. Donc, oui la vidéo marchait, oui le window-flip marchait.
Mais c'était inutilisable réellement
Les épées durandil sont forgées dans les mines par des nains,
Avec ça c'est facile de tuer un troll avec une seule main,
Pas besoin de super entraînement ni de niveau 28,
Quand tu sors l'instrument c'est l'ennemi qui prend la fuite
Avec ton épée durandil quand tu parcours les chemins
Tu massacres sans peine les brigands et les gobelins
Les rats géants, les ogres mutants, les zombies et les liches
Tu les découpes en tranches comme si c'était des parts de quiches
Les épées durandil, les épées durandil.
Tu la sors dans un donjon au moins t'as pas l'air débile
C'est l'arme des bourrins, qui savent être subtils
Ne partez pas à l'aventure sans votre épée durandil.
As-tu essayé amarok ? Généralement, il affiche un message d'erreur avant de planter.
Si il n'en affiche pas, peux-tu le lancer depuis une console histoire qu'on voie les messages qu'il dira (commande : amarok tout simplement :)
Merci à vous de vous être penchés sur le problème :)
Ça marche maintenant. Pour cela, j'ai créé une classe PanoramicBackground dont le constructeur prend en argument un NamedNodeMap... Ensuite, j'en stocke dans un vector et ça roule :)
J'enverrai le code plus tard pour les intéréssés (dès que j'aurai fini la gestion des fonds d'écran Layered)
Je viens d'envoyer le source modifié à l'adresse http://pinaraf.robertlan.eu.org/GTaskbar.java(...)
Malheureusement, à l'exécution, je me prends un :
java.lang.NullPointerException
at org.jdesktop.lg3d.scenemanager.utils.taskbar.GlassyTaskbar$1.initBackground(GlassyTaskbar.java:147)
at org.jdesktop.lg3d.scenemanager.utils.taskbar.GlassyTaskbar$BackgroundIcon.select(GlassyTaskbar.java:257)
at org.jdesktop.lg3d.scenemanager.utils.taskbar.GlassyTaskbar$BackgroundIcon$1.performAction(GlassyTaskbar.java:249)
at org.jdesktop.lg3d.utils.eventadapter.MouseClickedEventAdapter.processLgEvent(MouseClickedEventAdapter.java:434)
at org.jdesktop.lg3d.displayserver.event.EventProcessor.processEventList(EventProcessor.java:225)
at org.jdesktop.lg3d.displayserver.event.EventProcessor.run(EventProcessor.java:199)
(PS : si tu veux mon avis, bien qu'étant un raccourci d'écriture, les classe internes anonymes gène franchement la lisibilité)
Tu trouves aussi ?
Le pb c'est que le code n'est pas de moi, sinon sois sûr qu'il y aurait pas ça !
J'essaye ce que tu m'as indiqué (merci !) et je te tiens au courant.
Moi, pas clair ?
Mais non :p
Message d'erreur : local variable attributes is accessed from within inner class; needs to be declared final
Le code est là : http://pinaraf.robertlan.eu.org/Taskbar.java(...)
Merci d'avance...
Ben apparemment, c'est lui qui fais gueuler le compilateur : javac me dit qu'attributes doit être final, mais bon, final => constant => pas bon...
Mais je peux pas l'enlever ou le changer en public : il gueule...
En gros, voici la structure du programme :
try {
NamedNodeMap attributes;
pleind'autreschoses
bout de code que j'ai donné en remplaçant les chaînes en brut par des attributes.getNamedItem("xxx").getNodeValue()
} catch ..........
C'est simple :
tu vas sur http://easyurpmi.zarb.org/(...)
Tu lui dis quelle distrib tu as (ex : mandrake 10.1 community)
Ensuite, tu passes à l'étape 2
Là tu choisis le miroir que tu veux utiliser en fonction de où tu habites. Tu fais ça pour les sources main, contrib et plf
Si tu le souhaites, tu coches Use compressed index, much smaller than normal, with less informations
Avec cette option, tu n'auras pas les descriptions des paquets (entre autres), mais au lieu de télécharger 30-50Mo de liste il en téléchargera 1-2 Mo : à toi de choisir !
Puis tu passes à l'étape 3.
3 commandes sont apparues dans le cadre noir : urpmi.addmedia .........
Tu les fais toutes les trois dans une console (Menu > système > terminal > console) en root (faire la commande su).
Puis ça roule !
Dans rpmdrake (menu > système > configuration > paquetages > installer des logiciels) tu pourras trouver tout ce que tu veux ou presque en libre !
As-tu configuré urpmi (et donc rpmdrake) à l'aide de http://easyurpmi.zarb.org/(...) ?
Généralement, les paquets sont déjà compilés, t'as qu'à donner le nom et tout se fera tout seul !
Désolé pour le "troll", mais il semble que beaucoup de gens souffrent de problèmes sur la mandrake 10.1 community. As-tu fait toutes les mises à jour ?
J'avais déjà trouvé ce document, malheureusement, ça ne me convient pas. Il est incomplet : comment gérer simplement et correctement une arborescence virtuelle ? Le pb, c'est que je suis pas expert en C++/KDE donc lire le code source m'est difficile :(
[^] # Re: message console xmms
Posté par Pinaraf . En réponse au message beaucoup de probleme.... Évalué à 1.
# Captures
Posté par Pinaraf . En réponse au journal Looking Glass a besoin de vous !. Évalué à 2.
http://pinaraf.robertlan.eu.org/LG3D/galerie/(...)
[^] # Re: gsfonts-x11
Posté par Pinaraf . En réponse au message amule, gtksee, xmms caractères illisibles. Évalué à 1.
[^] # Re: installation sous debian
Posté par Pinaraf . En réponse au journal Looking Glass a besoin de vous !. Évalué à 2.
Tu fais tourner si t'en trouves une !
J'aimerais foutre LG3D sur un LiveCD...
En tout cas, bravo pour ton boulot !
De rien. Tant que c'est pour le logiciel libre :)
# Vidéo
Posté par Pinaraf . En réponse au journal Looking Glass a besoin de vous !. Évalué à 5.
Mais attention !
Cette "version" de looking glass était un proof of concept, pas conçu pour être utilisé. Bref, pour montrer vite fait ce qu'on peut faire et faire de la pub pour Sun. Donc, oui la vidéo marchait, oui le window-flip marchait.
Mais c'était inutilisable réellement
[^] # Re: Petit cachottier
Posté par Pinaraf . En réponse au journal Looking Glass a besoin de vous !. Évalué à 2.
Tiens, pour ceux qui veulent "patcher" leur Looking Glass :
http://pinaraf.robertlan.eu.org/GlassyTaskbar.java(...) à mettre dans lg3d-core/src/classes/org/jdesktop/lg3d/scenemanager/utils/taskbar
http://pinaraf.robertlan.eu.org/lg3d.xml(...) à mettre dans /etc
[^] # Re: gsfonts-x11
Posté par Pinaraf . En réponse au message amule, gtksee, xmms caractères illisibles. Évalué à 1.
Avec ça c'est facile de tuer un troll avec une seule main,
Pas besoin de super entraînement ni de niveau 28,
Quand tu sors l'instrument c'est l'ennemi qui prend la fuite
Avec ton épée durandil quand tu parcours les chemins
Tu massacres sans peine les brigands et les gobelins
Les rats géants, les ogres mutants, les zombies et les liches
Tu les découpes en tranches comme si c'était des parts de quiches
Les épées durandil, les épées durandil.
Tu la sors dans un donjon au moins t'as pas l'air débile
C'est l'arme des bourrins, qui savent être subtils
Ne partez pas à l'aventure sans votre épée durandil.
[^] # Re: gsfonts-x11
Posté par Pinaraf . En réponse au message amule, gtksee, xmms caractères illisibles. Évalué à 1.
[^] # Re: Youpi !!! Ça marche !
Posté par Pinaraf . En réponse au message Problèmes de portée (enfin je crois). Évalué à 1.
http://pinaraf.robertlan.eu.org/GlassyTaskbar.java(...)
[^] # Re: A y'est !!!
Posté par Pinaraf . En réponse au message beaucoup de probleme.... Évalué à 1.
Si il n'en affiche pas, peux-tu le lancer depuis une console histoire qu'on voie les messages qu'il dira (commande : amarok tout simplement :)
# Youpi !!! Ça marche !
Posté par Pinaraf . En réponse au message Problèmes de portée (enfin je crois). Évalué à 2.
Ça marche maintenant. Pour cela, j'ai créé une classe PanoramicBackground dont le constructeur prend en argument un NamedNodeMap... Ensuite, j'en stocke dans un vector et ça roule :)
J'enverrai le code plus tard pour les intéréssés (dès que j'aurai fini la gestion des fonds d'écran Layered)
[^] # Re: pas de problèmes
Posté par Pinaraf . En réponse au message Freebox en USB. Évalué à 1.
[^] # Re: pas tout compris
Posté par Pinaraf . En réponse au message Problèmes de portée (enfin je crois). Évalué à 1.
Malheureusement, à l'exécution, je me prends un :
java.lang.NullPointerException
at org.jdesktop.lg3d.scenemanager.utils.taskbar.GlassyTaskbar$1.initBackground(GlassyTaskbar.java:147)
at org.jdesktop.lg3d.scenemanager.utils.taskbar.GlassyTaskbar$BackgroundIcon.select(GlassyTaskbar.java:257)
at org.jdesktop.lg3d.scenemanager.utils.taskbar.GlassyTaskbar$BackgroundIcon$1.performAction(GlassyTaskbar.java:249)
at org.jdesktop.lg3d.utils.eventadapter.MouseClickedEventAdapter.processLgEvent(MouseClickedEventAdapter.java:434)
at org.jdesktop.lg3d.displayserver.event.EventProcessor.processEventList(EventProcessor.java:225)
at org.jdesktop.lg3d.displayserver.event.EventProcessor.run(EventProcessor.java:199)
[^] # Re: pas tout compris
Posté par Pinaraf . En réponse au message Problèmes de portée (enfin je crois). Évalué à 1.
Tu trouves aussi ?
Le pb c'est que le code n'est pas de moi, sinon sois sûr qu'il y aurait pas ça !
J'essaye ce que tu m'as indiqué (merci !) et je te tiens au courant.
[^] # Re: pas tout compris
Posté par Pinaraf . En réponse au message Problèmes de portée (enfin je crois). Évalué à 1.
Mais non :p
Message d'erreur :
local variable attributes is accessed from within inner class; needs to be declared final
Le code est là : http://pinaraf.robertlan.eu.org/Taskbar.java(...)
Merci d'avance...
[^] # Re: pas tout compris
Posté par Pinaraf . En réponse au message Problèmes de portée (enfin je crois). Évalué à 1.
Mais je peux pas l'enlever ou le changer en public : il gueule...
[^] # Re: pas tout compris
Posté par Pinaraf . En réponse au message Problèmes de portée (enfin je crois). Évalué à 1.
try {
NamedNodeMap attributes;
pleind'autreschoses
bout de code que j'ai donné en remplaçant les chaînes en brut par des attributes.getNamedItem("xxx").getNodeValue()
} catch ..........
[^] # Re: C'est pas pour troller mais...
Posté par Pinaraf . En réponse au message beaucoup de probleme.... Évalué à 1.
tu vas sur http://easyurpmi.zarb.org/(...)
Tu lui dis quelle distrib tu as (ex : mandrake 10.1 community)
Ensuite, tu passes à l'étape 2
Là tu choisis le miroir que tu veux utiliser en fonction de où tu habites. Tu fais ça pour les sources main, contrib et plf
Si tu le souhaites, tu coches Use compressed index, much smaller than normal, with less informations
Avec cette option, tu n'auras pas les descriptions des paquets (entre autres), mais au lieu de télécharger 30-50Mo de liste il en téléchargera 1-2 Mo : à toi de choisir !
Puis tu passes à l'étape 3.
3 commandes sont apparues dans le cadre noir : urpmi.addmedia .........
Tu les fais toutes les trois dans une console (Menu > système > terminal > console) en root (faire la commande su).
Puis ça roule !
Dans rpmdrake (menu > système > configuration > paquetages > installer des logiciels) tu pourras trouver tout ce que tu veux ou presque en libre !
[^] # Re: C'est pas pour troller mais...
Posté par Pinaraf . En réponse au message beaucoup de probleme.... Évalué à 1.
Généralement, les paquets sont déjà compilés, t'as qu'à donner le nom et tout se fera tout seul !
[^] # Re: Utilité ?
Posté par Pinaraf . En réponse au sondage Le chiffrement des emails (gpg...). Évalué à 1.
# C'est pas pour troller mais...
Posté par Pinaraf . En réponse au message beaucoup de probleme.... Évalué à 1.
# Elle est supportée
Posté par Pinaraf . En réponse au message installation lexmark X1150. Évalué à 1.
http://usalug.org/phpBB2/viewtopic.php?t=2400(...)
J'espère que ça te suffira, si y'a un pb, hésite pas à demander
[^] # Re: Utilité ?
Posté par Pinaraf . En réponse au sondage Le chiffrement des emails (gpg...). Évalué à 1.
[^] # Re: Tutorial KIO
Posté par Pinaraf . En réponse au message créer un KIO. Évalué à 1.
[^] # Re: Miroir (incassable)
Posté par Pinaraf . En réponse au journal Gros coup de gueule. Évalué à -2.