Disable, maximize, minimize, and menu buttons in the title bar of the Ubuntu call-up window

Source: Internet
Author: User
After an automatic Ubuntu upgrade, we found that all windows were maximized, and the "minimize and close" button disappeared. There is an article on the Internet to solve this problem: change their location and order. For metacity window manager, you can edit apps/metacity/general/button_layout in Gconf. Its value must be a string, such as "menu: minimize, maximize, close ";

After an automatic Ubuntu upgrade, we found that all windows were maximized, and the "minimize and close" button disappeared.

There is an article on the Internet to solve this problem:

Change their location and order
For the metacity window manager, you can edit apps/metacity/general/button_layout in Gconf. The value must be a string, such as "menu: minimize, maximize, close". The upper left corner and the upper right corner of the window are separated by a comma. Duplicate buttons are not allowed. Unknown button names are ignored. Therefore, you can add new buttons in metacity of future versions without damaging old versions.

So I tried to call up the metacity window manager, but it was not successful. $ Metacity

Window Manager warning: the screen 0 on ": 0.0" already has a window manager. Please try replacing the current window manager with the -- replace option.

Is the current window manager not metacity? Then, follow the prompts to run the replace option to replace the current window manager: $ metacity -- replace

After that, the screen refreshed and all the buttons came out, which is too strange.

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.