Gentoo Archives: gentoo-user-br

From: Felipe Prenholato <philipe_rp@×××××××××.br>
To: enderson@g.o, chatoo@×××××.com, esdras@×××××.com, gentoo-user-br@××××××××××××.org
Subject: [gentoo-user-br] Arquivos usados na configuração do fbpanel.
Date: Thu, 31 Mar 2005 18:14:29
Message-Id: 424C3DFA.9070805@yahoo.com.br
pra galera do canal que queria ver exemplos de como configurei meu 
fbpanel (screenshots em: 
http://www.vivaolinux.com.br/screenshots/userview.php?login=chronos).

primeiro explicando os arquivos do fbpanel: o fbpanel tem a seção global 
e depois a de plugins, a seção global define a apaência dele. pode ser 
alterada com fbpanel -C -p fbpanel.buttons por exemplo, e é bem 
recomendado hehe.

bom, olhem os arquivos abaixo, pra mais infs olha a documentação do 
fbpanel em /usr/share/docs e no site dele (http://fbpanel.sf.net/docs.html).

[]'s

até mais galera

chronossc

---------------------------------------------------------------------

fbpanel.buttons (a barra a direita dos botões)

# fbpanel <profile> config file
# see http://fbpanel.sf.net/docs.html for complete configuration guide


Global {
    edge = right
    allign = center
    margin = 0
    widthtype = request
    width = 1
    height = 28
    transparent = true
    tintcolor = #000000
    alpha = 100
    setdocktype = true
    setpartialstrut = true
}

Plugin {
    type = launchbar
    config {
        button {
            image = /usr/share/pixmaps/gnome-term-linux.png
            tooltip = Eterm
            action = Eterm
        }
        button {
            image = /usr/share/pixmaps/gnome-term-linux2.png
            tooltip = Eterm_trans
            action = Eterm -f white 45x15 --default-font-index 3 --trans 
--shade 30% -s -v -x --scrollbar-right=no --buttonbar=no
        }
        button {
            image = /usr/share/pixmaps/xchat.png
            tooltip = XChat-2
            action = xchat-2
        }
        button {
            image = /usr/share/pixmaps/firefox-icon.png
            tooltip = Firefox
            action = firefox
        }
        button {
            image = /usr/share/pixmaps/thunderbird-icon.png
            tooltip = Thunderbird
            action = thunderbird
        }
        button {
            image = /usr/share/pixmaps/gqview.png
            tooltip = gqview
            action = gqview
        }
        button {
            image = /usr/share/pixmaps/gthumb.png
            tooltip = gthumb
            action = gthumb
        }
        button {
            image = /usr/share/pixmaps/bluefish-icon.png
            tooltip = BlueFish
            action = bluefish
        }
        button {
            image = /usr/share/pixmaps/gentoo.png
            tooltip = Gentoo Browser
            action = gentoo
        }
        button {
            image = /usr/share/pixmaps/gnome-gimp.png
            tooltip = GIMP
            action = gimp
        }
        button {
            image = /usr/share/pixmaps/yahoo.gif
            tooltip = Yahoo Messenger
            action = ymessenger
        }
        button {
            image = /usr/share/pixmaps/mini/xmms_mini.xpm
            tooltip = XMMS
            action = xmms
        }
        button {
            image = /usr/share/pixmaps/mini/xmms_mini.xpm
            tooltip = XMMS
            action = xmms
        }
    }
}


Plugin {
    type = space
    config {
        size = 10
    }
}


Plugin {
    type = tray
}

----------------------------------------------

fbpanel.tasks (da barra embaixo.)

# fbpanel <profile> config file
# see http://fbpanel.sf.net/docs.html for complete configuration guide


Global {
    edge = bottom
    allign = right
    margin = 0
    widthtype = percent
    width = 90
    height = 26
    transparent = true
    tintcolor = #000000
    alpha = 92
    setdocktype = true
    setpartialstrut = true
}

Plugin {
    type = wincmd
    config {
        image = /usr/share/fbpanel/images/Desktop2.png
        tooltip = Left click to iconify all windows. Middle click to 
shade them.
    }
}


Plugin {
    type = space
    config {
        size = 3
    }
}


Plugin {
    type = pager
}


Plugin {
    type = space
    config {
        size = 7
    }
}


Plugin {
    type = taskbar
    expand = true
    config {
        ShowIconified = true
        ShowMapped = true
        ShowAllDesks = false
        tooltips = true
        IconsOnly = false
        MaxTaskWidth = 150
    }
}


Plugin {
    type = space
    config {
        size = 3
    }
}


Plugin {
    type = menu
    config {
        image = /usr/share/fbpanel/images/Menu.png
        item {
            name = Configure
            image = /usr/share/fbpanel/images/settings.png
            command = configure
        }
    }
}


Plugin {
    type = space
    config {
        size = 3
    }
}


Plugin {
    type = dclock
    config {
        ClockFmt = %R
        TooltipFmt = %A %x
    }
}


----------------------------------------
~/.xinitrc (como iniciar os paineis)

feh --bg-scale /usr/share/pixmaps/Yoko_Kurama.jpg &
fbpanel -p fbpanel.buttons & # <---------------------------aqui
fbpanel -p fbpanel.tasks &   # <---------------------------aqui
/root/Calendar-0.3.0/Calendar.py &
#Eterm -f white -g 45x75+0+0 --default-font-index 3 --trans --shade 30% 
-s -v -x --scrollbar-right=no --buttonbar=no &
exec openbox

Replies

Subject Author
Re: [gentoo-user-br] Arquivos usados na configuração do fbpane l. Magno Torres <magnotorres@×××××.com>