diff --git a/app/src/processing/app/Editor.java b/app/src/processing/app/Editor.java index 2ec29c498cb..3b9eb3a162b 100644 --- a/app/src/processing/app/Editor.java +++ b/app/src/processing/app/Editor.java @@ -670,7 +670,15 @@ private void buildSketchMenu(JMenu sketchMenu) { item.addActionListener(event -> handleExport(false)); sketchMenu.add(item); - item = newJMenuItemShift(tr("Upload Using Programmer"), 'U'); + // Since CTRL+SHIFT+U is not working on iBus keyboard input method + // Lets redirect the shorcut for Linux to CTRL+ALT+U + // Leaving the preexisting behaviour for Windows & Mac OS + String OS = System.getProperty("os.name").toLowerCase(); + if (OS.indexOf("nix") >= 0 || OS.indexOf("nux") >= 0 || OS.indexOf("aix") >= 0) { + item = newJMenuItemAlt(tr("Upload Using Programmer"), 'U'); + } else { + item = newJMenuItemShift(tr("Upload Using Programmer"), 'U'); + } item.addActionListener(event -> handleExport(true)); sketchMenu.add(item);