Solution to the disappearance of Ubuntu title bar

Source: Internet
Author: User
I don't know where to modify the configuration. As a result, the title bar of all windows in Ubuntu is hidden. I checked a lot of information on the website. The solution is generally as follows: Temporary method: sudometacity -- replace Method 2: modify/etc/X11/xorg. in the conf file, add Option "AddARGBGLXVisuals" "True" to Section "Screen", but cannot find/etc/X11/xorg. con

I don't know where to modify the configuration. As a result, the title bar of all windows in Ubuntu is hidden. I checked a lot of information and the solution is as follows:

Temporary method: sudo metacity -- replace

Method 2: Modify the/etc/X11/xorg. conf file and add Option "AddARGBGLXVisuals" "True" to Section "Screen"

However, the/etc/X11/xorg. conf file cannot be found in my computer.

The configuration file under the original/home is added, and the problem occurs again, so it is determined that it is a configuration problem, rather than a system failure.

After dozens of attempts, we finally found the crux of the problem.

File:

Under the root directory of the user ~ /. Local/share/applications/metacity. desktop

My configuration is as follows (the row number is on the left ):

1 [Desktop Entry]
2 Exec = metacity
3 Hidden = true # The key is to make this sentence difficult. Just comment it out (Add "#" before it) or delete it.
4 Name = Metacity
5 NoDisplay = true
6 Type = Application
7 X-GNOME-Autostart-policy = true
8 X-GNOME-Autostart-Phase = WindowManager
9 X-GNOME-Bugzilla = GNOME
10 X-GNOME-Bugzilla-Component = general
11 X-GNOME-Bugzilla-Product = metacity
12 X-GNOME-Provides = windowmanager
13 X-GNOME-WMName = Metacity
14 X-GNOME-WMSettingsModule = metacity
15 X-GnomeWMSettingsLibrary = metacity
16 X-Ubuntu-Gettext-Domain = metacity

Save the modification, log out, and enter again to solve the problem.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.