Red hat enterprise linux gnome

Содержание
  1. Red Hat Enterprise Linux 8 GNOME and display server changes
  2. RHEL 8 GNOME Shell Interface
  3. RHEL 8 GNOME Classic interface
  4. Display server options
  5. Tweaking GNOME
  6. Red Hat Customer Portal
  7. Log in to Your Red Hat Account
  8. Red Hat Account
  9. Customer Portal
  10. Select Your Language
  11. Chapter 3. Installing applications in GNOME
  12. 3.1. The GNOME Software application
  13. 3.2. Installing an application using GNOME Software
  14. 3.3. Installing an application to open a file type
  15. 3.4. Installing an RPM package in GNOME
  16. 3.5. Installing an application from the application search in GNOME
  17. Red Hat Customer Portal
  18. Log in to Your Red Hat Account
  19. Red Hat Account
  20. Customer Portal
  21. Select Your Language
  22. Chapter 6. Configuring GNOME at low level
  23. 6.1. Introduction to configuring GNOME
  24. 6.2. Managing user and system GNOME settings
  25. 6.3. Displaying GSettings values for desktop applications
  26. 6.4. Using dconf profiles
  27. 6.4.1. Introduction to dconf profiles
  28. 6.4.2. Selecting a dconf profile
  29. 6.5. Configuring custom default values
  30. 6.6. Locking down specific settings
  31. 6.7. Storing user settings over NFS
  32. 6.8. Setting GSettings keys properties
  33. 6.9. Working with GSettings keys on command line
  34. 6.9.1. Setting key value
  35. 6.9.2. Monitoring key changes
  36. 6.9.3. Checking whether key is writable
  37. 6.9.4. Checking key valid values
  38. 6.9.5. Checking description of valid key values
  39. 6.9.6. Querying key value
  40. 6.9.7. Resetting key value
  41. 6.9.8. Resetting schema
  42. 6.9.9. Listing installed non-relocatable schemas
  43. 6.9.10. Listing schema keys
  44. 6.9.11. Listing schema children
  45. 6.9.12. Listing schema’s keys and values
  46. 6.10. Acknowledgements

Red Hat Enterprise Linux 8 GNOME and display server changes

Red Hat Enterprise Linux 8 contains some important changes regarding the GNOME graphical interface and the default display server. If you are using a graphical desktop in RHEL 8, the most visible change will be that, by default, the GNOME Shell interface is used. This interface has a different appearance and operation compared to GNOME Classic, the default graphical interface in RHEL 7.

Here, we will cover an overview of the GNOME Shell interface in RHEL 8, and also how to switch to the GNOME Classic interface that is similar to the default interface on RHEL 7. We will also cover the new default display server, Wayland, and how to switch the display server to X.org X11 if needed. Another notable change in RHEL 8 is that the KDE Plasma interface has been removed.

RHEL 8 GNOME Shell Interface

When you log in to a graphical interface in RHEL 8, and start an application, you will see something similar to this:

If this is your first time seeing the GNOME Shell interface, you might notice several differences compared to previous versions of RHEL, including: there is no window list at the bottom showing open applications and there are no minimize or maximize buttons on the open application.

The GNOME Shell has been designed to be simple and easy to use, and therefore might be a little different than what you are currently familiar with. However, I would encourage everyone to give it a try for a few days and you might find that you prefer it. If not, later in the post, we will cover how to switch to GNOME Classic.

You can launch applications and also see a list of currently running applications, as well as your favorite applications by accessing the Activities menu. There are three ways to bring up the activities menu:

Click the activities button in the upper left corner of the screen with the left mouse button.

Bring your mouse pointer to the upper left corner of the screen.

Press the super key on your keyboard (which is usually the key between the left CTRL and ALT keys).

Once you use one of these methods to access the Activities menu, several things will happen. Your currently running applications will be tiled on the screen and you can click on any of them to bring it to the foreground. You will also see a Type to search. input box at the top of the screen. You can start typing an application name and GNOME will show you the results of what it found. If the correct application is selected, you can press enter. This makes it very quick to start an application from the keyboard. For example, you can press the super key, type firefox, press enter, and the Firefox web browser will start.

Once you access the Activities menu, you will also see a menu on the left, referred to as the dash. This will show a list of applications that have been marked as «favorites» and also show any other applications that are currently running. You can tell if the application is running because it has a small blue mark below its icon in the dash if it is running (notice the small blue bar under the calculator icon on the left in the next screenshot):

