![]() |
Re: [Anounce] [N9] Volume/Power Button Monitor
Quote:
it depends on how much you trust the maintainers of the repositories. i dont trust nokia much, so im a bit cautious about upgrading, but i still install the upgrades unless theres damn good reason not to, and there hasnt been yet. IMO, you shouldnt have a repo installed that youre afraid to do apt-get upgrade with. for unstable repos, you should enable them, upgrade carefully and judiciously, and disable them, if you want to have some semblance of stability. anyway, do what you feel. it could fix the problem, or give you cancer. |
Re: [Anounce] [N9] Volume/Power Button Monitor
Quote:
Ohh and thanks for this app/script it is working just fine. Regards Dousan... |
Re: [Anounce] [N9] Volume/Power Button Monitor
new release is up.
includes an ugly config gui, and hopefully should work without inception now. |
Re: [Anounce] [N9] Volume/Power Button Monitor
feedback would be appreciated, especially on the gui {which is the ugliest thing ive ever seen; pyside is surprisingly ugly out of the box, without any qml or whatever you gui-kids use these days}.
as far as i can tell, the gui works, but isnt too friendly to use. ill see about styling it up in a modern, harmattan-ish way next release. if someone who does NOT use inception could confirm that this works for them, i would appreciate it. |
Re: [Anounce] [N9] Volume/Power Button Monitor
left out a critical feature; 0.4.3 is up now
config file is automatically reloaded now without a phone restart {no upstart restart necessary, either} |
Re: [Anounce] [N9] Volume/Power Button Monitor
I just installed the new version, maybe the gui is a little bit ugly and too small but this app works just fine for me! Many thanks
P.S. I don't use inception ;) |
Re: [Anounce] [N9] Volume/Power Button Monitor
Also installed and working without inception here aswell, only thing is that the 'change songs' doesn't work for me when on lockscreen it only turns the volume down, no biggie though.
About the UI, it's not fancy in anyway, but works and reminds me of some of the GUI's from the mods on the N900 :) On another note 'descovered' that the remote on the earpiece works aswell when plugged in. The volume rocker does the same thing as the volume HW buttons does. Nice thing when taking photos, less of a chance they get shaken when pressing volume up. Could the extra buttons on the earpiece remote be used to change other stuff in the camera app? e.g. the flash mode or the white balance and such? Ohh one thing nothing would show in the txt fields in the app before i hit the 'save config' button and then after that i could load 'default config'. Regards Dousan... Yeahh also a big thanks from me for this app, very usefull... |
Re: [Anounce] [N9] Volume/Power Button Monitor
Quote:
Quote:
thats pretty cool about the volume rocker. alas, i have no way of testing it to see what it does, but i suspect that theres no way to differentiate between the hardware vol keys and the headset rocker. odd, playpause/next/prev works just fine for me. however, it ALSO changes the volume for me when on the bluerain-lockscreen {not the lowpower-lockscreen}. could you do me a favor and try running it directly and pasting the output? {as root, 'stop apps/n9-button-monitor', then as user, '/opt/n9-button-monitor/n9-button-monitor.py'} also, if anyone else has this problem, please let me know. about the text not showing up, it starts out blank, and you can load either the default or the current config, modify it, and save it. i did it that way because i found some painting issues in pyside when initializing a bunch of ui elements at once. {gui-library-type-problems, not bugs in my code} these painting issues could explain what youre seeing; elements would appear/disappear, text would show doubled up or not at all, the mouse would be slightly off, etc. i have no idea why pyside doesnt just work; i dont really want to write QML and C++ code for such a simple thing. |
Re: [Anounce] [N9] Volume/Power Button Monitor
Hi wolke.
First command gives me 'sh: stop not found' Second command gives me: $ /opt/n9-button-monitor/n9-button-monitor.py /home/user/.config/n9-button-monitor.ini 121 881a4 29999 29999 b303 3973 1 0 0 1335852756 1335852756 1335852756 4096 refreshing config torch on libomap3camd 1.133 Staring camera without viewfinder available libomap3camd 1.133 auto shut-off torch off Regards Dousan... |
Re: [Anounce] [N9] Volume/Power Button Monitor
Quote:
devel-su /sbin/stop apps/n9-button-monitor and then run the second command like you did, configure it to skip songs while locked, start a multi-song playlist/album/thing in the mediaplayer, and then try to skip a song while locked a few times. im hoping it doesnt print aegis errors. |
Re: [Anounce] [N9] Volume/Power Button Monitor
Quote:
Code:
# /sbin/stop apps/N9_button_monitor.py Code:
$ /opt/n9-button-monitor/n9-button-monitor.py |
Re: [Anounce] [N9] Volume/Power Button Monitor
Quote:
not "/sbin/stop apps/N9_button_monitor.py" {all lowercase, no .py at the end, and dashes not underscores} however, dont bother rerunning; the long click thing shows that you have nothing set to long click. im assuming that you dont mean to long-click, tho. can i see your n9-button-monitor.ini? judging from what you said about the textboxen being empty before, my guess is that your delays are probably 0. if they ARE zeros, try opening up the gui, loading default, and saving again. |
Re: [Anounce] [N9] Volume/Power Button Monitor
Lol yeah sorry about the mistyping gotten to used to write 'N9' and '_' from instalking .deb files and memory ain't my strong side today and don't like to use copy/paste function on the N9 it's a killer to use.
Anyway, reloading and saving the config file once again solved the problem. Thanks for your time once again :) Regards Dousan... |
Re: [Anounce] [N9] Volume/Power Button Monitor
cool, we aims to please
|
Re: [Anounce] [N9] Volume/Power Button Monitor
First of all I would like to say thanks to wolke for such a good app! I found it very useful and practical.
There is one thing that bothers me. If you activate the led/torch in lowpower screen and after releasing, there's a little "snap" sound from the device. It doesn't sound good. Think it could be harmful in the long run for the LED? Edit: I just found out that you can hear the same sound after closing camera app (after photo taken) and also from closing a flashlight app. Wonder why... |
Re: [Anounce] [N9] Volume/Power Button Monitor
any update regarding to "HtheB style volume button"?
|
Re: [Anounce] [N9] Volume/Power Button Monitor
Quote:
yea, i dont know why either. i has assumed it was the shutter, but i dont hear it when taking a picture. it happens every time you unload the camera object. {this happens whenever you close the camera app, navigate away from the camera app, lock the phone while in the camera app, or call unload() directly like in my torch} as for harmful to the LED, i seriously doubt it. anything that would happen as often as the camera going to sleep cant be too bad. you got me real curious; anybody know? i hear two soft, mechanical clicks, in rapid succession. P.S. if you use the torch enough, it will obviously decrease the life of the led, as will taking lots of pictures with flash. |
Re: [Anounce] [N9] Volume/Power Button Monitor
Quote:
Regards Dousan... |
Re: [Anounce] [N9] Volume/Power Button Monitor
Quote:
I'm wondering why the led turn off immediately when I release the button, any ideas? |
Re: [Anounce] [N9] Volume/Power Button Monitor
Quote:
if you want it merely to toggle the flashlight: 1) delete the stop action {longPressStop => torchOff} 2) find the action longPressStart => torchOn, and change it "torchOn" to "torchToggle" |
Re: [Anounce] [N9] Volume/Power Button Monitor
@AB3S:
Are you sure there's no sound? Listen carefully, put you ear directly to te phone and listen. It's not very loud sound though. I have the same thing with the LED turning off (less than half second), but i think it's supposed to do so, when longpressing button. Delay time is for activating led without long press I think? Edit: wolke was quicker... |
Re: [Anounce] [N9] Volume/Power Button Monitor
Quote:
as for the other half of the project, that too hit an annoying wall. there are no python bindings for libresourceqt. my current idea is to make a separate, standalone c++ application that does nothing but disable normal volume button actions. so, current status: if i put them in now, youd have to have qmafw-gui open in the backgroun {or media player}, and the profile would still change. |
Re: [Anounce] [N9] Volume/Power Button Monitor
Quote:
1) longPressDelay: make sure that youre not trying to do a single-press {this is set to 400ms} 2) check the conditions to find the correct action {this can take like 500ms, but i with the current setup its much less} 3) initialize the camera {camera app wouldnt work if i kept the camera loaded up all the time} {this takes maybe 1000ms} for me, the LED turns on in ~2s. you can make it faster by removing the condition for all longPressActions {this would make it work even when the phone isnt locked, tho}, and decreasing the longPressDelay{this would make it hard to do single click actions}. its never going to be less than a full second though |
Re: [Anounce] [N9] Volume/Power Button Monitor
Quote:
This way, if you press the vol up or down, it just change the volume instead of the profile. This could be a very usefull workaround |
Re: [Anounce] [N9] Volume/Power Button Monitor
Quote:
Quote:
|
Re: [Anounce] [N9] Volume/Power Button Monitor
Quote:
|
Re: [Anounce] [N9] Volume/Power Button Monitor
@wolke:
I have another problem with the app. I have playpause configured in vol- double click, and it works like it should, but it also decreases music volume one level every time I pause the music. Any ideas for this? |
Re: [Anounce] [N9] Volume/Power Button Monitor
Quote:
adding an option to disable them is one of the three high priority features for a future release. {the other two are media volume control, and quick-snap pictures from lockscreen}. all three require figuring out some rough stuff, though. on the regular lockscreen, volume keys change the volume when music player is running. when its not, they change the profile. on the lowpower lockscreen, they do nothing by default. you might want to consider using the lp lockscreen as a workaround for this missing feature; there are no default actions there. i personally have the power button unlock both so that i never see the regular lockscreen. {i use lpsmagic to make the low power screen useful; it shows battery % and discharge rate, and my currently playing song} |
Re: [Anounce] [N9] Volume/Power Button Monitor
You got it wrong. The volume decrease happens in LOWPOWER screen.
|
Re: [Anounce] [N9] Volume/Power Button Monitor
Quote:
|
Re: [Anounce] [N9] Volume/Power Button Monitor
again, an oversight on my part because i dont use the built-in music app. AAAARGH, this is so annoying. i guess i just have to work on disabling the buttons, which means writing quite a bit of c++.
also means i cant develop it without a computer because ****ING NOKIA DOESNT RELEASE ALL THE DEV SOURCE PACKAGES IN THE DEV REPO. just so you know, a good deal of the development for this was done on the phone while riding the train, with a btkb. HATE HATE HATE HATE HATE |
Re: [Anounce] [N9] Volume/Power Button Monitor
Quote:
sorry, my mistake. |
Re: [Anounce] [N9] Volume/Power Button Monitor
Quote:
|
Re: [Anounce] [N9] Volume/Power Button Monitor
Hello Wolke. Sorry for my question, maybe it is answered somewhere in this topic... is there any chance to bind an action - start camera app from locked screen? I mean, I will hold on vol+ for a while and it will unlock screen and launch camera app. is it possible?
|
Re: [Anounce] [N9] Volume/Power Button Monitor
sure! just make a binding with the CMD action, and place the path for your script for doing it in the CMD action param.
your script just needs to unlock the phone, and call camera-ui |
Re: [Anounce] [N9] Volume/Power Button Monitor
Quote:
Regards Dousan... |
Re: [Anounce] [N9] Volume/Power Button Monitor
Quote:
|
Re: [Anounce] [N9] Volume/Power Button Monitor
hm, i must admitt that I really do not know how should this cmd syntax look like for this kind of task.
|
Re: [Anounce] [N9] Volume/Power Button Monitor
yay, quick snap works!
as root anyway, gotta make sure that aegis perms are sufficient, add the shutter sound, action bindings, and as many configs as i can think of and reasonably implement. ill stick em here for now: ~/MyDocs/quicksnap/`date +%s`.py anyone have any ideas/inputs/etc? -quicksnap can have flash auto/on/off. i think auto makes sense. i could add actions for each so you could pick on the fly {double-click is no flash, treble-click is always flash, etc}, or make a separate config item so you can pick once {tom likes flash always off, mary likes flash auto} -quicksnap can focus first, or there can be a separate focus action, or both. there can be a config, too, for how long to give it to focus, etc -video recording doesnt seem feasible -shutter sound makes sense to use whatever's at '/usr/share/sounds/ui-tones/snd_camera_shutter.wav', but maybe an option as well |
Re: [Anounce] [N9] Volume/Power Button Monitor
Great news about the quick snapper :)
I have a question: When using the headset listning to music and the device is locked (lp lockscreen/lockscreen) the volume button on the remote has the same actions as the HW volume buttons, changing song and play/pause. So when i have to turn up sound I have to long press volume up on the remote and sound is turning up until the torch starts lighting. Sometimes i just want to take it up/down one nudge and ends up pausing/skipping songs. Here's my question, can you somehow comment out the volume button app to not work with the media when the jackstick is pkugged in while still work with the camera? It's no biggie though it would be more convinient if it was 'turned off' as described above :) Ohh i think about the quick shutter you should make it as custom options wich actions you'll like it to do when quick snapping. Regards Dousan... |
All times are GMT. The time now is 18:52. |
vBulletin® Version 3.8.8