Cannot set <Super> to open the Main Menu in Gnome, like I can do in windows

Asked by Gursimran singh

Binary package hint: compiz

I want to have my old practice of using the <super> (windows key) to open the main menu in Gnome panel. I have also configured my Main menu to appear Botton left as in windows os (see the pic included). This is my natural practice and I have pain to leave it.

Although option appears to set any shortcut to open main menu, I cannot have it working rather I have any other option working like <super> + q , it works perfectly fine but only <super> does not work.

This option exist in Main Menu>System>Prefrences>CompizConfig Settings manager > Gnome Compatability>General (see pic uploaded)

I cannot also set the <super> with Grab key, only I have to manually edit the command and write <super> to it, This works for any other command like run but doess not work with 'Show Main menu'

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: compiz 1:0.8.4-0ubuntu15
ProcVersionSignature: Ubuntu 2.6.32-24.41-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
CompizPlugins: [core,ccp,move,resize,place,decoration,session,text,mousepoll,regex,resizeinfo,snap,png,vpswitch,workarounds,svg,imgjpeg,shift,commands,dbus,neg,gnomecompat,wobbly,animation,fade,cube,scale,expo,rotate,ezoom,scaleaddon,staticswitcher]
Date: Sat Aug 21 13:52:34 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
MachineType: Sony Corporation VPCCW16FG
PackageArchitecture: all
PciDisplay: 01:00.0 VGA compatible controller [0300]: nVidia Corporation GT216 [GeForce GT 230M] [10de:0a2a] (rev a2)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-24-generic root=UUID=012ed88f-fa90-4287-9222-b41da0b8d0ab ro quiet splash
ProcEnviron:
 LANG=en_IN
 SHELL=/bin/bash
RelatedPackageVersions:
 xserver-xorg 1:7.5+5ubuntu1
 libgl1-mesa-glx 7.7.1-1ubuntu3
 libdrm2 2.4.18-1ubuntu3
 xserver-xorg-video-intel 2:2.9.1-3ubuntu5
 xserver-xorg-video-ati 1:6.13.0-1ubuntu5
SourcePackage: compiz
dmi.bios.date: 09/22/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: R0190Y5
dmi.board.asset.tag: N/A
dmi.board.name: VAIO
dmi.board.vendor: Sony Corporation
dmi.board.version: N/A
dmi.chassis.asset.tag: N/A
dmi.chassis.type: 10
dmi.chassis.vendor: Sony Corporation
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrR0190Y5:bd09/22/2009:svnSonyCorporation:pnVPCCW16FG:pvrC602E0UF:rvnSonyCorporation:rnVAIO:rvrN/A:cvnSonyCorporation:ct10:cvrN/A:
dmi.product.name: VPCCW16FG
dmi.product.version: C602E0UF
dmi.sys.vendor: Sony Corporation
system: distro = Ubuntu, architecture = i686, kernel = 2.6.32-24-generic

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu compiz Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was originally filed as bug #622129.

This question was reopened

Revision history for this message
Gursimran singh (simar) said :
#1
Revision history for this message
Marcel Stimberg (marcelstimberg) said :
#2

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker.

Revision history for this message
Marcel Stimberg (marcelstimberg) said :
#3

This is intentional, <super> is a modifier key like Alt or Shift -- you can't set a keyboard shortcut to one of those, either.

That said, typing
gconftool-2 --set /apps/metacity/global_keybindings/panel_main_menu --type string "Super_L"
in a terminal should do the trick for the left <super> key.

Revision history for this message
Marcel Stimberg (marcelstimberg) said :
#4

Sorry, launchpad added a line break before "Super_L" that should of course be part of the same line.

Revision history for this message
Gursimran singh (simar) said :
#5

Thanks Marcel Stimberg, that solved my question.

Revision history for this message
Gursimran singh (simar) said :
#6

Thanks Marcel Stimberg,

This solved my problem to great extend though but still some issue remains. Now I want the menu to disappear when its already open by pressing the SUPER_L.. like I can do in windows.

Revision history for this message
Marcel Stimberg (marcelstimberg) said :
#7

I see what you mean... I do not think this is possible at the moment, because closing a menu is nothing that you can assign a key combination to. In general, you can of course use the Escape key to close the menu like any other menu.

(You could try asking this at ubuntu.stackexchange.com -- possibly your question gets a bit more attention there.)

Revision history for this message
Gursimran singh (simar) said :
#8

Oh my god!
Havoc has happened in my pc here. I have lost all my key bindings that I used to have like <Super> + R for run, <Super> + T for terminal. I'm sure you can tell me how to undo this operation or how can I have my old shortcuts and this new one.

Revision history for this message
Marcel Stimberg (marcelstimberg) said :
#9

Well, that's exactly the reason why you shouldn't use a modifier key as a shortcut :-) If you have two Super/Windows keys, the right one should still work for the shortcuts while the left one opens the menu...

If you change the keyboard shortcut for the main menu back to its old value ("Alt+F1") everything should be back normal. You can do that in the menu (Preferences -> Keyboard Shortcuts) or use the above command but with "Alt+F1" instead of "Super_L". I don't know of any way to have both things (<Super> alone for menu, <Super>+other keys for shortcuts) working at the same time, but that doesn't necessarily mean it's impossible...

Revision history for this message
Gursimran singh (simar) said :
#10

Well thanks Marcel for help,

I hope if you could keep this question open if someone else can help here, further I have created another question at the site you told.. once again thanks ..

Revision history for this message
Marcel Stimberg (marcelstimberg) said :
#11

I think only you as the reporter can set the status back to open after I answered it...

Revision history for this message
Gursimran singh (simar) said :
#12

I just need you advice on this..

The question is still unresolved, see abive

Revision history for this message
Launchpad Janitor (janitor) said :
#13

This question was expired because it remained in the 'Open' state without activity for the last 15 days.