LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-22-2009, 04:02 AM   #1
ggyyree
Member
 
Registered: Sep 2009
Location: London
Posts: 52

Rep: Reputation: 15
Question How can I change the fonts' size under fvwm configuration?


I use Opensuse 11 with fvwm. How can I change the fonts' size under fvwm configuration?

The font size in the fvwm is much smaller than the Gnome session I've got for my Opensuse 11.

How can I tune the fvwm configuration to enlarge the font size please? Cheers.
 
Old 09-22-2009, 07:01 PM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Prefacing this by saying I don't know anything about current SuSE or Gnome sessions. But fvwm's fonts are controlled by the various style options and the DefaultFont command. For instance, I have

SetEnv FVWMFONT1 "-artwiz-aqui-medium-r-bold--11-110-75-75-p-90-iso8859-1"
SetEnv FVWMFONT2 "-artwiz-snap-normal-r-normal--10-100-75-75-p-90-iso8859-1"

then 'DefaultFont $[FVWMFONT1]'

and things like '*FvwmIdent: Font $[FVWMFONT2]'

However, I suspect you mean something else - are you starting fvwm differently than the Gnome session? Your xsession may be setting up the dpi of your display differently. This will make the display look different. So is it parts of fvwm that look small or your normal GTK2 (or whatever) apps that look small in fvwm? When you look at what some program has as its font settings (like my gkrellm has 'Sans 10' as the 'large font') do those settings change or just their appearance?

I don't know. I wouldn't reply to this at all, leaving it to someone more knowledgeable on these things, but it's been several hours and you're trying fvwm, so I hope you get it how you like it.
 
Old 09-23-2009, 11:24 AM   #3
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
If the reply above doesn't fit you, please, be more specific about which fonts are you wanting to change: titlebars? the fonts inside the applications? the fonts in some fvwm modules (FvwmIdent, FvwmButtons...)?.

If you are using truetype fonts make sure you have fvwm compiled with xft support (fvwm -V).
 
Old 11-04-2009, 07:22 AM   #4
ggyyree
Member
 
Registered: Sep 2009
Location: London
Posts: 52

Original Poster
Rep: Reputation: 15
Wink

Quote:
Originally Posted by i92guboj View Post
If the reply above doesn't fit you, please, be more specific about which fonts are you wanting to change: titlebars? the fonts inside the applications? the fonts in some fvwm modules (FvwmIdent, FvwmButtons...)?.

If you are using truetype fonts make sure you have fvwm compiled with xft support (fvwm -V).
Sorry about the late reply. I was on holiday...

I mean the fonts of the toolbars but not fonts inside the applications. For example, the fonts of the toolbar of Opera is really small. But I can change the fonts of the webpages inside Opera easily.

I am wondering if it is because my LCD resolution is setting too high (1600 by 1024). But I really want to keep the resolution but enlarge all the fonts under fvwm. When I works under gnome all the fonts are fine. Or maybe I can change the dpi value under fvwm. Any suggestions about how to do these are welcome. Thank you very much for all your reply!
 
Old 11-04-2009, 07:24 AM   #5
ggyyree
Member
 
Registered: Sep 2009
Location: London
Posts: 52

Original Poster
Rep: Reputation: 15
Question

Quote:
Originally Posted by slakmagik View Post

SetEnv FVWMFONT1 "-artwiz-aqui-medium-r-bold--11-110-75-75-p-90-iso8859-1"
SetEnv FVWMFONT2 "-artwiz-snap-normal-r-normal--10-100-75-75-p-90-iso8859-1"

then 'DefaultFont $[FVWMFONT1]'

and things like '*FvwmIdent: Font $[FVWMFONT2]'
I am sorry and I am really a newbie for fvwm and where should I add or modify the things you mentioned above?
 
Old 11-04-2009, 08:22 AM   #6
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by ggyyree View Post
Sorry about the late reply. I was on holiday...

I mean the fonts of the toolbars but not fonts inside the applications. For example, the fonts of the toolbar of Opera is really small. But I can change the fonts of the webpages inside Opera easily.

I am wondering if it is because my LCD resolution is setting too high (1600 by 1024). But I really want to keep the resolution but enlarge all the fonts under fvwm. When I works under gnome all the fonts are fine. Or maybe I can change the dpi value under fvwm. Any suggestions about how to do these are welcome. Thank you very much for all your reply!
You can change the font size, that's not a problem. However if you are using a pre-made configuration like I think you are, you are going to have to look for the lines that define the fonts.

