Making progress:
I found the file that needs attention:
/usr/share/gnome-shell/extensions/menu[@]linuxmint[.]com/extension.js
Remove brackets from around @ and .
This is the link to the file for review:
https://github.com/linuxmint/MGSE/bl...m/extension.js
There is two parts of interest:
Part1
Code:
MintButton.prototype = {
__proto__: PanelMenu.ButtonBox.prototype,
_init: function(menuAlignment) {
PanelMenu.ButtonBox.prototype._init.call(this, { reactive: true,
can_focus: true,
track_hover: true });
this.actor.connect('button-press-event', Lang.bind(this, this._onButtonPress));
this.actor.connect('key-press-event', Lang.bind(this, this._onSourceKeyPress));
Part2
Code:
_onSourceKeyPress: function(actor, event) {
let symbol = event.get_key_symbol();
if (symbol == Clutter.KEY_space || symbol == Clutter.KEY_Return) {
this.menu.toggle();
return true;
} else if (symbol == Clutter.KEY_Escape && this.menu.isOpen) {
this.menu.close();
return true;
} else if (symbol == Clutter.KEY_Down) {
if (!this.menu.isOpen)
this.menu.toggle();
this.menu.actor.navigate_focus(this.actor, Gtk.DirectionType.DOWN, false);
return true;
} else
return false;
},
Part two is the real focus. To alter this to allow Super_L as the symbol / key that toggles the menu. Still working out this part.
I have already used gconf-editor and configured the keys that were binded to the Super_L key to eliminate error messages and conflicts.
"main_menu_key" is= <Alt>F1
"panel_main_menu" is= <Alt>F1
"overlay_key" now= <Alt>F1 from= Super_L
"show_desktop" now= <Alt>F3 from= <Super>d
The main_menu_key, panel_main_menu, and overlay_key all open Activities Overview. As well does clicking on the "Infinity" button with the mouse cursor.
So before the changes there was three ways to toggle the Activities Overview. But only one way to toggle the "mintmenu"/"panelmenu", clicking on it with the mouse cursor.
Im trying to refrain from altering any Clutter files. Some of these js files are touchy as it is.
If anyone has any ideas. Please let me know.
Neq