Required by (0)

Sources (1)

Latest Comments

stevenhoneyman commented on 2015-03-28 13:57

Nah it's dead upstream and I just did a "best effort" job of porting it across in the hope it would be picked up by someone with more python enthusiasm than me :P

pmattern commented on 2015-03-28 13:53

> P.S. You'd missed a variable "$_pkgname"
Yeah. An oversight as I first intended to introduce this variable as it's used e. g. in all LXQt Git packages but later on thought this actually doesn't make sense here. Sorry.

pmattern commented on 2015-03-28 13:07

ObKey compiled using this package fails to start on systems lacking gtk3. The corresponding error message starts off with
> You have imported the Gtk 2.0 module. Because Gtk 2.0 was not designed for use with
> introspection some of the interfaces and API will fail. As such this is not supported by the
> pygobject development team and we encourage you to port your app to Gtk 3 or greater.
Looks like gtk3 was missing as dependency but not sure whether there's some other workaround.

It would be helpful to have obkey.desktop integrated in this package.

If you should be interested you may find a PKGBUILD version implementing all this at your disposal on https://gist.github.com/pmattern/9610e7580ed89d61c9e4. It also comprises some changes similar to those that did exist in sekret's one already:
=> 'armv7h' was added to 'arch' as ObKey is working fine on a Cubietruck running Arch Linux ARM here. Not sure whether 'all' applies as well as I can't test different architectures.
=> download is handled via HTTPS
=> package version is derived from Git checkout while building as it's common practice with VCS packages in AUR

pmattern commented on 2015-02-20 00:07

stevenhoneyman commented on 2014-06-09 19:46

Hi Melodie,

I'll try to help!

None of the "logic" in the code has changed, just a lot of changes to wording, and a few functions that need an extra parameter now - so I would expect the old obkey to have the exact same error. From the looks of it though, my best guess would be your rc.xml file has more than one <keyboard></keyboard> section, or <chainQuitKey></chainQuitKey> is missing from it.

If you can email me your rc.xml file, I can take a look and see if I can either find the problem, or add some better error handling to the obkey code if it is just a simple mistake in your config file causing the issue.

Thanks,
Steven

melodie commented on 2014-06-09 03:17

Hi stevenhoneyman,

it is nice of you! I have updated, however it does not start, it errors with this message:
*************
$ obkey
Traceback (most recent call last):
File "/usr/bin/obkey", line 50, in <module>
ktbl = obkey_classes.KeyTable(al, ob)
File "/usr/lib/python2.7/site-packages/obkey_classes.py", line 189, in __init__
self.apply_cqk_initial_value()
File "/usr/lib/python2.7/site-packages/obkey_classes.py", line 369, in apply_cqk_initial_value
cqk_accel_key, cqk_accel_mods = key_openbox2gtk(self.ob.keyboard.chainQuitKey)
File "/usr/lib/python2.7/site-packages/obkey_classes.py", line 91, in key_openbox2gtk
toks = obstr.split("-")
AttributeError: 'NoneType' object has no attribute 'split'

*************

I hope it can be fixed?

Regards,
Mélodie

stevenhoneyman commented on 2014-05-25 12:01

Updated the code to use PyGObject instead of the legacy PyGTK, as upstream has been "dead" for years