Advanced Settings / Developer Options / System Properties

How-to guides, frequently asked questions, not-so-obvious features, etc
Post Reply
User avatar
rednoah
The Source
Posts: 23420
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Advanced Settings / Developer Options / System Properties

Post by rednoah »

How do I set System Properties?

Your custom system properties are stored in the system.properties configuration file in the FileBot application data folder. You can create / modify the system.properties configuration file via Icon Advanced Settings in the Debug Console (open via F5 keyboard shortcut) in the FileBot Desktop application or via the properties script on the command-line.


e.g. Set net.filebot.xattr.store in the FileBot Desktop application via F5Icon Application DataIcon Advanced Settings:

ScreenshotScreenshot


e.g. Set net.filebot.xattr.store in the FileBot Node web application via ToolsSystem Properties:
Screenshot


e.g. Set net.filebot.xattr.store via the filebot command-line tool:

Shell: Select all

filebot -script fn:properties --def net.filebot.xattr.store=.xattr

e.g. Set net.filebot.xattr.store via the filebot command-line tool in a docker container:

Shell: Select all

docker run --rm -it -v data:/data rednoah/filebot -script fn:properties --def net.filebot.xattr.store=.xattr






General Options

Disable Windows file path validation on Unix platforms: unixfs = true | false

Shell: Select all

filebot -script fn:properties --def unixfs=true
Configure parallelism level: parallelism = <min>..<max>

Shell: Select all

filebot -script fn:properties --def parallelism=8..64
Configure main thread priority: priority = 1..10

Shell: Select all

filebot -script fn:properties --def priority=1


User Interface Options

Configure Look and Feel: net.filebot.theme = Darcula | Nimbus | System

Shell: Select all

filebot -script fn:properties --def net.filebot.theme=Darcula
Configure File Dialog implementation: net.filebot.UserFiles.fileChooser = Zenity | Swing | AWT | JavaFX

Shell: Select all

filebot -script fn:properties --def net.filebot.UserFiles.fileChooser=Swing
Configure Trash implementation: net.filebot.UserFiles.trash = System | JNA | XDG | Move | Hide | Delete

Shell: Select all

filebot -script fn:properties --def net.filebot.UserFiles.trash=Delete
System ... use Desktop.moveToTrash implementation
JNA ... use DefaultFileUtils.moveToTrash implementation
XDG ... use /usr/bin/trash or /usr/bin/gio trash system commands
Move ... atomically move files to a Trash folder located at {drive}/Trash for each mount point, drive or network share
Hide ... rename files by adding a . prefix to the file name
Delete ... just delete files



Logging Options

Enable debug logging: net.filebot.logging.debug = ALL | FINE | INFO

Shell: Select all

filebot -script fn:properties --def net.filebot.logging.debug=ALL
Enable color logging: net.filebot.logging.color = true | false

Shell: Select all

filebot -script fn:properties --def net.filebot.logging.color=true
Print timestamp for each log record: net.filebot.logging.time = true | false

Shell: Select all

filebot -script fn:properties --def net.filebot.logging.time=true


Network Options

Configure HTTP request retry limit and retry delay: try initial request, wait 2 minutes on failure, retry 2nd request, wait 8 minutes on failure, retry 3rd request

Shell: Select all

filebot -script fn:properties --def net.filebot.CachedResource.retryLimit=2 net.filebot.CachedResource.retryDelay=PT2M net.filebot.CachedResource.retryMultiplier=4


Java Options

Force IPv4 network connections: java.net.preferIPv4Stack = false | true

Shell: Select all

filebot -script fn:properties --def java.net.preferIPv4Stack=true
Force UI scale factor: sun.java2d.uiScale = 1 | 2 | 4

Shell: Select all

filebot -script fn:properties --def sun.java2d.uiScale=2
Enable Direct3D render pipeline: sun.java2d.d3d = true | false

Shell: Select all

filebot -script fn:properties --def sun.java2d.d3d=true
Enable OpenGL render pipeline: sun.java2d.opengl = true | false

Shell: Select all

filebot -script fn:properties --def sun.java2d.opengl=true


Java Environment Variables

Manually configure CPU and RAM resource limits for the java process:

Shell: Select all

export JAVA_OPTS="-XX:ActiveProcessorCount=1 -Xmx512"
filebot -script fn:sysinfo
:idea: Please read the FAQ and How to Request Help.
Post Reply