Sony Ericsson bluetooth remote control profiles

These profiles are targeted at Sony Ericsson mobile phones which support bluetooth remote control function and come with a resolution of 240x320. All profiles have been tested on my Sony Ericsson K800i.

For some functions to work ( especially launching / exiting apps ) you need to install my launcher script to /usr/local/bin/mylauncher and make it executable ( chmod +x /usr/lcoal/bin/mylauncher ). This file is not dangerous at all and only contains a few lines to make sure that some apps are exited cleanly without loosing any settings.

http://files.codepilot.net/mylauncher

If you want to be able to shutdown the system using the system profile you have to allow yourself to shutdown the system without entering a password. Please refer to your system`s documentation ( e.g. man sudoers ). Basically you have to add a line like this

user ALL=(ALL) NOPASSWD: /sbin/halt

to /etc/sudoers.

Furthermore you need to setup some configuration keys to execute some of the commands threw metacity / compiz. Those keys are mentioned below - set them up by launching gconf-editor.

System

/apps/metacity/global_keybindings/run_command_8 = "<Shift><Alt>8"
/apps/metacity/keybinding_commands/command_8 = "mylauncher screen"
/apps/metacity/global_keybindings/run_command_9 = "<Shift><Alt>9"
/apps/metacity/keybinding_commands/command_9 = "sudo halt"

Cursor - Control mouse
Left special key - Switch threw open windows
Right special key - Quit current app

4 - Toggle display suspend state ( if you e.g. hear music you can turn off your monitor that way )
6 - Shut down computer ( you must be able to run "sudo halt" without password - see man sudoers )

* - Toggle fullscreen ( only apps that have that function on F11 - many GNOME apps )

http://files.codepilot.net/system.hid

Rhythmbox

/apps/metacity/global_keybindings/run_command_1 = "<Shift><Alt>1"
/apps/metacity/keybinding_commands/command_1 = "mylauncher rhythmbox"

Cursor - Control mouse
Left special key - Toggle threw open windows
Right special key - Start / Quit Rhythmbox

4 - Previous track
5 - Play / Pause
6 - Next track

* - Toggle fullscreen

Zoom up - Volume up
Zoom down - Volume down

http://files.codepilot.net/rhythmbox.hid

tvtime

/apps/metacity/global_keybindings/run_command_2 = "<Shift><Alt>2"
/apps/metacity/keybinding_commands/command_2 = "mylauncher tvtime"

Cursor up - Next channel
Cursor down - Previous channel
Cursor button - Toggle on screen display

Left special key - Switch threw open windows
Right special key - Start / Quit tvtime

0-9 - Enter channel number

* - Toggle fullscreen
# - Toggle between last two channels

Zoom up - Volume up
Zoom down - Volume down

http://files.codepilot.net/tvtime.hid

Totem

/apps/metacity/global_keybindings/run_command_3 = "<Shift><Alt>3"
/apps/metacity/keybinding_commands/command_3 = "mylauncher totem"

Cursor - Control mouse
Left special key - Toggle threw open windows
Right special key - Start / Quit Totem

4 - Skip backwards
5 - Play / Pause
6 - Skip forward

7 - Previous file in playlist
9 - Next file in playlist

* - Toggle fullscreen

Zoom up - Volume up
Zoom down - Volume down

http://files.codepilot.net/totem.hid

xbmc ( this one is rather incomplete and almost unusable for anyone other than me, sorry ;-)

/apps/metacity/global_keybindings/run_command_4 = "<Shift><Alt>4"
/apps/metacity/keybinding_commands/command_4 = "mylauncher xbmc"

Cursor - Keyboard cursor ( Up / Down / Left / Right )
Cursor button - Enter

Left special key - Start xbmc
Right special key - Escape

2 - Pause
5 - Play
8 - Stop

# - Menu

http://files.codepilot.net/xbmc.hid