User:Nomeata

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(New page: == Nomeata’s page == === Some Openmoko hacking === * Fuzzy number matching (ugly hack): https://docs.openmoko.org/trac/ticket/1606 === Wishlist === What should work before I consider...)
 
(Sleep script/menu entry)
Line 1: Line 1:
== Nomeata’s page ==
+
== Some Openmoko hacking ==
 
+
=== Some Openmoko hacking ===
+
  
 
* Fuzzy number matching (ugly hack): https://docs.openmoko.org/trac/ticket/1606
 
* Fuzzy number matching (ugly hack): https://docs.openmoko.org/trac/ticket/1606
  
=== Wishlist ===
+
== Sleep Menu Item ==
 +
 
 +
Put the following script somewhere, e.g. <tt>/home/root</tt> and make it executable (<tt>chmod +x sleep</tt>). Now you can use <tt>./sleep</tt> in the terminal to enter suspend mode.
 +
 
 +
#!/bin/sh
 +
dbus-send --system --print-reply --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Suspend int32:0
 +
 
 +
If you put the following file in <tt>.local/share/applications/sleep.desktop</tt>, you will have a menu entry in the Utilities menu for the sleep script:
 +
 
 +
[Desktop Entry]
 +
Encoding=UTF-8
 +
Name=Sleep
 +
Exec=/home/root/sleep
 +
Terminal=false
 +
Type=Application
 +
Categories=GTK;Utility
 +
StartupNotify=false
 +
 
 +
== Wishlist ==
  
 
What should work before I consider the phone usable as my regular phone:
 
What should work before I consider the phone usable as my regular phone:

Revision as of 21:37, 15 July 2008

Some Openmoko hacking

Sleep Menu Item

Put the following script somewhere, e.g. /home/root and make it executable (chmod +x sleep). Now you can use ./sleep in the terminal to enter suspend mode.

#!/bin/sh
dbus-send --system --print-reply --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Suspend int32:0

If you put the following file in .local/share/applications/sleep.desktop, you will have a menu entry in the Utilities menu for the sleep script:

[Desktop Entry]
Encoding=UTF-8
Name=Sleep
Exec=/home/root/sleep
Terminal=false
Type=Application
Categories=GTK;Utility
StartupNotify=false

Wishlist

What should work before I consider the phone usable as my regular phone:

  • Screen locking that does not obscure the new messages / missed call indicators.
  • Phone should suspend even when display is (accidentally) touched, as long as the screen lock is not lifted.
  • LED indication of new messages / missed calls when in suspend mode.
  • Enough battery power to reliably work at least one day.
Personal tools

Some Openmoko hacking

Sleep Menu Item

Put the following script somewhere, e.g. /home/root and make it executable (chmod +x sleep). Now you can use ./sleep in the terminal to enter suspend mode.

#!/bin/sh
dbus-send --system --print-reply --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Suspend int32:0

If you put the following file in .local/share/applications/sleep.desktop, you will have a menu entry in the Utilities menu for the sleep script:

[Desktop Entry]
Encoding=UTF-8
Name=Sleep
Exec=/home/root/sleep
Terminal=false
Type=Application
Categories=GTK;Utility
StartupNotify=false

Wishlist

What should work before I consider the phone usable as my regular phone:

  • Screen locking that does not obscure the new messages / missed call indicators.
  • Phone should suspend even when display is (accidentally) touched, as long as the screen lock is not lifted.
  • LED indication of new messages / missed calls when in suspend mode.
  • Enough battery power to reliably work at least one day.