|
2010-12-14
, 10:18
|
Posts: 169 |
Thanked: 56 times |
Joined on Jan 2010
@ Italia
|
#2
|
|
2010-12-27
, 11:41
|
|
Posts: 102 |
Thanked: 153 times |
Joined on Feb 2010
|
#3
|
|
2010-12-28
, 08:50
|
Posts: 169 |
Thanked: 56 times |
Joined on Jan 2010
@ Italia
|
#4
|
The Following User Says Thank You to cipper For This Useful Post: | ||
|
2010-12-28
, 11:17
|
|
Posts: 102 |
Thanked: 153 times |
Joined on Feb 2010
|
#5
|
Hi direx,
following the overclocking wiki page I added the file /etc/dbus-scripts.d/locked with content:
/usr/local/bin/underclock * * com.nokia.mce.signal tklock_mode_ind locked
|
2011-02-08
, 10:11
|
|
Posts: 102 |
Thanked: 153 times |
Joined on Feb 2010
|
#6
|
The Following 3 Users Say Thank You to direx For This Useful Post: | ||
|
2011-07-19
, 12:02
|
Posts: 1,680 |
Thanked: 3,685 times |
Joined on Jan 2011
|
#7
|
sudo echo 0 > /sys/devices/platform/gpio-switch/cam_focus/disable & sudo chmod 444 /sys/devices/platform/gpio-switch/cam_focus/disable
The Following 4 Users Say Thank You to vi_ For This Useful Post: | ||
Part 1 - Configuring ShortcutD
This is pretty straightforward and nothing new. Simply install ShortcutD through the app manager and you'll be able to configure the camera key in a settings applet.
My favorite ShortcutD configuration:
If you do not want to use ShortcutD you can also use thp's script.
Part 2 - Enabling camera key when the device is locked
This is a bit tricky. Sadly the camera key is being disabled when locking the device. I've already submitted an enhancment request for ShortcutD, but for now I am working on a standalone solution (hoping that this concept will soon be adopted by the ShortcutD developers).
What you need:
Just install dbus-scripts and enablecambutton and the camera key should work even when the N900 is locked. To revert back to the default Maemo behaviour simply uninstall this package again.
Please note: you shoud not map critical things to "Camera short press", as this action can easily be toggled by accident when the device is in your pocket. "Camera long press" is somewhat less critical.
Thanks to cipper, who had the idea to use dbus-scripts instead of pynotify!
- direx
Last edited by direx; 2011-02-11 at 09:24.