The following sections introduce the graphical tools used for controlling your profile settings.
Before you can use Profile Chooser to control your system configuration, configure it to be started automatically on login:
In GNOME, right-click the panel and select Profile Chooser from the list of available applets.
In KDE, select ++ to add Profile Chooser to your panel.
Configure the basic behavior of SCPM through YaST.
Start YaST from the main menu and select the YaST Profile Manager.
In , click and select .
Determine how verbose SCPM should be by selecting any or both of and .
Determine the appropriate switch mode for your setup:
Should SCPM list any changed resource when switching to another profile and save these changes to the active profile? Select or .
Should SCPM drop any changed resource configuration when switching? Select .
Set the boot mode and determine whether changes to the current profile should be saved or discarded with profile switching triggered at boot time.
Make sure that all resource groups needed are covered by the active selection, displayed in the section. If you need additional resource groups, adjust the resources with . For details, refer to Section 27.3.6, “Configuring Resource Groups”.
For the example scenario, you do not need to configure additional resources, because printer and network resources are included by default.
To allow users other than root to manage profiles, proceed
as follows:
Start YaST from the main menu and select the YaST Profile Manager.
Check . See Figure 27.2, “YaST: Configure SCPM Users”.
Click .
Click to add any user who should be able to manage profiles.
For each user, specify whether to grant switch permissions only or whether this user should be allowed to switch, modify, and create profiles.
Click to apply your settings and close YaST.
After you have enabled SCPM, you have a profile named
default that contains your current system configuration.
Create another profile that matches the requirements of the other setup.
To add a new profile based on the current system configuration, proceed as follows:
Right-click the Profile Chooser and select .
Select +.
Enter the name of the new profile and click .
Determine whether the new profile should be the active profile.
If you selected , SCPM switches to the new profile immediately after it has been created.
For this example, do the following:
In your home setup, enable SCPM.
Rename the default profile to a more descriptive
name by starting SUMF and selecting + and entering the new name.
In your setup at work, start SUMF and create the profile for your system environment at work.
Once you have all desired profiles, you are ready to switch to them whenever a different system setup is required. Switching profiles is described in Section 27.3.4, “Switching Profiles”.
There are two ways to switch profiles. You can either select a new profile at boot or switch profiles in the running system.
To select a profile at boot, proceed as follows:
In the boot screen, press F2 to enter the menu.
Press F3 to access the list of profiles available.
Use the arrow keys to select the appropriate profile and hit Enter.
The system boots into the configuration selected.
To switch profiles in a running system, proceed as follows:
Make sure that you are allowed to switch profiles as a non-root user. If you are
not allowed to do so, refer to Section 27.3.2, “Configuring Basic SCPM Settings”.
Left-click the Profile Chooser panel applet.
Select the desired profile in the menu that opens using the arrow keys and hit Enter. SCPM runs a check for modified resources and prompts you for a confirmation of the switch. If changes have been made to the system configuration before the switch, select whether to keep them or discard them when switching to another profile.
To adjust existing profiles to a changed environment, for example, if you want to change the printer configuration of your home network, proceed as follows:
Switch to the profile to adjust as described in Section 27.3.4, “Switching Profiles”. In this example, you would
choose the home profile.
Change the resources that need to be adjusted using the appropriate YaST module. In this example, run the YaST printer configuration.
After the configuration changes have been applied and you request a profile switch, SCPM asks whether these changes should be permanently applied to the formerly active profile.
![]() | Forcing a Profile Update |
|---|---|
If you want to force an update of the active profile, click the profile in the profile selection menu of the Profile Chooser panel applet. This triggers a reload of your profile and you are asked whether to apply the configuration changes or discard them. | |
SCPM comes with a set of predefined resource groups that are included in any profile by default. However, some scenarios require the inclusion of additional resources and resource groups.
To change the resource configuration, proceed as follows:
Start YaST from the main menu and start the YaST Profile Manager module.
In the dialog, click in the part of the dialog.
All resource groups available on your system are listed as shown in Figure 27.3, “Configuring Resource Groups”.
To add or edit a resource group:
Set or edit and .
Enter the appropriate resources (resources, services, or both) and delete those that are not needed. To reset the status of the selected resources—discard any changes made to them and return to the initial configuration values—choose .
Click to leave the resource configuration.
Click to save your changes to the active profile.