Misassigns metacity keybinding for opening terminal

Bug #529852 reported by Delan Azabani
34
This bug affects 5 people
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Invalid
Low
Unassigned
metacity (Ubuntu)
Fix Released
Undecided
Martin Pitt

Bug Description

I frequently use <Alt>whatever to jump to controls, but I am quite frustrated by the fact that Lucid, instead of going to the control marked <Alt>T, opens up a terminal when I press <Alt>T. This doesn't happen in Karmic.

I found it in GNOME Keyboard Shortcuts, and it was set to <Alt>T. I never did that; some update must have put in that as a default. This is not a good default in my opinion; <Alt>whatever is meant to be for jumping to controls with the keyboard - in CCSM I explicitly set <Super>Z to open a terminal but I also had to set it in GNOME Keyboard Shortcuts.

Please consider removing <Alt>T as a default key for opening a gnome-terminal from the GNOME Keyboard Shortcuts defaults.

Tags: lucid

Related branches

Vish (vish)
summary: - [Lucid] <Alt>T opens up terminal, even though I haven't assigned it
- anywhere
+ <Alt>T opens up terminal, even though I haven't assigned it anywhere
Vish (vish)
tags: added: lucid
Revision history for this message
Mitch Towner (kermiac) wrote : Re: <Alt>T opens up terminal, even though I haven't assigned it anywhere

I can confirm this behaviour in a fully updated stock-standard Lucid install. After discussing this issue with pitti, it is believed to be a case of compiz reading the metacity keybindings and doing something strange with them.

http://ubuntu.pastebin.com/SnG0nep0 contains the output of:
$ gconftool -a --ignore-schema-defaults /apps/metacity/global_keybindings

&

$ grep -A1 run_command_terminal /var/lib/gconf/debian.defaults/%gconf-tree.xml

Running:
$ gconftool -u /apps/metacity/global_keybindings/run_command_terminal
removes the ALT+T binding only until the session is restarted. Upon restarting the session, the ALT+T binding returns.

affects: ubuntu → compiz (Ubuntu)
Changed in compiz (Ubuntu):
status: New → Confirmed
Revision history for this message
Mitch Towner (kermiac) wrote :

Unsure if this is relevant, but I have attached hardware-info.html. It is the output of:
$ sudo lshw -html > harware-info.html

Revision history for this message
Mitch Towner (kermiac) wrote :

As this has enough info for a dev to work on it, I am setting this this to triaged & assigning to pitti at his request.

Changed in compiz (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → Low
status: Confirmed → Triaged
Revision history for this message
Martin Pitt (pitti) wrote :

The gconf default for the metacity key is correct, but as demonstrated on IRC, compiz sets the key for the user during login with that wrong key combination.

I don't quite understand how compiz' key bindings work in that regard. For now I'll just revert the metacity change to avoid this problem.

summary: - <Alt>T opens up terminal, even though I haven't assigned it anywhere
+ Misassigns metacity keybinding for opening terminal
Changed in compiz (Ubuntu):
assignee: Martin Pitt (pitti) → nobody
Changed in metacity (Ubuntu):
status: New → In Progress
assignee: nobody → Martin Pitt (pitti)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package metacity - 1:2.28.1-0ubuntu3

---------------
metacity (1:2.28.1-0ubuntu3) lucid; urgency=low

  * Revert terminal keybinding from previous upload, it triggers a compiz
    keybinding bug. (LP: #529852)
 -- Martin Pitt <email address hidden> Tue, 02 Mar 2010 17:43:08 +0100

Changed in metacity (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Johan Kiviniemi (ion) wrote :

I think the gconf value should have been <Control><Alt>T, not <Ctrl><Alt>T. Compiz probably just ignores <Ctrl>.

Revision history for this message
Martin Pitt (pitti) wrote :

Oops, thanks for pointing out. Funny that it worked with <Ctrl> as well sometimes...

Changed in compiz (Ubuntu):
status: Triaged → Invalid
Revision history for this message
Mitch Towner (kermiac) wrote :

I have found that I needed to run "gconftool -u /apps/metacity/global_keybindings/run_command_terminal" then restart the session for the updated keybinding - <Control><Alt>T to stick. Before running this command, <ALT>T still opened a terminal window
This is with metacity (1:2.28.1-0ubuntu4) installed.

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Might be a dup of bug #524884 ...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.