I guess we could start here:

Code:
cd ~/.fvwm/
grep -i -r font *
Then paste the output here (though if all goes well, you will probably already know what to do and where to look , but if not just paste it here).
 
Old 11-04-2009, 08:38 AM   #7
ggyyree
Member
 
Registered: Sep 2009
Location: London
Posts: 52

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by i92guboj View Post
You can change the font size, that's not a problem. However if you are using a pre-made configuration like I think you are, you are going to have to look for the lines that define the fonts.

I guess we could start here:

Code:
cd ~/.fvwm/
grep -i -r font *
Then paste the output here (though if all goes well, you will probably already know what to do and where to look , but if not just paste it here).
Thanks for your reply but I am not sure if you are happy to see the outputs because it is very long... Anyway, I really have no idea about these outputs... Please take a look... Thank you very much.

PART1:
Code:
decorations/Crystal/DarkGreen/Theme.nextstep:Style * Font "xft:Verdana:pixelsize=12:Bold"
decorations/Crystal/DarkGreen/Theme.macosx:Style * Font "xft:Verdana:pixelsize=12:Bold"  
decorations/Crystal/DarkGreen/Theme.fvwm-crystal:Style * Font "xft:Verdana:pixelsize=12:Bold"
decorations/Crystal/DarkGreen/Theme.os2:Style * Font "xft:Verdana:pixelsize=12:Bold"         
decorations/Crystal/DarkGreen/.svn/text-base/Theme.macosx.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                   
decorations/Crystal/DarkGreen/.svn/text-base/Theme.fvwm-crystal.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                             
decorations/Crystal/DarkGreen/.svn/text-base/Theme.windows.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                  
decorations/Crystal/DarkGreen/.svn/text-base/Theme.nextstep.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                 
decorations/Crystal/DarkGreen/.svn/text-base/Theme.os2.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                      
decorations/Crystal/DarkGreen/Theme.windows:Style * Font "xft:Verdana:pixelsize=12:Bold"         
decorations/Crystal/Red - Cyan/Theme.nextstep:Style * Font "xft:Verdana:pixelsize=12:Bold"       
decorations/Crystal/Red - Cyan/Theme.macosx:Style * Font "xft:Verdana:pixelsize=12:Bold"         
decorations/Crystal/Red - Cyan/Theme.fvwm-crystal:Style * Font "xft:Verdana:pixelsize=12:Bold"   
decorations/Crystal/Red - Cyan/Theme.os2:Style * Font "xft:Verdana:pixelsize=12:Bold"            
decorations/Crystal/Red - Cyan/.svn/text-base/Theme.macosx.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                  
decorations/Crystal/Red - Cyan/.svn/text-base/Theme.fvwm-crystal.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                            
decorations/Crystal/Red - Cyan/.svn/text-base/Theme.windows.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                 
decorations/Crystal/Red - Cyan/.svn/text-base/Theme.nextstep.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                
decorations/Crystal/Red - Cyan/.svn/text-base/Theme.os2.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                     
decorations/Crystal/Red - Cyan/Theme.windows:Style * Font "xft:Verdana:pixelsize=12:Bold"        
decorations/Crystal/CIOS-blue/Theme.nextstep:Style * Font "xft:Verdana:pixelsize=12:Bold"        
decorations/Crystal/CIOS-blue/Theme.nextstep:Test (EnvIsSet FVWM_FLAG_UTF_8) Style * Font "xft:Verdana:pixelsize=12:Bold:encoding=10646-1"                                                        
decorations/Crystal/CIOS-blue/Theme.macosx:Style * Font "xft:Verdana:pixelsize=12:Bold"          
decorations/Crystal/CIOS-blue/Theme.macosx:Test (EnvIsSet FVWM_FLAG_UTF_8) Style * Font "xft:Verdana:pixelsize=12:Bold:encoding=iso10646-1"                                                       
decorations/Crystal/CIOS-blue/Theme.fvwm-crystal:Style * Font "xft:Verdana:pixelsize=12:Bold"    
decorations/Crystal/CIOS-blue/Theme.fvwm-crystal:Test (EnvIsSet FVWM_FLAG_UTF_8) Style * Font "xft:Verdana:pixelsize=12:Bold:encoding=iso10646-1"                                                 
decorations/Crystal/CIOS-blue/Theme.os2:Style * Font "xft:Verdana:pixelsize=12:Bold"             
decorations/Crystal/CIOS-blue/Theme.os2:Test (EnvIsSet FVWM_FLAG_UTF_8) Style * Font "xft:Verdana:pixelsize=12:Bold:encoding=10646-1"                                                             
decorations/Crystal/CIOS-blue/.svn/text-base/Theme.macosx.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                   
decorations/Crystal/CIOS-blue/.svn/text-base/Theme.macosx.svn-base:Test (EnvIsSet FVWM_FLAG_UTF-8) Style * Font "xft:Verdana:pixelsize=12:Bold:encoding=iso10646-1"                               
decorations/Crystal/CIOS-blue/.svn/text-base/Theme.fvwm-crystal.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                             
decorations/Crystal/CIOS-blue/.svn/text-base/Theme.fvwm-crystal.svn-base:Test (EnvIsSet FVWM_FLAG_UTF-8) Style * Font "xft:Verdana:pixelsize=12:Bold:encoding=iso10646-1"                         
decorations/Crystal/CIOS-blue/.svn/text-base/Theme.windows.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                  
decorations/Crystal/CIOS-blue/.svn/text-base/Theme.windows.svn-base:Test (EnvIsSet FVWM_FLAG_UTF-8) Style * Font "xft:Verdana:pixelsize=12:Bold:encoding=iso10646-1"                              
decorations/Crystal/CIOS-blue/.svn/text-base/Theme.nextstep.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                 
decorations/Crystal/CIOS-blue/.svn/text-base/Theme.nextstep.svn-base:Test (EnvIsSet FVWM_FLAG_UTF-8) Style * Font "xft:Verdana:pixelsize=12:Bold:encoding=10646-1"                                
decorations/Crystal/CIOS-blue/.svn/text-base/Theme.os2.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                      
decorations/Crystal/CIOS-blue/.svn/text-base/Theme.os2.svn-base:Test (EnvIsSet FVWM_FLAG_UTF-8) Style * Font "xft:Verdana:pixelsize=12:Bold:encoding=10646-1"                                     
decorations/Crystal/CIOS-blue/Theme.windows:Style * Font "xft:Verdana:pixelsize=12:Bold"         
decorations/Crystal/CIOS-blue/Theme.windows:Test (EnvIsSet FVWM_FLAG_UTF_8) Style * Font "xft:Verdana:pixelsize=12:Bold:encoding=iso10646-1"                                                      
decorations/Crystal/WhiteDesktop/Theme.nextstep:Style * Font "xft:Verdana:pixelsize=12:Bold"     
decorations/Crystal/WhiteDesktop/Theme.macosx:Style * Font "xft:Verdana:pixelsize=12:Bold"       
decorations/Crystal/WhiteDesktop/Theme.fvwm-crystal:Style * Font "xft:Verdana:pixelsize=12:Bold" 
decorations/Crystal/WhiteDesktop/Theme.os2:Style * Font "xft:Verdana:pixelsize=12:Bold"          
decorations/Crystal/WhiteDesktop/.svn/text-base/Theme.macosx.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                
decorations/Crystal/WhiteDesktop/.svn/text-base/Theme.fvwm-crystal.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                          
decorations/Crystal/WhiteDesktop/.svn/text-base/Theme.windows.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                               
decorations/Crystal/WhiteDesktop/.svn/text-base/Theme.nextstep.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                              
decorations/Crystal/WhiteDesktop/.svn/text-base/Theme.os2.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                   
decorations/Crystal/WhiteDesktop/Theme.windows:Style * Font "xft:Verdana:pixelsize=12:Bold"      
decorations/Crystal/Original/Theme.nextstep:Style * Font "xft:Verdana:pixelsize=12:Bold"         
decorations/Crystal/Original/Theme.macosx:Style * Font "xft:Verdana:pixelsize=12:Bold"           
decorations/Crystal/Original/Theme.fvwm-crystal:Style * Font "xft:Verdana:pixelsize=12:Bold"     
decorations/Crystal/Original/Theme.os2:Style * Font "xft:Verdana:pixelsize=12:Bold"              
decorations/Crystal/Original/.svn/text-base/Theme.macosx.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                    
decorations/Crystal/Original/.svn/text-base/Theme.fvwm-crystal.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                              
decorations/Crystal/Original/.svn/text-base/Theme.windows.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                   
decorations/Crystal/Original/.svn/text-base/Theme.nextstep.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                  
decorations/Crystal/Original/.svn/text-base/Theme.os2.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                       
decorations/Crystal/Original/Theme.windows:Style * Font "xft:Verdana:pixelsize=12:Bold"          
decorations/Crystal/CIOS/Theme.nextstep:Style * Font "xft:Verdana:pixelsize=12:Bold"             
decorations/Crystal/CIOS/Theme.macosx:Style * Font "xft:Verdana:pixelsize=12:Bold"               
decorations/Crystal/CIOS/Theme.fvwm-crystal:Style * Font "xft:Verdana:pixelsize=12:Bold"         
decorations/Crystal/CIOS/Theme.os2:Style * Font "xft:Verdana:pixelsize=12:Bold"                  
decorations/Crystal/CIOS/.svn/text-base/Theme.macosx.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                        
decorations/Crystal/CIOS/.svn/text-base/Theme.fvwm-crystal.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                  
decorations/Crystal/CIOS/.svn/text-base/Theme.windows.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                       
decorations/Crystal/CIOS/.svn/text-base/Theme.nextstep.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                      
decorations/Crystal/CIOS/.svn/text-base/Theme.os2.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                           
decorations/Crystal/CIOS/Theme.windows:Style * Font "xft:Verdana:pixelsize=12:Bold"              
decorations/Crystal/DarkDesktop/Theme.nextstep:Style * Font "xft:Verdana:pixelsize=12:Bold"      
decorations/Crystal/DarkDesktop/Theme.macosx:Style * Font "xft:Verdana:pixelsize=12:Bold"        
decorations/Crystal/DarkDesktop/Theme.fvwm-crystal:Style * Font "xft:Verdana:pixelsize=12:Bold"  
decorations/Crystal/DarkDesktop/Theme.os2:Style * Font "xft:Verdana:pixelsize=12:Bold"           
decorations/Crystal/DarkDesktop/.svn/text-base/Theme.macosx.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                 
decorations/Crystal/DarkDesktop/.svn/text-base/Theme.fvwm-crystal.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                           
decorations/Crystal/DarkDesktop/.svn/text-base/Theme.windows.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                
decorations/Crystal/DarkDesktop/.svn/text-base/Theme.nextstep.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                               
decorations/Crystal/DarkDesktop/.svn/text-base/Theme.os2.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                    
decorations/Crystal/DarkDesktop/Theme.windows:Style * Font "xft:Verdana:pixelsize=12:Bold"       
decorations/Crystal/CrystalZono/Theme.nextstep:Style * Font "xft:Verdana:pixelsize=12:Bold"      
decorations/Crystal/CrystalZono/Theme.macosx:Style * Font "xft:Verdana:pixelsize=12:Bold"        
decorations/Crystal/CrystalZono/Theme.fvwm-crystal:Style * Font "xft:Verdana:pixelsize=12:Bold"  
decorations/Crystal/CrystalZono/Theme.os2:Style * Font "xft:Verdana:pixelsize=12:Bold"           
decorations/Crystal/CrystalZono/.svn/text-base/Theme.macosx.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                 
decorations/Crystal/CrystalZono/.svn/text-base/Theme.fvwm-crystal.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                           
decorations/Crystal/CrystalZono/.svn/text-base/Theme.windows.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                
decorations/Crystal/CrystalZono/.svn/text-base/Theme.nextstep.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                               
decorations/Crystal/CrystalZono/.svn/text-base/Theme.os2.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                    
decorations/Crystal/CrystalZono/Theme.windows:Style * Font "xft:Verdana:pixelsize=12:Bold"       
decorations/Crystal/RedDesktop/Theme.nextstep:Style * Font "xft:Verdana:pixelsize=12:Bold"       
decorations/Crystal/RedDesktop/Theme.macosx:Style * Font "xft:Verdana:pixelsize=12:Bold"         
decorations/Crystal/RedDesktop/Theme.fvwm-crystal:Style * Font "xft:Verdana:pixelsize=12:Bold"   
decorations/Crystal/RedDesktop/Theme.os2:Style * Font "xft:Verdana:pixelsize=12:Bold"            
decorations/Crystal/RedDesktop/.svn/text-base/Theme.macosx.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                  
decorations/Crystal/RedDesktop/.svn/text-base/Theme.fvwm-crystal.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                            
decorations/Crystal/RedDesktop/.svn/text-base/Theme.windows.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                 
decorations/Crystal/RedDesktop/.svn/text-base/Theme.nextstep.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                
decorations/Crystal/RedDesktop/.svn/text-base/Theme.os2.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                     
decorations/Crystal/RedDesktop/Theme.windows:Style * Font "xft:Verdana:pixelsize=12:Bold"        
decorations/Crystal/IrishDesktop/Theme.nextstep:Style * Font "xft:Verdana:pixelsize=12:Bold"     
decorations/Crystal/IrishDesktop/Theme.macosx:Style * Font "xft:Verdana:pixelsize=12:Bold"       
decorations/Crystal/IrishDesktop/Theme.fvwm-crystal:Style * Font "xft:Verdana:pixelsize=12:Bold" 
decorations/Crystal/IrishDesktop/Theme.os2:Style * Font "xft:Verdana:pixelsize=12:Bold"          
decorations/Crystal/IrishDesktop/.svn/text-base/Theme.macosx.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                
decorations/Crystal/IrishDesktop/.svn/text-base/Theme.fvwm-crystal.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                          
decorations/Crystal/IrishDesktop/.svn/text-base/Theme.windows.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                               
decorations/Crystal/IrishDesktop/.svn/text-base/Theme.nextstep.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                              
decorations/Crystal/IrishDesktop/.svn/text-base/Theme.os2.svn-base:Style * Font "xft:Verdana:pixelsize=12:Bold"                                                                                   
decorations/Crystal/IrishDesktop/Theme.windows:Style * Font "xft:Verdana:pixelsize=12:Bold"      
decorations/Mist/Default/Theme.nextstep:Style * Font "xft:Verdana:pixelsize=11"                  
decorations/Mist/Default/Theme.macosx:Style * Font "xft:Verdana:pixelsize=11"                    
decorations/Mist/Default/Theme.fvwm-crystal:Style * Font "xft:Verdana:pixelsize=11"              
decorations/Mist/Default/Theme.os2:Style * Font "xft:Verdana:pixelsize=11"                       
decorations/Mist/Default/.svn/text-base/Theme.macosx.svn-base:Style * Font "xft:Verdana:pixelsize=11"                                                                                             
decorations/Mist/Default/.svn/text-base/Theme.fvwm-crystal.svn-base:Style * Font "xft:Verdana:pixelsize=11"                                                                                       
decorations/Mist/Default/.svn/text-base/Theme.windows.svn-base:Style * Font "xft:Verdana:pixelsize=11"                                                                                            
decorations/Mist/Default/.svn/text-base/Theme.nextstep.svn-base:Style * Font "xft:Verdana:pixelsize=11"                                                                                           
decorations/Mist/Default/.svn/text-base/Theme.os2.svn-base:Style * Font "xft:Verdana:pixelsize=11"                                                                                                
decorations/Mist/Default/Theme.windows:Style * Font "xft:Verdana:pixelsize=11"                   
decorations/Winter/Default/Theme.nextstep:Style * Font "xft:Verdana:pixelsize=13"                
decorations/Winter/Default/Theme.macosx:Style * Font "xft:Verdana:pixelsize=13"                  
decorations/Winter/Default/Theme.fvwm-crystal:Style * Font "xft:Verdana:pixelsize=13"            
decorations/Winter/Default/Theme.os2:Style * Font "xft:Verdana:pixelsize=13"                     
decorations/Winter/Default/.svn/text-base/Theme.macosx.svn-base:Style * Font "xft:Verdana:pixelsize=13"                                                                                           
decorations/Winter/Default/.svn/text-base/Theme.fvwm-crystal.svn-base:Style * Font "xft:Verdana:pixelsize=13"                                                                                     
decorations/Winter/Default/.svn/text-base/Theme.windows.svn-base:Style * Font "xft:Verdana:pixelsize=13"                                                                                          
decorations/Winter/Default/.svn/text-base/Theme.nextstep.svn-base:Style * Font "xft:Verdana:pixelsize=13"                                                                                         
decorations/Winter/Default/.svn/text-base/Theme.os2.svn-base:Style * Font "xft:Verdana:pixelsize=13"                                                                                              
decorations/Winter/Default/Theme.windows:Style * Font "xft:Verdana:pixelsize=13"                 
decorations/DarkSky/Black/Theme.nextstep:Style * Font "Shadow=1 SE:xft:Sans:pixelsize=10:Bold:minspace=true"                                                                                      
decorations/DarkSky/Black/Theme.macosx:Style * Font "Shadow=1 SE:xft:Sans:pixelsize=10:Bold:minspace=true"                                                                                        
decorations/DarkSky/Black/Theme.fvwm-crystal:Style * Font "Shadow=1 SE:xft:Sans:pixelsize=10:Bold:minspace=true"                                                                                  
decorations/DarkSky/Black/Theme.os2:Style * Font "Shadow=1 SE:xft:Sans:pixelsize=10:Bold:minspace=true"                                                                                           
decorations/DarkSky/Black/.svn/text-base/Theme.macosx.svn-base:Style * Font "Shadow=1 SE:xft:Sans:pixelsize=10:Bold:minspace=true"                                                                
decorations/DarkSky/Black/.svn/text-base/Theme.fvwm-crystal.svn-base:Style * Font "Shadow=1 SE:xft:Sans:pixelsize=10:Bold:minspace=true"                                                          
decorations/DarkSky/Black/.svn/text-base/Theme.windows.svn-base:Style * Font "Shadow=1 SE:xft:Sans:pixelsize=10:Bold:minspace=true"                                                               
decorations/DarkSky/Black/.svn/text-base/Theme.nextstep.svn-base:Style * Font "Shadow=1 SE:xft:Sans:pixelsize=10:Bold:minspace=true"                                                              
decorations/DarkSky/Black/.svn/text-base/Theme.os2.svn-base:Style * Font "Shadow=1 SE:xft:Sans:pixelsize=10:Bold:minspace=true"                                                                   
decorations/DarkSky/Black/Theme.windows:Style * Font "Shadow=1 SE:xft:Sans:pixelsize=10:Bold:minspace=true"                                                                                       
decorations/DarkSky/Gray/Theme.nextstep:Style * Font "Shadow=1 SE:xft:Sans:pixelsize=10:Bold:minspace=true"                                                                                       
decorations/DarkSky/Gray/Theme.macosx:Style * Font "Shadow=1
 
