Closed TheEdgeOfRage closed 9 months ago
looks like ConfigParser, the module that is used by bumblebee-status, is case insensitive by default. There are ways around that, I hope I can investigate during the weekend.
I'm using a fork of bumblebee with a couple of my own fixes (including for this) anyway, so no biggie if there's no way around it :)
Bug Report
Description
Affected module: config Version used: latest git
I use a toml config file to define all of my parameters. The problematic ones in this case, are the pulsectl pretty name params. The parameter key gets converted to lower case (presumably during toml parsing), while the pulsectl lib returns the properly capitalized name. The pulsectl module then fails to look up the params, cause the names don't match. Adding a
.lower()
call on the output from pulsectl fixes this issue, but breaks parameters passed in through the command line.Related issue
How to reproduce
Create a toml config for bumblebee, similar to this:
Just adjust the device name to one on your own machine that has capital letters. Starting bumblebee with this config, will still show the original name.