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.