Yast Style Guide

Şuraya atla: kullan, ara

General Information

YaST

YaST Elements

Part of YaST Abbreviation Comments
YaST Installation Sequence YIS
YaST Update Sequence YUP
YaST Configuration Module Suitable for Normal Users YCM-NU
YaST Configuration Module suitable for Expert Users YCM-EU
YaST Message Pop Up YMPU
Special YaST Modules

- YaST Online Update

YOU
Special parts in GUI

- YaST Control Center
- Package Manager
- SUSE Watcher
- SUSE Plugger


YCC

YPM
SW
SP

Special parts in TUI

- YaST Ncurses Control Center

YNCC

Yast is caught in many constraints

The developers, the user experience experts and the visual designers are called upon to manage a mission with great challenge.

YaST has to:

  • provide a Graphical User Interface with the approach to present a professional look & feel with the handicap of the programming language "YCP" (see appendix ***), because a Text User Interface is needed.
  • "do" installation and update of an operating system and installation, update and de-installation of many differnt applications
  • provide usablility for normal users with a comfortable and quick setup of devices with fine defaults and full configuration in deep and usability for experts
  • work on i86 and many other plattforms


Important Limitations

YaST TUI Mode - please click to enlarge
YaST GUI Mode - please click to enlarge

Because YaST ist the main configuration tool for SuSE products, it runs on many different platforms. Thus, already during the design phase, one has to consider some limitations, which result from this independance. The most important limitation is that all YaST modules must also work (and be usable) in text mode. The NCurses frontend for YaST features a 80x25 character resolution. Thus most text must be kept to a bare minimum.
Due to the fact, that YCP has a reduced capacity to design the dialog, the YCC and the YaST Package Installer is made with "qt". The second important fact to consider is that one can invoke modules from different places. Most of the time, users will use the YaST control center (YCC) to launch the modules. However, modules are also launched during installation, or by clicking your way through the K-Menu. Another possibility is to use the modules embedded in KControl (the KDE control center) or to use them with the NCurses interface. Thus, modules feature a unique design, which has been carefully crafted to accomodate to these limitations. The use of YaST in TUI generates the high number of buttons visible in the dialog pages because in a native GUI the device operations Add, Edit, Delete can be accessible via a right click context menu. In the TUI you have to use buttons.

Goals for appearance

YaST should show

  • a young, modern and fresh user interface with a professional unobtrusive design
  • clearness and easiness to the normal user
  • mightiness to the expert user

Installation via YaST

Installation Workflow (SUSE Linux 9.1)

The installation follows a straight, flat path. The perfect installation would allow to simply click "next" some times and be done with it.
However, in the real world, a user must provide some input during the installation process. Usually, YaST launches a module to get and process that input. Afterwards, it returns to the main path and continues with the installation. The following pages provide a graphical scheme and comments to the numbers in the illustration of the YaST Installation Sequence.

Installation Workflow - Part1
Installation Workflow - Part2
Installation Workflow - Part3
Installation Workflow - Part4

