# Some shortcuts don't work (French keyboard/MacOS)

**URL:** <https://in-thread.sonic-pi.net/t/some-shortcuts-dont-work-french-keyboard-macos/5145>\
**Category:** Support, Help & Resources\
**Created:** [February 13, 2021, 6:27pm UTC](https://in-thread.sonic-pi.net/t/some-shortcuts-dont-work-french-keyboard-macos/5145 "2021-02-13T18:27:58Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![camilleroux](https://avatars.discourse-cdn.com/v4/letter/c/4491bb/32.png) [@camilleroux](https://in-thread.sonic-pi.net/u/camilleroux)\
**Post date:** [February 13, 2021, 6:27pm UTC](https://in-thread.sonic-pi.net/t/some-shortcuts-dont-work-french-keyboard-macos/5145/1 "2021-02-13T18:27:58Z")

</div>

Hi,

I’m on Mac OS (in French) with a French Apple Keyboard and some shortcuts don’t work.  
Here are some:

- C-a (work in help, but not in the editor)
- S-M-0 and others
- M-/  
…

Some are not possible

- M-{ (`{` is not on a French keyboard, we need to do `option + 5`)
- M-} (`{` is not on a French keyboard, we need to do `option + °`)  
…

Did I miss something?

---

<div class="post-metadata">

**Author:** ![nlb](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/nlb/32/997_2.png) [@nlb](https://in-thread.sonic-pi.net/u/nlb)\
**Post date:** [February 13, 2021, 8:38pm UTC](https://in-thread.sonic-pi.net/t/some-shortcuts-dont-work-french-keyboard-macos/5145/2 "2021-02-13T20:38:16Z")

</div>

> [@camilleroux](#):
>
> Did I miss something?

yes to buy a pc on windows or Linux 🙂 \>\>\> ok je sors

---

<div class="post-metadata">

**Author:** ![blipson](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/blipson/32/1772_2.png) [@blipson](https://in-thread.sonic-pi.net/u/blipson)\
**Post date:** [February 14, 2021, 12:10am UTC](https://in-thread.sonic-pi.net/t/some-shortcuts-dont-work-french-keyboard-macos/5145/3 "2021-02-14T00:10:43Z")

</div>

On MacOS, I can’t do the keyboard shortcuts to directly change to buffers 3, 4, 5, and 6 because shift-cmd-N are all related to taking screenshots on the Mac for those four. I shift-cmd-4 quite a lot for screenshotting. I wonder if a different set of ten shortcuts can be created for directly shift buffers, like maybe ctrl-shift-N, thought those still aren’t one-handable.

---

<div class="post-metadata">

**Author:** ![ethancrawford](https://avatars.discourse-cdn.com/v4/letter/e/a88e4f/32.png) [@ethancrawford](https://in-thread.sonic-pi.net/u/ethancrawford)\
**Post date:** [February 14, 2021, 2:13am UTC](https://in-thread.sonic-pi.net/t/some-shortcuts-dont-work-french-keyboard-macos/5145/4 "2021-02-14T02:13:43Z")

</div>

Customisable shortcut mapping is on the wishlist, so it will get there eventually 🙂

---

<div class="post-metadata">

**Author:** ![blipson](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/blipson/32/1772_2.png) [@blipson](https://in-thread.sonic-pi.net/u/blipson)\
**Post date:** [February 14, 2021, 2:23am UTC](https://in-thread.sonic-pi.net/t/some-shortcuts-dont-work-french-keyboard-macos/5145/5 "2021-02-14T02:23:31Z")

</div>

Wha’s Sonic Pi’s bundle identifier? I think I can use that to make per app keyboard customizations.

---

<div class="post-metadata">

**Author:** ![ethancrawford](https://avatars.discourse-cdn.com/v4/letter/e/a88e4f/32.png) [@ethancrawford](https://in-thread.sonic-pi.net/u/ethancrawford)\
**Post date:** [February 14, 2021, 2:26am UTC](https://in-thread.sonic-pi.net/t/some-shortcuts-dont-work-french-keyboard-macos/5145/6 "2021-02-14T02:26:44Z")

</div>

No idea what that means sorry 😬 maybe someone else like @samaaron might know…

---

<div class="post-metadata">

**Author:** ![blipson](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/blipson/32/1772_2.png) [@blipson](https://in-thread.sonic-pi.net/u/blipson)\
**Post date:** [February 14, 2021, 2:29am UTC](https://in-thread.sonic-pi.net/t/some-shortcuts-dont-work-french-keyboard-macos/5145/7 "2021-02-14T02:29:48Z")

</div>

Yeah, that’s an Apple thing. I’ve now got net.sonic-pi.app, so I’ll try that.

ADDED: I just got the remap from cmd-shift-N to ctrl-shift-N working using Karabiner-Elements.

ADDED 2: Oh, wait, it still won’t work. I use a different key combo to send Sonic Pi cmd-shift-3, but it’s still intercepted by the OS for a screenshot. Please keep customizable shortcut mapping on the wishlist.

---

<div class="post-metadata">

**Author:** ![Kleepo](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/kleepo/32/1105_2.png) [@Kleepo](https://in-thread.sonic-pi.net/u/Kleepo)\
**Post date:** [January 6, 2023, 11:43am UTC](https://in-thread.sonic-pi.net/t/some-shortcuts-dont-work-french-keyboard-macos/5145/8 "2023-01-06T11:43:25Z")

</div>

Hello,  
I am also very interested in this customisable keyboard shortcut function. I have the same problems as @camilleroux… ISO AZERTY keyboard problems, apparently…

---

<div class="post-metadata">

**Author:** ![nahfeld](https://avatars.discourse-cdn.com/v4/letter/n/9de0a6/32.png) [@nahfeld](https://in-thread.sonic-pi.net/u/nahfeld)\
**Post date:** [October 8, 2023, 11:14am UTC](https://in-thread.sonic-pi.net/t/some-shortcuts-dont-work-french-keyboard-macos/5145/9 "2023-10-08T11:14:04Z")

</div>

Hi,  
I have the same shortcut problems (on MAC).  
Especially I miss the possibility to comment out a block of code, because  
Currently I use comment, uncomment, but that’s not suitable for all situations.  
Any idea for a workaround?

---

<div class="post-metadata">

**Author:** ![RangMod](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/rangmod/32/2587_2.png) [@RangMod](https://in-thread.sonic-pi.net/u/RangMod)\
**Post date:** [October 9, 2023, 10:51am UTC](https://in-thread.sonic-pi.net/t/some-shortcuts-dont-work-french-keyboard-macos/5145/10 "2023-10-09T10:51:16Z")

</div>

Same for me, Italian keyboard layout.  
M-/ doesn’t work; Maybe because shift has to be pressed for type the / char.

---

<div class="post-metadata">

**Author:** ![samaaron](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/samaaron/32/7_2.png) [@samaaron](https://in-thread.sonic-pi.net/u/samaaron)\
**Post date:** [October 9, 2023, 11:21am UTC](https://in-thread.sonic-pi.net/t/some-shortcuts-dont-work-french-keyboard-macos/5145/11 "2023-10-09T11:21:56Z")

</div>

Apologies, the shortcuts are hard coded and are not currently user-customisable. This is something that’s still on the TODO list. If someone wants to dive into the C++ Qt code to add this functionality then that would be something I’d very much like to encourage and support.

---

<div class="post-metadata">

**Author:** ![gzavo](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/gzavo/32/2628_2.png) [@gzavo](https://in-thread.sonic-pi.net/u/gzavo)\
**Post date:** [October 9, 2023, 1:45pm UTC](https://in-thread.sonic-pi.net/t/some-shortcuts-dont-work-french-keyboard-macos/5145/12 "2023-10-09T13:45:10Z")

</div>

Maybe integrating something like this could be a solution:

> **[GitHub - Skycoder42/QHotkey: A global shortcut/hotkey for Desktop...](https://github.com/Skycoder42/QHotkey)**
>
> A global shortcut/hotkey for Desktop Qt-Applications - GitHub - Skycoder42/QHotkey: A global shortcut/hotkey for Desktop Qt-Applications

---

<div class="post-metadata">

**Author:** ![PierreDeWilde](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/pierredewilde/32/2681_2.png) [@PierreDeWilde](https://in-thread.sonic-pi.net/u/PierreDeWilde)\
**Post date:** [December 29, 2023, 4:41pm UTC](https://in-thread.sonic-pi.net/t/some-shortcuts-dont-work-french-keyboard-macos/5145/13 "2023-12-29T16:41:34Z")

</div>

On Mac with french keyboard, `M + /` is done with `shift + command + :`

Unfortunately, this shortcut is already used by macOS to show menu.  
But you can disable it :

Apple menu \> System Settings… \> Keyboard  
Keyboard Shortcuts… \> App Shortcuts \>App Applications  
uncheck ‘Show Help menu’

You may now comment/uncomment Sonic code with `shift + command + :`😃

For further keyboard remapping on macOS, try [Karabiner-Elements](https://karabiner-elements.pqrs.org/). It’s free and open source.