You can also click on the nine dots at the bottom of the dash to bring up a list of other applications that are available (there are buttons at the bottom to toggle between Frequent applications and All applications).

In addition, you can right click on any of these applications and select Add to Favorites to add it to the dash menu on the left.

When you access Activities, you will also see small boxes on the right side of the screen. If you bring the mouse over this section, the boxes are enlarged, and you’ll see the workspace selector. Workspaces act like virtual monitors and allow you to place applications in different workspaces. You can then switch between the workspaces to see different applications.

One way to move an application to a different workspace is to simply drag and drop it onto a different workspace in the workspace selector (which is visible after you access Activities). Additional workspaces are automatically created as needed and, if you right click on the title bar of an application, you can select Always on Visible Workspace to make that application visible on all workspaces.

You can switch workspaces from the workspace selector, or you can press the super key, plus the page up or page down keys to switch workspaces from the keyboard.

The upper right drop-down menu gives you the ability to shutdown or restart the system, as well as the ability to manage network interfaces, and log off the system.

Читайте также:  Windows upgrade to sp3

RHEL 8 GNOME Classic interface

It is possible to switch to the GNOME Classic interface (which is the default on RHEL 7), by first logging out. To log out, go to the upper right drop-down menu, click on your username, and click Log Out.

From the login screen, click on your username, then click on the gear to the left of the Sign In button:

The next step is to select the Classic (Wayland display server) option, and click the login button. Once logged in, you will see the GNOME Classic interface:

Display server options

In RHEL 8, the default display server is now Wayland, which is designed to have a stronger security model than X11, improved multi-monitor handling, and improved user interface scaling.

It is recommended that you use the Wayland display server whether you are using the GNOME Shell or GNOME Classic interfaces, however, it is possible to switch to the X.org X11 display server if needed. For example, it is possible you might run into a third party application that doesn’t work properly under Wayland, in which case you might want to try the application under the X.org X11 display server.

To switch to the X.org X11 display server, simply log off and, from the login screen, click on your username. At this point, click on the gear to the left of the Sign In button, and select either Standard (X11 display server) on Xorg, or Classic (X11 display server) to login to the GNOME Shell or GNOME Classic interfaces, respectively, with the X.org X11 display server.

Tweaking GNOME

It is possible to customize GNOME by installing the gnome-tweaks package with the yum install gnome-tweaks command.

Once installed, press the activities button, type tweaks, and press Enter to launch the application.

This tool allows the user to make many GNOME customizations. Personally, I use the GNOME Shell interface, but enable these options within gnome-tweaks :

Enable minimize and maximize buttons by clicking on Windows, then toggle on Maximize and Minimize under Titlebar Buttons.

Enable a window list at the bottom of the screen to show running applications, by selecting Extensions, then toggling on Window list.

This is what my customized environment looks like (notice the minimize/maximize buttons and the window list at the bottom).

Источник

Red Hat Customer Portal

Log in to Your Red Hat Account

Your Red Hat account gives you access to your profile, preferences, and services, depending on your status.

If you are a new customer, register now for access to product evaluations and purchasing capabilities.

Need access to an account?

If your company has an existing Red Hat account, your organization administrator can grant you access.

Red Hat Account

Customer Portal

For your security, if you’re on a public computer and have finished using your Red Hat services, please be sure to log out.

Select Your Language

Chapter 3. Installing applications in GNOME

This section describes various approaches that you can use to install a new application in GNOME 3.

Prerequisites

  • You have administrator permissions on the system.

3.1. The GNOME Software application

GNOME Software is a utility that enables you to install and update applications and GNOME Shell extensions through a graphical environment.

GNOME Software is based on the PackageKit technology, which serves as its back end. GNOME Software offers mainly the desktop applications, which are the applications that include the *.desktop file. The available applications are grouped into multiple categories according to their purpose.

3.2. Installing an application using GNOME Software

This procedure installs a graphical application using the GNOME Software installer.

Procedure

    Launch the GNOME Software application.

Find the application to be installed in the available categories:

  • Audio & Video
  • Communication & News
  • Productivity
  • Graphics & Photography

Add-ons include for example GNOME Shell extensions, codecs, or fonts.

Click the selected application.

Click the Install button.

3.3. Installing an application to open a file type

This procedure installs an application that can open a given file type.

Procedure

  1. Try opening a file that is associated with an application that is currently not installed on your system.
  2. GNOME automatically identifies the suitable application that can open the file, and offers to download the application.

