ubuntu 10.04 更改最大化 最小化 关闭 按钮 位置

来源:互联网 发布:手机自动呼叫软件 编辑:程序博客网 时间:2024/05/22 03:37

方法一:

命令方式:在命令行输入:

gconftool-2 --set /apps/metacity/general/button_layout --type string "menu:minimize,maximize,close"


方法二:

利用 gconf-editor试图编辑模式

gconf-editor为GNOME桌面环境下的一个配置编辑软件,它可以看做是gconftool的GUI版。它可以管理GNOME配置的注册表项,界面功能类似WINDOWS下的注册表)

1. Alt + F2 ,运行 gconf-editor,(可以用命令行打开gconf-editor软件)

  • 2. 在左侧目录树中,找到 /apps/metacity/general/
  • 3. 在右侧找到键: button_layout , 修改值为 menu:minimize,maximize,close


  • 方法二图示:
  • How to move the window buttons

    The window button locations are dictated by a configuration file. We’ll use the graphical program gconf-editor to change this configuration file.

    Press Alt+F2 to bring up the Run Application dialog box, enter “gconf-editor” in the text field, and click on Run.

    sshot-2

    The Configuration Editor should pop up.

    sshot-3

    The key that we want to edit is in apps/metacity/general.

    Click on the + button next to the “apps” folder, then beside “metacity” in the list of folders expanded for apps, and then click on the “general” folder.

    sshot-4

    The button layout can be changed by changing the “button_layout” key. Double-click button_layout to edit it.

    Change the text in the Value text field to:

    menu:maximize,minimize,close

    sshot-5

    Click OK and the change will occur immediately, changing the location of the window buttons in the Configuration Editor.

    sshot-6

    Note that this ordering of the window buttons is slightly different than the typical order; in previous versions of Ubuntu and in Windows, the minimize button is to the left of the maximize button.

    You can change the button_layout string to reflect that ordering, but using the default Ubuntu 10.04 theme, it looks a bit strange.

    sshot-7

    If you plan to change the theme, or even just the graphics used for the window buttons, then this ordering may be more natural to you.

    After

    After this change, all of your windows will have the maximize, minimize, and close buttons on the right.

    sshot-8

    What do you think of Ubuntu 10.04’s visual change? Let us know in the comments!

  • 原创粉丝点击