Coder Social home page Coder Social logo

ipakeyboard's Introduction

This is a solution for linguists who wish to type unicode IPA via a virtual keyboard.

Ce dépot est une solution pour les linguistes qui souhaitent saisir des symboles unicodes de l'API avec un clavier virtuel.

It is an alternative to web based unicode IPA keyboards.

The repository holds an International Phonetic Alphabet Layout setup for the Onboard virtual keyboard. It contains two keyboard layouts (standard and compact) and a theme, designed to go together. Below is the standard layout and theme :

Vowels C1 C2 Others

The keyboard has four panels (Vowels, Consonants 1 and 2, others), and is currently in beta version. The compact layout is less faithful to the phonetic table in terms of placement of the keys, but keys appear bigger for the same keyboard size.

Install

Installing onboard

Onboard is present in the Ubuntu repository. For latest versions, you could also use the launchpad ppa. I have tested the layout for versions 1.0 and 1.2.

Installing the layout

Copy the contents of both folders layouts/ and themes/ respectively into :

~/.local/share/onboard/layouts/

and

~/.local/share/onboard/themes/

Then launch onboard via your application menu or by typing:

onboard

Launch onboard preferences by launching onboard then going to Preferences > Layout, or by typing onboard-settings in a terminal. Select IPA or IPA (compact). Then go to Preferences > Theme and also select IPA.

Usage

Launch onboard. The keyboard appears on top of your windows. Click on the keyboard to insert the character. Change panels by clicking "V", "C1", "C2" or "...".

For some latin letters, holding a key offers variants (some of which might already be in the keyboard):

More

To use with LaTeX, you need unicode to be handled, so you should use xelatex rather than pdflatex. Wether on LaTeX or on a conventional text editor, you also need to use a font which has good unicode coverage of the IPA. I use the Linux Libertine family, but it is not the only one and the international phonetics association recommends the DejaVu Sans font.

ipakeyboard's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

jpapir wjandrea

ipakeyboard's Issues

Return to vowel keyboard

After inputting one syllable, the keyboard always returns to vowels, which is inconvenient for users. Please make it stay where users already choose.

How to install

Hello there,

I hope you still answer my newbie-like question. I tried to install your programme, but I didn't manage to get it working.
What I did (not sure about the terms though):

  • downloaded the repository via git clone https://github.com/XaraB/IPAKeyboard.git
  • copied the two folders as said in the readme (I had to create the folder "onboard")
  • ran the command "onboard", but it didn't found the command.

My assumption is that I lack a programme called "onboard", but I couldn't find it anywhere (neither in the official debian packages nor on github).

If you could help me with this one, I would really appreciate it, as I find your programme quite useful, especially as you arranged the symbols according to their place of production.
Best,
undermaster

Keyboard closes on most key presses.

Getting the following error:

(onboard:2747728): Gdk-ERROR **: 10:21:59.689: The program 'onboard' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
  (Details: serial 3983 error_code 2 request_code 135 (XKEYBOARD) minor_code 9)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Trace/breakpoint trap

When I launch the keyboard it looks as expected (I've configured it slightly w/ re to background transparency):

ss-1

Each of these keys appear to work fine.

The i and y keys work, but the next key over (close + central) crashes the program with the above error. The pattern appears to be any 'standard' letters (i.e. ones that I find on my English Keyboard) seem to work, but any of the IPA special characters cause the above error.

I can go to the other screens (C1, C2, etc.). They look a little different (although this is just cosmetic as far as I can tell):

Screenshot from 2023-04-15 10-24-56

Screenshot from 2023-04-15 10-25-01

I didn't have a font selected in the settings, so I thought maybe it was that I didn't have an appropriate font. I've tried several which all show the symbols in the font so I don't think this is the reason. Here are some possibly relevant screen shots of the settings:

Screenshot from 2023-04-15 10-30-46

Screenshot from 2023-04-15 10-30-54

Screenshot from 2023-04-15 10-31-39

Happy to grab anything else if needed. Any insight/help is appreciated!

Misc. Info
My system is Ubuntu 22.04.2 LTS. I'm using whatever the default GUI is for the system.
Onboard is version 1.4.1-5build5

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.