Old 11-04-2009, 08:42 AM   #8
ggyyree
Member
 
Registered: Sep 2009
Location: London
Posts: 52

Original Poster
Rep: Reputation: 15
Well I put the output as a file in the attachment. Thanks.
Attached Files
File Type: txt Outputs.txt (97.5 KB, 59 views)
 
Old 11-04-2009, 09:13 AM   #9
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Can you tell me if this is from fvwm-crystal or fvwm-themes?

I know not much about these pre-made configs. In any case, you should have at least one of these files: ~/.fvwm/config, ~/.fvwm/fvwm2rc or even ~/.fvwm2rc, look for them in this same order and paste the first one you can find here please.
 
Old 11-04-2009, 11:08 AM   #10
ggyyree
Member
 
Registered: Sep 2009
Location: London
Posts: 52

Original Poster
Rep: Reputation: 15
Talking

Quote:
Originally Posted by i92guboj View Post
Can you tell me if this is from fvwm-crystal or fvwm-themes?

I know not much about these pre-made configs. In any case, you should have at least one of these files: ~/.fvwm/config, ~/.fvwm/fvwm2rc or even ~/.fvwm2rc, look for them in this same order and paste the first one you can find here please.
Thanks, I use fvwm-themes, and here are the configuration files in the attachments.
Attached Files
File Type: txt themes-rc.txt (4.2 KB, 89 views)
File Type: txt themes-rc-2.txt (48.1 KB, 59 views)
 
