mocp | Music On Console Player | Command Line Interface library
kandi X-RAY | mocp Summary
kandi X-RAY | mocp Summary
MOC (music on console) is a console audio player for Linux/Unix designed to be powerful and easy to use.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of mocp
mocp Key Features
mocp Examples and Code Snippets
Community Discussions
Trending Discussions on mocp
QUESTION
I managed to set up my XMonad config from the ground up by myself - but I am having difficulties setting the brightness and media control keys - and I have no experience in programming or Haskell for that matter, and thus I don't know how to read the error messages (my fault, sorry). When reverting to the state before the changes relating to my problems, I have no compilation erorrs.
So I tried copiying from other people's dotfiles but I always got compilation errors. Here I am copying Derrek Taylor's XMonad config, specifically the part relating to the problem. So I copied :
...ANSWER
Answered 2021-Feb-18 at 01:00OK so it seems I accidentally fixed my own problem, but in the most unusual way :
I went over to this site because I was searching on how to control the brightness. Literally just went to Duck Duck Go and put "how to conrtol brightness XMonad" or whatever. Installed Lux, the program to do it. For some reason after trying XBrightness it didn't register my screen or some other error message was found which is irrelevant for this discussion so I just stuck with Lux.
However while the general syntax seemed good, I've now noticed that DT's config which I gave the link to above had a different name for the XF keys. Well I just discovered while writing this was that the reason I had problems was the EZ keymap configuration - DT was using it and seems I wasn't. This realization however was much after doing step 3.
3.I took at Luke Smith's DWM fork which I used for a while before switching to XMonad. Turns out the keymap names are different and I tried them instead. Then noticed that the X in XF86AudioLowerVolume
for instance was capitalized while in something like , ((0, xF86XK_MonBrightnessUp), spawn "lux -a 10%")
from step 1 it wasn't. Since at this point Lux worked I just played the game of making sure the syntax was the same for both cases. Eventually I also figured out that Luke's dwm fork held the exact names for the keys including the lowercase so I just stuck with copiying the syntax and changing the appropriate keybindings.
A few XMonad compile error messages later it got everything working !
Now my Controls look as follows :
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install mocp
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page