Comments:

  1. Start of installation via CD or DVD. (By the way, YaST provides a very fine feature called SLP installation. Insert the CD or DVD, select SLP and see the list of available installation sources in your network.)
  2. Language selection is the first “real�? installation options dialog after the initializing sequence. The selection of a language in the selection list has the function of an Apply button. The language is changed immediately.
  3. Installed system found – this request will be available when YaST has detected an already installed Linux system. There are here several possibilities:
    1. Make a new installation: an existing Linux installation is completely replaced. Existing user data are lost generally.
    2. Make an udpate: here on the basis of the existing system an update is accomplished, which - so far possible - takes over user configuration files.
    3. Repair installed system: this radio button will launch the YaST System Repair Application. Here the user has some possibilities to get his broken system repaired autmatically.
    4. Boot installed system: the user can select a partition to boot with and has the chance to make a repair manually.
    5. Abort: this path will leave the installation sequence
  4. Proposal for installation settings: The second important dialogue in the basis installation path is the suggestion to use default settings. It is called „installation proposal“ and provides links to setup installation mode, hardware and software. It also offers the possibility to get a system information as soon as possible. Following access to YaST Configuration Modules is available in SUSE Linux 9.1:
    1. System(information)
    2. Keyboard layout
    3. Mouse
    4. Partitioning
    5. Software
    6. Booting
    7. Time zone
    8. Language
    9. Default Runlevel
  5. Information pop ups and request pop ups are shown before the installation proposal dialog is full visible. During a setup YaST will make a hardware scan to get the defaults for the installation dialogs. This could be a time consuming process. So some pop ups will inform the user about the current status. In some cases, e.g. during installation via Network, YaST will have some questions to the user concerning USB devices or other stuff.
  6. A “Really?�? request pop up will prevent user from unintentional deleting of his data.
  7. The preparting hard disks dialog is used to give a feedback on the current status of hard disk formating process.
  8. Slideshow sequence: The slideshow sequence has a dual task. First of all it can inform new users about the powerfull Linux applications and secondly – in detail mode - it can provide an exact installation status to expert users.
  9. Finishing basic installation: Another feedback dialog to provide a clear status information. SuSEconfig is running.
  10. Reboot
  11. Installation from CD second part: Some files need a running system to be copied into. These files are copied after the reboot. There is no slideshow available during this part.
  12. Installating via DVD: it is not necessary to change CDs. Installation will go on with detailed view *** not clear „boot after DVD has finished?“
  13. Password for root: The root password has to specified for a particular machine. This is true regardless of whether or not there is a networked user authentification for normal users.
  14. Expert options for root: These expert options concern the root password's security. Usually, there is no need to change them.
  15. Proposal Network setup: The proposal displays the autodetected settings for all found network hardware. One can change these settings to include non-autodetectable hardware or to suit special needs. The layout is similar to the installation proposal (4).
  16. Available YaST Configuration Modules: Just like in the installation proposal, the different configuration modules can be reached with a single mouse click. the The modules in the proposal are:
    1. Network interfaces
    2. DSL connections
    3. ISDN Adapters
    4. Modems
    5. Proxy settings
    6. VNC Remote Administration
  17. Saving Settings information screen: This screen is a typical progress dialouge
  18. Test internet connection: After the network has been configured, one can verify the settings by testing an internet connection. YaST then tries to reach a SUSE server, which also hosts available updates (see (20))
  19. Log view: The option to view the log files is available in (19). Usually it is quite uniteresting but it can prove useful, if the internet connection has failed.
  20. YaST Online Update: If the internet connection works properly, YaST can check for online updates via YOU. If a user runs YOU (the default setting), it downloads availabe updates and installs them. This step (and step (21) accordingly) can be skipped.
  21. YaST Online Update Sequence: A YOU update consists of four sequential steps:
    1. Download available mirrors and set general options
    2. Display available patches and allow to select or deselect some patches. Critical (i.e. security relavant) patches are marked in red, recommended patches in blue and optional patches are displayed in black.
    3. Display download progress.
    4. Run SuSEconfig
  22. User Authentication Method: YaST offers two different ways of user authentification. One is applicable for stand-alone machines (local storage of users and passwords), whereas the other one applies to computers using networked authentification (i.e. company intranets).
  23. Different path – Stand alone machine vs. Client: Depending on the choice in (22) the configuration path branches for some dialouges. After all dialouges concerning authentification have finished the path merges again.
  24. Saving Settings: see (21)
  25. Release Notes: If there are important informations, which were too late to be printed in the manual, they are displayed in the release notes. Also, some other crucial information is presented here.
  26. Proposal Hardware Configuration: YaST tries to autodetect the available hardware connected to the computer. The found hardware is displayed in a proposal.
  27. YaST Configuration Modules and SaX2: The modules in the hardware proposal are:
    1. Graphics Card (SaX2)
    2. Printers
    3. Sound
    4. TV Cards
  28. Full access to SaX2 Configuration: The graphics card module launches SaX2, the X-configuration utility. All settings concerning the graphical display (as opposed to the text only console) are collected in this utility.
  29. Installation complete: After the installation has completed, YaST displays one last dialog, the finish screen. It informs a user that the installation has finished and that he can start using the computer now. If also features the option to start the YaST control center (YCC) after KDE has started.
  30. YaST Control Center: The YCC offers a single point of entry to all different configuration options in an installed system.
  31. Entering runlevel 5: Runlevel 5 is the default runlevel of a SUSE Linux system. It starts the computer in a networked, graphical environment.
  32. Login: Once, the graphical environment has started, the user can login using either the manually specified login (stand-alone machine) or a login using network authentification.