Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Configuration

Flux reads ~/.config/flux/config.toml. The file is created on first run and reloaded while Flux is running. If it fails to parse, Flux prints the error to stderr and runs with built-in fallback values until the file is fixed.

Every key is optional. Default below is the value used when a key is missing from a file that has a [ui] table. The file written on first run sets some keys differently, so a fresh install can differ from this table.

Reference

Top level

KeyDefaultDescription
default_list_modefalseOpen folders in list mode instead of grid mode.
network_bookmarks[]Saved network locations; see Array tables.
sidebar[]Custom sidebar entries; see Array tables.

[shortcuts]

KeyDefaultDescription
backunsetGo back in navigation history.
change_iconunsetOpen the folder icon picker.
close_tabunsetClose the current tab.
copy_pathunsetCopy the absolute paths of the selected items.
create_hardlinkunsetCreate hardlinks from clipboard paths. Directories are not supported.
create_symlinkunsetCreate symlinks from clipboard paths, auto-renaming conflicts.
cycle_sortunsetRotate through the sort fields.
deleteunsetMove the selected items to the trash.
forwardunsetGo forward in navigation history.
homeunsetGo to the home directory.
menu_editorunsetOpen the menu editor.
new_tabunsetOpen a new tab.
next_tabunsetSwitch to the next tab.
openunsetOpen the selected file or enter the directory.
open_propertiesunsetOpen the properties window.
prev_tabunsetSwitch to the previous tab.
quitunsetQuit the application.
refreshunsetReload the current directory.
renameunsetStart an inline rename.
reset_iconunsetReset a folder icon to the default.
rootunsetGo to the root directory.
searchunsetFocus the search interface.
settingsunsetOpen the settings window.
toggle_folders_firstunsetToggle folder grouping for the active folder.
toggle_headerunsetShow or hide the header bar.
toggle_hiddenunsetShow or hide hidden files.
toggle_sort_orderunsetToggle between ascending and descending order.

[ui]