3.4. Installing an RPM package in GNOME

This paragraph is the procedure module introduction: a short description of the procedure.

Procedure

    Download the required RPM package.

In the Files application, open the directory that stores the downloaded RPM package.

By default, downloaded files are stored in the /home/ user /Downloads/ directory.

3.5. Installing an application from the application search in GNOME

This procedure installs a graphical application that you find in the GNOME application search.

Procedure

    Open the Activities Overview screen.

Start typing the name of the required application in the search entry.

GNOME automatically finds the application in a repository, and displays the application’s icon.

Click the application’s icon to open GNOME Software .

Click the icon of the application again.

  • Click Install to finish the installation in GNOME Software .
  • Источник

    Red Hat Customer Portal

    Log in to Your Red Hat Account

    Your Red Hat account gives you access to your profile, preferences, and services, depending on your status.

    If you are a new customer, register now for access to product evaluations and purchasing capabilities.

    Need access to an account?

    If your company has an existing Red Hat account, your organization administrator can grant you access.

    Red Hat Account

    Customer Portal

    For your security, if you’re on a public computer and have finished using your Red Hat services, please be sure to log out.

    Select Your Language

    Chapter 6. Configuring GNOME at low level

    6.1. Introduction to configuring GNOME

    To be able to configure the GNOME Desktop Environment, you need to understand these basic terms:

    dconf has two different meanings.

    Firstly, dconf is a key-based Binary Large Object (BLOB) database for storing GNOME configurations. dconf manages user settings such as GDM, application, and proxy settings, and serves as the back end for GSettings .

    Secondly, dconf is a command-line utility which is used for reading and writing individual values or entire directories from and to a dconf database.

    GSettings is a high-level API for application settings which serves as the front end for dconf.

    gsettings is a command-line tool which is used to view and change user settings.

    6.2. Managing user and system GNOME settings

    dconf allows system administrators and users several levels of control over GNOME configuration:

    • Administrators can define default settings that apply to all users.
    • Users can override the defaults with their own settings.
    • Administrators can also lock settings to prevent users from overriding them.

    6.3. Displaying GSettings values for desktop applications

    Viewing and editing of the GSettings values can be achieved with one of the following tools:

    • dconf-editor GUI tool
    • gsettings command-line utility

    The dconf-editor application and gsettings utility have the following in common:

    • allow browsing and changing options for system and application preferences
    • allow to change preferences
    • can be run by regular users, because both tools are intended to browse and modify the current user’s GSettings database

    The dconf-editor provides a GUI for browsing the settings and their editing. It presents the hierarchy of settings in a tree-view and also displays additional information about each setting, including the description, type and default value.

    The gsettings utility can be used to display and set dconf values. gsettings utility supports Bash completion for commands and settings. This tools also allows you to automate configuration in shell scripts. ⁠

    Figure 6.1. dconf-editor showing org.gnome.destop.background GSettings keys

    Prerequisites

    The dconf-editor is not installed on the system by default. To install it, run the following command as the root user:

    Procedure

      To list GSettings values in the GUI, open the dconf-editor application.

    To list a specific GSettings value on the command line, use the following command:

    Additional resources

    • For more information on the dconf-editor tool, see the dconf-editor(1) man page and the dconf-editor Project documentation.
    • For more information on the gsettings utility, see the gsettings(1) man page.

    6.4. Using dconf profiles

    The dconf system stores configuration in several different databases. You can configure dconf profiles, which specify the databases that dconf uses.

    6.4.1. Introduction to dconf profiles

    A dconf profile is a list of system’s hardware and software configuration databases, which the dconf system collects.

    The dconf profiles allow you to compare identical systems to troubleshoot hardware or software problems.

    The dconf system stores its profiles in the text files which can be located either within the /etc/dconf/profile/ directory or elsewhere. The $DCONF_PROFILE environment variable can specify a relative path to the file from /etc/dconf/profile/ , or an absolute path, such as in a user’s home directory.

    Note that key pairs which are set in a dconf profile override the default settings.

    6.4.2. Selecting a dconf profile

    On startup, dconf consults the $DCONF_PROFILE environment to find the name of the dconf profile to open. The result depends on whether the variable is set or not:

    • If set, dconf attempts to open the profile named in the variable and aborts if this step fails.
    • If not set, dconf attempts to open the profile named user and uses an internal hard-wired configuration if this step fails.

    Each line in a dconf profile specifies one dconf database.

    The first line indicates the database used to write changes. The remaining lines show read-only databases.

    The following is a sample profile stored in /etc/dconf/profile/user :

    In this example, the dconf profile specifies three databases. user is the name of the user database which can be found in

    /.config/dconf , and local and site are system databases, located in /etc/dconf/db/ .

    To apply a new dconf user profile to the user’s session, you need to log out and log in, because the dconf profile for a session is determined at login.

    As a user or application developer, do not manipulate dconf directly. To manipulate dconf, always use the dconf-editor or the gsettings utility. The only exception to use dconf directly is when setting system-wide default configurations, because the aforementioned tools do not allow to manipulate such configurations.

    6.5. Configuring custom default values

    Machine-wide default settings can be set by providing a default for a key in a dconf profile. These defaults can be overridden by the user.

    Prerequisites

    • the user profile exists
    • the value for the key was added to a dconf database

    Procedure

    For example, to set the default background:

    Create the user profile in /etc/dconf/profile/user :

    where local is the name of a dconf database.

    Create a keyfile for the local database in /etc/dconf/db/local.d/01-background , which contains the following default settings:

    In the default setting of the keyfile, the following GSettings keys are used:

    Table 6.1. org.gnome.desktop.background schemas GSettings Keys

    «none», «wallpaper», «centered», «scaled», «stretched», «zoom», «spanned»

    Determines how the image set by wallpaper_filename is rendered.

    filename with the path

    URI to use for the background image. Note that the backend only supports local file:// URIs.

    Left or Top color when drawing gradients, or the solid color.

    Right or Bottom color when drawing gradients, not used for solid color.

    Edit the keyfile according to your preferences.

    Update the system databases:

    When the user profile is created or changed, the user needs to log out and log in again before the changes will be applied.

    Additional resources

    • If you want to avoid creating a user profile, you can use the dconf command-line utility to read and write individual values or entire directories from and to a dconf database. For more information, see the dconf(1) man page.

    6.6. Locking down specific settings

    By using the lockdown mode in dconf, you can prevent users from changing specific settings.

    Without enforcing the system settings using a lockdown, any settings that users make take precedence over the system settings. User can thus override the system settings with their own.

    Procedure

    To lock down a GSettings key:

    1. Create a locks subdirectory in the keyfile directory such as /etc/dconf/db/local.d/locks/ .
    2. Add any number of files with keys that you want to lock into this directory.

    Example 6.1. Locking the settings for the default wallpaper

    1. Set a default wallpaper.
    2. Create a new /etc/dconf/db/local.d/locks/ directory.

    Create a new file in /etc/dconf/db/local.d/locks/00-default-wallpaper with the following contents, listing one key per line:

    Update the system databases:

    6.7. Storing user settings over NFS

    For dconf to work correctly when using Network File System (NFS) home directories, the dconf keyfile back end must be used.

    Note that dconf keyfile back end only works properly if the glib2-fam package is installed. Without this package, notifications on configuration changes made on remote machines are not displayed properly.

    With Red Hat Enterprise Linux 8, glib2-fam is available in the BaseOs repository.

    To set the dconf keyfile back end :

    Ensure that the glib2-fam package is installed on the system.

    To verify whether the package is installed on the system:

    If glib2-fam is not in the list of installed packages, install it by running:

    At the very beginning of /etc/dconf/profile/user file , add the following line:

    The dconf keyfile back end takes effect the next time that the user logs in. It polls the keyfile to determine whether updates have been made, so settings may not be updated immediately.

    6.8. Setting GSettings keys properties

    This section describes how to set GSettings keys properties for a single-logged user.

    Each GSettings key can have only one value in a dconf database. Setting the same key to a different value at a different place of the dconf database overrides the previous value.

    Values of some keys are of array type. For array type, you can specify the value of the key as a list of multiple elements separated by a comma.

    To set a GSettings key of array type, follow this syntax:

    The following example shows setting of the org.gnome.desktop.input-sources.xkb-options GSettings key whose value is of array type: ⁠

    Example settings of the org.gnome.desktop.input-sources.xkb-options GSettings Key

    6.9. Working with GSettings keys on command line

    This section focuses on using of the gsettings command to configure, manipulate and manage the GSettings keys. The most frequent use cases that can be resolved by using the gsettings command are shown.

    6.9.1. Setting key value

    To set a value of a key:

    Note that the value is specified as a serialised GVariant.

    Example 6.2. Adding selected applications into the favorite applications key

    To add selected applications among your favorite applications:

    If the operation succeeds, no return code is shown. As a result, all listed applications are added to favorite applications. The change is valid immediately.

    6.9.2. Monitoring key changes

    To monitor a key for changes and print values that changed:

    Note that if the KEY argument is not specified, all keys in the schema are monitored. Monitoring continues until the process is terminated.

    Example 6.3. Monitoring changes of the favorite applications key

    To monitor the changes of the favorite applications key, open two terminals and run:

    In the first terminal:

    In the second terminal:

    As a result, a notification whether and how favorite applications changed is displayed in the first terminal:

    6.9.3. Checking whether key is writable

    To check whether a key is writable:

    Example 6.4. Checking whether the favorite applications key is writable

    To check whether the favorite applications key is writable:

    As a result, the return code shows True .

    6.9.4. Checking key valid values

    To check the range of valid values for a key:

    Example 6.5. Checking the range of valid values for the remember-mount-password key

    To check valid values for the remember-mount-password key :

    As a result, the return code displays type of the key value, which is type b in this particular case. For more information, see GNOME developer.

    6.9.5. Checking description of valid key values

    To check the description of valid values for a key:

    Example 6.6. Checking the description of valid values for the picture-uri key

    To check the description of valid values for the picture-uri key:

    As a result, the following output is displayed:

    6.9.6. Querying key value

    To get the value of a key:

    Note that the value is displayed as a serialised GVariant.

    Example 6.7. Querying value of the remember-mount-password key

    To get value of the remember-mount-password key:

    As a result, the return code displays false .

    6.9.7. Resetting key value

    To reset the value of a key:

    If resetting succeeds, no return code is displayed. Default values are in stored dconf and gsettings-desktop-schemas files.

    Example 6.8. Resetting the lock-delay key to its default value

    The default value of the lock-delay key is 0, and it is stored in the /usr/share/glib-2.0/schemas/org.gnome.desktop.screensaver.gschema.xml file.

    Users can set the value of lock-delay as needed.

    For example, to set the lock-delay key for screensaver to 200:

    To reset the lock-delay key for screensaver to its default value:

    As a result, the value of lock-delay value is set to 0.

    6.9.8. Resetting schema

    To reset a schema:

    Example 6.9. Resetting the org.gnome.desktop.screensaver schema to its defaults

    To reset the org.gnome.desktop.screensaver schema to its defaults:

    As a result, the lock-delay value is reset to 0, and other keys within the org.gnome.desktop.screensaver schema that were changed by user are reset to their defaults as well.

    6.9.9. Listing installed non-relocatable schemas

    To list installed schemas that are non-relocatable:

    If the [—print-paths] argument is specified , the path where each schema is mapped is printed as well.

    Example 6.10. Listing installed non-relocatable schemas

    To list all schemas installed on your system that are non-relocatable:

    As a result, a full list of schemas is returned. The following list is truncated.

    6.9.10. Listing schema keys

    To list the keys that are in the selected schema:

    Example 6.11. Listing keys in the org.gnome.shell schema

    To list keys in the org.gnome.shell schema:

    As a result, a list of keys is returned. The following list is truncated.

    6.9.11. Listing schema children

    To list children of a selected schema:

    Note that the list is empty if there are no children.

    Example 6.12. Listing children of the org.gnome.shell schema

    To list children of the org.gnome.shell schema:

    As a result, the following output is returned:

    6.9.12. Listing schema’s keys and values

    To list keys and values of a selected schema recursively:

    Note that if the schema whose keys you want to list is not specified, all keys within all schemas are listed.

    Example 6.13. Listing keys and values recursively

    To list keys and values in all schemas recursively:

    As a result, all key and values in all schemas on system are listed, as shown below. Note that the following list is truncated.

    6.10. Acknowledgements

    Certain portions of this text first appeared in the GNOME Desktop System Administration Guide. Copyright © 2014 The GNOME Project, Michael Hill, Jim Campbell, Jeremy Bicha, Ekaterina Gerasimova, minnie_eg, Aruna Sankaranarayanan, Sindhu S, Shobha Tyagi, Shaun McCance, David King, and others. Licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.

    The editors of this Red Hat Enterprise Linux 8 documentation would like to thank the GNOME community members for their valuable contributions to the GNOME Desktop System Administration Guide.

    Источник

    Читайте также:  Висит надпись загрузка windows
    Оцените статью
    Key Name Possible Values Description