Giter Club home page Giter Club logo

Comments (4)

gh0stzk avatar gh0stzk commented on August 23, 2024

Hello, about weather scripts, the location is ~/.config/bspwm/scripts there you can found the 2 weather scripts used in some rices.

About mpd, could be a lot of things, but first could you pls create manually a file called mpd.pid in ~/.config/mpd/

and did you enable the service?

systemctl --user enable mpd.service
systemctl --user start mpd.service

from dotfiles.

kirillgerke avatar kirillgerke commented on August 23, 2024

Hello gh0stzk,
Thank you for prompt reply!
Yes, i did enable the mpd service.
Also, as you suggested i created the file. The problem persists though:

× mpd.service - Music Player Daemon
Loaded: loaded (/usr/lib/systemd/user/mpd.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Sat 2022-12-31 12:40:20 MSK; 10s ago
Docs: man:mpd(1)
man:mpd.conf(5)
Process: 2137 ExecStart=/usr/bin/mpd --systemd (code=exited, status=1/FAILURE)
Main PID: 2137 (code=exited, status=1/FAILURE)
CPU: 63ms

Dec 31 12:40:20 archlegion systemd[1120]: Starting Music Player Daemon...
Dec 31 12:40:20 archlegion mpd[2137]: Ignoring the 'pid_file' setting in systemd mode
Dec 31 12:40:20 archlegion mpd[2137]: server_socket: bind to '0.0.0.0:6600' failed (continuing anyway, because binding to '[::]:6600' succeeded): Failed to bind socket: Address already in use
Dec 31 12:40:20 archlegion mpd[2137]: exception: Failed to open '/var/lib/mpd/mpd.db': No such file or directory
Dec 31 12:40:20 archlegion mpd[2137]: exception: Failed to open database plugin; Can't create db file in "/var/lib/mpd": Permission denied
Dec 31 12:40:20 archlegion systemd[1120]: mpd.service: Main process exited, code=exited, status=1/FAILURE
Dec 31 12:40:20 archlegion systemd[1120]: mpd.service: Failed with result 'exit-code'.

If i look at /var/lib/mpd it seems to be ok:
drwxr-xr-x 3 mpd mpd 4096 Dec 30 00:22 mpd

Feels like something went wrong during installation may be... Not sure.
Any ideas?
Kirill

from dotfiles.

kirillgerke avatar kirillgerke commented on August 23, 2024

So, i still have no idea what the problem was, but i managed to run bspwm by installing lightgdm - it starts and runs smoothly now.
mynerdvana
Now will have some time to manage connecting the laptop to the external monitor with all the rices working as desired:)
Many thanks!

from dotfiles.

gh0stzk avatar gh0stzk commented on August 23, 2024

Sorry forgot about the file "socket" in ~/.config/mpd/ create it.
Disable all mpd services first.
You must enable mpd service without sudo "systemctl --user enable mpd.service" first kill all mpd process, "killall mpd" then "systemctl --user start mpd.service"
In ncmpcpp if it says connected, you are done. then add songs.
If nothing helps, try read mpd wiki in archwiki, this page helps me firts time i configured mpd.

from dotfiles.

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.