1. 程式人生 > 實用技巧 >在Ubuntu 11.10中將視窗按鈕移回右側

在Ubuntu 11.10中將視窗按鈕移回右側

00_mwbuttons_window

As of Ubuntu 10.04, the minimize, maximize, and close buttons on all windows were moved to the left side and the system menu was removed. Prior to version 11.10, you could use several methods to restore the original button arrangement.

從Ubuntu 10.04開始,所有視窗上的“最小化”,“最大化”和“關閉”按鈕均移至左側,並且刪除了系統選單。 在版本11.10之前,您可以使用多種方法來還原原始按鈕排列。

To move the windows buttons in 10.04, 10.10, and 11.04, you could use Ubuntu Tweak or the Gnome-Art Manager or manually move the buttons using the Configuration Editor (gconf-editor). However, in Ubuntu 11.10 with the Gnome 3 desktop environment, these methods for moving the buttons are obsolete. The only way to move the buttons now is to use a program called Mwbuttons (Metacity Window Buttons) that allows you to specify the availability and position of the window buttons.

要在10.04、10.10和11.04中移動Windows按鈕,可以使用Ubuntu Tweak或Gnome-Art Manager或使用配置編輯器(gconf-editor)手動移動按鈕。 但是,在具有Gnome 3桌面環境的Ubuntu 11.10中,這些用於移動按鈕的方法已過時。 現在移動按鈕的唯一方法是使用一個名為Mwbuttons(城市視窗按鈕)的程式,該程式可用於指定視窗按鈕的可用性和位置。

To install Mwbuttons, download the Debian/Ubuntu DEB ALL file, not the tar.gz file.

要安裝Mwbuttons,請下載Debian / Ubuntu DEB ALL檔案

,而不是tar.gz檔案。

01_downloading_mwbuttons_deb_file

Go to the desktop or open the file manager (from the Places menu) and navigate to the folder where you saved the .deb file. Double-click on the file.

轉到桌面或開啟檔案管理器(從“位置”選單),然後導航到儲存.deb檔案的資料夾。 雙擊檔案。

02_running_deb_install_file

The Ubuntu Software Center opens and the mwbuttons screen displays. Click Install.

將開啟Ubuntu軟體中心,並顯示mwbuttons螢幕。 單擊安裝。

03_clicking_install

To install software, you must authenticate. Enter your password in the Password edit box on the Authenticate dialog box and click Authenticate.

要安裝軟體,您必須進行身份驗證。 在“身份驗證”對話方塊的“密碼”編輯框中輸入密碼,然後單擊“身份驗證”。

04_authenticate_dialog

The progress of the installation displays where the Install button was.

安裝進度顯示“安裝”按鈕所在的位置。

05_installation_progress

When the installation is done, “Installed” displays next to a check mark. To close the Ubuntu Software Center, click the X button on the window’s title bar.

安裝完成後,複選標記旁邊將顯示“ Installed”。 要關閉Ubuntu軟體中心,請單擊視窗標題欄上的X按鈕。

06_closing_ubuntu_software_center

To start mwbuttons, click the Dash home icon on the Unity desktop.

要啟動mwbutton,請單擊Unity桌面上的Dash主頁圖示。

06a_clicking_dash_home

Enter “mwbuttons” (without the quotes) in the search box. You don’t need to press Enter. Results are displayed as you type. Click the Metacity Window Buttons icon that displays.

在搜尋框中輸入“ mwbuttons”(不帶引號)。 您無需按Enter。 輸入時顯示結果。 單擊顯示的“ Metacity視窗按鈕”圖示。

07_searching_for_mwbuttons

The Metacity Window Buttons window displays. There are eight drop-down lists from which you can choose which buttons will be available and the order of the buttons on all windows in Ubuntu.

顯示“ Metacity視窗按鈕”視窗。 有八個下拉列表,您可以從中選擇可用的按鈕以及Ubuntu中所有視窗上的按鈕順序。

08_clicking_a_drop_down_list

For example, to put the close button back in its usual place, select the X button from the drop-down list on the far right side of the Metacity Window Buttons window.

例如,要將關閉按鈕放回其通常位置,請從“ Metacity視窗按鈕”視窗最右側的下拉列表中選擇X按鈕。

NOTE: The buttons available in each drop-down list are as follows, in this order: system menu, maximize, minimize, close. The maximize button is a toggle button. Clicking it once maximizes the window, if it isn’t already, and clicking it again returns it to its previous state.

注意:每個下拉列表中可用的按鈕如下,按此順序:系統選單,最大化,最小化,關閉。 最大化按鈕是一個切換按鈕。 單擊一次將最大化視窗(如果尚未開啟),然後再次單擊將其返回到先前狀態。

09_selecting_close_button

We selected the buttons as shown on the following image to put the window buttons back in their usual places.

我們選擇了下圖所示的按鈕,以將視窗按鈕放回其通常位置。

10_buttons_moved

Any window you open now will display the window buttons where you placed them.

現在開啟的任何視窗都會顯示放置按鈕的視窗按鈕。

11_buttons_on_file_manager

You can also quickly set the buttons to the way they were in Karmic Koala (9.10). To do this, move your mouse to the top panel on the desktop to access the menu bar for Metacity Window Buttons and select Karmic style from the Settings menu. You can also use this menu to go back to the style from Lucid Lynx (10.04) or you can even select the Mac OS X style. To go back to the previously set button arrangement, select Restore style.

您還可以將按鈕快速設定為Karmic Koala(9.10)中的按鈕。 為此,將滑鼠移到桌面的頂部面板上,以訪問“ Metacity視窗按鈕”的選單欄,然後​​從“設定”選單中選擇“業力樣式”。 您也可以使用此選單從Lucid Lynx(10.04)返回樣式,甚至可以選擇Mac OS X樣式。 要返回到先前設定的按鈕排列,請選擇“還原樣式”。

12_selecting_karmic_style

When you maximize a window on the Unity desktop in Ubuntu 11.10, the buttons go back to the left side in the following order: close, minimize, maximize. They also move to the top panel along with the menu. If you click the maximize button again, the buttons go back to where you placed them.

在Ubuntu 11.10中的Unity桌面上最大化視窗時,按鈕按以下順序返回左側:關閉,最小化,最大化。 它們也隨選單一起移至頂部面板。 如果再次單擊最大化按鈕,則按鈕將返回到放置它們的位置。

翻譯自: https://www.howtogeek.com/105315/move-the-window-buttons-back-to-the-right-in-ubuntu-11.10/