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

how do i run this? #81

Open
szymon420699 opened this issue May 5, 2024 · 3 comments
Open

how do i run this? #81

szymon420699 opened this issue May 5, 2024 · 3 comments

Comments

@szymon420699
Copy link

starting the systemd service doesnt work nor starting the server please help thanks

@mike-lloyd03
Copy link
Contributor

Might be helpful to include the error messages you're getting when trying to start the server.

@jamesponddotco
Copy link

jamesponddotco commented May 25, 2024

Same problem here. When trying to run swayosd-client --output-volume raise, for example, I get:

Could not connect to SwayOSD Server with error: org.freedesktop.DBus.Error.ServiceUnknown: The name org.erikreider.swayosd-server was not provided by any .service files

Running swayosd-client with any commands or arguments result in the same error.

systemctl status swayosd-libinput-backend.service shows the service running and no error messages are displayed in the journal.

I'm running openSUSE Tumbleweed, if that matters. I'm guessing the DBUS files went to the wrong place or something.

EDIT: They were installed correctly, it seems. /usr/share/dbus-1/system-services has a org.erikreider.swayosd.service file and /usr/share/dbus-1/system.d has a org.erikreider.swayosd.conf file.

EDIT2: I installed it like this, if it matters:

meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype release --auto-features enabled --wrap-mode nodownload -D b_pie=true -D python.bytecompile=1 build
ninja -C build
meson install -C build

@jamesponddotco
Copy link

Found the problem, I feel stupid. Forgot to add exec swayosd-server to sway's config file 🤦

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

3 participants