|
Page 1 of 4 |
|
1
2 3
|
Next
| Last
[User feedback request] Shepherd
Have you ever left an app running only to let it run your battery dry ? Would you like to run a torrent client, but only if you're home and plugged in ? Well, there might be a way, but I need your input !
I wrote a script called Shepherd, which is basically a glorified scheduler (cron) that has not just time, but a power and connectivity axis, too. This way, for any process registered to Shepherd, you can define:
I used it for a couple of things... Flipclock (turn on if charging), transmission (turn on if charging and on WLAN between 2AM and 8AM) and killing maps if battery gets below 25%. It's very simple - launches the app if it is not already running and the conditions are met, and kills it if they aren't (but only if they were started by the shepherd app). It currently does not have a GUI which pretty much makes it unusable for most users, BUT, this is where you have your say ! What would you like to see in Shepherd in addition to what I described ? Can you think up more use-case scenarios ? Do you have ideas how the GUI should look ? (throwing it all on one page would really cramp it's style !) Do you like/need something like this ? Comments, ideas more than welcome ! |
Re: [User feedback request] Shepherd
This is a great idea. I can't think of any other vectors I'd like. Great job... and if you're interested in getting some UI design help from a member of the Maemo 5 UI team, please let me know and I'll get you in touch. :)
|
Re: [User feedback request] Shepherd
Location maybe? When you get to the store it opens your grocery list.
For exact connection a use case could be that you want to run some app only on the corporate network, or don't run the torrent client on it. |
Re: [User feedback request] Shepherd
Quote:
Quote:
|
Re: [User feedback request] Shepherd
heh, could it be made to control the updates checker so that it only uses wifi?
|
Re: [User feedback request] Shepherd
Quote:
|
Re: [User feedback request] Shepherd
Quote:
|
Re: [User feedback request] Shepherd
Quote:
Quote:
Another idea/workaround could be to play with the "next update" time. That is, increase it a lot when doesn't have a preferred connection and decrease it when in the opposite case.. but it's a little bit weird. The best would be to ask to be given an option to disable the automatic updates and the ability to run them on request. Does this qualify for an enhancement request (if it doesn't already exist)? |
Re: [User feedback request] Shepherd
Other possible vectors: CPU load, RAM/SWAP usage, network load. Maybe contextkit integration down the line.
|
Re: [User feedback request] Shepherd
So you could use this to send your IP address to a central server every time you connected to a new WiFi? (Still) thinking of a thief-catching utility...
|
Re: [User feedback request] Shepherd
|
Re: [User feedback request] Shepherd
Quote:
Quote:
- Light sensor - Kickstand - Proxymity sensor Not sure about the use cases for these, but... that's up to you ! :) |
Re: [User feedback request] Shepherd
Quote:
|
Re: [User feedback request] Shepherd
Quote:
|
Re: [User feedback request] Shepherd
How about a "Dock mode" when the TV out is pluged and external keyboard and mouse are detected? It could start Easy Debian to turn it into a real workstation.
|
Re: [User feedback request] Shepherd
hmm, i guess one option would be to set the refresh time for the updater to a silly high number, and basically use shepered to run apt-get update at intervals, if wifi is available, but not when phone is.
|
Re: [User feedback request] Shepherd
I would like it if it could put the device in silent mode, and disable all audible alerts, when I am in school.
I guess this could be triggered by time (when I am officially in school), and/or location (when GPS detects I am in vicinity of the school, during school hours). |
Re: [User feedback request] Shepherd
Sounds like an awesome project!
But the requests list seems to have grown unnecessarily long already.. I think the features list has to be cut really short to cater to the biggest audience first so the development can go swiftly and focused on the core functions intended.. Then implement the rest as plugins\future developments. Oh, a more descriptive name would help too :D |
Re: [User feedback request] Shepherd
Quote:
Quote:
PS. For people too lazy to click on the above link: http://www.city-data.com/forum/attac...lying-puli.jpg |
Re: [User feedback request] Shepherd
Quote:
|
Re: [User feedback request] Shepherd
Canola is a made-up word that was formed from words meaning "Canadian Oil". Why? Well, "rape seed oil" just doesn't have a good sound for marketing.
Why someone chose the word for rape seed oil for their media player is less clear, however. |
Re: [User feedback request] Shepherd
feature idea: location and/or time defining what profile gets activated (normal, silent, OUTDOORS, meeting, etc).
i can think of lots of places where i'd love to have my (soon-to-be-in-my-hands) n900 automatically switch to silent :) |
Re: [User feedback request] Shepherd
Hi, filled an enhancement request in bugzilla for the the automatic updates thing discussed earlier in the thread.
If you feel like, please give it a vote. |
Re: [User feedback request] Shepherd
Have you seen GlovePIE?
I once envisioned a language based on GlovePIE's "declarative"/"eternal while true loop" idea managing from input mapping to a load of events. The syntax was kinda like: Code:
on (Script.started) {Unfortunately I only got to the parser before wandering off and pushing it to the bottom of my TODO pile, but if you're looking for ideas.... (even though this one is a geekish). You can use a Python VM too, or just the GUI option and be done with it, but I usually find them lacking unless they're really, really complex, in which case it usually defeats the purpose. |
Re: [User feedback request] Shepherd
Quote:
|
Re: [User feedback request] Shepherd
For the automatic update stuff... This is handled by AlarmD, so it's actually rediculously easy to disable/enable; just remove the event from the alarmD queue, and in its place add a new event that will check against the type of connectivity and only run the updater if wifi is active. Really has nothing to do with shepherd at all, unless you wanted to use shepherd to set a nice flag in gconf/temp file somewhere to indicate when you were on wifi vs anything else?...
i.e. From the alarmD queue right now (/var/lib/alarmd/alarm_queue.xml): Code:
<object type="AlarmdEventRecurring">Code:
<object type="AlarmdEventRecurring">-Rob |
Re: [User feedback request] Shepherd
@javispedro: have not seen it, thanks for the tip, will take a look
@iKneaDough: it is already a two-component software. The 'daemon' part runs in the background and is controlled by config files. The WiP GUI part is just a front-end for user friendly editing these config files and signaling reload/start/stop to the daemon. @jolouis: I agree shepherd is not necessary to change how you deal with updates. That said, the lure of using shepherd for such a task is to be able to *easily* combine the action with any vector provided - particular provider, location, etc. |
Re: [User feedback request] Shepherd
Great idea! :)
|
Re: [User feedback request] Shepherd
Just ran accross this headset thingie... You know where this is going (apart from the end of the already longish todo :) ) - make the headset button perform different tasks depending on shepherd parameters :)
|
Re: [User feedback request] Shepherd
Quote:
http://geekandpoke.typepad.com/.a/6a...599062a970c-pi |
Re: [User feedback request] Shepherd
Resize please!
|
Re: [User feedback request] Shepherd
Another idea for Shepherd: make your NIT into a WiFi USB host for your N900 (posted here by request):
(Prerequisites: an ad-hoc wifi network set up between the N8x0 and the N900, and a USB OTG adapter for the N8x0) When you plug a USB device into your N8x0, Shepherd will notice and can ask if you want to start the ad-hoc wifi network. Then, on the N900, when you connect to the ad-hoc network, Shepherd can ask if you want to mount the USB devices from the tablet on your N900 (via sshfs probably), and open the file manager for you. |
Re: [User feedback request] Shepherd
Could it perhaps be interesting to control the desktops based on time or location?
Eg. put all workrelated widgets, links etc on one desktop and have that one switched to when arriving at work. Get another desktop when at home, a third when on the bus in between.. Could save you up to two swipes each time. ;) |
Re: [User feedback request] Shepherd
Could current weather be a reason to trigger an application? I can't think of any other use-cases right now than maybe to trigger a change in wallpaper to one representing the weather, or a notification to bring the umbrella/remember the tanning lotion, but the idea seems somehow... exciting to me.
|
Re: [User feedback request] Shepherd
What if I knew I'd have 30 hours no adapter to charge device.
Would I then not allow certain features, or in general want the device to be a bastard for power, like not allowing LCD to be too bright? Or put LCD off quicker? What if GPS or network provider is non-flatfree, roaming instead? Would I then want to disable certain auto fetch stuff? Or enable caching proxy which compresses pictures instead? Lower SIP quality? These are examples for the point here is to have a 'mode' defined by the user which gives 'acceptable quality' but 'takes into account non-flatfree'. And some things... I have no idea, how much data for example MySpace or Facebook IM extensions use because I don't know how they exactly work. If they don't use an API but use HTTP + HTML and then parse the JS then they're quite 'bloated' so to say. So, I think, for research purposes, some kind of traffic accounting on user processes is very interesting (much like powertop, htop, iotop for other statistics) |
Re: [User feedback request] Shepherd
Some interesting possibilities...
Would the following be possible? 1) Headset connected/disconnected (I know the NIT can sense this as the icon on the FM-radio player (N800) changes when you connect a headset) a) When headset inserted, set volume to X b) When headset removed set volume to Y 2) Application dependent IF incoming VoiP call, stop all other audio, set audio to X and switch to Skype in full-screen. |
Re: [User feedback request] Shepherd
Quote:
Quote:
|
Re: [User feedback request] Shepherd
Quote:
|
Re: [User feedback request] Shepherd
What about changing profiles if phone finds your home/work/school wireless connection?
This way if you come to for ex. work, it searches for wireless connection, finds out that you're on work and changes your profile to silent. When that wireless connection isn't present any more it switches your profile on the one you had before you went to work. This can work too when you're leaving home and home connection isn't accessible. It should have infinite modes that user can make. Here are some ideas for other parameters: - Time - Location - Battery All the parameters should be mixable. I think this could work for applications too. Sorry if this is too much off topic.:rolleyes: |
Re: [User feedback request] Shepherd
I had a thought on another brainstorm about using bluetooth status for some actions. For example if the device is paired with my car headset and a friend texts I'd like it to send a message to them saying if it's urgent please give me a call, I can't look at messages right now. It could also set the presence status of any IM clients running to say I'm in the car/not available/whatever.
Also if I'm sitting near my laptop with it turned on I might want the phone to behave differently than if I'm watching my media PC (which has bluetooth). Somone had mentioned locale too, from android, which has a really interesting plugin set up to allow you to do almost anything when certain location based conditions are active. The granularity of location info can be wifi/call tower/GPS or whatever. I can see a lot of stuff being useful off just cell tower info for me. The GPS is such a battery hog I'd be reluctant to use it for many things. |
| All times are GMT. The time now is 10:45. |
Page 1 of 4 |
|
1
2 3
|
Next
| Last
vBulletin® Version 3.8.8