Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 01/05/2005, à 17:13

Splitsch

[résolu]Gdeklet:starterBar très moche

Bonjour à tous.
Voici mon bureau
http://img182.echo.cx/img182/1299/capture5nj.png
Comme vous le voyez, mon starter bar est très moche: j'aimerais enlever l'arrière plan gris, ou le rendre transparent...
Savez vous comment faire?

merci,

Splitsch

Dernière modification par Splitsch (Le 26/05/2005, à 13:09)

Hors ligne

#2 Le 01/05/2005, à 17:15

laurent

Re : [résolu]Gdeklet:starterBar très moche

Salut,

ben logiquement c'est pas censé être comme ça, déjà...

=> trifouille un peu dans les options (tu cliques droit puis configurer l'applet...)

Si ça marche toujours pas, télécharge la version qui se trouve sur le site de gdesklets...


Laurent, petit belge explorant la banquise

Hors ligne

#3 Le 01/05/2005, à 17:23

Splitsch

Re : [résolu]Gdeklet:starterBar très moche

Salut, c'est ce que j'ai fait :-) C'est la dernière version de cette starter bar:0.31.3
J'ai regardé dans les options, mais rien n'y fait...T'y connais tu en xml? Car c'est peut etre une modification de ce fichier...mais je n'y connait rien...Le voici:

<?xml version="1.0" encoding="UTF-8"?>

<!-- The GNOME Starter Bar - you need GNOME to use it -->

<display anchor="center" window-flags="below, sticky"
         on-enter="iconbar:enter"
         on-leave="iconbar:leave"
         on-menu="iconbar:menu"
	 on-file-drop="iconbar:add">

  <meta author="Martin Grimme" version="0.31.3" name="StarterBar"
        category="toolbar/launcher"
        description="An eye-candy starter bar for GNOME"
        preview="gfx/preview.png"
	dependency="GNOME 2.x"
        homepage="http://www.pycage.de"/>

  <sensor id="iconbar" module="StarterBar"/>


  <!-- the caption -->
  <alignment id="caption1"
             watch="align-x=iconbar:caption-x, width=iconbar:total-width,
                    visible=iconbar:caption1-visible">
    <group>
      <label x="0" y="0" font="Serif 14" color="black"
             watch="value=iconbar:caption, font=iconbar:caption-font"/>
      <label x="1" y="0" font="Serif 14" color="black"
             watch="value=iconbar:caption, font=iconbar:caption-font"/>
      <label x="2" y="0" font="Serif 14" color="black"
             watch="value=iconbar:caption, font=iconbar:caption-font"/>
      <label x="2" y="1" font="Serif 14" color="black"
             watch="value=iconbar:caption, font=iconbar:caption-font"/>
      <label x="2" y="2" font="Serif 14" color="black"
             watch="value=iconbar:caption, font=iconbar:caption-font"/>
      <label x="1" y="2" font="Serif 14" color="black"
             watch="value=iconbar:caption, font=iconbar:caption-font"/>
      <label x="0" y="2" font="Serif 14" color="black"
             watch="value=iconbar:caption, font=iconbar:caption-font"/>
      <label x="0" y="1" font="Serif 14" color="black"
             watch="value=iconbar:caption, font=iconbar:caption-font"/>

      <label x="1" y="1" font="Serif 14" color="white"
             watch="value=iconbar:caption, font=iconbar:caption-font,
                    color=iconbar:caption-color"/>
    </group>
  </alignment>

  <group id="panel" relative-to="caption1, y">
  <!-- the panel with borders -->

  <frame watch="x=iconbar:panel-x, y=iconbar:panel-y,
                width=iconbar:panel-width, height=iconbar:panel-height"
         border-width="4, 4, 4, 4"
         border-uris="gfx/bg-w.png, gfx/bg-n.png, gfx/bg-e.png, gfx/bg-s.png,
                      gfx/bg-nw.png, gfx/bg-ne.png,
                      gfx/bg-se.png, gfx/bg-sw.png">
    <group id="panel" bg-color="#3a416ba0" width="100%" height="100%"
           watch="bg-uri=iconbar:background"/>
  </frame>


  <!-- the icons -->
  <array watch="length=iconbar:length, layout=iconbar:layout,
                width=iconbar:total-width, height=iconbar:total-height"
         on-motion="iconbar:motion"
         on-press="iconbar:drag-icon"
         on-release="iconbar:drop-icon"
         on-click="iconbar:launch"
         on-scroll="iconbar:scale-bar">

    <alignment watch="align-x=iconbar:icon-align-x,
                      align-y=iconbar:icon-align-y,
                      width=iconbar:align-width,
                      height=iconbar:align-height">

      <image image-width="48" image-height="48"
             on-enter="iconbar:enter-icon"
             on-file-drop="iconbar:launch-with"
             watch="uri=iconbar:icon-uri,
                    scale=iconbar:icon-scale"/>
    </alignment>
  </array>

  </group>


  <group id="panel-top" relative-to="caption1, y"
         watch="x=iconbar:fg-x, y=iconbar:fg-y">
    <group watch="width=iconbar:fg-width, height=iconbar:fg-height,
                  bg-uri=iconbar:foreground" bg-color="#00000000"/>

  </group>


  <!-- the caption -->
  <alignment id="caption2" relative-to="panel, y"
             watch="align-x=iconbar:caption-x, width=iconbar:total-width,
                    visible=iconbar:caption2-visible">
    <group>
      <label x="0" y="0" font="Serif 14" color="black"
             watch="value=iconbar:caption, font=iconbar:caption-font"/>
      <label x="1" y="0" font="Serif 14" color="black"
             watch="value=iconbar:caption, font=iconbar:caption-font"/>
      <label x="2" y="0" font="Serif 14" color="black"
             watch="value=iconbar:caption, font=iconbar:caption-font"/>
      <label x="2" y="1" font="Serif 14" color="black"
             watch="value=iconbar:caption, font=iconbar:caption-font"/>
      <label x="2" y="2" font="Serif 14" color="black"
             watch="value=iconbar:caption, font=iconbar:caption-font"/>
      <label x="1" y="2" font="Serif 14" color="black"
             watch="value=iconbar:caption, font=iconbar:caption-font"/>
      <label x="0" y="2" font="Serif 14" color="black"
             watch="value=iconbar:caption, font=iconbar:caption-font"/>
      <label x="0" y="1" font="Serif 14" color="black"
             watch="value=iconbar:caption, font=iconbar:caption-font"/>

      <label x="1" y="1" font="Serif 14" color="white"
             watch="value=iconbar:caption, font=iconbar:caption-font,
                    color=iconbar:caption-color"/>
    </group>
  </alignment>



</display>

De plus, lorsque je lance la version précédente disopnible avec synaptic, cela revient au meme, le problème est exactement le meme...

Merci beaucoup,

Splitsch

Dernière modification par Splitsch (Le 01/05/2005, à 17:41)

Hors ligne

#4 Le 25/05/2005, à 23:14

Joe897

Re : [résolu]Gdeklet:starterBar très moche

Idem pour moi, j'ai cherché dans le xml mais j'y pige pas grand chose...:/
Existe t'il une autre option comme dock sous gnome ?

#5 Le 25/05/2005, à 23:45

Crétin

Re : [résolu]Gdeklet:starterBar très moche

Tu as essayé en virant totalement le texte dans l'option background des options? (sans rentrer dans le détail du source)

Sinon dans le source, pour virer les border, mets les à 0.
(border-width="4, 4, 4, 4") -> border-width="0, 0, 0, 0"

Kekchose me dit que si tu trifouilles les options background des objets panels, tu devrais aussi pouvoir arriver à tes fins. Essaies en mettant entre commentaires <!--    -->

EDIT: haaaaaaaaaa ouiiii
cé ca: ds mon code source source j'ai mis en comment cette ligne smile et toi non.

<group id="panel" bg-color="#3a416ba0" width="100%" height="100%"
           watch="bg-uri=iconbar:background"/>

Ca marche?

Dernière modification par Crétin (Le 25/05/2005, à 23:50)


A touché le fond mais creuse encore.

Hors ligne

#6 Le 26/05/2005, à 09:30

joe897897

Re : [résolu]Gdeklet:starterBar très moche

Et bien non, ça marche pô tongue, ça retire le petit backdround gris derrière les icones mais pas le gros truc noir qui est encore derrière.
D'ailleurs, le rectangle noir a une surface égale à la surface potentielle du desklet (j'espère avoir été clair hmm),I.E. celle que prendrai le dock si on l'étendait de façon maximale dans toutes les directions en même temps.

C'est dommage, je l'aime bien moi ce petit dock ...:)

Hors ligne

#7 Le 26/05/2005, à 13:09

Splitsch

Re : [résolu]Gdeklet:starterBar très moche

super, ca marche nickel :-)
Un grand merci!

Hors ligne

#8 Le 26/05/2005, à 13:39

joe897897

Re : [résolu]Gdeklet:starterBar très moche

