LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Where can I adjust the font size of top tool-bar (https://www.linuxquestions.org/questions/slackware-14/where-can-i-adjust-the-font-size-of-top-tool-bar-529196/)

satimis 02-15-2007 12:52 AM

Where can I adjust the font size of top tool-bar
 
Hi folks,

slamd64
Firefox

Pls advise where can I increase the font size on the top toolbar? I have been looking around on the preferences and could not figure out a solution. There I can increase the font size on the body. TIA

B.R.
satimis

H_TeXMeX_H 02-15-2007 03:17 PM

I believe the font for the toolbars is tied to gtk+, so you might have to change it in there.

Usually make or edit the file '~/.gtkrc-2.0' as follows

Code:

gtk-font-name = "Lucida Sans 14"
Put in whatever font you want, of course. (this is from my .gtkrc-2.0)

or search google for more:
http://linuxfromscratch.org/pipermai...er/046186.html
http://www.justlinux.com/forum/showthread.php?p=835257

satimis 02-15-2007 11:19 PM

Hi H_TeXMeX_H,

Tks for your advice.

Quote:

I believe the font for the toolbars is tied to gtk+, so you might have to change it in there.

Usually make or edit the file '~/.gtkrc-2.0' as follows

Code:

gtk-font-name = "Lucida Sans 14"
Put in whatever font you want, of course. (this is from my .gtkrc-2.0)
# find / -name gtkrc
Code:

/home/satimis/.kde/share/config/gtkrc
/etc/gimp/2.0/gtkrc
/etc/gxine/gtkrc
/usr/share/themes/Default/gtk/gtkrc
/usr/share/themes/Default/gtk-2.0-key/gtkrc
/usr/share/themes/Emacs/gtk-2.0-key/gtkrc
/usr/share/themes/Raleigh/gtk-2.0/gtkrc
/usr/share/themes/Xfce-smooth/gtk-2.0/gtkrc
/usr/share/themes/Xfce/gtk-2.0/gtkrc
/usr/share/themes/Xfce-winter/gtk-2.0/gtkrc
/usr/share/themes/Xfce-stellar/gtk-2.0/gtkrc
/usr/share/themes/Xfce-saltlake/gtk-2.0/gtkrc
/usr/share/themes/Xfce-b5/gtk-2.0/gtkrc
/usr/share/themes/Xfce-4.0/gtk-2.0/gtkrc
/usr/share/themes/Xfce-redmondxp/gtk-2.0/gtkrc
/usr/share/themes/Xfce-cadmium/gtk-2.0/gtkrc
/usr/share/themes/Xfce-dawn/gtk-2.0/gtkrc
/usr/share/themes/Xfce-dusk/gtk-2.0/gtkrc
/usr/share/themes/Xfce-kde2/gtk-2.0/gtkrc
/usr/share/themes/Xfce-kolors/gtk-2.0/gtkrc
/usr/share/themes/Xfce-basic/gtk-2.0/gtkrc
/usr/share/themes/Xfce-curve/gtk-2.0/gtkrc
/usr/share/themes/Xfce-light/gtk-2.0/gtkrc
/usr/share/gimp/2.0/themes/Small/gtkrc
/usr/share/gimp/2.0/themes/Default/gtkrc
/root/.kde/share/config/gtkrc

Can't find .gtkrc-2.0

# nano /root/.kde/share/config/gtkrc
# nano /home/satimis/.kde/share/config/gtkrc
No such item "gtk-font-name" found.


I recall on KDE desktop clicking:
KStart --> Settings --> Internet & Network --> Network Settings

started "Configure - KDE Control Modules" and "Unsupported Platform-KDE Control" windows simultaneously.

On "Unsupported Platform-KDE Control" I can't find "slamd64-11.0", only slackware-10.0.0/10.1.0 etc. there.

I suppose slamd64-11.0 is not supported by KDE


B.R.
satimis

H_TeXMeX_H 02-15-2007 11:25 PM

Oh, I forgot ... this guy's a troll. Gotta write his name down ...

Nah, I found the ignore list.

Eternal_Newbie 02-16-2007 09:15 AM

So just create a ~/.gtkrc-2.0 ie a .gtkrc-2.0 in your home directory
Code:

touch ~/.gtkrc-2.0
Open the file in your favourite text editor and insert the text (adjusting font size as needed), save it and restart XWindows.

satimis 02-16-2007 10:12 AM

Hi Eternal_Newbie,

Tks for your advice.

Quote:

So just create a ~/.gtkrc-2.0 ie a .gtkrc-2.0 in your home directory
Code:

touch ~/.gtkrc-2.0
Open the file in your favourite text editor and insert the text (adjusting font size as needed), save it and restart XWindows.
performed following steps

$ touch ~/.gtkrc-2.0
$ nano ~/.gtkrc-2.0
copied "gtk-font-name = "Lucida Sans 14" on it.

Restarted X and evoked Firefox. Font size increased.

Repeated the same steps as root.

Problem solved. Tks again.

B.R.
satimis


All times are GMT -5. The time now is 11:53 AM.