Chapter 5. The Main Menu
44
•
The player can be turned off
Note:
Shortcuts into the database are not possible
b
Shortcuts are loaded from the file
/.rockbox/shortcuts.txt
which lists each item
to be displayed. Each shortcut looks like the following:
Example
[shortcut]
type: <shortcut type>
data: <what the shortcut actually links to>
name: <what the shortcut should be displayed as>
icon: <number of the theme icon to use (see
talkclip: <filename of a talk clip to speak when voice menus are enabled>
Only “type” and “data” are required (except if type is “separator” in which case “data”
is also not required).
Available types are:
file
data
is the name of the file to “run”
browse
data
is the file or the folder to open the file browser at
playlist menu
data
is the file or the folder to open the “Current Playlist” context menu
item on
setting
data
is the config name of the setting you want to change (see section
(page
) for the list of the possible settings)
debug
data
is the name of the debug menu item to display
separator
data
is ignored;
name
can be used to display text, or left blank to make the
list more accessible with visual gaps
time
data
needs to be either “talk” to talk the time, or “sleep X” where X is the
number of minutes to run the sleep timer for (0 to disable).
name
is required for
this shortcut type.
shutdown
data
is ignored;
name
can be used to display text
If the name/icon items are not specified, a sensible default will be used.
Note:
For the “browse” type, if you want the file browser to start
inside
a folder, make
b
sure the data has the trailing slash (i.e
/Music/
instead of
/Music
). Without the trailing
slash, it will cause the file browser to open with
/Music
selected instead.
The file
shortcuts.txt
can be edited with any text editor. Most items can also be
added to it through their context menu item “Add to shortcuts”. A reboot is needed for
manual changes to
shortcuts.txt
to be applied.
Shortcuts can be manually removed by selecting the one you wish to remove and
pressing Long
Select
.
The Rockbox manual
(version 3.14)
Olympus m:robe 100