11

I bought this keyboard without a numeric pad but as I found out I'm not able to use alt codes with it to type symbols such as Alt+30 makes ▲ or ■ and so on

Is there a trick how to type alt codes on a keyboard without a num pad? I'm using both Windows and Linux so would be cool if it was OS independent.

keyboard

phuclv
  • 30,396
  • 15
  • 136
  • 260

2 Answers2

7

There are many cross-platform methods that you can use:

  • In most word processing apps like MS Word, Wordpad, Libre Office... you can just enter the Unicode hex value then press Alt+X

    For example to type ▲ (U+25B2) you can type U+25B2 or 25B2 then press Alt+X

  • Use PowerShell which is available for both Windows and Linux. For example to get the above black triangle you have many ways like

    Set-Clipboard "`u{25B2}" # or
    scb "`u{25B2}"           # or
    "`u{25B2}" | scb         # or
    [char]0x25B2 | Set-Clipboard
    

    After that paste to wherever you want

  • Use the browser. You can use the JavaScript copy function to copy the desired characters to clipboard. It works in most modern browsers like Firefox, Chrome/Chromium (including Chromium Edge). For example to type ■ (U+25A0) use either of these

    copy("\u25A0")   // only applicable for characters inside the BMP (⩽ U+FFFF)
    copy("\u{25A0}") // applicable for all characters (U+0000 to U+10FFFF)
    copy(String.fromCodePoint(0x25A0))
    
  • Use the emoji panel. This works for emojis and many common symbols but not for all, but it's extremely simple, quick and easy to use. There's no need to remember the Unicode code points anymore

phuclv
  • 30,396
  • 15
  • 136
  • 260
3

For Windows:

  • Use On Screen Keyboard (enter OSK in Start/Run).
  • Use Numpad Emulator which will take less space on screen.
  • Use Character Map (enter charmap in Start/Run).

For linux:

There may be alternatives available for OSK and Numpad emulator for linux too. You can search for them.

TontyTon
  • 192