Code Monkey home page Code Monkey logo

Comments (13)

francma avatar francma commented on July 22, 2024

What is the log output of wob.{socket,service}?

My guess is that you have this in your config file:

exec mkfifo $WOBSOCK && tail -f $WOBSOCK | wob

And that shouldn't be there if you are using systemd service.

from wob.

phoneticallySAARTHaK avatar phoneticallySAARTHaK commented on July 22, 2024

Yeah.. I had that the both the commands in that snippet, and the one for systemd as well, in my sway config.
Removed both the lines, and kept only the systemd one. but still not running.

How do I get the logs though?
There are no logs...
Other than listening and closing.

$ journalctl --user | grep wob
Dec 11 19:23:10 elixir systemd[454]: Closed wob.socket.
Dec 11 19:23:18 elixir systemd[471]: Listening on wob.socket.
Dec 11 19:23:49 elixir systemd-coredump[1145]: Process 1143 (wob) of user 1000 dumped core.
                                               Found module wob with build-id: 68c94bc14888563451ca30def0e504961389447e
                                               #8  0x000055b666593bce n/a (wob + 0x4bce)
Dec 11 19:24:38 elixir systemd-coredump[1270]: Process 1268 (wob) of user 1000 dumped core.
                                               Found module wob with build-id: 68c94bc14888563451ca30def0e504961389447e
                                               #8  0x000056032d80dbce n/a (wob + 0x4bce)
Dec 11 19:26:13 elixir systemd-coredump[1533]: Process 1531 (wob) of user 1000 dumped core.
                                               Found module wob with build-id: 68c94bc14888563451ca30def0e504961389447e
                                               #8  0x000055ac816f9bce n/a (wob + 0x4bce)
Dec 11 19:27:16 elixir systemd[471]: Closed wob.socket.
Dec 11 19:27:24 elixir systemd[463]: Listening on wob.socket.

I don't know about the lines around 19:23

from wob.

francma avatar francma commented on July 22, 2024

What if you run wob just directly from terminal?

Process 1268 (wob) of user 1000 dumped core

This indicated that wob crashes. What version of wob are you running? On what distro and compositor?

from wob.

phoneticallySAARTHaK avatar phoneticallySAARTHaK commented on July 22, 2024

wob works fine from terminal. and yes those crashes were caused by me while manually using it on terminal.
Oh and my bad. I installed wob from the git repo few days ago on fresh arch install, with sway.

from wob.

francma avatar francma commented on July 22, 2024

What is the output of?

systemctl status --user wob.*

from wob.

phoneticallySAARTHaK avatar phoneticallySAARTHaK commented on July 22, 2024

It is active
http://ix.io/3HHE

from wob.

francma avatar francma commented on July 22, 2024

It should look something like this:

> systemctl status --user wob.*
● wob.socket
     Loaded: loaded (/home/francma/.local/share/systemd/user/wob.socket; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2021-12-10 16:05:42 CET; 23h ago
   Triggers: ● wob.service
     Listen: /run/user/1000/wob.sock (FIFO)
     CGroup: /user.slice/user-1000.slice/[email protected]/app.slice/wob.socket

Dec 10 16:05:42 nuc systemd[950]: Listening on wob.socket.

● wob.service - A lightweight overlay volume/backlight/progress/anything bar for Wayland
     Loaded: loaded (/home/francma/.local/share/systemd/user/wob.service; disabled; vendor preset: enabled)
     Active: active (running) since Fri 2021-12-10 16:14:31 CET; 23h ago
TriggeredBy: ● wob.socket
       Docs: man:wob(1)
   Main PID: 2341 (wob)
      Tasks: 1 (limit: 19020)
     Memory: 388.0K
        CPU: 14ms
     CGroup: /user.slice/user-1000.slice/[email protected]/app.slice/wob.service
             └─2341 /usr/bin/wob

Dec 10 16:14:31 nuc systemd[950]: Started A lightweight overlay volume/backlight/progress/anything bar for Wayland.

The importat part is TriggeredBy: ● wob.socket.

Does something happen if you run this?

echo 10 > /run/user/1000/wob.sock 

from wob.

phoneticallySAARTHaK avatar phoneticallySAARTHaK commented on July 22, 2024

Yup, the bar does show up
but wob.service is not running

from wob.

francma avatar francma commented on July 22, 2024

Does the command to modify volume/brightness from your sway config work if you run it directly in terminal?

from wob.

phoneticallySAARTHaK avatar phoneticallySAARTHaK commented on July 22, 2024

Yes it does, i use brightnessctl, and it keybinding for it works as well.
I enabled and disabled wob.service, and it did show up that it can still be enabled by wob.socket.

from wob.

francma avatar francma commented on July 22, 2024

Maybe the wob previously started by exec mkfifo... from sway config is still running? Try to kill it with killall wob or just do a restart.

from wob.

phoneticallySAARTHaK avatar phoneticallySAARTHaK commented on July 22, 2024

Nope, it returns no process found. have restarted multiple times
It might be an issue in my systemd config file (since I don't fully understand systemd yet) but pipewire runs fine. So i can't pinpoint the issue here

from wob.

francma avatar francma commented on July 22, 2024

I followed the directions in README in new Archlinux install and was able to make wob with systemd work. You can look at my dotfiles here: https://github.com/francma/dotfiles

I'm gonna close this now. Feel free to comment if you manage to get it working, Maybe the directions can be then improved to be more clear - for non-systemd people.

from wob.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.