THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. The following task has a new comment added:
FS#557 - Move away D-Bus support User who did this - Konstantin Stepanov (kstep) ---------- I've cloned it to my github account at https://github.com/kstep/simpledbus and hacked it a little, so I can send method requests w/o waiting for reply. Now I managed to make method request from within awesome with the following code: local dbus = require("simpledbus") local bus = dbus.SessionBus() function set_layout(layout) -- dest, path, iface, member, no-reply flag, signature, arg0 (layout number) return bus:call_method('ru.gentoo.kbdd', '/ru/gentoo/kbdd', 'ru.gentoo.kbdd', 'set_layout', true, 'u', layout or 0) end set_layout(1) This code is to control current keyboard layout with kbdd (https://awesome.naquadah.org/wiki/Keyboard_layouts_with_kbdd). Works like a charm for me. ---------- More information can be found at the following URL: https://awesome.naquadah.org/bugs/index.php?do=details&task_id=557#comment2483 You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above. -- To unsubscribe, send mail to [email protected].