KeyDefaultDescription
actions_panel_width380Width in pixels of the right-side contextual-actions panel.
archive_thumbnail_cachefalseStore thumbnails of files inside zip archives in a hidden .flux-cache/ folder in the zip itself.
ascendingtrueSort listings in ascending order.
auto_generate_mime_iconstrueGenerate and cache an SVG document icon when the icon theme has none.
auto_list_threshold300Folders with more items than this open in list mode. 0 disables the auto-switch.
auto_mime_accent_color"#1273b2"Accent color of auto-generated document icons.
auto_mime_body_color"#e4e4e4"Hex color of the page body of auto-generated document icons.
auto_mime_font_color"#ffffff"Hex color of the extension label inside auto-generated document icons.
auto_mime_font_size13.0Base font size of auto-generated document icons.
auto_show_difftrueOpen the diff panel when a modified git file is selected.
autoplay_video_previewstruePlay a muted loop preview when a single video card is selected.
bg_alpha_sidebar_left0.65Tint opacity (0.0 to 1.0) over the left sidebar background image.
bg_alpha_sidebar_right0.65Tint opacity (0.0 to 1.0) over the right panel background image.
bg_alpha_window0.65Tint opacity (0.0 to 1.0) over the main window background image.
breadcrumb_count3Maximum number of path segments shown as breadcrumbs in the header bar; only the last ones are kept.
breadcrumb_max_chars20Characters shown in a breadcrumb label before truncation.
content_search_max_file_mb128Skip files larger than this many MiB during content search. 0 means no cap.
current_folders_first{}Per-folder override of folders_first, keyed by absolute path.
default_icon_size0Default pixel size of file and folder icons.
default_sort"Name"Fallback sort field: Name, Date, Size or Type.
device_renames{}Display names and icons for devices and partitions; see Array tables.
diff_editor"nvim"Editor command used when opening a diff hunk location.
diff_panel_width420Width in pixels of the right-side git diff panel.
disable_drag_and_dropfalseDisable drag and drop of files and folders.
enable_file_indexingfalseEnable the FTS5 filename indexer.
expand_labelsfalseWrap filenames over multiple lines instead of truncating them.
ffmpeg_auto_rotatefalseLet FFmpeg rotate portrait video thumbnails.
ffmpeg_seek_seconds5.0Seek position in seconds when grabbing a video thumbnail frame.
ffmpeg_threads1Threads per FFmpeg process when extracting video frames.
file_icons{}Per-file custom icon image, keyed by absolute path. Managed by --set-icon.
fish_themefalseGenerate a fish conf.d snippet so the embedded shell's colors and prompt follow the GTK theme. Off by default.
folder_cache_capacity3Number of recently visited directory snapshots kept in memory.
folder_grid_thumbnailstrueShow image thumbnails in the folder grid of the preview panel.
folder_icon_size{}Per-folder icon size override, keyed by absolute path.
folder_icons{}Per-folder custom icon image, keyed by absolute path. Managed by --set-icon.
folder_sort{}Per-folder sort field override, keyed by absolute path.
folders_firsttrueGroup directories above files.
grid_spacing10Pixel spacing between items in the file grid.
header_show_filtertrueShow the filter button in the header bar. Ctrl+Shift+F toggles the filter bar while it is hidden.
header_show_previewtrueShow the preview-panel toggle in the header bar.
header_show_sorttrueShow the sort indicator in the header bar.
header_show_viewtrueShow the list/grid toggle in the header bar. Ctrl+Shift+M toggles the mode while it is hidden.
header_visibletrueShow the header bar. Persisted across sessions.
hidden_extensions[]Extensions to hide from grid labels, for example ["desktop", "AppImage"].
lazy_thumbnailsfalseGenerate thumbnails only for items scrolled into view.
list_icon_size24Pixel size of icons in list mode.
loader_batch_size10Items dispatched per chunk into the grid while a folder loads.
max_content_search_results0Maximum results returned by content search.
max_history100Back and forward history entries kept.
max_search_results100Maximum matches during recursive filename and extension search.
max_width_chars20Characters shown in a file label before truncation.
panel_menu_requires_ctrlfalseOpen left-sidebar, preview-panel and quick-list context menus only on Ctrl+right-click; a plain right-click does nothing.
preview_panel_width400Width in pixels of the right-side preview panel.
preview_syntax_highlightingtrueSyntax-highlight source files in the preview panel.
recents_row0Zero-based position of the Recents row among the [[sidebar]] entries. No effect when show_recents is false.
scale_font_with_iconsfalseScale label font size together with the grid icons.
search_panel_width350Width in pixels of the right-side search panel.
show_csdfalseDraw client-side window decorations.
show_empty_dir_emblemfalseShow an emblem on folders that contain no visible items.
show_hidden_by_defaultfalseShow hidden files at startup.
show_recentstrueShow the Recents location in the sidebar.
show_symlink_emblemtrueShow a badge and target hint on symbolic links.
show_thumbnailstrueMaster switch for thumbnail generation; overrides thumbnail_types.
show_xdg_dirsfalseShow the XDG user directories, such as Documents and Downloads, in the sidebar.
sidebar_menu_requires_ctrlfalseOpen sidebar context menus only on Ctrl+right-click; a plain right-click does nothing.
sidebar_visibletrueShow the sidebar. Persisted across sessions.
sidebar_width0Width in pixels of the left sidebar.
single_clickfalseActivate items with a single click.
start_maximizedfalseOpen the window maximized.
startup_window_height0Initial window height in pixels.
startup_window_width0Initial window width in pixels.
tag_panel_width350Width in pixels of the right-side tag panel.
themeunsetName of the theme to apply, such as default, os-dark or os-light.
thumbnail_size256Target size in pixels of generated thumbnails.
thumbnail_threads4Maximum concurrent thumbnail workers.
ui_scale1.0Global UI scale multiplier.
wide_previewfalseOpen the preview panel in wide mode, with the sidebar hidden.
window_controls_leftfalsePut window controls on the left instead of the right.

[ui.terminal]

