| 14 Jan 2025 |
eliasp | thanks, will give it a try (once I get around to it) | 14:10:47 |
eliasp | 22 pkgs to go... π
| 15:24:23 |
eliasp | β¦aaaand done! | 15:40:59 |
| 15 Jan 2025 |
qbit | trying to make a python krunner plugin for plasma6 | 14:50:04 |
qbit | i see pkgs/desktops/plasma-5/3rdparty/addons/krunner-ssh.nix | 14:50:08 |
qbit | which does:
install -m 0755 -D ssh-runner.desktop $out/share/kservices5/ssh-runner.desktop
install -m 0755 -D ssh-runner.service $out/share/dbus-1/services/com.selfcoders.ssh-runner.service | 14:50:29 |
qbit | for a plasma6 setup, is it sufficient to s/5/6/ ? | 14:50:51 |
K900 | I believe so | 14:51:37 |
qbit | https://paste.suah.dev/krunner-krha.nix.html here's what I have so far. When I try to run it (result of nix build), I get ImportError: cannot import name GLib, introspection typelib not found | 15:07:09 |
qbit | any cluesticks? | 15:07:14 |
qbit | i started with the nix shell shebang trick and included those dependencies and everything worked as expected | 15:07:43 |
qbit | if I call the python3 interpreter from the shebang in the results I can import requests and dbus.mainloop.glib | 15:32:26 |
qbit | but not gi.repository | 15:32:32 |
qbit | so it's like.. half working | 15:32:39 |
K900 | Yeah that would need some wrapGAppsHook stuff probably | 15:45:58 |
K900 | Don't use the glib stuff | 15:46:27 |
K900 | Either use qtdbus or maybe dbus-fast or jeepney | 15:49:28 |
qbit | oh, i was just using whatever kdevelop spat out for the template | 15:53:46 |
qbit | maybe i should switch it to c++.. not sure I can easily do the configuration stuff with python | 17:05:53 |
qbit | well, got it working with the wrapGAppsHook.. but now I don't think I have the services / desktop stuff set correctly | 18:27:01 |
qbit | is there a.. debug.. thing? i can use? | 18:27:18 |
qbit | like, dbus.. debug i guess? | 18:27:26 |
qbit | Jan 15 11:29:23 europa dbus-daemon[2026]: [session uid=1000 pid=2026] Activating service name='dev.suah.krha' requested by ':1.3070' (uid=1000 pid=763180 comm="/nix/store/m291x73h8k8al3bcmywh5xl1w04j74x5-plasma" label="kernel")
Jan 15 11:29:23 europa dbus-daemon[2026]: [session uid=1000 pid=2026] Activated service 'dev.suah.krha' failed: Failed to execute program dev.suah.krha: No such file or directory
| 18:29:42 |
| 16 Jan 2025 |
πΌπ. π±ππ πππ π π·ππ | In reply to @k900:0upti.me Either use qtdbus or maybe dbus-fast or jeepney fwiw qtdbus is has no maintainer for many years | 04:57:13 |
πΌπ. π±ππ πππ π π·ππ | In reply to @k900:0upti.me Either use qtdbus or maybe dbus-fast or jeepney * fwiw qtdbus has no maintainer for many years | 04:57:36 |
πΌπ. π±ππ πππ π π·ππ | In reply to @qbit:tapenet.org like, dbus.. debug i guess? d-spy + bustle | 05:32:16 |