![]() |
Re: [Anounce] [N9] Volume/Power Button Monitor
ok, crap. LED requires root, and n9bm of course runs as user. thinking about it. ideas?
|
Re: [Anounce] [N9] Volume/Power Button Monitor
ok, made a daemon that listens over dbus for led(0), led(255), etc
|
Re: [Anounce] [N9] Volume/Power Button Monitor
syntax will be:
###led => set led brightness to ### [0..255] ###ms => delay ### milliseconds on => 255led synonym off => 0led synonym double blink: on, 10ms, off, 250ms, on, 10ms, off slow increase over ~5s: 16led, 250ms, 32led, 250ms, 48led, 250ms, 64led, 250ms, 80led, 250ms, 96led, 250ms, 112led, 250ms, 128led, 250ms, 144led, 250ms, 160led, 250ms, 176led, 250ms, 192led, 250ms, 208led, 250ms, 224led, 250ms, 240led, 250ms, 255led, 250ms, 0led |
Re: [Anounce] [N9] Volume/Power Button Monitor
damnit! im done with it, except that i cant get the led-dbus to start as root. got no idea what to do about this.
EDIT: presumably because dbus qt mainloop needs an xsession. switched to gobject |
Re: [Anounce] [N9] Volume/Power Button Monitor
v0.5.5
+ added configurable led patterns for quickSnap + added shutter sound to quickSnap, in addition to picture-saved sound + added soundfile configs for quickSnap |
Re: [Anounce] [N9] Volume/Power Button Monitor
if you get a chance, please test this. i have no idea if it will work in non-openmode.
EDIT: what i mean specifically is it would be great if someone who doesnt use openmode tested quick-snap and saw that the LED blinks for them. it should blink once approximately at the same time the image is taken {and play the default camera sound at the same time}, and then blink twice quickly when the image is saved {without playing any sound by default}. to add quickSnap to the lockscreen {vol+ trebleClick}, do this in ~/.config/n9-button-monitor.ini action=quickSnap(auto),volumeUp,trebleClick,screen Locked |
Re: [Anounce] [N9] Volume/Power Button Monitor
Wont work :(
|
Re: [Anounce] [N9] Volume/Power Button Monitor
oh well, thanks for the test!
can you also test the sound configs? copy two WAVs to MyDocs called a.wav and b.wav, edit prefs, and add these lines: quickSnapShutterSound=/home/user/MyDocs/a.wav quickSnapSaveSound=/home/user/MyDocs/b.wav then take a quickSnap, you should hear a, then hear b about 5 seconds later |
Re: [Anounce] [N9] Volume/Power Button Monitor
note that LED works fine if you use openmode.
also note that you can start the led daemon manually by running as root: /opt/n9-button-monitor/led-dbus.py and that this will almost certainly work on non-openmode. |
Re: [Anounce] [N9] Volume/Power Button Monitor
Add lines
quickSnapShutterSound=/home/user/MyDocs/a.wav quickSnapSaveSound=/home/user/MyDocs/b.wav To camera.py or button monitor ini? |
All times are GMT. The time now is 22:21. |
vBulletin® Version 3.8.8