Thursday, December 25, 2008

Change YaST2 Fonts

Don't like the default fonts in YaST2 modules? Here's how to change them. Just use su to get root access and then use 'qtconfig' to change the fonts.

Qt Configuration with openSUSE default settings

I prefer DejaVu fonts with size 10. You can use these or any other fonts you like.

Qt Configuration after changing font and font size

See the difference between the old and new YaST2 modules! Much more better on the eyes, I think you will agree.

YaST2 Software Management Module (Before)

YaST2 Software Management Module (After)


Jake Phan said...

Thanks dude for a great tip.

Xor said...

You're welcome! Glad to help!

Anonymous said...

Hey, can you tell me what the gnome-voice-control.svn package is? I really appreciated the software manager fix for opensuse 11.1...thanks!

Xor said...

You're welcome!

Gnome Voice Control is a speech recognizer to control the GNOME Desktop.
It uses CMU PocketSphinx as the speech recognition engine.

It is still heavily in development and can perform minimal tasks like opening an editor or a browser or an email client upon voice command.

Right now, the speech recognition success rate is not very good because the speech models are not accurate. There's a nice video on youtube where you can see the software in action. The speech recognition rate should improve in the future as more people contribute their voices to the free GPL speech corpora Voxforge.

This package (older version) is available in Ubuntu repositories and was not present in any of the openSUSE repositories, so I have packaged it in my repository.

Anonymous said...

Thanks for the tip. Yast2 nice and sexy now. I am a big fan of Tahoma/Verdana and friends with anti-aliasing off and subpixel hint off and hinting on. Just like pre XP.

How do I identify if an app is KDE/QT/GTK or something else. What I am trying to get at is which apps obey which configs and how I can identify an arbitrary font an app might be using. Trying here to use that font subsitution table and too lazy for trial and error.

kdeupdateapplet fonts still looks like crap and is high on my hit list.


Xor said...

Well, gnome and kde apps really look and feel different from each other, apart from the fact that most gnome and kde apps start with g and k respectively. Any kde app will depend on the kde libraries and similarly, gnome apps will depend on gnome libraries.

So to find out whether an installed application depends on Kde/Qt/Gtk, you can search the dependencies of the application in YaST for library files. If you find files starting with libQt, libk*, the app will most probably be Qt/Kde based. If you find files like libglib, libg*, the app should be gnome based.

For kde apps, you need the kde font module in kde control center and for gnome, you need to go to appearance-> fonts in the gnome desktop. If you have gtk-qt package installed, the fonts for the gnome app will be changed by changing the kde fonts as the gnome app will be using the kde theme because of this package. For some apps like YaST2 modules which are only qt based, qtconfig can be used. Some apps require the changes to be done as super-user or root, because they follow the config files in root's home folder.

As far as kdeupdateapplet is concerned, my guess is that it should be dependent on kde libraries and so changing the fonts as root in the kde control center should change the app's font.

Hope this helps!

Unknown said...

+++! Saved my eyesight Thank-you, I signed up to Digg especially to Digg this. WP.

Xor said...

You are welcome and thanks for digging this.

Anonymous said...

Thank you! I can finally read text in yast. I can remeber SuSE ever having these problems before it went open (and downhill IMO).

Anonymous said...

So much better now. I thank you. My eyes thank you. Maybe my headache will go away then my head will thank you!

Soledad A. said...

Muchas gracias, este tip es de gran ayuda. Saludos.