View Single Post
Posts: 55 | Thanked: 72 times | Joined on Nov 2009
#1
In helping a new user get comfortable with their N900, I found that one of their biggest complaints involved not having a dedicated hardware "end call" button to ensure that no active call existed. Sadly shortcutd doesn't quite suffice, since only the half-press of the camera button can have a shortcut; a full press of the camera button with the lens cap closed will always just bring up the camera app and say "Open lens cover". However, I did manage to put an "End call" option in the power-button menu, and that menu works from anywhere on the phone.

I've attached a file endcall.xml.txt. Rename this file to endcall.xml, and put it in /etc/systemui/ ; if you have ssh properly configured, you can just run:
Code:
scp endcall.xml.txt root@n900-hostname-or-ip:/etc/systemui/endcall.xml
You could also use "localhost" from your n900.

After copying the file, you need to restart systemui to make it re-read its configuration files. You can either reboot your phone, or run "killall systemui" via xterm or SSH.

Then, when on a call, you can press the power button and you will have an option "End call", complete with the appropriate icon:

Name:  endcall-screenshot-landscape.jpg
Views: 3647
Size:  21.4 KB

Name:  endcall-screenshot-portrait.jpg
Views: 3388
Size:  21.1 KB

If people find this useful, I may package it up in a Debian package and upload it to extras.

Last edited by josh; 2010-08-26 at 07:41.
 

The Following 8 Users Say Thank You to josh For This Useful Post: