Linux上利用剪貼簿協助打中文的工具
Project description
緣起
在linux平台上,有一些桌面應用程式會遇到不能打中文的情況,像是Sublime Text、Spotify
在不去對應用程式做hack的情況下(像是這個)
就只能用最簡單的copy-paste方法了
這個非常簡單的小工具就是跳出小方塊讓你輸入並自動貼上
相依性
GTK+ 3
Xlib Python binding
Python 2.7+
安裝
以下示範是在debian/ubuntu上(其他版本將相依性安裝即可)
if run in python2:
$ sudo apt-get install python-gi python-xlib
$ pip install input-paste
if run in python3:
$ sudo apt-get install python3-gi python3-xlib
$ pip install input-paste
接下來,設定系統熱鍵能夠執行input-paste即可
用法
點擊應用程式輸入框並維持游標位置,叫出input-paste輸入文字後
按Enter/Ctrl+Enter就會將文字貼上游標位置,或按Esc/Alt+F4關閉input-paste
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
input-paste-0.1.1.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for input_paste-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 878adbcbcfd451c2ed8acfb51e40e88e1b056bd9602ba478f8527b5f18b2f449 |
|
MD5 | 9e5705241ab21a9692290741977bce74 |
|
BLAKE2b-256 | 9f5749a6e125a5cedf4f67ce21a3c2e9d13fe5c2d6f0941513e42297b0f47ef8 |