Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search




Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  How can I remove lines from the main menu of the player (with Rockbox)
« previous next »
  • Print
Pages: [1]

Author Topic: How can I remove lines from the main menu of the player (with Rockbox)  (Read 2991 times)

Offline haim

  • Member
  • *
  • Posts: 24
How can I remove lines from the main menu of the player (with Rockbox)
« on: September 18, 2010, 07: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!
« Last Edit: September 18, 2010, 07:27:07 PM by haim »
Logged

Offline soap

  • Global Moderator
  • Member
  • *
  • Posts: 1677
  • Creature of habit.
Re: How can I remove lines from the main menu of the player (with Rockbox)
« Reply #1 on: September 18, 2010, 07:32:08 PM »
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.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

Offline haim

  • Member
  • *
  • Posts: 24
Re: How can I remove lines from the main menu of the player (with Rockbox)
« Reply #2 on: September 18, 2010, 07:36:28 PM »
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...
« Last Edit: September 19, 2010, 04:16:00 AM by haim »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8523
Re: How can I remove lines from the main menu of the player (with Rockbox)
« Reply #3 on: September 18, 2010, 07:55:15 PM »
Quote from: haim on September 18, 2010, 07:36:28 PM
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.
Logged

Offline JdGordon

  • Global Moderator
  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: How can I remove lines from the main menu of the player (with Rockbox)
« Reply #4 on: September 19, 2010, 04:30:30 AM »
removing options is dead simple (actualy depends which you want to remove)
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline MItaly

  • Member
  • *
  • Posts: 16
Re: How can I remove lines from the main menu of the player (with Rockbox)
« Reply #5 on: September 19, 2010, 04:57:04 AM »
Out of curiosity, why do you need to do it? ???
Logged

Offline haim

  • Member
  • *
  • Posts: 24
Re: How can I remove lines from the main menu of the player (with Rockbox)
« Reply #6 on: September 19, 2010, 07:26:24 AM »
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.
Logged

Offline MItaly

  • Member
  • *
  • Posts: 16
Re: How can I remove lines from the main menu of the player (with Rockbox)
« Reply #7 on: September 19, 2010, 12:06:45 PM »
For the movies, you could simply remove their entries in viewers.config (if he's not smart enough to use the "open with" feature :) ).
Logged

Offline haim

  • Member
  • *
  • Posts: 24
Re: How can I remove lines from the main menu of the player (with Rockbox)
« Reply #8 on: September 19, 2010, 12:10:09 PM »
thank's, but the problem is more about the radio.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8523
Re: How can I remove lines from the main menu of the player (with Rockbox)
« Reply #9 on: September 19, 2010, 12:15:09 PM »
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.
Logged

Offline haim

  • Member
  • *
  • Posts: 24
Re: How can I remove lines from the main menu of the player (with Rockbox)
« Reply #10 on: September 19, 2010, 12:18:10 PM »
thanks, I'll check it
Logged

Offline MItaly

  • Member
  • *
  • Posts: 16
Re: How can I remove lines from the main menu of the player (with Rockbox)
« Reply #11 on: September 19, 2010, 04:59:00 PM »
... and then he'll learn to boot in the unrestricted OF :D
Logged

Offline haim

  • Member
  • *
  • Posts: 24
Re: How can I remove lines from the main menu of the player (with Rockbox)
« Reply #12 on: September 20, 2010, 07:56:40 AM »
Quote from: saratoga on September 19, 2010, 12:15:09 PM
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:
Code: [Select]
/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 הלקת
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  How can I remove lines from the main menu of the player (with Rockbox)
 

  • SMF 2.0.6 | SMF © 2013, Simple Machines
  • XHTML
  • RSS
  • WAP2

Page created in 0.106 seconds with 62 queries.