Comments (13)
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.
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.
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.
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.
What is the output of?
systemctl status --user wob.*
from wob.
It is active
http://ix.io/3HHE
from wob.
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.
Yup, the bar does show up
but wob.service is not running
from wob.
Does the command to modify volume/brightness from your sway config work if you run it directly in terminal?
from wob.
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.
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.
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.
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)
- Replace -v with WOB_LOG_LEVEL env variable
- new release planned? HOT 1
- Two bars on dual monitor setup HOT 3
- unknown keys border and offset HOT 2
- Feature request: allow margin for top/bottom and left/right HOT 2
- Thank you for implementing config files HOT 1
- thank you, using wob as a screenshot notice
- New release HOT 1
- WOB template HOT 1
- hyprland compatible?
- [feature req] Accept more inputs? HOT 3
- Sandbox make wob to crash instantly on aarch64 HOT 7
- fifo input: doc improvement
- Negative numbers support?
- feature request: include contrib in releases
- Reloading sway config file does not change aspect of bar HOT 3
- Exec doesn't run custom configuration HOT 4
- feature req: color segments
- -c option doesn't work if wob.ini exists HOT 1
- Use pixman for drawing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wob.