wie bearbeitet man die XML Datei von einem gDesklet?
Ich möchte zum Beispiel bei dem "Startbar-Desklet" den Hintergrund und den Rahmen um die Icons entfernen!
Wie macht man das? Ich hab keine zugriffsrechte für die xml datei:
<?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/Launchers" 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="0, 0, 0, 0" 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>
ok, habs rausgefunden, man muss das gDesklet vorher entfernen, dann kann man als root die xml-Datei ändern! Vielleicht gehts auch anders,...?!
naja, jedenfalls hab ich jetzt eine andere Frage:
wenn man in gDesklet sagen wir mal 10 Icons driin hat, sind die alle in einer Reihe horizontal nebeneinander amgeordnet!
Das steht halt im XML so drin...
Ich würd das aber gerne als Kreisbogen haben
Also statt:
° ° ° ° ° ° ° ° ° °
so etwa:
° ° ° ° ° ° ° °
Geht das?