Home Home > 2008 > 12 > 23 > YaST Qt4 Stylesheet Editor
Sign up | Login

YaST Qt4 Stylesheet Editor

December 23rd, 2008 by

YaST uses style.qss located in /usr/share/YaST2/theme/current/wizard by
default. If you want YaST to use a different style sheet (e.g. the style shown
while installation) you can set the $Y2STYLE environment variable:

Y2STYLE=installation.qss /sbin/yast2 disk

I’ve added a new hotkey to YaST which allows to modify the style sheet on
runtime. Pressing [Ctrl] + [Shift] + [Alt] + [S] in a YaST module opens the Stylesheet Editor. Now you can load a style sheet and modify its style rules.

Screenshot YaST Stylesheet Editor

The Stylesheet Editor can be very usefull when you want to design your own style for the YaST Qt4 UI.

This feature will be available in openSUSE 11.2. If you want to use it now all you need is yast2-qt version 2.18.2. You can find the latest version here:
http://download.opensuse.org/repositories/home:/tgoettlicher/openSUSE_Factory/

Both comments and pings are currently closed.

Comments are closed.