Tickeys - Liunx 给键盘配上音效的软件(更新)
Tofloor
poster avatar
188******30
deepin
2015-08-02 19:14
Author
本帖最后由 xiongbiao 于 2015-10-13 16:07 编辑

简介


Tickeys是一款很强大的键盘音效软件。Tickeys 自带了四种声音效果方案,有打字机、冒泡、机械键盘、剑气等。每天都听着键盘声音是不是很烦闷,现在有了这款神器你就可以瞬间帮助自己的键盘加上逼格特效。
这个软件之前发布了Windows和Mac版,Tickeys 是由 Nozama 所做的一个 Mac 平台的开源小项目 (GitHub),Windows 版由黄飞实现。我使用了下,觉得挺有意思的,因此用Python写了个Linux版的。
Tickeys已经发布到PyPI上了,有PIP的可以直接通过pip install tickeys来安装,不过可能会存在依赖问题。
代码我放到Github上了,这是一个开源项目, 期待一起来改进: Tickeys-linux·Github

项目网站
http://www.yingdev.com/projects/tickeys
https://pypi.python.org/pypi/tickeys  
https://github.com/BillBillBillBill/Tickeys-linux

Tickeys的Mac版本
https://github.com/yingDev/Tickeys

在不同发行版上可能会有因为文件的缺失或者环境不同导致无法使用,需要安装相关依赖。
下载编译好的程序运行
  • 通过https://bbs.deepin.org/module下载Tickeys
  • 然后通过 sudo ./Tickeys 来打开
  • 打开CLI版本: sudo ./Tickeys -c
  • 或者运行sudo sh install.sh后在终端使用tickeys命令运行或在菜单中找到tickeys点击运行

Debian and Ubuntu 用户则可以尝试安装:
* sudo apt-get install xdotool * sudo apt-get install libsdl1.2-dev* sudo apt-get install libsdl-mixer1.2* sudo apt-get install libsdl-ttf2.0

使用方法

通过 sudo tickeys 来打开Tickeys (sudo tickeys -c 打开CLI版本)
Tickeys 可以调整音量、音调以及四种音效,唤出设置页面的快捷键是 QAZ123

软件界面
CLI:

GUI(旧):

GUI(新):



作者Huang Xiongbiao(https://bbs.deepin.org/module

2015-10-13 version 0.2.0
1.打包成单独运行文件,制作了安装脚本,解决依赖问题
2.改为使用pyinstaller打包

2015-10-11 version 0.1.9
1.UI微调(字体,颜色等)

2015-10-10 version 0.1.8
1.修改了背景颜色,与mac版同步
2.同步了mac版的两款(Cherry)新音效

2015-09-05 version 0.1.7
1.增加了检查更新的功能

2015-08-31 version 0.1.6
1.实现将程序运行情况输出到log文件,以便调试 保存位置为/tmp/tickeys.log

2015-08-10 version 0.1.5
1.实现真正后台化,启动后会隐藏窗口
2.修改当前音效显示颜色

2015-08-10 version 0.1.4
1.打开程序后会出现气泡提醒

2015-08-04 version 0.1.3
1.修正因路径问题导致的配置无法正确显示的问题

2015-08-03 version 0.1.2
1.更新键盘检测方法(测试中)
2.增加配置自动保存功能
3.修改默认音效为mechanical
4.修改部分函数名称

2015-08-02 version 0.1.1a6
1.修改键盘检测方法,支持更多键盘类型(测试中)

2015-08-02 version 0.1.1a5
1.修改配色,使风格大致与mac版相同
2.修改布局,适应大小变化
3.加入开机自启动设置(测试中)

2015-07-31 version 0.1.0a4
1.加入changlog
2.修改setup,修改相关安装依赖
Reply Favorite View the author
All Replies
1 / 2
To page
188******30
deepin
2015-08-02 19:15
#1
不造发对板块没- -
Reply View the author
JamWeight
deepin
2015-08-02 21:35
#2
我英文渣啊
Reply View the author
rekols
deepin
2015-08-02 22:56
#3
这个好!
Reply View the author
D51Du
deepin
2015-08-03 06:09
#4
使用蓝牙键盘时无声音。
Reply View the author
188******30
deepin
2015-08-04 00:45
#5
https://bbs.deepin.org/post/31734
使用蓝牙键盘时无声音。

你好,我没有蓝牙键盘来测试,可以使用cat /proc/bus/input/devices命令把输出的东西给我看看吗?
Reply View the author
leafonsword
deepin
2015-08-04 04:23
#6
大赞,太好了!
Reply View the author
liyangrenzp
deepin
2015-08-04 05:31
#7
试试看吧,多谢
Reply View the author
liyangrenzp
deepin
2015-08-04 05:55
#8
本帖最后由 liyangrenzp 于 2015-8-3 21:59 编辑

已执行sudo apt-get install python-dev python-kivy,
然后
-pc:~/桌面$ sudo pip install tickeys
sudo:pip: command not found
-pc:~/桌面$ sudo easy_install tickeys
sudo:easy_install: command not found
Reply View the author
188******30
deepin
2015-08-04 19:40
#9
https://bbs.deepin.org/post/31734
已执行sudo apt-get install python-dev python-kivy,
然后
-pc:~/桌面$ sudo pip install tickeys

因为缺少了pip, 尝试用这个命令:
sudo apt-get install python-dev python-pip python-kivy xdotool && sudo easy_install tickeys
Reply View the author
liyangrenzp
deepin
2015-08-05 02:26
#10
https://bbs.deepin.org/post/31734
因为缺少了pip, 尝试用这个命令:
sudo apt-get install python-dev python-pip python-kivy xdotool &&  ...

搞定了,谢谢你的帮助!
Reply View the author
leodemon
deepin
2015-08-05 17:23
#11
点击 EXIT 之后,就没声音了,,,咋放到控制面板里面。。。
Reply View the author
D51Du
deepin
2015-08-07 08:16
#12
https://bbs.deepin.org/post/31734
你好,我没有蓝牙键盘来测试,可以使用cat /proc/bus/input/devices命令把输出的东西给我看看吗? ...

I: Bus=0019 Vendor=0000 Product=0005 Version=0000
N: Name="Lid Switch"
P: Phys=PNP0C0D/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input0
U: Uniq=
H: Handlers=event0
B: PROP=0
B: EV=21
B: SW=1

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="ower Button"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1
U: Uniq=
H: Handlers=kbd event1
B: PROP=0
B: EV=3
B: KEY=10000000000000 0

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="ower Button"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
U: Uniq=
H: Handlers=kbd event2
B: PROP=0
B: EV=3
B: KEY=10000000000000 0

I: Bus=0011 Vendor=0001 Product=0001 Version=ab83
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input3
U: Uniq=
H: Handlers=sysrq kbd event3
B: PROP=0
B: EV=120013
B: KEY=20000 20 0 0 1500f02100000 83803078f900d401 feffffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=7

I: Bus=0019 Vendor=0000 Product=0006 Version=0000
N: Name="Video Bus"
P: Phys=LNXVIDEO/video/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input6
U: Uniq=
H: Handlers=kbd event4
B: PROP=0
B: EV=3
B: KEY=3e000b00000000 0 0 0

I: Bus=0003 Vendor=25a7 Product=2402 Version=0101
N: Name="2.4G 2.4G Wireless Device"
P: Phys=usb-0000:00:1d.0-1.2/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/0003:25A7:2402.0001/input/input7
U: Uniq=
H: Handlers=sysrq kbd event5
B: PROP=0
B: EV=120013
B: KEY=e080ffdf01cfffff fffffffffffffffe
B: MSC=10
B: LED=1f

I: Bus=0003 Vendor=25a7 Product=2402 Version=0101
N: Name="2.4G 2.4G Wireless Device"
P: Phys=usb-0000:00:1d.0-1.2/input1
S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1/0003:25A7:2402.0002/input/input8
U: Uniq=
H: Handlers=kbd mouse0 event6
B: PROP=0
B: EV=1f
B: KEY=3f0003007f 0 0 483ffff17aff32d bf54444600000000 1f0001 130f938b17c000 677bfad941dfed 9ed68000004400 10000002
B: REL=1c3
B: ABS=100000000
B: MSC=10

I: Bus=0011 Vendor=0002 Product=0007 Version=01b1
N: Name="SynPS/2 Synaptics TouchPad"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input5
U: Uniq=
H: Handlers=mouse1 event7
B: PROP=9
B: EV=b
B: KEY=6420 30000 0 0 0 0
B: ABS=260800011000003

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH Mic"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input9
U: Uniq=
H: Handlers=event8
B: PROP=0
B: EV=21
B: SW=10

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH Headphone"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input10
U: Uniq=
H: Handlers=event9
B: PROP=0
B: EV=21
B: SW=4

I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="HP WMI hotkeys"
P: Phys=wmi/input0
S: Sysfs=/devices/virtual/input/input11
U: Uniq=
H: Handlers=kbd event10
B: PROP=0
B: EV=33
B: KEY=4000000000 0 1000700000000 2102400 0 0
B: MSC=10
B: SW=22

I: Bus=0003 Vendor=04f2 Product=b249 Version=1204
N: Name="HP Webcam-101"
P: Phys=usb-0000:00:1a.0-1.3/button
S: Sysfs=/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/input/input12
U: Uniq=
H: Handlers=kbd event11
B: PROP=0
B: EV=3
B: KEY=100000 0 0 0
Reply View the author
D51Du
deepin
2015-08-07 12:11
#13
https://bbs.deepin.org/post/31734
你好,我没有蓝牙键盘来测试,可以使用cat /proc/bus/input/devices命令把输出的东西给我看看吗? ...

使用蓝牙键盘没声音的是你已打包的0.1.1a5版本,0.1.3版的有声音。我将0.1.3版的源码打包,运行时图形界面启动失败。报错如下:
Run GUI Fail, use CLI instead..Fail msg:No module named lib
Reply View the author
188******30
deepin
2015-08-08 06:33
#14
https://bbs.deepin.org/post/31734
使用蓝牙键盘没声音的是你已打包的0.1.1a5版本,0.1.3版的有声音。我将0.1.3版的源码打包,运行时图形界 ...

这应该是缺少某个库导致的,推荐使用sudo apt-get install python-dev python-pip python-kivy xdotool && sudo easy_install tickeys 这个命令安装,安装好使用 sudo tickeys 来打开就可以了
Reply View the author
D51Du
deepin
2015-08-11 23:39
#15
https://bbs.deepin.org/post/31734
这应该是缺少某个库导致的,推荐使用sudo apt-get install python-dev python-pip python-kivy xdotool & ...

谢谢。其实4种方法一开始就都用过了。用pip和easy_install安装都会报错:
ImportError: No module named 'run'
只有通过setup.py文件才能安装上。
Reply View the author
rosen
deepin
2015-08-12 00:01
#16
这个很赞啊
Reply View the author
188******30
deepin
2015-08-12 03:26
#17
https://bbs.deepin.org/post/31734
谢谢。其实4种方法一开始就都用过了。用pip和easy_install安装都会报错:
ImportError: No module named  ...

这么神奇啊- -
Reply View the author
leodemon
deepin
2015-08-12 17:12
#18
0.1.3 如何自动更新到0.1.5
Reply View the author
188******30
deepin
2015-08-12 17:33
#19
https://bbs.deepin.org/post/31734
0.1.3 如何自动更新到0.1.5

命令:sudo easy_install --upgrade tickeys
Reply View the author
leodemon
deepin
2015-08-12 18:10
#20
https://bbs.deepin.org/post/31734
命令:sudo easy_install --upgrade tickeys

NB!!!!!!!!!
Reply View the author
Comments
xiongbiao
2015-08-12 18:50
- -谢谢
1 / 2
To page