Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DBus system bus is optional #3392

Closed
SDLBugzilla opened this issue Feb 11, 2021 · 0 comments
Closed

DBus system bus is optional #3392

SDLBugzilla opened this issue Feb 11, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

These attachments are available in the static archive:

Reported in version: HG 2.0
Reported for operating system, platform: Linux, All

Comments on the original bug report:

On 2019-09-07 06:41:00 +0000, tamo wrote:

Created attachment 3957
make system bus optional

Don't require a system bus in SDL_dbus.c.
SDL uses only a session bus.

For example, if you are on WSL environment, you may have only activated a session bus.
Even on native Linux, you may be on such a system where dbus is not installed and you install it as a user (e.g. to $HOME).

What I did were (on Windows):

  1. Install WSL, Ubuntu, and VcXsrv.
  2. Run VcXsrv (without native opengl, fwiw).
  3. Run "Bash on Ubuntu".
  4. Type "export DISPLAY=:0.0" and press ENTER.
  5. Type "dbus-run-session bash" and press ENTER.
  6. Type "export XMODIFIERS=@im=fcitx" and press ENTER.
  7. Type "fcitx -rd &" and press ENTER.
  8. Run testime. (in SDL/test)

Without this patch, you cannot use fcitx in this case.
With this patch, you can.

On 2020-03-27 00:28:47 +0000, Ryan C. Gordon wrote:

This patch is now https://hg.libsdl.org/SDL/rev/e3844f61860a, thanks!

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

No branches or pull requests

1 participant