Old 11-04-2009, 11:28 AM   #11
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
I don't know if there's an "fvwm-themes" way, there might be a menu option or something to set this, I don't know. However, you can always edit the decoration files directly, for whatever style and decoration you are using. Look at the grep listing you pasted above, in all those files you will find lines similar to this:

Code:
Style * Font "Shadow=1 SE:xft:Sans:pixelsize=10:Bold:minspace=true"
Once you have located the correct file for your style, you can always edit that line to set pixelsize to whatever you want, save, restart fvwm and it should work.

I guess that, alternatively, you could try to add a line like this after the one that loads your conky panel:

Code:
DestroyFunc FuncFvwmResetInitFunctions
AddToFunc   FuncFvwmResetInitFunctions
+ I DestroyFunc StartFunction
+ I DestroyFunc InitFunction
+ I DestroyFunc RestartFunction
+ I DestroyFunc SessionInitFunction
+ I DestroyFunc SessionRestartFunction
+ I AddToFunc StartFunction
+ I + I FuncFvwmLoadAllHooks
+ I + I Test (Init) Schedule 10000 Exec exec conky -o -y 0 -d
+ I + I Style * Font "Shadow=1 SE:xft:Sans:pixelsize=21:Bold:minspace=true"
That style line will work or not depending on how the styles of fvwm-themes are evaluated, in which order, but you can try that, if it works then ok, if not you will probably have to go editing the style files as said above.

