Alt+Right-click doesn't work on gnome-panel when running compiz

Reported by Mehdi Fattahi on 2011-11-17
This bug affects 19 people
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
gnome-panel (Ubuntu)

Bug Description

With Metacity I can righ-click on Gnome (fallback) panel and add applets, but that doesn't work if I run compiz instead of Metacity.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gnome-panel 1:3.2.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic i686
NonfreeKernelModules: openafs
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Thu Nov 17 17:02:55 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
 PATH=(custom, no user)
SourcePackage: gnome-panel
UpgradeStatus: No upgrade log present (probably fresh install)


Instead of holding Alt and right clicking to edit the panel, hold Alt+Super and right click. With the addition of the Super key, Compiz itself ignores the event.

Mehdi Fattahi (mehdifattahi) wrote :
summary: - Alt+Right click doesn't work on gnome-panel when running compiz
+ Alt+Right-click doesn't work on gnome-panel when running compiz
Dmitry Shachnev (mitya57) wrote :

A workaround is to use Super+Alt+rightclick combination instead (Super is usually a windows-logo key).

Changed in gnome-panel (Ubuntu):
status: New → Confirmed
Changed in compiz (Ubuntu):
status: New → Confirmed
Fred (eldmannen+launchpad) wrote :

This is because the Alt-key + mouseclick is used for moving and resizing windows.

You can change Compiz to use the Win-key instead of the Alt-key.

gconftool-2 --set --type string /apps/metacity/general/mouse_button_modifier '<Super>'

glennric (glennric) wrote :

Compiz should only grab input for the alt key in combination with the left mouse button, and not with the right mouse button. If this were done correctly there would not be a conflict, and "Alt-Right Click" would still work with the panel, at the same time that "Alt-Left Click" is used for window moving.

description: updated
Dmitry Shachnev (mitya57) wrote :

Can anybody please check if it's still an issue in Ubuntu 12.10 (where all these settings have been moved to GSettings)?

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

Duplicates of this bug

Other bug subscribers