Skip to content

A translator for Linux, running at the background which wakes up with the translation of the last selected text after tapping the specific key twice.

License

Notifications You must be signed in to change notification settings

GrigorijST/ni-translate

 
 

Repository files navigation

ni-translate

Screenshot

Because of the background keyboard watching, it needs to run with root privileges.

Build Steps:

1. Install dependencies:

  • Install qmake and base Qt5 development files:

    sudo apt-get install qt5-default

2. Build project:

  • Create a folder for build files and cd into it.

  • Run this command from your folder:

    qmake <project_files_folder>/ni-translate.pro -spec linux-g++

  • This should have extracted Makefile in your build folder.

  • Run make there.

3. Install:

  • To install, run this from the build folder.

    sudo <project_files_folder>/INSTALL.sh

  • This will create a new service, copy ni-translate executable file into /usr/bin/ and enable the service.

  • It will also start the service and program will appear.

  • Default hotkey is Caps Lock key.

About

A translator for Linux, running at the background which wakes up with the translation of the last selected text after tapping the specific key twice.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 71.2%
  • Objective-C 17.5%
  • QMake 9.9%
  • Shell 1.4%