I've also added a correction to the conky line there. You probably want to include it in StartFunction, and not into FuncFvwmResetInitFunctions, so add another "+ I".

PS: As long as you have xft support in fvwm and your system you can specify fonts that way. See fc-list to list the installed fonts, you can use any of them. You can also use old-style font specifications like those that xfontsel can give you.

Last edited by i92guboj; 11-04-2009 at 11:33 AM.
 
Old 11-05-2009, 04:56 AM   #12
ggyyree
Member
 
Registered: Sep 2009
Location: London
Posts: 52

Original Poster
Rep: Reputation: 15
Wink

Quote:
Originally Posted by i92guboj View Post

Code:
DestroyFunc FuncFvwmResetInitFunctions
AddToFunc   FuncFvwmResetInitFunctions
+ I DestroyFunc StartFunction
+ I DestroyFunc InitFunction
+ I DestroyFunc RestartFunction
+ I DestroyFunc SessionInitFunction
+ I DestroyFunc SessionRestartFunction
+ I AddToFunc StartFunction
+ I + I FuncFvwmLoadAllHooks
+ I + I Test (Init) Schedule 10000 Exec exec conky -o -y 0 -d
+ I + I Style * Font "Shadow=1 SE:xft:Sans:pixelsize=21:Bold:minspace=true"
Got a chance to test this option 2 above in the morning; however, after this change I can't start X at all. I haven't got some time to test option 1 you mentioned in last post but if I try it later I will report :-)

