On Linux Ubuntu 14.04, MATLAB uses the weirdest hot key combinations I've ever seen by default. For example, to copy is 'Alt+W' and paste is 'Ctrl+Y'. I want the standard 'Ctrl+C' and 'Ctrl+V' combinations. How do I control this?

 Respuesta aceptada

Walter Roberson
Walter Roberson el 14 de En. de 2016

24 votos

Preferences -> Keyboard -> Shortcuts

7 comentarios

Christopher Wong
Christopher Wong el 12 de Sept. de 2019
In linux, in Keyboard -> Shortcuts, set the active set to "Windows Default Set" instead of "Emacs...". Problem solved!
Zihan Qiao
Zihan Qiao el 4 de Abr. de 2020
Christopher Wong's words is 100% correct! Solve my problem in a minute! Please, other guys follow this!
Louis Ernest Le Guillouzic
Louis Ernest Le Guillouzic el 23 de Sept. de 2020
Christopher Wong you're the boss thanx you haha
Artur Przybysz
Artur Przybysz el 1 de Oct. de 2020
Why do we even have to bother with changing it? Does anyone actually use this strange shortcut setup in any application?
Adam Sigal
Adam Sigal el 5 de Dic. de 2020
Yeah, it's set to emacs defaults, a lot of Linux purists prefer it.
Eric
Eric el 13 de Jun. de 2024
Editada: Eric el 13 de Jun. de 2024
Thank you for your answer. Nevertheless, I agree with @Artur Przybysz: the default shorcut set is weird. And emacs user are a minority. But beside this i cannot even find the command "search" in Preferences -> Keyboard -> Shortcuts (which is defined as <Ctrl> + <f> in Windows as well as MacOS (if I remember correctly for macOS). What is this command called / how can I change that?
Steven Lord
Steven Lord el 13 de Jun. de 2024
Switch to the Windows Default Set in the MATLAB Keyboard Shortcut Preferences then press Ctrl+F while the cursor is in the search bar in the preferences window. This will list the actions whose shortcuts include Ctrl+F. Once you've found that, switch back to the Emacs Default Set and search for that action name.
The actions you're looking for could be either Find (in MATLAB Editor, Command History, MATLAB Desktop, or Command Window) or Find Files (in Current Folder) based on a quick experiment.
In the Emacs Default Set these are Ctrl-H (for Find in Command History, MATLAB Desktop, or Command Window), Ctrl-Shift-H (for Find in MATLAB Editor; Ctrl-H is Replace in the Editor), or Ctrl-H (for Find Files in Current Folder.)

Iniciar sesión para comentar.

Más respuestas (1)

Reeshabh Kumar Ranjan
Reeshabh Kumar Ranjan el 26 de Mayo de 2019

49 votos

Change the Shortcut's Active setting to Windows Default Set:
HOME > Preferences > Keyboard > Shortcuts > Active settings
matlab_shortcut_linux.png

14 comentarios

Sergio Duarte
Sergio Duarte el 5 de Mayo de 2020
Thank you!
Tyler Garrett
Tyler Garrett el 4 de Jun. de 2020
This saved me from throwing my computer out a window. Thank you!
syed kazim
syed kazim el 4 de Feb. de 2021
Thanks a lot
Shouyi Yuan
Shouyi Yuan el 25 de Feb. de 2021
Thank you, this works and helps me.
Keyur Panchal
Keyur Panchal el 22 de Sept. de 2021
Thanks It helped me alot!
Sanjan I S
Sanjan I S el 6 de Nov. de 2021
Thanks man......
Rohan Walia
Rohan Walia el 20 de Nov. de 2021
This is really helpful. Thank you!
Olivier Alexander S Wartique
Olivier Alexander S Wartique el 3 de Dic. de 2021
Worked on Ubuntu 20.04 MATLAB R2021b, thank you!
Tomas Slimak
Tomas Slimak el 6 de En. de 2022
fantastic, thanks
Junho Kweon
Junho Kweon el 2 de Feb. de 2022
Wow, I did not know this, but keep trying to remember commands for both windows and Linux, which makes me crazy.
I love this.
Bernard Kosciewicz
Bernard Kosciewicz el 22 de Oct. de 2022
Makes life simpler....thnx
Heather
Heather el 28 de Feb. de 2023
Awesome, thank you so much
ABH
ABH el 8 de Abr. de 2024
Thank you verrrrrrrrry much !
Matej Kopecky
Matej Kopecky el 12 de Abr. de 2024
Thanks!

Iniciar sesión para comentar.

Categorías

Más información sobre Desktop en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 14 de En. de 2016

Comentada:

el 13 de Jun. de 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by