Comments (4)
Hi! Thanks for opening this issue!
Config file: file I/O error at line 0.
I am not really sure what's causing this issue; never saw that! Can you share first 5 lines of /etc/default/clight.conf
file?
Then I receive errors like this:
Yep, because if you copy it to your local config, it won't find the include
d config files anymore since they are provided as relative paths, so your fix is correct.
To fix the latter, i think i should move to always use absolute path, so that wherever the configs are, the includes will be fine.
from clight.
Well, i was wrong: since i used config_set_include_dir(&cfg, dirname(config_file_dup));
, it means that each config will resolve its includes relative to its folder.
This is the correct behavior IMHO, so if you copy /etc/clight/clight.conf
to your local folder, you are expected to also copy interesting configs from /etc/clight/modules.conf.d/
(ie: the ones you want to override) and then edit the copied clight.conf
to only include needed configs.
from clight.
I actually don't have a file at /etc/default/clight.conf
[user@home ~]$ cat /etc/default/clight.conf
cat: /etc/default/clight.conf: No such file or directory
from clight.
I actually don't have a file at /etc/default/clight.conf
That actually explains a lot!
Indeed there was a bug where the code always tried to parse /etc/default/clight.conf
even when not present.
It is fixed in latest master.
from clight.
Related Issues (20)
- [FEATURE REQ] being consistent with KDE settings HOT 5
- [question]Pause/resume brightness adjusting, Set gamma to max/min gamma in a script ? HOT 7
- [BUG] Capture from webcam not working HOT 9
- [Question] monitor does not support DDC. Will it work? HOT 4
- [BUG] trans_step lower that 0.001 break backlight dimming HOT 3
- [FEATURE REQ] Custom stepping for when playing videos (inhibited) HOT 2
- Good news, soon a standard package in openSUSE HOT 2
- [question] how to uninstall clight ? HOT 3
- Enable/disable gamma correction at night HOT 4
- error - Could not create dbus interface HOT 4
- [BUG] Invalid desktop file HOT 5
- [BUG] calibration wizard fails with "get_backlight(): No such device or address" HOT 2
- [QUESTION] How to disable DDC? HOT 8
- [BUG] Compilation issue: 'libmodule' not found HOT 6
- [BUG] ALS detected but doesn't really work HOT 1
- [QUESTION/FEATURE REQ] glob matching for override monitor_id HOT 1
- [FEATURE REQ] Deduplication of regression points in config file HOT 1
- [BUG] ALS Not Work HOT 5
- Windows possible? HOT 2
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 clight.