Since I bought me a few weeks Logitech Harmony 515 very favorable on live shopping, I wanted to configure this on Linux. Especially because the Windows software for absolute Sch ... is!
There are the nice project congruity . This is one in Python (wyPython) written interface for configuring the Harmony on Linux. It is based on libconcordance , this library is used to control the remote.
After downloading the respective latest version have to compile the packages first libconcord libusb, libusb-dev , build-essential g + + and be installed via the package manager. Congruity still needs wxPython (package python- wxgtk2.8 , python-wxversion , libwxgtk2.8-0 , libwxbase2.8 -0, python-ctypes , python-wxtools , python -wxaddons ). Python itself should be available by default, otherwise re-install as well.
is now configured libconcord, that the makefile is created to fit the system:
concordance-0.21/libconcord cd . / configure Note: At least with me what it is now necessary to adjust the generated Makefile, otherwise libconcord not against libstdc + + has been linked and the start of congruity else later, the error '
undefined symbol : _ZTVN10__cxxabiv120__si_class_type_infoE throws' in libconcord! But simply open the Makefile and the line ' LIBS =-lusb ' complement ' LIBS =-lstdc + +-lusb ' change. For more information on the subject can be found in the associated Bug . will then compile the library and installed:
make sudo make install then the library is in / usr / local / lib. Now for the Python bindings are missing:
cd concordance-0.21/libconcord/bindings/python sudo python setup.py install needed libconcord According Readme Direct IO, ie it must congruity later either run as root ( what an unnecessary security risk) would give the user or rawio rights. I chose the latter. On Ubuntu, that goes with policykit and nice as contains the makefile of libconcordance equal the proper rule:
cd concordance-0.21/libconcord make policykit sudo make install_policykit Unfortunately, this rule currently contains another bug . Therefore, the generated file permission must be copied into the correct folder, because otherwise the unit will then only be recognized when congruity is started as root:
sudo cp / usr/local/etc/udev/rules.d/99 -libconcord.rules / etc / udev / rules.d / lsusb according to the next command with the values determined in the To: echo 'SYSFS {idVendor} == "046d", SYSFS {idProduct} == "c111", MODE = "666"' (Otherwise, each search engine can arrange), one can simply wait for the download so the first browser asks a file and then assign congruity.
In Firefox it is still considered a special feature, namely, this browser loads all the files downloaded by default without prompting. To solve this, it is a simple way to describe the Readme:
You'll need to change a setting to see the download prompt action; Otherwise,
files will simply be saved to disk without you being asked. On Linux, this may be Achieved from the Edit menu -> Preferences menu item -> Main tab -> Select "Always ask me where to save files". The exact menu location may vary slightly
on other operating systems.
When a file download commences, a dialog will appear with the option to "Open
With", or "Save" the file. Select "Open With", and browse for the congruity
executable as the application. You may also want to select "Do this
automatically for files like this from now on". You will need to select the
path to the congruity application once for each file type (*.EZHex, *.EZUp,
*. EZTut).
If the automatic option is not selected, the dialog will appear for every file
downloaded. Note that Firefox does remember the path to congruity for future
downloads, even though it is not displayed.
A short test, the program loads / usr / local / bin / congruity .
It fails with an error ( ERROR: Precisely one file name argument is required ), because the configuration process runs differently
After configuration of the browser (so) you can visit the Harmony website . Here is one created a new login (or login with an existing one), the message is ignored on outdated software and click their way through, you will be asked to to connect the remote via USB to the PC. Continuing along the wizard opens congruity automatically when the browser is downloading a generated by the wizard EZHex file (which we have above configured, otherwise the browser will now ask for, so the file should be opened, then we choose
/ usr / local / bin / congruity
). rest is now self-explanatory. Should be downloaded automatically and ask the browser, so they should be open to other files, we just choose always congruity.
0 comments:
Post a Comment