Coder Social home page Coder Social logo

kime's Introduction

kime

Korean IME

View in other languages

English, 한국어


build discord release version aur version license donaricano-btn

Why kime

  • Well tested input engine
  • Very fast
  • Low memory footprint
  • Write in mostly Rust no segfaults
  • Allow custom layouts

Have a question?

Please contact with Discord or post issue

Supported frontend

  • XIM
  • Wayland
  • GTK2
  • GTK3
  • GTK4
  • Qt5
  • Qt6

Installation

Arch Linux

you can install from AUR package kime for latest release or kime-git if you want to build from source.

Debian, Ubuntu

you can install from .deb file at releases tab.

Build from source

Docker

It's convenient because you don't need install other dependencies

git clone https://github.com/riey/kime
cd kime

docker build --file build-docker/<distro path>/Dockerfile --tag kime-build:git .
docker run --name kime kime-build:git
docker cp kime:/opt/kime-out/kime.tar.xz .
# if you want deb file try this command instead
# docker cp kime:/opt/kime-out/kime_amd64.deb .

Manually build

make sure cargo and other dependencies listed below are installed before build.

git clone https://github.com/Riey/kime
cd kime

scripts/build.sh -ar

Now all files are in build/out if you want manual install go ahead

you can also use scripts/install.sh <install-prefix> useful script for packaging

and there is scripts/release-deb.sh <deb-out-path> it make deb file.

GTK

you may don't need to do this when you install with package

because most distros doing this themselves.

# If you install gtk2
sudo gtk-query-immodules-2.0 --update-cache
# If you install gtk3
sudo gtk-query-immodules-3.0 --update-cache
# If you install gtk4
sudo gio-querymodules /usr/lib/gtk-4.0/4.0.0/immodules

Configuration

Debian-like

Set input method kime in language setting

Other

Add the following to your init script

export GTK_IM_MODULE=kime
export QT_IM_MODULE=kime
export XMODIFIERS=@im=kime

kime-indicator &
# Note that when X or wayland session is not initialized, below commands would be failed
kime-xim &
# kime-wayland &

if you use X it could be done in .xprofile

read CONFIGURATION.md for detailed options.

Dependencies

Run time

Note that you only need deps what you need for example, if you don't use qt6 it won't required.

  • gtk2
  • gtk3
  • gtk4
  • qt5
  • qt6
  • libappindicator-gtk3 (indicator)
  • libxcb (xim)
  • cairo (xim)

Build time (you don't need when run compiled binary)

Required

  • cmake
  • cargo
  • libclang
  • pkg-config
  • libappindicator-gtk3
  • libxcb
  • cairo

Optional

  • gtk2
  • gtk3
  • gtk4
  • qtbase5-private
  • qtbase6-private

kime's People

Contributors

80rokwoc4j avatar adenosie avatar akiacode avatar github-actions[bot] avatar lens0021 avatar riey avatar sephiron99 avatar simnalamburt avatar so-chiru avatar xiniha avatar xnuk avatar

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.