Comment 0 for bug 856884

Revision history for this message
Jeremy BĂ­cha (jbicha) wrote : Running unity --reset breaks metacity keyboard shortcut defaults

Running unity --reset breaks Alt-F2 for the run command, Meta+D to show desktop, and Alt+F1 to show the main menu. I believe Unity itself ignores these metacity settings, but this breaks GNOME Shell & other similar sessions.

See also https://launchpad.net/ubuntu/+source/compiz/1:0.9.5.94+bzr2803-0ubuntu4 which I guess "fixed" the Ctrl-Alt-T shortcut.

TEST CASE
1. cd ~/.gconf/apps
2. mv metacity metacity-old
3. unity --reset
4. Within a minute or so, a new metacity folder is created
5. cat metacity/global_keybindings/%gconf.xml
<?xml version="1.0"?>
<gconf>
 <entry name="panel_run_dialog" mtime="1316732563" type="string">
  <stringvalue>disabled</stringvalue>
 </entry>
 <entry name="run_command_terminal" mtime="1316732563" type="string">
  <stringvalue>&lt;Control&gt;&lt;Alt&gt;T</stringvalue>
 </entry>
 <entry name="panel_main_menu" mtime="1316732563" type="string">
  <stringvalue>disabled</stringvalue>
 </entry>
 <entry name="show_desktop" mtime="1316732562" type="string">
  <stringvalue>&lt;Control&gt;&lt;Alt&gt;d</stringvalue>
 </entry>
</gconf>

What should happen:
I think unity --reset should delete these strings which will reset settings to their defaults instead of setting new, wrong settings.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: unity 4.16.0-0ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic x86_64
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,grid,imgpng,gnomecompat,wall,ezoom,workarounds,resize,fade,unitymtgrabhandles,scale,session,unityshell]
Date: Thu Sep 22 19:05:28 2011
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)