You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Can not override or disable the default key 'Alt' #6037
I second that. I use custom alt-i/j/k/l for caret movement. Didn't notice this until I made the menu bar to auto-hide (although it's not surprising behavior).
I hope they could fix this soon...I don't like to have a menu or window decorations, a lot of the hotkeys I use with my OS use the alt key so this is very obnoxious.
This actually works for disabling the default Alt binding as well!
It behaves a little differently than Alt, because the menu bar stays visible until you toggle it back off (and there's the popup, like @LoLei mentioned). I don't mind the "permanent" toggle, I actually prefer it that way.
Reacted by Warren, Leonardo Arroyo, Nathan Baker, Mengz , Marius Danila, Aaron Wright, Bogdan Bugarschi, rockiger, Zhu Wang, Paulo Diovani Gonçalves and 7 more
@LoLei Your rebinding idea was great, It worked...but now that I'm using Arch Linux the '.platform-win32, .platform-linux': line doesn't work anymore, I don't know why, but my solution works great, and I can still toggle menu from the settings window(if I ever need it), so If there's any other Linux user here using any other distro than Ubuntu and reading this, they can still bind alt key to nothing and rebind to other keys if they want to. You should already close this issue @mengzdsd :)
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!
Activity
leonardoarroyo commentedon Jul 2, 2015
I also need this. I use alt + left/right to switch windows and whenever I get to atom and release alt, the menu bar will pop.
dwelle commentedon Jul 2, 2015
I second that. I use custom
alt-i/j/k/lfor caret movement. Didn't notice this until I made the menu bar to auto-hide (although it's not surprising behavior).joerideg commentedon Aug 19, 2015
+1
uptownhr commentedon Nov 2, 2015
so any progress here? Can't use emacs bindings because of this.
giyyapan commentedon Nov 3, 2015
@uptownhr
try this:
got this method from here https://discuss.atom.io/t/alt-key-menu-bar-interaction-overrides-shortuts/9192/7?u=giyyapan
BTW, I'm using Ubuntu
LoLei commentedon Nov 4, 2015
@giyyapan Sadly didn't work,
altstill opens the menu bar with this.On Arch Linux.
giyyapan commentedon Nov 4, 2015
@LoLei Well, I've got no other idea then.
Sorry 😢
uptownhr commentedon Nov 4, 2015
@giyyapan that worked for me. I'm on ubuntu 14.04.
LoLei commentedon Nov 4, 2015
@giyyapan It's okay, thanks for the effort!
pvorona commentedon Dec 18, 2015
This is also happening to me.
Windows 10, Windows 7
supreme-gentleman commentedon Dec 21, 2015
I hope they could fix this soon...I don't like to have a menu or window decorations, a lot of the hotkeys I use with my OS use the alt key so this is very obnoxious.
supreme-gentleman commentedon Dec 21, 2015
This worked for me, I'm using Ubuntu with i3wm and OpenBox
Add this to your keymap.cson
'atom-text-editor':
'alt': ' '
I hope this works for you guys :) ...this was driving me crazy.
hobofan commentedon Dec 21, 2015
@angelojulioth Thank you, worked like a charm!
LoLei commentedon Dec 28, 2015
@angelojulioth Thanks so much, that did the trick.
To rebind it to another key, you can add something like this in the keymap file:
Although that makes the info popup window open everytime...
kankaristo commentedon Dec 28, 2015
The below fixed this completely for me (on Ubuntu):
This actually works for disabling the default
Altbinding as well!It behaves a little differently than
Alt, because the menu bar stays visible until you toggle it back off (and there's the popup, like @LoLei mentioned). I don't mind the "permanent" toggle, I actually prefer it that way.pvorona commentedon Dec 28, 2015
@kankaristo that worked for me
mengzyou commentedon Dec 29, 2015
@kankaristo Yes, it works, thank you!
supreme-gentleman commentedon Jan 23, 2016
@LoLei Your rebinding idea was great, It worked...but now that I'm using Arch Linux the '.platform-win32, .platform-linux': line doesn't work anymore, I don't know why, but my solution works great, and I can still toggle menu from the settings window(if I ever need it), so If there's any other Linux user here using any other distro than Ubuntu and reading this, they can still bind alt key to nothing and rebind to other keys if they want to. You should already close this issue @mengzdsd :)
leonardoarroyo commentedon Jul 25, 2016
@kankaristo fix works. Thanks! 👍
pcnate commentedon Aug 2, 2016
@kankaristo This works. However this now pops up a notification about the menu bar getting hidden.
mengzyou commentedon Aug 3, 2016
With @kankaristo 's solution, this issue can be closed.
lock commentedon Apr 6, 2018
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!