 |
FBpanel ändern
Das fbpanel wird sowohl in Openbox als auch in Fluxbox mit der
entsprechenden Konfigurationsdatei gestaltet (Menüeinträge,
Pager, Taskleiste, Batterie, Lautstärke, CPU-Plugin, Uhr,
Schnellstarter, u. a.).
In Openbox ist diese Datei die ~/.fbpanel/open, in Fluxbox die
~/.fbpanel/flux.
Je nachdem welcher Windowmanager verwendet wird, muss die entsprechende
Datei geändert werden. Dazu kann leafpad, mcedit im Terminal oder
auch OpenOffice verwendet werden.
Ich nehme die Datei ~/.fbpanel/open als Beispiel.
Hier der Aufbau und Inhalt der Datei:
Code:
# fbpanel <profile>
config file
# see
http://fbpanel.sf.net/docs.html for complete configuration guide
Global {
edge =
bottom
allign
= center
margin
= 0
widthtype = percent
width =
100
height
= 26
transparent = false
tintcolor = #cee6f7
alpha =
0
setdocktype = true
setpartialstrut = true
autohide = false
heightWhenHidden = 2
}
Plugin {
type =
menu
config {
image = /usr/share/icons/gnome/scalable/actions/go-up.svg
systemmenu {
}
menu {
name = Openbox-Einstellungen
image = /usr/share/pixmaps/openbox.png
item {
image = /usr/share/icons/gnome/scalable/actions/view-refresh.svg
name = GTK-Stil ändern
action = gtk-chtheme
}
item {
icon = gnome-settings
name = Panel einrichten
command = configure
}
item {
image = /usr/share/icons/Tango/scalable/devices/camera-photo.svg
name = Bildschirmfoto
action = .fbpanel/bild
}
item {
image =
/usr/share/icons/Tango/scalable/apps/preferences-desktop-wallpaper.svg
name = Hintergrund ändern
action = ~/skripte/hintergrund-open
}
}
menu {
name = Konfigurationsskripte
image = /usr/share/icons/Tango/scalable/emblems/emblem-system.svg
item {
image = /usr/share/icons/Tango/scalable/devices/drive-harddisk.svg
name = Festplatten-Installation
action = /usr/sbin/draklive-install
}
item {
image = /usr/share/icons/Tango/scalable/devices/video-display.svg
name = VideoInstallationsTool
action = sudo /usr/bin/fluxflux-vit
}
item {
image = /usr/share/icons/Tango/scalable/places/start-here.svg
name = USB-Live-Installer
action = sudo /usr/bin//fluxflux-live-usb-installer
}
item {
image = /usr/share/icons/Tango/scalable/actions/mail-message-new.svg
name = Mails überprüfen
action = ~/skripte/Mailchecker
}
}
item {
image = /usr/share/icons/Tango/scalable/actions/system-search.svg
name = Dateien/Inhalte suchen
action = /usr/bin/searchmonkey
}
item {
image =
/usr/share/icons/Tango/scalable/apps/accessories-character-map.svg
name = Programm starten
action = .fbpanel/starten
}
item {
icon = gnome-logout
name = Abmelden
action = .fbpanel/abmelden
}
}
}
Plugin {
type =
space
config {
size = 2
}
}
Plugin {
type =
launchbar
config {
button {
icon = gnome-fs-home
tooltip = ROX Dateimanager
action = rox
}
button {
icon = gnome-terminal
tooltip = Terminal
action = xterm
}
button {
icon = mozilla-firefox
tooltip = Firefox Webbrowser
action = firefox
}
button {
icon = mozilla-thunderbird
tooltip = Mailprogramm
action = thunderbird
}
button {
image = /usr/share/pixmaps/leafpad.png
tooltip = Leafpad Texteditor
action = leafpad
}
}
}
Plugin {
type =
space
config {
size = 2
}
}
Plugin {
type =
space
config {
size = 2
}
}
Plugin {
type =
wincmd
config {
icon = gnome-fs-desktop
tooltip = Linksklick minimiert alle Fenster, Mittelklick versteckt sie.
}
}
Plugin {
type =
space
config {
size = 2
}
}
Plugin {
type =
pager
config {
showwallpaper = true
}
}
Plugin {
type =
deskno
}
Plugin {
type =
space
config {
size = 2
}
}
Plugin {
type =
space
config {
size = 2
}
}
Plugin {
type =
taskbar
expand
= true
config {
ShowIconified = true
ShowMapped = true
ShowAllDesks = false
tooltips = true
IconsOnly = false
MaxTaskWidth = 150
}
}
Plugin {
type =
space
config {
size = 2
}
}
Plugin {
type =
space
config {
size = 2
}
}
Plugin {
type =
tray
}
Plugin {
type =
space
config {
size = 2
}
}
Plugin {
type =
cpu
}
Plugin {
type =
space
config {
size = 2
}
}
Plugin {
type =
launchbar
config {
button {
image = /usr/share/icons/gnome/scalable/status/audio-volume-high.svg
tooltip = Lautstärke ändern
action = aumix
}
button {
image = /usr/share/icons/Tango/scalable/devices/battery.svg
tooltip = Batteriestatus prüfen
action = ~/.config/openbox/einzel-batterie-check
}
}
}
Plugin {
type =
dclock
config {
ClockFmt = %R
TooltipFmt = %A %x
Action = xclock
}
}
Hier ein Link, der die
Grundsätze erklärt: http://wiki.ubuntuusers.de/fbpanel
Da werden die Zusammenhänge sehr schön erklärt und ich
muss nicht alles noch einmal schreiben.
Wer also z. B. die Uhr ändern möchte, dass statt des blauen
Designs ein schwarzes Design erscheint und darüber hinaus auch die
Sekunden angezeigt werden, der ändert die Sektion
Code:
Plugin {
type =
dclock
config {
ClockFmt = %R
TooltipFmt = %A %x
Action = xclock
}
}
in
Code:
Plugin {
type =
tclock
config {
ClockFmt = %H:%M:%S
TooltipFmt = %A %x
Action = xclock
}
}
und startet das Panel neu (Nutzer abmelden und wieder anmelden).
Wer z. B. den Schnellstarteintrag "Leafpad Texteditor" entfernen
möchte, der muss die Sektion
Code:
button {
image = /usr/share/pixmaps/leafpad.png
tooltip = Leafpad Texteditor
action = leafpad
}
komplett löschen, dann ist nach einem Abmelden/Anmelden der
Eintrag entfernt.
Hinzufügen von neuen Einträgen geht analog. Die Sektionen
sind eigentlich selbsterklärend.
Wer sein Panel so verändert, dass es nicht mehr startet, der kann
ein frisches Panel aus /etc/skel/.fbpanel/ nach ~/.fbpanel/ kopieren
(also entweder die Datei "open" für Openbox oder "flux" für
Fluxbox) und kann so mit der Standard-Konfiguration wieder starten.
|

|
|
 |