Skip to content

Conversation

@ctrlaltf24
Copy link
Contributor

@ctrlaltf24 ctrlaltf24 commented Oct 14, 2025

Created a tiny rust binary to send messages over dbus, then implemented a dbus server in python

Also refactored startup to initialize the python object then call start to enable being able to use the app instance in the dbus code.

TODO:

  • Still need to package and extract the binary
  • double check dbus naming conventions to make sure the naming makes sense- much easier to change before we release anything
  • test snap
  • test flatpak
  • test gui/tui exit conditions, need to make sure bases are covered after refactor
  • test what happens when launching OD multiple times
  • test opening link in the browser before OD starts - can we configure our .desktop files to open automatically?

Tested:

  • install and run using chromium - works.

Not sure why this didn't pop up earlier in testing, but for some reason it appeared on my machine so added an additional check to make sure the appimage downloads
Created a tiny rust binary to send messages over dbus, then implemented a dbus server in python

Still need to package and extract the binary and double check dbus naming conventions to make sure the naming makes sense- much easier to change before we release anything

Also refactored startup to initialize the python object then call start to enable being able to use the app instance in the dbus code.

Testing still needed as of time of writing:
- snap/flatpak
- gui/tui exit conditions, need to make sure bases are covered after refactor
- launching OD multiple times
- opening link in the browser before OD starts - can we configure our .desktop files to open automatically?
- consider a --daemon cli option in case someone just wants to run the dbus server in the background so they can open Logos urls all the time. Perhaps we can do this later - not very important, they can always have Logos open first before they hit the link (we can wait until it's a requested feature)

Tested:
- install and run using chromium - works.
@ctrlaltf24 ctrlaltf24 requested review from n8marti and thw26 October 14, 2025 07:08
Copy link
Collaborator

@thw26 thw26 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did an initial code review. Still needs tested.

self.app = app

@method()
def Launch(self, args: 'as') -> None: # type: ignore[valid-type]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: comment should have two preceding spaces

Tested:
- built binary
- run uninstall, then install from binary
- ran logos from binary
- logged in using the browser
- observed Logos application logged in
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants