From: Sheldon Lee-W. <to...@ro...> - 2003-03-02 05:47:37
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, For those of you who may not know, I've done a rework of the codebase in order to support new features, and make the program more robust overall. For all of you who like to live on the bleeding edge give this a pounding for me and pose bug reports either here or on the sourceforge site. You can get the new code here: http://lycadican.sourceforge.net/Lycadican/lineakd_cpp-0.6-alpha1.tar.gz Here is the README: XOSD v2 is fully integrated now, as well as message passing. To compile with xosd, install xosd version 2 libs and configure with: (xosd is for on screen display). ./configure --with-xosd In order to get lineakd to reread it's config files, don't HUP it. execute lineakd -r to stop the daemon, execute lineakd -x We support toggle keys now. i.e. on the LTCDP the play and pause key are the same. We define a toggle key as key1|key2 in the definition file. We can define a single action for this key in the config file by specifying the keyname in the for key1|key2. We can also specify seperate actions for the play and pause states by assigning actions to key1 and key2. eg. On the LTCDP there is the key 'play|pause' In my config file I can specify either: play|pause = "kstart --desktop 8 /usr/bin/xmms -t" Or, if I want seperate functions for the play and pause states: play = "kstart --desktop 8 /usr/bin/xmms -p" pause = "kstart --desktop 8 /usr/bin/xmms -u" In the event that lineakd hangs (which it probably will at some point), you have to kill all of the processes manually. You can do this by executing the following command: kill -9 `ps -ef | grep lineakd | grep -v grep | awk ' { print $2 }'` Then, after a hang or crash (or segfault, etc) you should clean up the shared message queue. Execute: ipcs -q To see any queues that are hanging around. You'll see something like this (but be relatively sure it's not part of another process, if unsure, look at which queues are there before you run lineakd, or just forget about this step): ------ Message Queues -------- key msqid owner perms used-bytes messages 0x0000050c 884736 sheldonl 640 0 0 To get rid of the queue, type: ipcrm msg <msqid> so, for the example type: ipcrm msg 884736 If you have a keyboard defined in lineakkb.def that has a toggle key like the one for the LTCDP keyboard, please update the file with the new key format and send it back to me. Thanks. Sheldon. - -- ================================================================== "... all thoughts of selfish desire, ill-will, hatred and violence are the result of a lack of wisdom ... " - Buddha For an awsome fantasy role playing game checkout: http://lycadican.sourceforge.net GPG KeyID=04B7F7F8 GPG Fingerprint=4B0F 7202 FAFF D146 5F56 9E83 BE7F D7F7 04B7 F7F8 ================================================================== -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+YZ1Pvn/X9wS39/gRAkU8AJ9s8kZDmyJl/Z3nC7vx81ELnRl4zQCdGNWj po+klMAvpX9ANjPeM+TV264= =qYRk -----END PGP SIGNATURE----- |