Alors là, je comprends pas, la manip que propose Crétin est de commenter :
<group id="panel" bg-color="#3a416ba0" width="100%" height="100%"
           watch="bg-uri=iconbar:background"/>
C'est à dire, de le remplacer par ça, non ? :
<!-- <group id="panel" bg-color="#3a416ba0" width="100%" height="100%"
           watch="bg-uri=iconbar:background"/> -->

Ou alors je suis vraiment out sad

Moi, ça me retire le background des icones, pas le gros background derrière autour du desklet.

Et pour info, la background généré n'est pas obligatoirement noir mais de la couleur ou motif du thème utilisé.

En noir, ie avec un thème milk 2.3 par ex
http://vdcf.free.fr/screen.jpg
Et avec un thème OSX
http://vdcf.free.fr/screenosx.jpg

J'ai même copié le xml de splitch et commenté la ligne proposée mais, sans succès ...
Pas moyen de virer cet arrière plan ?

Dernière modification par joe897897 (Le 26/05/2005, à 13:56)

Hors ligne

#9 Le 26/05/2005, à 14:15

Crétin

Re : [résolu]Gdeklet:starterBar très moche

Dis moi joe, tu aurais pas coché l'option "Translucency (takes effect after...)" dans "XComposite Support" du menu "Configuration" de "GDesklets" (click droit icône dans la barre des notifications)?


A touché le fond mais creuse encore.

Hors ligne

#10 Le 26/05/2005, à 15:49

joe897897

Re : [résolu]Gdeklet:starterBar très moche

Ben si, il y a tellement longtemps, je bossais sur xcompmgr, et c'était resté en place. En effet, c'est impec maintenant, merci d'être revenu sur ce post pour m'aider dans ma dépatouille, c'est complètement résolu maintenant.
Désolé pour la pollution hmm

Hors ligne

#11 Le 28/05/2005, à 23:00

Crétin

Re : [résolu]Gdeklet:starterBar très moche

salut Joe, pas grave, tu peux m'appeler dieu en contrepartie si tu veux, tu es mon premier problème résolu smile.

Je peux ajouter un truc pas totalement inutile:
pour diminuer l'amplitude du zoom et des mouvements de la starter bar, c'est un peu sioux:
- il faut éditer le fichier suivant: /home/"ton nom d'utilisateur"/.gdesklets/Sensors/StarterBar/__init__.py

Ensuite, il y a plusieurs méthodes, le mouvement des icones est relativement simple à comprendre mais pas facile à paramétrer puisqu'il est basé sur des polynomes. Voici mon paramétrage qui diminue sensiblement l'effet "Ouah":

Dans la procédure def __zoom_function(self, x):

        a = -0.9 #-0.45
        b = 2 #1.9 #1.6

Et un peu plus bas, dans la procédure  def __animate(self, index, factor):

       if (self.__current_drag_index != -1):
                # scale the currently dragged icon larger
                zoom = (i == self.__current_drag_index) and 1.5 or 1.0
                align = 0.0
            else:
                zoom = max(1.0,f(i - index)* 0.6 * damping)
                align = g(i - index) * 0.1 * damping5

Voila: j'ai mis des facteurs 0,6 sur le zoom et 0.1 sur le mouvement, ca calme serieusement les choses, ca fait moins "ouah".


A touché le fond mais creuse encore.

Hors ligne

#12 Le 29/05/2005, à 12:16

joe897897

Re : [résolu]Gdeklet:starterBar très moche

@ Dieu, merci pour les tuyaux, je pense devenir plombier lol
Alors, peut-être, un jour ..., je résoudrai moi aussi les problèmes des autres.

Hors ligne

#13 Le 29/05/2005, à 21:41

Crétin

Re : [résolu]Gdeklet:starterBar très moche

comme mario smile


A touché le fond mais creuse encore.

Hors ligne

#14 Le 14/10/2006, à 16:04

yusuf.hm

Re : [résolu]Gdeklet:starterBar très moche

salut; désolé de rouvrir ce topic déjà résolu; j'ai eu le même problème et au fait (c'est un peu con), c la Configuration citée ci-dessous que je retrouve pas; pourriez-vous m'expliquer comment faire svp?

Crétin a écrit :

Dis moi joe, tu aurais pas coché l'option "Translucency (takes effect after...)" dans "XComposite Support" du menu "Configuration" de "GDesklets" (click droit icône dans la barre des notifications)?


The day which we fear as our last is but the birthday of eternity..

Hors ligne

#15 Le 16/02/2007, à 20:03

tak

Re : [résolu]Gdeklet:starterBar très moche

tu trouveras l'option en haut à droite