![]() |
Re: [Announce] OpenSSH status widget
1 Attachment(s)
Quote:
May I ask you to
|
Re: [Announce] OpenSSH status widget
Quote:
Now waiting to see if it will still occur... Will report back tomorrow! ;) PS.: I am still running 1.2-1, not 1.2-2, I don't know if that's of importance? |
Re: [Announce] OpenSSH status widget
Quote:
|
Re: [Announce] OpenSSH status widget
Quote:
What would be nice, is if the ssh indicator icon displayed yellow when a connection was present, grey/white when server running but no connection. Very nice contribution this. |
Re: [Announce] OpenSSH status widget
Sadly, the app indicator icon still disappears when it should not.
|
Re: [Announce] OpenSSH status widget
Quote:
To increase timeout, you could open /usr/lib/hildon-desktop/openssh-status-widget.py and in line 162 Code:
if self.sshJustOff < 1: |
Re: [Announce] OpenSSH status widget
Quote:
I will implement what you suggest. I have seen this actually happen, when using a drop down menu in Yappari - "ssh" there one minute, drop down, then it was gone. Certainly not reproduceable on demand, however. |
Re: [Announce] OpenSSH status widget
Quote:
Quote:
Quote:
|
Re: [Announce] OpenSSH status widget
1 Attachment(s)
Quote:
The "timeout" feature got a modification. Status "off" is now displayed without a delay again. Instead there's a follow-up time of 10 seconds for tracking. If the display still switches to "off" while the server keeps running, there has to be a yet uncovered conflict with something else ;). Before uploading I'll wait for some feedback regarding the two actual issues, mistaken switching to "off" and appearing icon in the status area. I attached the deb file of v1.3-pre. |
Re: [Announce] OpenSSH status widget
Quote:
[silly me - you were referring to this version and indeed such a marker appears. I think it is a little cluttered and changing it to orange would be a simpler way of showing the same. My 2 cents worth :-) ] I was referring to that "ssh" icon. I accept your rationale regarding yellow, but what if it displayed orange when a connection(s) was active. In the drop down that shows when the battery area is pressed, orange is used to show the no. of active connections, hence my preference now for that colour. I will test 1.3-pre. So far, modifying the parameter as you suggested a few posts back to 3 seems to give stability, but let's see wgat your new approach brings.... |
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.
|
Re: [Announce] OpenSSH status widget
Quote:
Code:
/usr/lib/hildon-desktop/openssh-status-widget.py I'll have a look right now. |
Re: [Announce] OpenSSH status widget
Quote:
|
Re: [Announce] OpenSSH status widget
Quote:
Code:
apt-get install python-dbus |
Re: [Announce] OpenSSH status widget
I just uploaded v1.6-1 which hopefully shows up - sorry for the inconvenience. I was so excited coming at that dbus stuff which was new to me I forgot the missing dependency.
This version is ment to be a final one regarding features. An optional restart button is added to the confirmation dialog, see screenshot in post #1. Concerning the very high power consumption when wifi power management is switched off (it makes the wireless connection kind of obsolete because you just have to charge the battery instead :() I added an experimental feature which allows to toggle power management every few seconds. It's an attempt to find a balance between power consumption and appearing input lags. The period when power management is off can be chosen from 1 to 3 seconds. The period when power management is on can be chosen from 3 to 5 seconds. Changes take effect immediately. Changes in v1.6-1: * fixed missing dependency: python-dbus * added optional Restart button in confirmation dialog * wifi power management: removed Refresh time option, added Toggle mode |
Re: [Announce] OpenSSH status widget
Still no widget... and
Code:
/usr/lib/hildon-desktop/openssh-status-widget.py |
Re: [Announce] OpenSSH status widget
Quote:
|
Re: [Announce] OpenSSH status widget
1 Attachment(s)
I ask you to help:confused:. Would you please extract the attachment to /usr/lib/hildon-desktop, make it executable and restart the status menu?
I commented out the relevant dbus lines. If it still doesn't show up, it's one of the other changes since 1.5-0. :o |
Re: [Announce] OpenSSH status widget
Quote:
|
Re: [Announce] OpenSSH status widget
Would you please:
Open OSW Options and change the time value for "stop server when not connected". This overrides a changed syntax in the configuration file. Thanks for your support. Let's see if there are more hidden obstacles. |
Re: [Announce] OpenSSH status widget
1 Attachment(s)
Or install the attached v1.6-2pre please. This will tell if update works now.
|
Re: [Announce] OpenSSH status widget
Quote:
|
Re: [Announce] OpenSSH status widget
And v1.6-2 is uploaded. I promoted this version to extras-testing, ...please consider detailed testing and voting afterwards.
http://wiki.maemo.org/Help_testing_software Changes in v1.6-2: * bugfix: update a changed syntax in the configuration file * detect short intermediate connections for "stop server when not connected" when display is blanked (tracking interval is once per minute) * configuration window: added button to the main menu to show sections in reverse order (show server options first) |
Re: [Announce] OpenSSH status widget
The package is now optified. Although it isn't that large this is the better choice.
v1.6-4 is uploaded and promoted to Extras-testing. Changes in v1.6-4: * fixed typo in postinstall script: it didn't comment out ForceCommand Changes in v1.6-3: * optified package * added required hint that keeping off wifi pm increases power consumption significantly |
Re: [Announce] OpenSSH status widget
Did anyone else notice the button showing "off" occasionally while the icon was showing "on" (i.e. colored)?
Here's v1.6-6, available in extras-devel. Hints: When updating... 1. the server daemon switches to off. 2. wifi power managment settings are overwritten to default values and can be readjusted in the options dialog ("OSW Options"). Changes in v1.6-6: * added mimimize button to about dialog Changes in v1.6-5: * fixed occasional label 'off' * keep wifi-pm settings on future updates * restart server daemon if running instead of stopping it on future updates |
Re: [Announce] OpenSSH status widget
3 Attachment(s)
Big update :eek:
This new version 2.0.0 has everything you need ;)
Regarding uploads it seems moving files to autobuilder queue currently doesn't work. I tried it last night and a few hours ago. The upload won't show up. Therefore version 2.0.0-rc1 is attached. :) |
Re: [Announce] OpenSSH status widget
Uploads work again, v2.0-0 is in Extras-devel and promoted to Extras-testing.
Additionally to v2.0.0-rc1 from the last post I added a settings button to the dialog window. Everything can be accessed from the widget itself now. Here's the complete changelog for v2.0-0: * added feature for faster login and easy access to pm: new button to keep wifi-pm off for 30 sec; long tap opens pm settings * No more restarting of the status menu necessary; all changes take effect immediately! * changed start routine to catch proper server state when status menu starts (another workaround for occasional server off-times) * fixed detection of connections: the proper number should now be displayed in any case of brute force operation * "keep wifi-pm off when connected" is now user independent: it keeps working until the last user logs out * added optional settings button in dialog window |
Re: [Announce] OpenSSH status widget
Great stuff, much appreciated - really!
HA |
Re: [Announce] OpenSSH status widget
Nice, thank you very much :) For Coding competition?
|
Re: [Announce] OpenSSH status widget
Quote:
|
Re: [Announce] OpenSSH status widget
This new settings button led to a bugfix... because the dialog window can now be shown even when the server is off the restart button might be used::mad::D
Change in v2.0-1: * "new settings button" bugfix: when server was off the newly accessible restart button led to unexpected result |
All times are GMT. The time now is 15:31. |
vBulletin® Version 3.8.8