Thanks a lot anyway. I should also learn more about what you said about xft...

Cheers.
 
Old 11-05-2009, 05:53 AM   #13
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hello together,

I'm fiddling with fvwm2 as well. I started with chosing one configuration from the fvwm-themes and tried to adapt this to my needs. But since there are many files in the configuration this was somewhat confusing ....
I then found this http://www.zensites.net/fvwm/guide/index.html very useful guide. Now I have a configuration which is based on only a config file and some image- and icon- directories.

Markus
 
Old 11-05-2009, 06:06 AM   #14
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by ggyyree View Post
Got a chance to test this option 2 above in the morning; however, after this change I can't start X at all. I haven't got some time to test option 1 you mentioned in last post but if I try it later I will report :-)
I can't see how these lines would prevent fvwm to start, unless there's some typo or something else broken. Does X crash back to console? some error message or something?
 
Old 11-05-2009, 09:04 AM   #15
ggyyree
Member
 
Registered: Sep 2009
Location: London
Posts: 52

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by i92guboj View Post
I can't see how these lines would prevent fvwm to start, unless there's some typo or something else broken. Does X crash back to console? some error message or something?
I am really sorry. I can not start X because my /var/log is full...

After clean that I try again with following results,

The fonts at the title of each application are huge but the fonts of the tool bar, fvwm root menu, and etc are still very small. Please have a look at the attachment.
Attached Thumbnails
Click image for larger version

Name:	screenshot.jpg
Views:	174
Size:	154.7 KB
ID:	1887  
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fvwm still loading old configuration Tylerious Debian 1 01-25-2006 08:25 AM
On reboot my fonts change size of their own accord! vasudevadas Slackware 9 12-23-2005 11:38 AM
How do i increase x font size and change fonts? gianh Linux - Newbie 1 03-01-2004 11:48 PM
Can´t Change the size of the fonts in Suse! antoniojo Linux - Software 1 02-06-2004 04:28 AM
qt & gtk fonts size change after reboot BlinkEye Linux - Software 1 12-06-2003 03:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration