![]() |
Re: Is somebody working on a "deep sleep" application? Silent/offline/... all in one
Isn't it possible to edit the offline profile to make it the same like silent but without any connections? I have done this on my Nokia 5800 and when I go to bed I simply choose the offline profile and then all sounds (except alarm, which is good) are off and every connection (Bluetooth, GPS, GSM, 3G) is disabled. Isn't it the same on the N900 with the offline profile? I can't test it because I have to wait for my N900 :(
|
Re: Is somebody working on a "deep sleep" application? Silent/offline/... all in one
1 Attachment(s)
Quote:
One of my desktops has a pretty sleep symbol now. (Got the icon from here.) Tapping on it executes your script. So nice! I put your script in the home directory and made it executable. Then I added a deepsleep.desktop file to /usr/share/applications/hildon/ (bug #1303 seems to be still open, so I didn't even try to do it in my $HOME): Code:
[Desktop Entry]The icon sleep.png went to /usr/share/icons/hicolor/48x48/hildon/ That was it. My first Maemo 5 application. ;) (OK, it's your code, but I made it appear in the applications menu :D ...) Beautiful solution? Almost. It does everything it should do, except that it keeps a black window open. This window shows while the script shuts down the services, but it's still there after I unlock the screen afterwards. Tapping on the task switcher makes in disappear, but it simply isn't nice. What's that? Anything in the .desktop file causing it? Or do I need to exit the script in a special way to prevent this? |
Re: Is somebody working on a "deep sleep" application? Silent/offline/... all in one
does it still receive calls when in deepsleep-mode?
|
Re: Is somebody working on a "deep sleep" application? Silent/offline/... all in one
Quote:
it's in "offline mode", just like it is when you manually select "offline mode" on the device. but as i wrote in my original post, the ideal solution would be to be able to configure which parts of the system go down and which stay up. as it is now, if you want to disconnect from LAN but still receive phone calls (maybe you'd like to switch back from 3G or dual mode to plain GSM when you do this), you'll need to edit qwerty12's script - but don't ask me how. ;) |
Re: Is somebody working on a "deep sleep" application? Silent/offline/... all in one
Quote:
I'm not sure which value will give you the behavior your looking for though. I haven't tried doing any desktop icons on maemo yet. You might also try adding a & to the end of your exec line, to possibly run the process in the background. |
Re: Is somebody working on a "deep sleep" application? Silent/offline/... all in one
Quote:
Anyway, there's a partial-workaround for this: Use X-App-Loading-Image=none in the desktop file. The reason why it's partial is, if you unlock using the touchscreen slider, it will be gone. If you unlock using the physical slider, it will reside on the screen. Blame hildon-desktop. See below. Quote:
|
Re: Is somebody working on a "deep sleep" application? Silent/offline/... all in one
Quote:
|
Re: Is somebody working on a "deep sleep" application? Silent/offline/... all in one
Quote:
|
Re: Is somebody working on a "deep sleep" application? Silent/offline/... all in one
Quote:
Also. a profile wouldn't help me to shut down running applications. |
Re: Is somebody working on a "deep sleep" application? Silent/offline/... all in one
Ah, now I understand. I thought you could edit the profiles like on other Nokia phones but maybe Nokia will release this feature with a new firmware.
|
| All times are GMT. The time now is 10:56. |
vBulletin® Version 3.8.8