I launch a lot of daemons in my wm's startup file (compositor, panels, nm-applet, ...). Sometimes, these daemons crash without my noticing. Ok, if it's a panel, you'll notice, but imagine if dunst crashes. When trying to figure out WHY these things crash, I pipe stderr to a log file. Then I git push / git pull my dots to my other computer and my daemons are suddently silently never launching because I didn't touch the log file on the new machine. Not very robust.
This is my solution to both of these problems. It is a launcher, logger, and a notifier. Running
bark picom -- picom --vsync
will start the process named picom whose command is picom --vsync (name is only used internally for notifying). If ever the command exits, a notification is displayed. stdout and stderr will go to ~/.cache/bark/picom.log. bark logs picom prints the log file, and bark logs picom -f "follows" the log file, printing new lines as they are written to the file.
I called it Bark! because its function reminds me of a watchdog (though it is not a watchdog (yet ๐)) and because when your program exits, it "barks" at you (sends a notification).
I thought I'd share this here in case fellow wm users find this useful. I am also curious if anybody else has a similar solution to this problem?
Does it really help screen tearing? I was experiencing some bugs in it and turned it off as I don't use it's transparency features anymore. But if it really helps screen tearing I'll try it again.
For anyone else having this issue, I was able to fix it (after hours of cursing my computer) by changing /usr/share/webapps/gitlab-shell/bin/gitlab-shell to /usr/share/webapps/gitlab-shell/bin/gitlab-shell-ruby (add ruby at the end) in /etc/passwd.
/usr/share/webapps/gitlab-shell/bin/gitlab-shell can't read a config file for some reason so it tries and fails to fall back to /usr/share/webapps/gitlab-shell/bin/gitlab-shell-ruby. This doesn't really fix the problem with /usr/share/webapps/gitlab-shell/bin/gitlab-shell but rather defaults to the ruby fallback.
I like rEFInd
Vim config looks sick (is that vim?). I like the gutter. What is that?
How can you live with some windows having buttons on the left and some on the right?
โ
Of course, everything else looks absolutely perfect.
I know there should be that file. But there isn't. Is there anywhere else it could be?
~/.local?Not a question, but I wanted to share what I've been working on: Bark! the daemon launcher, logger, notifier, "watchdog"
I launch a lot of daemons in my wm's startup file (compositor, panels, nm-applet, ...). Sometimes, these daemons crash without my noticing. Ok, if it's a panel, you'll notice, but imagine if dunst crashes. When trying to figure out WHY these things crash, I pipe stderr to a log file. Then I git push / git pull my dots to my other computer and my daemons are suddently silently never launching because I didn't touch the log file on the new machine. Not very robust.
This is my solution to both of these problems. It is a launcher, logger, and a notifier. Running
will start the process named picom whose command is
picom --vsync(name is only used internally for notifying). If ever the command exits, a notification is displayed. stdout and stderr will go to~/.cache/bark/picom.log.bark logs picomprints the log file, andbark logs picom -f"follows" the log file, printing new lines as they are written to the file.I called it Bark! because its function reminds me of a watchdog (though it is not a watchdog (yet ๐)) and because when your program exits, it "barks" at you (sends a notification).
I thought I'd share this here in case fellow wm users find this useful. I am also curious if anybody else has a similar solution to this problem?
Sorry reading the source of every package just doesn't seam feasible to me. Especially if they are written in an unfamiliar language.
Does it really help screen tearing? I was experiencing some bugs in it and turned it off as I don't use it's transparency features anymore. But if it really helps screen tearing I'll try it again.
2017-12-22
Same age as my desktop
That is true, but OP is looking for a way to monitor an existing process.
I think dd has a signal you can send the process with kill to print its statistics. I know that's not what you asked but might be helpful
Beautiful
Yes. Vim is very usable with zero configuration. I would start with a minimal rc for a while.
Yeah it's definitely doable, just more complicated.
More complicated as OP had no internet.
Beautiful
Me too. Just sometimes also with keyboard modifiers.
To be clear, normally I use the title bar, but this trick has come in handy several times when the title bar is off screen.
Alt + click drag?
I see. That right there is a deal-breaker for me.
Can you get around the alacritty problem by accessing the clipboard directly through Vim or tmux?
I also started by taking over a package (repetier-host ). Now I also maintain a few other packages nobody uses.
You just left it blank?
For anyone else having this issue, I was able to fix it (after hours of cursing my computer) by changing
/usr/share/webapps/gitlab-shell/bin/gitlab-shellto/usr/share/webapps/gitlab-shell/bin/gitlab-shell-ruby(addrubyat the end) in/etc/passwd./usr/share/webapps/gitlab-shell/bin/gitlab-shellcan't read a config file for some reason so it tries and fails to fall back to/usr/share/webapps/gitlab-shell/bin/gitlab-shell-ruby. This doesn't really fix the problem with/usr/share/webapps/gitlab-shell/bin/gitlab-shellbut rather defaults to the ruby fallback.Any idea what I have to read into to get this to work?
I installed it through the AUR. Are you saying I'm SOL? Why do the icons work for some AUR applications?
Still not working with the 48x48 Adwaita
utilities-terminal.png.