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?

 채택된 답변

Walter Roberson
Walter Roberson 2016년 1월 14일

24 개 추천

Preferences -> Keyboard -> Shortcuts

댓글 수: 7

Christopher Wong
Christopher Wong 2019년 9월 12일
In linux, in Keyboard -> Shortcuts, set the active set to "Windows Default Set" instead of "Emacs...". Problem solved!
Zihan Qiao
Zihan Qiao 2020년 4월 4일
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 2020년 9월 23일
Christopher Wong you're the boss thanx you haha
Artur Przybysz
Artur Przybysz 2020년 10월 1일
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 2020년 12월 5일
Yeah, it's set to emacs defaults, a lot of Linux purists prefer it.
Eric
Eric 2024년 6월 13일
편집: Eric 2024년 6월 13일
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 2024년 6월 13일
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.)

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Reeshabh Kumar Ranjan
Reeshabh Kumar Ranjan 2019년 5월 26일

49 개 추천

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

댓글 수: 14

Sergio Duarte
Sergio Duarte 2020년 5월 5일
Thank you!
Tyler Garrett
Tyler Garrett 2020년 6월 4일
This saved me from throwing my computer out a window. Thank you!
syed kazim
syed kazim 2021년 2월 4일
Thanks a lot
Shouyi Yuan
Shouyi Yuan 2021년 2월 25일
Thank you, this works and helps me.
Keyur Panchal
Keyur Panchal 2021년 9월 22일
Thanks It helped me alot!
Sanjan I S
Sanjan I S 2021년 11월 6일
Thanks man......
Rohan Walia
Rohan Walia 2021년 11월 20일
This is really helpful. Thank you!
Olivier Alexander S Wartique
Olivier Alexander S Wartique 2021년 12월 3일
Worked on Ubuntu 20.04 MATLAB R2021b, thank you!
Tomas Slimak
Tomas Slimak 2022년 1월 6일
fantastic, thanks
Junho Kweon
Junho Kweon 2022년 2월 2일
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 2022년 10월 22일
Makes life simpler....thnx
Heather
Heather 2023년 2월 28일
Awesome, thank you so much
ABH
ABH 2024년 4월 8일
Thank you verrrrrrrrry much !
Matej Kopecky
Matej Kopecky 2024년 4월 12일
Thanks!

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Desktop에 대해 자세히 알아보기

제품

태그

질문:

2016년 1월 14일

댓글:

2024년 6월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by