Showing posts with label bugs. Show all posts
Showing posts with label bugs. Show all posts

Moving the minimize, maximize, close buttons

Metacity, Ubuntu's window manager, comes with the buttons to close, minimize and maximize the window over on the left, OSX-style by default (since Ubuntu version 10.04). Many users convert from Windows to Ubuntu, and prefer the buttons over on the right, Windows-style. Changing the location of the buttons is actually very simple. To move them back to the right, simply open Terminal and enter:
gconftool-2 --set /apps/metacity/general/button_layout --type string menu:minimize,maximize,close
To move them over to the left, enter:
gconftool-2 --set /apps/metacity/general/button_layout --type string close,minimize,maximize
The 10.04.1 version of the script contained this code, but since the script is run as root the command does not execute properly and did nothing.

Oh durn D:

Turns out that the KDE script had a little bug in it. When the script tried to install kdeutils, a package called kdelirc would be installed as a dependent. Unfortunately, aptitude installs "recommended" packages by default. One of these Recommended packages is lirc, which can't be installed non-interactively (as the script is). This causes the script to appear "locked up" because the input is being directed to the lirc install script.

I've fixed it now, but dang. I should have caught that in testing. Weird how I didn't.