KeyDefaultDescription
bg_color"#1A1A1A"Terminal background color.
fg_color"#E5E5E5"Terminal foreground color.
font"JetBrains Mono 13"Terminal font as a Pango font description.
height30Terminal pane height.
position"bottom"Where F4 opens the terminal: bottom pane, right sidebar panel, or fullscreen window.
shellunsetShell started in the terminal pane; the user's login shell when unset.

[ui.thumbnail_types]

KeyDefaultDescription
audiotrueThumbnails and embedded artwork for audio files.
executablesfalseThumbnails for Windows .exe files.
fontstrueThumbnails for font files.
imagestrueThumbnails for image files.
pdfstrueThumbnails for PDF documents.
videostrueThumbnails for video files.

Array tables

[[sidebar]] adds a sidebar entry. path accepts a leading ~. Set kind = "label" to make the entry a section heading instead of a location.

[[sidebar]]
name = "Projects"
icon = "folder-symbolic"
path = "~/Projects"

[[network_bookmarks]] saves a network location. icon is optional.

[[network_bookmarks]]
name = "NAS"
uri = "smb://nas.local/share"

[ui.device_renames] maps a device path to a display name and an optional icon:

[ui.device_renames]
"/path/to/device/" = { name = "Storage", icon = "drive-harddisk-solid-symbolic" }

Default configuration

The same defaults as one file, as Flux would serialize it. Keys that are unset, such as ui.theme and the [shortcuts] entries, are omitted.

sidebar = []
network_bookmarks = []
default_list_mode = false

[ui]
diff_editor = "nvim"
preview_panel_width = 400
diff_panel_width = 420
auto_show_diff = true
ui_scale = 1.0
content_search_max_file_mb = 128
enable_file_indexing = false
bg_alpha_window = 0.65
bg_alpha_sidebar_left = 0.65
bg_alpha_sidebar_right = 0.65
scale_font_with_icons = false
hidden_extensions = []
tag_panel_width = 350
search_panel_width = 350
actions_panel_width = 380
show_symlink_emblem = true
header_visible = true
header_show_filter = true
header_show_sort = true
header_show_view = true
header_show_preview = true
sidebar_menu_requires_ctrl = false
panel_menu_requires_ctrl = false
auto_mime_body_color = "#e4e4e4"
auto_mime_font_color = "#ffffff"
auto_mime_font_size = 13.0
auto_generate_mime_icons = true
auto_mime_accent_color = "#1273b2"
autoplay_video_previews = true
thumbnail_size = 256
window_controls_left = false
show_empty_dir_emblem = false
ffmpeg_threads = 1
ffmpeg_seek_seconds = 5.0
ffmpeg_auto_rotate = false
loader_batch_size = 10
folder_cache_capacity = 3
thumbnail_threads = 4
max_search_results = 100
max_history = 100
breadcrumb_count = 3
breadcrumb_max_chars = 20
max_content_search_results = 0
default_icon_size = 0
list_icon_size = 24
sidebar_width = 0
show_xdg_dirs = false
single_click = false
default_sort = "Name"
folders_first = true
show_hidden_by_default = false
show_csd = false
start_maximized = false
startup_window_width = 0
startup_window_height = 0
max_width_chars = 20
grid_spacing = 10
ascending = true
expand_labels = false
sidebar_visible = true
show_recents = true
recents_row = 0
show_thumbnails = true
lazy_thumbnails = false
disable_drag_and_drop = false
preview_syntax_highlighting = true
wide_preview = false
folder_grid_thumbnails = true
archive_thumbnail_cache = false
fish_theme = false
auto_list_threshold = 300

[ui.file_icons]

[ui.terminal]
height = 30
fg_color = "#E5E5E5"
bg_color = "#1A1A1A"
font = "JetBrains Mono 13"
position = "bottom"

[ui.current_folders_first]

[ui.folder_sort]

[ui.folder_icon_size]

[ui.device_renames]

[ui.folder_icons]

[ui.thumbnail_types]
images = true
videos = true
fonts = true
pdfs = true
executables = false
audio = true

[shortcuts]

Renamed and removed keys

Old keyReplaced bySinceNote
ui.terminal_in_sidebarui.terminal.position0.6.0Replaced by the three-way position enum. true loads as "sidebar", false or missing as "bottom".