Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Example Analysis of OpenSUSE Desktop Startup Settings

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article shares with you the content of a sample analysis of OpenSUSE desktop startup settings. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

OpenSUSE Desktop Startup setup requirements

OpenSUSE 10.2 is installed normally with desktop environment, and the video card driver is installed and 3D acceleration is turned on.

If you don't know how to install the driver and open 3D, see the ATI driver tutorial, the NVIDIA driver tutorial. Do not do the following if 3D acceleration is not turned on.

A brief introduction of Xorg/XGL/Beryl/Compiz relationship

This passage is not professional and rigorous, just for ease of understanding.

Xorg and XGL can be simply understood as two kinds of X server. The difference between the latter and the former is that they add an extra layer to the former and can support 3D desktops. Their function is to provide low-level support for displaying graphical interfaces.

X server requires a desktop environment, usually KDE / Gnome, which can be chosen according to your preferences.

On top of that is the window manager, which is responsible for tasks such as which window is the current window, which window is minimized, and which should be *. Beryl is a typical window manager.

Above the window manager is the window decorator, which is responsible for providing borders, * minimize buttons, and so on, to the window, such as Emerald/Aquamarine. If your window does not have a border, there is usually a problem with the window decorator.

It should be noted that the functions of window manager and window decorator can be implemented by a program; for example, the window manager that comes with KDE is Kwin,Gnome 's own Metacity;, and both are also responsible for decorating windows.

Now we know that, regardless of the video card driver and so on, the general level of the graphical interface display under Linux is:

X server-> Desktop Environment (KDE/Gnome..)-> window Manager-> window decorator if there is a problem with any level, or if the two levels do not match, it will not be displayed correctly. Analyze a typical KDE desktop and its hierarchy is as follows: Xorg-> KDE-> Kwin

To implement Beryl 3D desktops, the hierarchy should be:

XGL-> KDE/Gnome (either)-> beryl-> emerald or aquamarine idea should be to install the Beryl package first, then open the XGL bottom layer, and then use beryl + decorator to replace the window management / decoration program that comes with the desktop environment after entering the desktop environment.

Add Beryl installation source

Beryl is voluntarily packaged by Cyberorg in the opensSUSE package build service to install the source address (for 10.2 use only, restate):

Protocol-HTTP server name-software.opensuse.org directory name-/ download/X11:/XGL/openSUSE_10.2/

To join the YaST installation source, you need to make sure that the installation source list contains the 10.2 installation CD or equivalent energy. If not, see add installation Source.

If you can find a faster mirror server, you can change the address as appropriate, or if you use smart for package management, add this source to the channel as well.

If you want to download a manual installation, make sure you already know how to handle dependency issues; otherwise, add the source installation. Software package and version selection

First check to update your xgl package.

The following packages in the source are required to be installed using beryl:

Beryl-coreberyl-settingsberyl-managerberyl-plugins then you need to choose a window decorator, with emerald and aquamarine in the source, the former for both Gnome/KDE environments and the latter for KDE only. Emerald provides a lot of skin themes, while aquamarine reads KDE's default window settings to decorate the window. KDE users can install both.

Emerald needs two packages to emerald,emerald-themes;aquamarine one package.

Click OK in YaST and wait for the installation to complete.

Note: the test package that ends with snapshot is the equivalent of the Beta version, and the effect may be more, but it is unstable; if you need stability, a package without snapshot ending is recommended. In addition, do not install both snapshot and stable version, and you should also uninstall the original stable version before you need to install snapshot version.

OpenSUSE Desktop Startup Settings enable XGL

Gnome users can launch XGL in the control center-desktop effect is convenient. Here is a common method for KDE/Gnome:

YaST-> system-> / etc/sysconfig Editor

The value of Desktop-> Display Manager-> DISPLAMANAGER_XSERVER has been changed from Xorg to Xgl, and click finish.

Similarly, if you need to change the underlying X server back to Xorg, change this value back to Xorg.

Note: if you restart now, the system will start with XGL as the bottom, while the upper window manager has not been changed to Beryl, the display will be very slow.

Video card driver adjustment

Open the terminal and run the xgl correction script according to your graphics card to avoid problems with running XGL on your graphics card. To complete this step, do not restart.

Intel

Sucd / etc/X11sh xgl-intel-setup.sh

ATI

Sucd / etc/X11sh xgl-fglrx-setup.sh

OpenSUSE Desktop Startup configuration beryl 3D Desktop Auto launch

After logging in to the desktop environment, beryl is still not used as the window manager by default, and some configuration is needed. After completing these configurations, you can restart, you should be able to use the Beryl 3D desktop directly, and you can right-click the diamond icon (beryl-manager) in the notification area for further configuration.

[edit] Gnome

Open the Control Center-> session-> start the program and add the following two items:

Beryl-managerberyl

[edit] KDE

First of all, turn off transparency to avoid possible conflicts, K menu-> configure Desktop, Desktop-> window behavior-> Transparency, remove the hook in front of using transparency / shadow, and make sure.

Let Beryl start automatically, open the terminal under the ordinary user, and execute:

Ln-s / usr/bin/beryl-manager ~ / .kde/Autostart/beryl-managerln-s / usr/bin/beryl ~ / .kde/Autostart/beryl

[editor] FAQ

[edit] KDE prompts composite manager to crash and cannot enable Beryl

Please turn off transparency, as mentioned above: K menu-> configure Desktop, Desktop-> window behavior-> Transparency, remove the hook in front of the use of transparency / shadow, and restart after confirmation. If not, it may be that the CD comes with a compiz package that conflicts with beryl: surpm-e compiz

Thank you for reading! This is the end of this article on "sample Analysis of OpenSUSE Desktop Startup Settings". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report