vscode-emacs
vscode-emacs copied to clipboard
M-f not working on linux
same here!
I am running Ubuntu 16.04 LTS and
Sorry, that did not come out correctly. Meant to write: I am running Ubuntu 16.04 LTS and "alt-f" opens the file menu. "alt-v" opens the view menu. I have tried to override the alt key without luck. "alt-b" and other combinations work fine. I have no problems at all when using VS Code on the Mac. Any ideas would be appreciated. Apologies if this is the wrong place for posting this. Thanks
Unfortunatly this is an old known bug in Ubuntu without workaround since version 15.04+ This is the bug report: https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1113420 If you have the same problem mark you as an affected user too, so hopefully someone will fix it before we give up using Ubuntu.
Thank you for responding. I will check the bug report. (I wonder how it is implemented in Emacs itself on Ubuntu. I don't have any problems with alt-f, alt-v etc when using Emacs. It seems the top menu is not "alt enabled" when in the editor.) Tor
On Sat, May 20, 2017 at 7:25 PM, Frederico F. de Oliveira < [email protected]> wrote:
Unfortunatly this is an old known bug in Ubuntu without workaround since version 15.04+ This is the bug report: https://bugs.launchpad.net/ ubuntu/+source/nautilus/+bug/1113420 If you have the same problem mark you as an affected user too, so hopefully someone will fix it before we give up using Ubuntu.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/hiro-sun/vscode-emacs/issues/44#issuecomment-302905000, or mute the thread https://github.com/notifications/unsubscribe-auth/ACM5Br9ssEuUo1GsYqVx8fA7NcXfrWA_ks5r73ZrgaJpZM4L6vdG .
Actually this is an in-application setup, that means that the application itself can override the Ubuntu's default top bar response to the Alt key. In emacs as well as in gnome-terminal, for example, we have the option to disable the Alt shortcut to access the top bar in its preferences menu (as shown in the second checkbox in the image). But Visual Studio Code doesn't have this option in its configurations. An alternative would be to disable this annoying behaviour in the Operating System configuration, but it happens to not have this option either. So, what is left to us is to wait untill one of them implements it, or implement it ourselves and make a push request, since, unfortunately, it seems not to be none of them priority.
Great news!! Visual Studio Code v.1.13.1 just added a new setting called window.enableMenuBarMnemonics that when setted to false disables the Alt top bar shortcut letting the emacs shortcuts work like a charm :)
I haven't tried the new setting. Had switched to KDE earlier which took care of the problem. I like it and have no reason to go back currently. It also turned out it was more straightforward to set up natural scrolling for the trackpad and mouse scroll-wheel in all applications with KDE.
On Mon, Jun 19, 2017 at 5:16 PM, adamboche [email protected] wrote:
My settings.json looks like this, and I still have the problem.
{ "python.pythonPath": "${workspaceRoot}/venv/bin/python3", "window.enableMenuBarMnemonics":false }
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/hiro-sun/vscode-emacs/issues/44#issuecomment-309576151, or mute the thread https://github.com/notifications/unsubscribe-auth/ACM5Bv5Qnj2v6U-0g7HsACtemLgQJpjmks5sFuU4gaJpZM4L6vdG .
Unfortunately this project seems to have been abandoned. Checkout https://github.com/SebastianZaha/vscode-emacs-friendly It's a fork of this in active development and with many improvements. It's available from vscode as 'vscode-emacs-friendly'