Results 1 to 8 of 8

Thread: How to "reset" the Close, Minimize, Maximize buttons?

  1. #1
    Join Date
    Sep 2009
    Location
    Oslo
    Beans
    12
    Distro
    Ubuntu Studio 9.04 Jaunty Jackalope

    How to "reset" the Close, Minimize, Maximize buttons?

    Ok, I've been toying around with Ubuntu making it look like OS X (again) and got it working and looking the way I wanted. But the "Oooh" effect has now worn off, and I wanted something more subtle on the eyes.

    I changed the theme back to a default theme, but the minimize/maximize/close buttons are on the left side (like mac) and I'd love to get them back to their default position on the right side.

    I'm no wizard when it comes to this stuff, so keep that in mind.


  2. #2
    Join Date
    Oct 2007
    Location
    Chennai, India
    Beans
    3,804
    Distro
    Ubuntu Development Release

    Re: How to "reset" the Close, Minimize, Maximize buttons?

    Quote Originally Posted by CBR1100XX View Post
    the minimize/maximize/close buttons are on the left side
    get them back to their default position on the right side.

    Open gconf-editor by pressing Alt+F2, and giving the command
    Code:
    gconf-editor
    ; then browse to /apps/metacity/general/button_layout
    , and change the layout order. The button preceding the ":" will appear in the left corner of the title, and the buttons succeeding the ":" will appear in the right edge.

    As an example, I use
    Code:
    menu:minimize,maximize,spacer,close
    Cheers,PRShah
    Make your own: Ubuntu, Kubuntu, Xubuntu, Mythbuntu All-in-One Live DVD
    "I never make mistakes; I thought I did, once.. but I was wrong."

  3. #3
    Join Date
    Sep 2009
    Location
    Oslo
    Beans
    12
    Distro
    Ubuntu Studio 9.04 Jaunty Jackalope

    Re: How to "reset" the Close, Minimize, Maximize buttons?

    Thank you PRS, appreciate the help!

  4. #4
    Join Date
    Jan 2010
    Beans
    87
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: How to "reset" the Close, Minimize, Maximize buttons?

    Thank you, brilliant solution!

  5. #5
    Join Date
    Feb 2007
    Beans
    53
    Distro
    Ubuntu Karmic Koala (testing)

    Re: How to "reset" the Close, Minimize, Maximize buttons?

    The cleanest way to restore the window button position is to install the right aligned theme:

    Step-by-step procedure:
    1. Download the modified theme http://people.ubuntu.com/~dylanmccal...e-Right.tar.gz
    2. Open the menu "System" > "Preferences" > "Appearance"
    3. Click the button "Install"
    4. Open the folder "Downloads"
    5. Select the file "Ambience_Radiance-Right.tar.gz"
    6. Click "Open"
    7. Select the new theme "Ambiance-right"

    You then have both the standard unmodified left-aligned theme and the right-aligned theme available and can easily switch back and forth between them with a single click.

  6. #6
    Join Date
    Dec 2008
    Beans
    3

    Re: How to "reset" the Close, Minimize, Maximize buttons?

    Quote Originally Posted by prshah View Post
    Open gconf-editor by pressing Alt+F2,

    ...

    As an example, I use
    Code:
    menu:minimize,maximize,spacer,close
    my buttons mysteriously moved last night when I upgraded to lucid. Talk about disconcerting!

    this solution: instant fix.

  7. #7
    Join Date
    Sep 2006
    Location
    California
    Beans
    1,325
    Distro
    Xubuntu

    Re: How to "reset" the Close, Minimize, Maximize buttons?

    Quote Originally Posted by prshah View Post
    Open gconf-editor by pressing Alt+F2, and giving the command
    Code:
    gconf-editor
    ; then browse to /apps/metacity/general/button_layout
    , and change the layout order. The button preceding the ":" will appear in the left corner of the title, and the buttons succeeding the ":" will appear in the right edge.

    As an example, I use
    Code:
    menu:minimize,maximize,spacer,close
    I'm hoping that editing metacity will be a bit more intuitive in the future. There's no reason anyone would know how to edit that line in gconf-editor to get those results. "Window buttons on upper/lower right/left" should probably be part of System >> Preferences >> Appearance instead.

    The obsession with Mac at GNOME is out of control. Whatever happened to "sane defaults"? How does changing what no one is complaining about constitute "sane"? I would think "leave it alone" would be sane.
    “Men are born ignorant, not stupid. They are made stupid by education.” -- Bertrand Russell

  8. #8
    Join Date
    Oct 2007
    Location
    Chennai, India
    Beans
    3,804
    Distro
    Ubuntu Development Release

    Re: How to "reset" the Close, Minimize, Maximize buttons?

    Quote Originally Posted by ricardisimo View Post
    I'm hoping that editing metacity will be a bit more intuitive in the future.
    Oh it gets worse; actually, on most systems, the Desktop Manager is compiz and not metacity. Metacity does not even run unless compiz cannot be launched (which is getting rarer and rarer these days). Luckily, compiz reads metacity's preferences.

    I don't have the slightest idea how to reverse this if only Compiz's settings were involved.
    Cheers,PRShah
    Make your own: Ubuntu, Kubuntu, Xubuntu, Mythbuntu All-in-One Live DVD
    "I never make mistakes; I thought I did, once.. but I was wrong."

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •