6

I have installed gnome-tweak-tool in Ubuntu 14.04 Unity, then chose Windows -> Windows action keys -> Disabled (previously was Alt). After that Unity windows buttons stopped working for that Ubuntu user.

I wonder how could I make buttons work as previously. I tried uninstalling gnome-tweak-tool, but it didn't help.

4 Answers 4

5

Actually, you can simply open GNOME-tweak-tool (in GNOME), and click on its icon in the top panel. You should see an option that says "Reset to Defaults."

1
  • I cannot see this option. Where is it?
    – Karlom
    Dec 24, 2018 at 12:04
4

Here's a super easy solution.

Reinstall gnome-tweak-tool with

sudo apt-get install gnome-tweak-tool

Run Tweak Tool

choose Windows and change the setting for Windows action keys from Disabled to ALT

WindowTweaks

This will undo the change you made and make the buttons work as they did previously.

4
  • I tried it. When I set Windows action keys to ALT, nothing happends. I see some kind of Python exception in terminal. After this I tried to log out and in, the option is again set to Disabled.
    – niekas
    Feb 19, 2015 at 21:05
  • Sorry, I ran Tweak Tool through the GUI so I didn't see anything in the terminal. I'll try it your way if you will be so kind as to define "some kind of Python exception". Perhaps the exact error message would be more useful than just the indication that there is an error.
    – Elder Geek
    Feb 19, 2015 at 21:12
  • Well, I could not reproduce the problem. This fix works for me now. The exception I mentioned occurred on gnome-tweak-tool startup and was: WARNING : Error detecting shell Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/gtweak/tweaks/tweak_group_shell_extensions.py", line 284, in __init__ raise Exception("Shell not running or DBus service not available") Exception: Shell not running or DBus service not available
    – niekas
    Feb 19, 2015 at 21:30
  • I'm glad it's resolved now. I got a similar response trying to run in a terminal (I think this is common when attempting to run GUI based apps from the CLI)
    – Elder Geek
    Feb 19, 2015 at 21:38
2

I followed the jrg guide how to reset GNOME to its defaults. I simply had to execute this command in terminal:

rm -rf .gnome .gnome2 .gconf .gconfd .metacity .cache .dbus .dmrc .mission-control .thumbnails ~/.config/dconf/user ~.compiz*

And Unity windows buttons started working properly.

0

One can recover from that by running the following command:

dconf write /org/gnome/desktop/wm/preferences/mouse-button-modifier "'<Alt>'"

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .