How can I hide the "Keyboard Shortcuts" and the "Desktop View" from the hamburger menu?

How can I hide the “Keyboard Shortcuts” and the “Desktop View” from the hamburger menu?

You can add this CSS to your theme (admin > customize > themes)

.panel {
  .keyboard-shortcuts-link,
  .mobile-toggle-link {
    display: none !important;
  }
}