I know I can edit gconf to move the [Minimize,Maximize,Close] buttons back to the right-hand side, but is there a way to do this for all users?
Ideally at install time so I don't have to explain this to every user every time I set up a new machine.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
I don't know about install time, but when new users are created, the files from
/etc/skel are copied to the new home directory. You could add a file
with the contents
<?xml version="1.0"?> <gconf> <entry name="button_layout" mtime="1273173410" type="string"> <stringvalue>:minimize,maximize,close</stringvalue> </entry> </gconf>
Or you could create the perfect user-setup (let's name him
perfectuser) on a new account, and replace
That way, each new user you create would have the same configuration as
Maybe the install CD could also be modified in a similar way?
To change the setting for all users, you could write a script that adds
<entry name="button_layout" mtime="1273173410" type="string"> <stringvalue>:minimize,maximize,close</stringvalue> </entry>
Download UbuntuTweak go to Window Manager Settings and click "Right"
Edit: I'm not exactly sure if this does it for all users but it is easy.
For people arriving late like me when the above solutions may not work anymore, you can also use gsettings for this:
gsettings set org.gnome.desktop.wm.preferences button-layout 'appmenu:minimize,maximize,close'