Choose style:

Author Topic: Open / Close Menu keybind (SOLVED)  (Read 2093 times)

0 Members and 1 Guest are viewing this topic.

Offline Hasimir0

  • Jr. Member
  • **
  • Posts: 51
  • Karma: 2
  • Just Wandering Around
    • View Profile
    • UnPlayableGames.tk
  • Peppermint version(s): Peppermint 4
Open / Close Menu keybind (SOLVED)
« on: July 16, 2014, 06:16:08 pm »
Hi

I'd like to bind the opening (and closing? is it possible?) of the MENU to the Win key.
In the Peppermint Control Center I found the panel to bind keys... is the Win key the "special" one? And can I bind without a combination? (as in Special+AnotherThing)

EDIT: I'm running Peppermint5  ;)
« Last Edit: July 20, 2014, 03:25:49 pm by Hasimir0 »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25725
  • Karma: 2822
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Open / Close Menu keybind
« Reply #1 on: July 18, 2014, 02:17:40 pm »
It can be done, but you'd need to change a couple of other keybindings that already use the "Win" (Super_L) key as a modifier.

Let me know if you want to continue.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Hasimir0

  • Jr. Member
  • **
  • Posts: 51
  • Karma: 2
  • Just Wandering Around
    • View Profile
    • UnPlayableGames.tk
  • Peppermint version(s): Peppermint 4
Re: Open / Close Menu keybind
« Reply #2 on: July 19, 2014, 03:34:35 am »
indeed I want to continue, thanks :)

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25725
  • Karma: 2822
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Open / Close Menu keybind
« Reply #3 on: July 19, 2014, 12:57:20 pm »
OK....

Bearing in mind that
Mod4
and
Super_L
are "Effectively" the same Key.

see the contents of this file:
Code: [Select]
gedit ~/.config/peppermint-control-center/xbindkeys.conf

You'd need to edit the entry that reads:-
Code: [Select]
#Menu-3
"lxpanelctl menu"
   Mod4+m
to
Code: [Select]
#Menu-3
"lxpanelctl menu"
   Super_L
But as Super_L = Mod4 .. you'd have to remap any keybindigs that contain Mod4 to use a different modifier .. and make sure they don't conflict with ANY of the other keybindings in both sections the peppermint Control Center keybindisngs list.

Did that make sense ?

If not .. have you edited ANY keybindings at all yet ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Hasimir0

  • Jr. Member
  • **
  • Posts: 51
  • Karma: 2
  • Just Wandering Around
    • View Profile
    • UnPlayableGames.tk
  • Peppermint version(s): Peppermint 4
Re: Open / Close Menu keybind
« Reply #4 on: July 19, 2014, 01:45:01 pm »
the Mod4 bndings are only 2, so no problem.
but a strage thing is... when I changed "Mod4+e" to "Super_L+e" ... it actually became "e" ... which was problematic XD
I resetted the original commands to Mod4 and just binded the open-menu action to Super_L ... it all seems to work fine now :)

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25725
  • Karma: 2822
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Open / Close Menu keybind
« Reply #5 on: July 20, 2014, 09:16:02 am »
So you can still open pcmanfm with Super+e ? .. that doesn't make sense   :-\

If you're going to have
Super_L
on its own for the menu

you CANNOT have
Super_L + e
or
Super_L + ANYTHING
or
Mod4 + ANYTHING
as they'll conflict.

Maybe use
Ctrl + e
Ctrl + r
for example .. but make sure that doesn't conflict with anything else in BOTH sections of the Peppermint Control Center shortcuts.
(I don't think they do
« Last Edit: July 20, 2014, 09:18:35 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Hasimir0

  • Jr. Member
  • **
  • Posts: 51
  • Karma: 2
  • Just Wandering Around
    • View Profile
    • UnPlayableGames.tk
  • Peppermint version(s): Peppermint 4
Re: Open / Close Menu keybind
« Reply #6 on: July 20, 2014, 03:10:21 pm »
apparently it doesn't conflict... it adds up :P
if I click win+e the effect is to both summon the Menu and open the File Manager
good thing there were only 2 bindings using it, and I never use them :)

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25725
  • Karma: 2822
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Open / Close Menu keybind
« Reply #7 on: July 20, 2014, 03:22:56 pm »
Cool .. I didn't expect that :)

Can you remember to mark the topic (SOLVED) please.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec