Rockbox Technical Forums
Rockbox General => Rockbox General Discussion => Topic started by: haim on September 18, 2010, 08:23:53 PM
-
Hi,
How can I remove lines from the main menu? (eg. to remove the radio's line or the line of the movie)
I use SanDisk CLIP1, But I need it also for models and CLIP+ FUZE.
Thank you!
-
There is no customizable menus in Rockbox. One would need to edit the source code to change the menus.
That said, one can change which of the existing screens is the starting screen, so depending on your usage patterns you may never see the "cluttered" menu. See the manual for how to do so.
-
And modify the source code it's Difficult?
I want to permanently remove the row.
I sorry for spelling mistakes, I do not speak English well...
-
And modify the source code it's Difficult?
I want to permanently remove the row.
I apologize for spelling errors, I do not speak English well...
Can you program in c? If so, probably not that hard. Never looked into it myself though.
-
removing options is dead simple (actualy depends which you want to remove)
-
Out of curiosity, why do you need to do it? ???
-
Because I need to remove from the player of my little brother the possibility of radio and movies, he must not bring to class player with movies. He agrees that, it's OK.
-
For the movies, you could simply remove their entries in viewers.config (if he's not smart enough to use the "open with" feature :) ).
-
thank's, but the problem is more about the radio.
-
You could try commenting out the "#define CONFIG_TUNER SI4700" lines in firmware/export/config/[your_players_name].h and see if that compiles. It would disable the radio driver completely, but I don't know if it'll compile cleanly.
-
thanks, I'll check it
-
... and then he'll learn to boot in the unrestricted OF :D
-
You could try commenting out the "#define CONFIG_TUNER SI4700" lines in firmware/export/config/[your_players_name].h and see if that compiles. It would disable the radio driver completely, but I don't know if it'll compile cleanly.
when I did the compile I get the error:
/home/haim/rockbox/apps/menus/recording_menu.c: In function ‘recsource_func’:
/home/haim/rockbox/apps/menus/recording_menu.c:87: error: ‘LANG_FM_RADIO’ undeclared (first use in this function)
/home/haim/rockbox/apps/menus/recording_menu.c:87: error: (Each undeclared identifier is reported only once
/home/haim/rockbox/apps/menus/recording_menu.c:87: error: for each function it appears in.)
/home/haim/rockbox/apps/menus/recording_menu.c:87: warning: missing initializer
/home/haim/rockbox/apps/menus/recording_menu.c:87: warning: (near initialization for ‘names[1].string’)
/home/haim/rockbox/apps/menus/recording_menu.c:93: warning: implicit declaration of function ‘radio_hardware_present’
make: *** [/home/haim/rockbox/build/apps/menus/recording_menu.o] 1 הלקת