NetSurf Options


From SamyGO
Revision as of 20:54, 14 March 2010 by Ffischer (talk | contribs)
Jump to: navigation, search

The Options file, located in subdirectory framebuffer/res, can be used to customize the behavior of the NetSurf Web Browser for SamyGO.

General information

The Options file is a simple text file which can be edited with any decent text editor.

Warning: The file must have UNIX-style line endings and must be saved in the UTF-8 encoding.

Windows users: Notepad is not a decent text editor. It cannot read or save UNIX-style line endings. Use another editor (e.g. Notepad++, PSPad, Textpad, UltraEdit, Crimson Editor) and make sure that the line endings and encoding settings are setup correctly when saving the file.

The file format is one option per line, with option name and value separated with a colon, like this:

option_name:option_value

Basics

Most options have useful default values, so you don't need to set them in the Options file. A basic option file can be as simple as this:

window_width:960
window_height:540
homepage_url:http://www.netsurf-browser.org/welcome/
fb_mouse_delay:50

These options do the following things:

Option name Description Default value
window_width Sets the graphics mode width. Warning: 960 is the maximum value that will work. 960
window_height Sets the graphics mode height. Warning: 540 is the maximum value that will work. 540
homepage_url The URL of the home page. You may want to export a bookmarks.html from your desktop browser, save it to your NetSurf directory and use something like file:/dtv/usb/sda1/NetSurf/bookmarks.html. http://www.netsurf-browser.org/welcome/
fb_mouse_delay Delays mouse motion by up to X milliseconds. A non-zero value is needed because the ARM processor in the Samsung TV is not very fast and cannot keep up with mice reporting every single pixel of motion. 50
fb_search_url The URL of the preferred search page. It will be copied to the URL bar when "Search" is clicked in the menu, and you can then append your search term.

The default setting uses Google.

http://google.com/search?q=


Virtual Keyboard

Other options