Comments (9)
Based on your comments, I found that the easiest (and maybe dirtiest) way was to link /usr/lib/x86_64-linux-gnu/libconfig.so.9 to /usr/lib/libconfig.so.11, which seems to resolve the error I originally reported. It seems like clight expects to find the config file in /root/.config whereas it appears in ~/.config in my system. Is there a way to rectify this without a manual build?
from clight.
@FedeDP — thanks for all your help with this. I’m going to close this issue because this doesn’t seem to report any actual deficiency in clight itself, really only the fact that installation on Ubuntu can be an annoyance (since the only way appears to be to build from source — e.g., even the use of dpkg causes a lock from sudo). If the project has time at some point going forward, it might be worth making Ubuntu installs easier via setting up a PPA, etc., but that’s conditional on interest from the clight authors/maintainers and, again, not a problem with clight itself. Thanks again!
from clight.
I really hope you enjoy clight!
I'd like to add that i am thinking about entirely dropping deb packages as i don't have much time anymore for my side projects and i don't want to waste time on such a thing.
It would be great if anyone using ubuntu could step up and creating these debs (both clight and clightd) for me, or if clight/clightd was included in debian/ubuntu official repositories.
from clight.
The issue is that i created the deb package from my Archlinux; it has libconfig.so.11, while ubuntu ships libconfig.so.9.
You can fallback at building and installing yourself for now: https://github.com/FedeDP/Clight#build-instructions
Obviously you need "-dev" packages to build clight.
I'll have to figure out a way to let deb package be built from current ubuntu version (may be using a docker image).
Sorry for the inconvenience and thanks for the report!
from clight.
PS: a dirty-but-quick solution would be to link /usr/lib/libconfig.so.9 to /usr/lib/libconfig.so.11 :)
from clight.
thanks for the quick reply! hmm, it looks like I'm missing something --- for some reason neither libconfig.so.9
nor libconfig.so.11
appears under /usr/lib/
(even after a successful apt-get install libconfig9
). Is there something obvious that I'm just missing here?
from clight.
Ubuntu installs shared objects in /usr/lib/x86_64-linux-gnu/libconfig.so.9. Unfortunately I think you'll need to build and install clight manually.
from clight.
Oh, I see. Thanks for pointing that out. I'll try building manually then.
from clight.
It seems like clight expects to find the config file in /root/.config whereas it appears in ~/.config in my system. Is there a way to rectify this without a manual build?
It tries to find an /etc/default/clight.conf and then a $HOME/.config.
Are you running clight with sudo or as root user? It does not need that.
from clight.
Related Issues (20)
- 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
- Getting errors with new cofig layout[BUG] HOT 4
- Black Screen - Read FAQ - Can not convert to action HOT 3
- [BUG] move clight.conf to /etc/clight/ ? A better warning HOT 3
- [BUG] Config file: file I/O error at line 0 HOT 3
- [BUG] many, many Ambient brightness: 0.836, Screen brightness: 0.129 -> Screen backlight: 1.000. HOT 3
- [FEATURE REQ] Configure gamma per monitor HOT 1
- [BUG] Clight changes the backlight level twice every capture HOT 3
- No smooth transition. Settings are ignored. [BUG] HOT 15
- [FEATURE REQ] Toggle night modes (browser,DE,WM,plug-ins,add-ons...) when thresold is toggled. Ready to fire code to do that is available at baduhai/Koi oskarsh/Yin-Yang and other HOT 2
- [BUG] misformatted version string when installing from the release tarballs HOT 4
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.