Il font predefinito
Inviato: mar lug 17, 2007 6:32 pm
Lo so che la domanda è stupida, ma qual è il font di default per le applicazioni di Ubuntu 7.04?
mofo@dubliners:~$ ls -la .gtk*
-rwx--x--x 1 mofo users 43 2006-10-24 11:03 .gtk-bookmarks*
-rw-r--r-- 1 mofo users 1544 2007-07-13 14:06 .gtkrc-2.0
mofo@dubliners:~$ cat .gtkrc-2.0
# created by KDE, Fri Jul 13 14:04:14 2007
#
# If you do not want KDE to override your GTK settings, select
# Appearance & Themes -> Colors in the Control Center and disable the checkbox
# "Apply colors to non-KDE applications"
#
#
gtk-font-name="Sans Serif 8"
style "default"
{
bg[NORMAL] = { 0.937, 0.937, 0.937 }
bg[SELECTED] = { 0.404, 0.553, 0.698 }
bg[INSENSITIVE] = { 0.937, 0.937, 0.937 }
bg[ACTIVE] = { 0.780, 0.780, 0.780 }
bg[PRELIGHT] = { 0.937, 0.937, 0.937 }
base[NORMAL] = { 1.000, 1.000, 1.000 }
base[SELECTED] = { 0.404, 0.553, 0.698 }
base[INSENSITIVE] = { 0.937, 0.937, 0.937 }
base[ACTIVE] = { 0.404, 0.553, 0.698 }
base[PRELIGHT] = { 0.404, 0.553, 0.698 }
text[NORMAL] = { 0.000, 0.000, 0.000 }
text[SELECTED] = { 1.000, 1.000, 1.000 }
text[INSENSITIVE] = { 0.780, 0.780, 0.780 }
text[ACTIVE] = { 1.000, 1.000, 1.000 }
text[PRELIGHT] = { 1.000, 1.000, 1.000 }
fg[NORMAL] = { 0.000, 0.000, 0.000 }
fg[SELECTED] = { 1.000, 1.000, 1.000 }
fg[INSENSITIVE] = { 0.780, 0.780, 0.780 }
fg[ACTIVE] = { 0.000, 0.000, 0.000 }
fg[PRELIGHT] = { 0.000, 0.000, 0.000 }
}
class "*" style "default"
gtk-alternative-button-order = 1
style "ToolTip"
{
bg[NORMAL] = { 1.000, 1.000, 0.863 }
base[NORMAL] = { 1.000, 1.000, 0.863 }
text[NORMAL] = { 0.000, 0.000, 0.000 }
fg[NORMAL] = { 0.000, 0.000, 0.000 }
}
widget "gtk-tooltips" style "ToolTip"
style "MenuItem"
{
bg[PRELIGHT] = { 0.404, 0.553, 0.698 }
fg[PRELIGHT] = { 1.000, 1.000, 1.000 }
}
class "*MenuItem" style "MenuItem"
mofo@dubliners:~$
gtk-font-name="Sans Serif 8"
mofo ha scritto:nel mio caso... la stringa che conta e'
- Codice: Seleziona tutto
gtk-font-name="Sans Serif 8"
(il file e' quello generato da kde, dove ho aggiunto la stringa per uniformare un po' l'aspetto delle applicazioni gtk che uso, cioe' pidgin, gimp, firefox...)
# Autowritten by gnome-settings-daemon. Do not edit
include "/home/antonio/.gtkrc.mine"
eDog ha scritto:Calma, non sono un guru di Linux...
Allora scrivendo nel terminale ls -la -gtk*eDog ha scritto:e poi scrivendo cat .gtkrc-1.2-gnome2 perché giustamente come hai detto tu uso gnome, mi esce questo...
- Codice: Seleziona tutto
# Autowritten by gnome-settings-daemon. Do not edit
include "/home/antonio/.gtkrc.mine"
e sono fermo qui...
# This file was written by KDE
# You can edit it in the KDE control center, under "GTK Styles and Fonts"
include "/usr/share/themes/Qt/gtk-2.0/gtkrc"
style "user-font"
{
font_name="Sans Serif 9"
}
widget_class "*" style "user-font"
gtk-theme-name="Qt"
[b]gtk-font-name="Sans Serif 9[/b]"