Sida 2 av 2
Re: Bug på skrivbordet?
Postat: 25 feb 2010, 22:21
av Henrik Jansson
TweekiE skrev:Du, har ju bytt tema?
Då är det ju inte så konstigt eller hur?
Hur skulle ubuntu kunna vara anpassat till flera tusen teman, och alla teman har olika paneler.
pixmap, murrine och aurora är theme engines.
Alltså, ramen försvinner när jag byter färg OAVSETT tema, så det har ingenting att göra med vilket tema man har.
Prova själv att byta färg så får du se.
Jag har också provkört senaste ubuntu 9.10 från skivan och prova att byta färg på panelen utan att ändra något annat och ramen försvinner då också.
Re: Bug på skrivbordet?
Postat: 27 feb 2010, 16:13
av Henrik Jansson
Det gick att se texten ändå.. (Fick ett meddelande att det inte gick att öppna men det gick via en omväg)
Såhär ser det ut:
[Desktop Entry]
Name=Anpassad5
Type=X-GNOME-Metatheme
Comment=
[X-GNOME-Metatheme]
GtkTheme=Crux
MetacityTheme=Glider
IconTheme=Human
GtkColorScheme=fg_color:#000000000000,bg_color:#d3d3d7d7cfcf,text_color:#000000000000,base_color:#ffffffffffff,selected_fg_color:#ffffffffffff,selected_bg_color:#040473737373,tooltip_fg_color:#000000000000,tooltip_bg_color:#f5f5f5f5b5b5
CursorTheme=default
CursorSize=18
Vilka av dom där är panellisterna?
Vore det inte mer logiskt att man kunde ändra färgen i "panelegenskaper"?
Re: Bug på skrivbordet?
Postat: 28 feb 2010, 02:02
av Hund
Dra hem ett tema från
http://lassekongo83.deviantart.com/ och kika hur han gjort med sina paneler, det är inte helt enkelt och därför är det enklast att kika hur någon annan gjort.
Lite snabbt förklarat:
gtkrc-filen ska innehålla denna raden:
include "panel.rc"
Ett exempel på hur panel.rc-filen kan se ut:
Kod: Markera allt
################################################
# PANELS
################################################
# Note: Uncommenting means to delete the "#" at the beginning of a line. Commenting out means to add a "#" at the beginning of a line. The "#" tells the theme wether to ignore the line or not.
style "theme-panel"
{
bg[SELECTED] = shade (0.85, @selected_bg_color) # Makes selected items dark.
bg[NORMAL] = "#3c3c3c" # Makes panel background dark.
bg[PRELIGHT] = shade (0.85, @selected_bg_color) # Makes panel button prelight dark.
bg[ACTIVE] = shade (0.60, @bg_color) # Makes active buttons dark.
bg[INSENSITIVE] = "#3C3C3C"
fg[NORMAL] = "#E6E6E6" # Makes panel text light.
fg[PRELIGHT] = @selected_fg_color # Makes prelighted text colored.
fg[SELECTED] = @selected_fg_color # Makes prelighted text colored.
fg[ACTIVE] = @selected_fg_color # Makes active text colored.
fg[INSENSITIVE] = "#666666" # Color for insensitive text.
text[NORMAL] = "#E6E6E6"
text[PRELIGHT] = @selected_fg_color # Makes prelighted text colored.
text[SELECTED] = @selected_fg_color # Makes prelighted text colored.
text[ACTIVE] = @selected_fg_color # Makes active text colored.
text[INSENSITIVE] = "#666666"
engine "murrine" {
roundness = 0 # This sets the roundness of panel items.
}
}
style "theme-panel-light"
{
fg[NORMAL] = @fg_color
}
# Panel settings. Do not change.
widget "*PanelWidget*" style "theme-panel"
widget "*PanelApplet*" style "theme-panel"
widget "*fast-user-switch*" style "theme-panel"
widget "*gdm-user-switch*" style "theme-panel"
widget "*CPUFreq*Applet*" style "theme-panel"
widget "*indicator-applet*" style "theme-panel"
class "PanelApp*" style "theme-panel"
class "PanelToplevel*" style "theme-panel"
widget_class "*PanelToplevel*" style "theme-panel"
#widget_class "*Mail*" style "theme-panel" # Disabled to fix Evolution bug.
#class "*Panel*" style "theme-panel" # Disabled to fix bug.
widget_class "*notif*" style "theme-panel"
widget_class "*Notif*" style "theme-panel"
widget_class "*Tray*" style "theme-panel"
widget_class "*tray*" style "theme-panel"
widget_class "*computertemp*" style "theme-panel"
widget_class "*Applet*Tomboy*" style "theme-panel"
widget_class "*Applet*Netstatus*" style "theme-panel"
# Fixes for tooltip text in some apps.
widget_class "*Notif*Beagle*" style "theme-panel-light"
widget_class "*Notif*Brasero*" style "theme-panel-light"
# XFCE panel theming.
widget "*Xfce*Panel*" style "theme-panel"
class "*Xfce*Panel*" style "theme-panel"
Det där kommer från ett Murrine (Motorn alltså) tema och innehåller inga bilder utan bara kod, panelen kan vara uppbyggd med hjälp av bilder också, då ser det lite annorlunda ut.