Thread
:
N900 keyboard friendly, second thread.
View Single Post
Kamikaze
2010-02-11 , 16:27
Posts: 115 | Thanked: 12 times | Joined on Oct 2009
#
12
I'm trying to change the keyboard shortcuts to launch different application with Ctrl + Shift + <Letter Key> combinations but as yet have not been successful. I'm editing the
/usr/bin/keyboard-shortcut
script in leafpad and I used the existing "FBReader" shortcut as a template to try to get it to work for other apps.
Under the section “
# CTRL + SHIFT + KEY
”
I replaced the lines:
If key == ‘F’:
osso_exec(“FBReader”)
With:
If key == ‘F’:
osso_exec(“Media player”)
I then saved and rebooted but nothing happened when I pressed Ctrl + Shift + <F>
I tried to do the same but instead putting in the line:
If key == ‘F’:
osso_exec(“Firefox”)
but again nothing when pressing Ctrl + Shift + <F>. The original shortcuts from the script like Ctrl + Shift + <A> - Control panel work fine. Can anyone see what I am doing wrong here? Is the way in which app names are displayed in the launcher different to the app name that this script looks for?
Also, does it require a different command for native apps like Media player to installed apps like Firefox?
Quote & Reply
|
Kamikaze
View Public Profile
Send a private message to Kamikaze
Find all posts by Kamikaze