Notices


Reply
Thread Tools
Posts: 111 | Thanked: 9 times | Joined on May 2010
#1
I want my screen to auto shut down and auto lock itself, but not when i'm in a program or looking at a website! Is it any way to make this possibe?

Thanks in advance
 
Switch_'s Avatar
Posts: 601 | Thanked: 549 times | Joined on Mar 2010 @ Redditch, UK
#2
more description of what you actually want? You can manually configure the shut-off time for the screen within settings, or alternatively you can create a desktop widget to click and shut off the screen and keys when you want.....
__________________
---<|| Alt + F4 for GOD MODE ||>---
---<|| Deviant Art Linky Linky ||>---
 
Posts: 111 | Thanked: 9 times | Joined on May 2010
#3
Originally Posted by Switch_ View Post
more description of what you actually want? You can manually configure the shut-off time for the screen within settings, or alternatively you can create a desktop widget to click and shut off the screen and keys when you want.....
I want my phone to shut down the screen and lock itself when i'm not using it. But if i'm reading something on a website or playing a game that have me waiting and thinking the auto shut down will go off... Hopefully you'll understand the dilemma.

In example: I'm playing a game, close it and walk away. Now i want the screen to shut off and lock.
But let's say i'm playing magic the gathering with my friends and use the lifetracker application. Every time i'm supposed to click for damage the screen has locked because we haven't touched it for the time.

What i want is: auto lock and shutdown when phone is not in use (desktop showing) and no shutdown when an application is showing.
 
Switch_'s Avatar
Posts: 601 | Thanked: 549 times | Joined on Mar 2010 @ Redditch, UK
#4
Originally Posted by mattiasbäx View Post
What i want is: auto lock and shutdown when phone is not in use (desktop showing) and no shutdown when an application is showing.
What you are asking for is a contradiction in terms. You want your phone to shut off when it's not being used - but when it's not being used you want it to stay live. This does not ring true I'm afraid.

Your best bet is to maximise the screen shut-off time i nthe settings for the device and then when you finish what you are doing use the slide lock to lock the screen and keys.

Alternatively you can create an icon on your desktop to lock the device using d-bus commands.
__________________
---<|| Alt + F4 for GOD MODE ||>---
---<|| Deviant Art Linky Linky ||>---
 
ndi's Avatar
Posts: 2,050 | Thanked: 1,425 times | Joined on Dec 2009 @ Bucharest
#5
Originally Posted by Switch_ View Post
What you are asking for is a contradiction in terms.
It's a bit confusing, but I think he wants to auto-lock when on desktop, but not when in a program. Basically, automate what some apps do (prevent sleep).

OP: Until this gets flight, brightness-applet has a button that, while held (it's in the status area, so it's accessible) it will keep the screen up. I use it with VNC server, because VNC clicks don't register as inputs so the screen goes black.
__________________
N900 dead and Nokia no longer replaces them. Thanks for all the fish.

Keep the forums clean: use "Thanks" button instead of the thank you post.
 
nicholes's Avatar
Posts: 1,102 | Thanked: 368 times | Joined on Oct 2010 @ india, indore
#6
Originally Posted by Switch_ View Post
What you are asking for is a contradiction in terms. You want your phone to shut off when it's not being used - but when it's not being used you want it to stay live. This does not ring true I'm afraid.

Your best bet is to maximise the screen shut-off time i nthe settings for the device and then when you finish what you are doing use the slide lock to lock the screen and keys.

Alternatively you can create an icon on your desktop to lock the device using d-bus commands.
wooooooooo i would like to create a shortcut on the desktop to lock the screen !!!!!!! how to to this????????step by step tutorial needed...
 
Switch_'s Avatar
Posts: 601 | Thanked: 549 times | Joined on Mar 2010 @ Redditch, UK
#7
Open leafpad from xterm using
Code:
leafpad
Create a .desktop file that looks like this:
Code:
[Desktop Entry]
Encoding=UTF-8
Version=0.1
Type=Application
Name=Lock
Exec=dbus-send --system --type=method_call
--dest=com.nokia.mce /com/nokia/mce/request
com.nokia.mce.request.req_tklock_mode_change string:"locked"
Icon=general_locked
Once that is done click on the top bar, and go to "Save As" - name the file "lock.desktop" and where it asks for location (currently says "/") change that to your device (click on the "/" button then click on your device name on the next pop-up - this will be the root of MyDocs folder in your device)

Open a new terminal window and become root
Code:
root
mv /home/user/MyDocs/lock.desktop /usr/share/applications/hildon/
Next open the settings on your desktop and "Add Shortcut" - add the shortcut called "Lock" and press it for fullscreen lockery shenanigans. Enjoy.
__________________
---<|| Alt + F4 for GOD MODE ||>---
---<|| Deviant Art Linky Linky ||>---
 

The Following User Says Thank You to Switch_ For This Useful Post:
nicholes's Avatar
Posts: 1,102 | Thanked: 368 times | Joined on Oct 2010 @ india, indore
#8
@Switch_

hmmmmm i did as you said the same (i think so )and i got the lock.desktop and moved into /usr/share/applications/hildon/ i can seee the file lock.desktop(using filebox) but there is no shortcut in desktop settings to "Add Shortcut"(there no name called "lock" infact there is no new shortcut i found)
Attached Images
 
 
Switch_'s Avatar
Posts: 601 | Thanked: 549 times | Joined on Mar 2010 @ Redditch, UK
#9
don't get it mate, it should be there.....

Have you already added one instance? If you have it wont appear on the menu. I need to work on getting the icon right, because in my theme it's half transparent and not "general_lock".
__________________
---<|| Alt + F4 for GOD MODE ||>---
---<|| Deviant Art Linky Linky ||>---
 

The Following User Says Thank You to Switch_ For This Useful Post:
Joseph.skb's Avatar
Posts: 752 | Thanked: 284 times | Joined on Sep 2010 @ Malaysia
#10
Why don't you change the settings so that the phone does not lock. I think sleep alone is fine because you could easily activate it by sliding the keyboard or the slide button.

This may not solve your problem, but it's a 1-step less solution.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 08:14.