![]() |
Re: [Announce] OpenSSH status widget
Quote:
|
Re: [Announce] OpenSSH status widget
Quote:
Quote:
|
Re: [Announce] OpenSSH status widget
Quote:
|
Re: [Announce] OpenSSH status widget
I updated the screenshots in post #1 showing the modified status area icon of v1.3-0, with user symbol in one case, and orange colored in the other. Available colors are: blue, green, orange, red. In case one absolutely needs a special theme-colored icon, a custom icon can be added by copying a png file of size 18x18 px to
Code:
/usr/share/icons/hicolor/18x18/hildon/openssh-status_users_description.png Given handaxe's feedback, I kept the 10 seconds follow-up time for tracking, when status switches to 'off'. v1.3-0 has just been uploaded. Changes: *new option: show status 'connected' in status area *status 'off' is displayed without delay again, instead added follow-up time for tracking *bugfix: tapping outside confirmation dialog didn't cancel but disconnect |
Re: [Announce] OpenSSH status widget
Hi! I uploaded v1.4-1 yesterday. Using some information from this thread i added another option
Furthermore the widget's icon has changed from simple blowfish to openssh style, see post #1. And there was a command missing in the installation routine, "update-sudoers". I tested v1.4-1 on my just PR1.3-flashed spare device. :cool: Changes: Code:
*new option: keep wifi power management off when connected |
Re: [Announce] OpenSSH status widget
Folks, here comes an important update!
In v1.5-0 cpu load is being reduced by about 90%. In prior versions the routines for checking server status and number of connections generated a cpu load of 6% (measured with top in ssh). The reason was to be found in the python command Code:
subprocess.Popen Code:
commands.getoutput In addition I increased the tracking interval of 2 seconds to finally 5 seconds, which feels still reasonable to me. It led to further decrease in cpu load to 0.6%. Another option has also been added (as a result of discovering the former cpu load :eek:):
Finally I added setting signal strength to high level when keeping off wifi power management. Changes in v1.5-0: *cpu usage reduced by 90% (from about 6% to 0.6%) *new option: Stop server when not connected for xx minutes *signal strength set to high when wifi pm is off |
Re: [Announce] OpenSSH status widget
Brilliant! I was watching the battery and had developed the impression that battery drain was higher. Thought about using powertop to investigate and here you provide the answer and solution. Thanks.
|
Re: [Announce] OpenSSH status widget
Thanks a lot rasmarc for this update! I also had the feeling the widget was eating my battery for a bit, so nice to see this update coming out.
Sorry for not responding sooner btw, I was away for a while, and then my N900 got bricked (e.g. wouldn't startup anymore) by an update so I had to flash and reinstall everything. Am now running your widget v. 1.5-0 for a while, and I haven't seen the weird bug of the SSH-icon 'flashing' in the tray area for a while now. Thanks for all the hard work :) |
Re: [Announce] OpenSSH status widget
Thank you for the feedback messages. There was still room for improvement: :)
The widget now detects display blanking/unblanking - as it should be of course - and stops/resumes tracking (i.e. cpu load ~0% when blanked). If "stop server when not connected" is enabled status is tracked once per minute. I added an option "enable tracking" which is selected by default. But if one has the display on and the server running most of the time it might be better to disable tracking. In this mode the button displays just on/off. The number of connections can then be called up by long pressing the button and again from the confirmation dialog (see screenshot in post #1). "Keep wifi power management off when connected" (to avoid input lags) is now implemented into the server configuration. This way it still works when tracking is disabled. Changes to this option take now effect immediately (the script is being restarted), so power management can be turned on/off on demand. This might be useful because of the increased battery drain when power managment is kept off. Changes in v1.6-0: * added power saving features: + widget detects display blanking and almost falls asleep + tracking made optional, just switch on/off and call up number of connections manually * wifi power mangement is now implemented into the server configuration * added option to choose wifi-pm refresh time * confirmation dialog changed |
Re: [Announce] OpenSSH status widget
Has the widget disappeared for anyone else? Both the status icon and in the drop-down.
|
All times are GMT. The time now is 20:35. |
vBulletin® Version 3.8.8