rio icon indicating copy to clipboard operation
rio copied to clipboard

config file is being partially read

Open sga-13 opened this issue 11 months ago • 1 comments

I have set some config options (window decoration, render, font, shell, and color), but when I launch a new instance, shell and fonts are not being used, but color is being read, and so is the log-level option. I am not getting any error window during startup. I have also tried to comment out everything and only change shell or colors or fonts at a time, they still dont work. I am a Arch linux user, and using the package in the [extras] repo, though I also tried running the binary from the deb package from release section, the error persists. My config file and log files are as followed. According to log file, the warn lines are only concerned about Noto fonts not being present (which i admittedly do not have installed, but I have not set noto fonts in the config so that shoud not be the breaking thing I suppose)

rio -V
rioterm 0.2.2

Config File

# Hide the cursor while typing
#
# Default is `false`
#
# hide-cursor-when-typing = false

# Ignore theme selection foreground color
#
# Default is false
#
# Example:
# ignore-selection-foreground-color = false

# Theme
#
# It makes Rio look for the specified theme in the themes folder
# (macos and linux: ~/.config/rio/themes/dracula.toml)
# (windows: C:\Users\USER\AppData\Local\rio\themes\dracula.toml)
#
# Example:
# theme = "dracula"

# Padding-x
#
# define x axis padding (default is 0)
#
# Example:
# padding-x = 10

# Padding-y
#
# define y axis padding based on a format [top, left]
# (default is [0, 0])
#
# Example:

# padding-y = [30, 10]

# Option as Alt
#
# This config only works on MacOS.
# Possible choices: 'both', 'left' and 'right'.
#
# Example:
# option-as-alt = 'left'

# Line height
#
# This option will apply an modifier to line-height
# Default is `1.0`
#
# Example:
# line-height = 1.2

# Startup directory
#
# Directory the shell is started in. If this is unset the working
# directory of the parent process will be used.
#
# This configuration only has effect if use-fork is disabled.
#
# Example:
# working-dir = "/Users/raphael/Documents/"

# Environment variables
#
# Example:
# env-vars = []

# Use fork
#
# Defaults for POSIX-based systems (Windows is not configurable):
# MacOS: spawn processes
# Linux/BSD: fork processes
#
# Example:
use-fork = true

# Confirm before exiting Rio
# Default is `true`
#
confirm-before-quit = true

# Cursor
#
# shape - Default cursor shape is 'block'
# Other available options are: 'underline', 'beam' or 'hidden'
#
# blinking - Whether the cursor blinks. The default is false
#
# blinking-interval - Cursor update on milliseconds interval
#
# [cursor]
# shape = 'block'
# blinking = false
# blinking-interval = 800

# Editor
#
# Default editor on Linux and MacOS is "vi",
# on Windows it is "notepad".
#
# Whenever the key binding `OpenConfigEditor` is triggered it will
# use the value of the editor along with the rio configuration path.
[editor]
program = "helix"
# args = []

# Window configuration
#
# • width - define the initial window width.
#   Default: 600
#
# • height - define the initial window height.
#   Default: 400
#
# • mode - define how the window will be created
#     - "Windowed" (default) is based on width and height
#     - "Maximized" window is created with maximized
#     - "Fullscreen" window is created with fullscreen
#
# • opacity - Set window opacity
#
# • blur - Set blur on the window background. Changing this config requires restarting Rio to take effect.
#
# • decorations - Set window decorations, options: "Enabled", "Disabled", "Transparent", "Buttonless"
#
# Example:
[window]
# width = 600
# height = 400
# mode = "Windowed"
# opacity = 1.0
# blur = false
decorations = "Disabled"

# Renderer
#
# • Performance: Set WGPU rendering performance
#   - High: Adapter that has the highest performance. This is often a discrete GPU.
#   - Low: Adapter that uses the least possible power. This is often an integrated GPU.
#
# • Backend: Set WGPU rendering backend
#   - Automatic: Leave Sugarloaf/WGPU to decide
#   - GL: Supported on Linux/Android, and Windows and macOS/iOS via ANGLE
#   - Vulkan: Supported on Windows, Linux/Android
#   - DX12: Supported on Windows 10
#   - Metal: Supported on macOS/iOS
#
# • disable-unfocused-render: This property disable renderer processes while Rio is unfocused.
#
# • level: Configure renderer level
#   - Available options: 0 and 1.
#       Higher the level more rendering features and computations
#       will be done like enable font ligatures or emoji support.
#       For more information please check the docs.
#
# • filters: A list of paths to RetroArch slang shaders. Might not work with OpenGL.
#
# Example:
[renderer]
performance = "Low"
backend = "automatic"
# disable-unfocused-render = false
level = 1
# filters = []

# Keyboard
#
# use-kitty-keyboard-protocol - Enable Kitty Keyboard protocol
#
# disable-ctlseqs-alt - Disable ctlseqs with ALT keys
#   - For example: Terminal.app does not deal with ctlseqs with ALT keys
#
# Example:
# [keyboard]
# use-kitty-keyboard-protocol = false
# disable-ctlseqs-alt = false

# Fonts
#
# Configure fonts used by the terminal
#
# Note: You can set different font families but Rio terminal
# will always look for regular font bounds whene
#
# You can also set family on root to overwrite all fonts.
#
# You can also specify extra fonts to load
# [fonts]
# extras = [{ family = "Microsoft JhengHei" }]
#
# In case you want to specify any font feature:
# [fonts]
# features = ["ss02", "ss03", "ss05", "ss19"]
#
# Note: Font features do not have support to live reload on configuration,
# so to reflect your changes, you will need to close and reopen Rio.
#
# You can also disable font hinting. Font hinting is enabled by default.
# [fonts]
# hinting = false
#
# Example:
# [fonts]
# size = 18
#
[fonts]
family = "DejaVu Sans Mono"
size = 15
[fonts.regular]
family = "DejaVu Sans Mono"
style = "Normal"
weight = 400

[fonts.bold]
family = "DejaVu Sans Mono"
style = "Normal"
weight = 400

[fonts.italic]
family = "DejaVu Sans Mono"
style = "Normal"
weight = 400

[fonts.bold-italic]
family = "DejaVu Sans Mono"
style = "Normal"
weight = 400

# Scroll
#
# You can change how many lines are scrolled each time by setting this option.
#
# Scroll calculation for canonical mode will be based on `lines = (accumulated scroll * multiplier / divider)`,
# If you want a quicker scroll, keep increasing the multiplier.
# If you want to reduce scroll speed you will need to increase the divider.
# You can use both properties also to find the best scroll for you.
#
# Multiplier default is 3.0.
# Divider default is 1.0.
# Example:
# [scroll]
# multiplier = 3.0
# divider = 1.0

# Navigation
#
# "mode" - Define navigation mode
#   • NativeTab (MacOS only)
#   • Bookmark
#   • BottomTab
#   • TopTab
#   • Plain
#
# "hide-if-single" - Hide navigation UI if is single.
# "clickable" - Enable click on tabs to switch.
# "use-current-path" - Use same path whenever a new tab is created (Note: requires `use-fork` to be set to false).
# "color-automation" - Set a specific color for the tab whenever a specific program is running, or in a specific directory.
#
# Example:
# [navigation]
# mode = "bookmark"
# clickable = false
# hide-if-single = true
# use-current-path = false
# color-automation = []

# Shell
#
# You can set `shell.program` to the path of your favorite shell, e.g. `/bin/fish`.
# Entries in `shell.args` are passed unmodified as arguments to the shell.
#
# Default:
#   - (macOS) user login shell
#   - (Linux/BSD) user login shell
#   - (Windows) powershell
#
# Example 1 using fish shell from bin path:
#
# [shell]
# program = "/bin/fish"
# args = ["--login"]
#
# Example 2 for Windows using powershell
#
# [shell]
# program = "pwsh"
# args = []
#
# Example 3 for Windows using powershell with login
#
# [shell]
# program = "pwsh"
# args = ["-l"]
#
# Example 4 for MacOS with tmux installed by homebrew
#
# [shell]
# program = "/opt/homebrew/bin/tmux"
# args = ["new-session", "-c", "/var/www"]
[shell]
program = "/usr/bin/bash"
args = ["--rcfile", "/home/sg/.local/bin/scripts/bashrc.sh"]

# Colors
#
# Colors definition will overwrite any property in theme
# (considering if theme folder does exists and is being used)
#
# Example:
[colors]
foreground = "#ffffff"
background = "#000000"
cursor = '#ffffff'
tabs = '#0097ab'
tabs-active = '#1690df'
black = "#000000"
red = "#ff007c"
yellow = "#f3fd18"
blue = "#1690df"
magenta = "#D65E75"
cyan = "#0097ab"
green = "#5ada22"
white = "#ffffff"


# Bindings
#
# Create custom Key bindings for Rio terminal
# More information in: https://raphamorim.io/rio/docs/config/bindings
#
# Example:
# [bindings]
# keys = [
#   { key = "q", with = "super", action = "Quit" },
#   # Bytes[27, 91, 53, 126] is equivalent to "\x1b[5~"
#   { key = "home", with = "super | shift", bytes = [27, 91, 53, 126] }
# ]

# Platform
#
# Rio now allows you to have different configurations per OS
# You can write ovewrite properties like `Shell`, `Navigation`
# and `Window`.
#
# Example:
# [shell]
# # default (in this case will be used only on MacOS)
# program = "/bin/fish"
# args = ["--login"]
#
# [platform]
# # Microsoft Windows overwrite
# windows.shell.program = "pwsh"
# windows.shell.args = ["-l"]
#
# # Linux overwrite
# linux.shell.program = "tmux"
# linux.shell.args = ["new-session", "-c", "/var/www"]

# Log level
#
# This property enables log level filter and file. The default level is "OFF" and the logs are not logged to a file as default.
#
# Example:
# [developer]
# log-level = "OFF"
# enable-log-file = false
[developer]
log-level = "INFO"

Log File

2024-12-31T12:06:13.431352Z  INFO logger: frontends/rioterm/src/main.rs:120: logging level: INFO
2024-12-31T12:06:13.431379Z  INFO logger: frontends/rioterm/src/main.rs:122: logging to a file: /home/sg/.config/rio/log/rio.log
2024-12-31T12:06:13.431438Z  INFO setup_environment_variables: frontends/rioterm/src/main.rs:54: terminfo: rio
2024-12-31T12:06:13.437243Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/font/mod.rs:602: Font search: 'Query { families: [Name("DejaVu Sans Mono")], weight: Weight(400), stretch: Normal, style: Normal }'
2024-12-31T12:06:13.437325Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/font/mod.rs:620: Font 'DejaVu Sans Mono' found in /usr/share/fonts/TTF/DejaVuSansMono.ttf
2024-12-31T12:06:13.437336Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/font/mod.rs:602: Font search: 'Query { families: [Name("DejaVu Sans Mono")], weight: Weight(400), stretch: Normal, style: Normal }'
2024-12-31T12:06:13.437574Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/font/mod.rs:620: Font 'DejaVu Sans Mono' found in /usr/share/fonts/TTF/DejaVuSansMono.ttf
2024-12-31T12:06:13.437583Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/font/mod.rs:602: Font search: 'Query { families: [Name("DejaVu Sans Mono")], weight: Weight(400), stretch: Normal, style: Normal }'
2024-12-31T12:06:13.437812Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/font/mod.rs:620: Font 'DejaVu Sans Mono' found in /usr/share/fonts/TTF/DejaVuSansMono.ttf
2024-12-31T12:06:13.437821Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/font/mod.rs:602: Font search: 'Query { families: [Name("DejaVu Sans Mono")], weight: Weight(400), stretch: Normal, style: Normal }'
2024-12-31T12:06:13.438076Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/font/mod.rs:620: Font 'DejaVu Sans Mono' found in /usr/share/fonts/TTF/DejaVuSansMono.ttf
2024-12-31T12:06:13.438087Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/font/mod.rs:602: Font search: 'Query { families: [Name("Noto Sans")], weight: Weight(400), stretch: Normal, style: Normal }'
2024-12-31T12:06:13.438101Z  WARN /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/font/mod.rs:639: Failed to find font 'Query { families: [Name("Noto Sans")], weight: Weight(400), stretch: Normal, style: Normal }'
2024-12-31T12:06:13.438113Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/font/mod.rs:331: SugarloafFont { family: "Noto Sans", weight: None, style: Normal, width: None }
2024-12-31T12:06:13.438122Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/font/mod.rs:602: Font search: 'Query { families: [Name("DejaVu Sans")], weight: Weight(400), stretch: Normal, style: Normal }'
2024-12-31T12:06:13.438630Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/font/mod.rs:620: Font 'DejaVu Sans' found in /usr/share/fonts/TTF/DejaVuSans.ttf
2024-12-31T12:06:13.438641Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/font/mod.rs:602: Font search: 'Query { families: [Name("FreeSans")], weight: Weight(400), stretch: Normal, style: Normal }'
2024-12-31T12:06:13.438654Z  WARN /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/font/mod.rs:639: Failed to find font 'Query { families: [Name("FreeSans")], weight: Weight(400), stretch: Normal, style: Normal }'
2024-12-31T12:06:13.438661Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/font/mod.rs:331: SugarloafFont { family: "FreeSans", weight: None, style: Normal, width: None }
2024-12-31T12:06:13.438669Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/font/mod.rs:602: Font search: 'Query { families: [Name("Noto Sans Mono")], weight: Weight(400), stretch: Normal, style: Normal }'
2024-12-31T12:06:13.438697Z  WARN /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/font/mod.rs:639: Failed to find font 'Query { families: [Name("Noto Sans Mono")], weight: Weight(400), stretch: Normal, style: Normal }'
2024-12-31T12:06:13.438704Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/font/mod.rs:331: SugarloafFont { family: "Noto Sans Mono", weight: None, style: Normal, width: None }
2024-12-31T12:06:13.438712Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/font/mod.rs:602: Font search: 'Query { families: [Name("DejaVu Sans Mono")], weight: Weight(400), stretch: Normal, style: Normal }'
2024-12-31T12:06:13.438851Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/font/mod.rs:620: Font 'DejaVu Sans Mono' found in /usr/share/fonts/TTF/DejaVuSansMono.ttf
2024-12-31T12:06:13.438861Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/font/mod.rs:602: Font search: 'Query { families: [Name("FreeMono")], weight: Weight(400), stretch: Normal, style: Normal }'
2024-12-31T12:06:13.438874Z  WARN /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/font/mod.rs:639: Failed to find font 'Query { families: [Name("FreeMono")], weight: Weight(400), stretch: Normal, style: Normal }'
2024-12-31T12:06:13.438883Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/font/mod.rs:331: SugarloafFont { family: "FreeMono", weight: None, style: Normal, width: None }
2024-12-31T12:06:13.438891Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/font/mod.rs:602: Font search: 'Query { families: [Name("Noto Sans Symbols")], weight: Weight(400), stretch: Normal, style: Normal }'
2024-12-31T12:06:13.438904Z  WARN /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/font/mod.rs:639: Failed to find font 'Query { families: [Name("Noto Sans Symbols")], weight: Weight(400), stretch: Normal, style: Normal }'
2024-12-31T12:06:13.438911Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/font/mod.rs:331: SugarloafFont { family: "Noto Sans Symbols", weight: None, style: Normal, width: None }
2024-12-31T12:06:13.438919Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/font/mod.rs:602: Font search: 'Query { families: [Name("Noto Sans Symbols2")], weight: Weight(400), stretch: Normal, style: Normal }'
2024-12-31T12:06:13.438932Z  WARN /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/font/mod.rs:639: Failed to find font 'Query { families: [Name("Noto Sans Symbols2")], weight: Weight(400), stretch: Normal, style: Normal }'
2024-12-31T12:06:13.438938Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/font/mod.rs:331: SugarloafFont { family: "Noto Sans Symbols2", weight: None, style: Normal, width: None }
2024-12-31T12:06:13.452054Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-23.0.0/src/vulkan/instance.rs:351: Debug utils not enabled: debug_utils_user_data not passed to Instance::from_raw    
2024-12-31T12:06:13.454117Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-23.0.0/src/gles/egl.rs:842: Using Wayland platform    
2024-12-31T12:06:13.465939Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/context/mod.rs:77: selected instance: Instance { context: ContextWgpuCore { type: "Native" } }
2024-12-31T12:06:13.465956Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/context/mod.rs:81: Available adapters:
2024-12-31T12:06:13.467456Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-core-23.0.0/src/instance.rs:308: Adapter AdapterInfo { name: "AMD Radeon Graphics (RADV RENOIR)", vendor: 4098, device: 5607, device_type: IntegratedGpu, driver: "radv", driver_info: "Mesa 24.3.2-arch1.1", backend: Vulkan }    
2024-12-31T12:06:13.468247Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-core-23.0.0/src/instance.rs:308: Adapter AdapterInfo { name: "AMD Radeon Graphics (radeonsi, renoir, LLVM 18.1.8, DRM 3.59, 6.12.7-arch1-1)", vendor: 4098, device: 0, device_type: Other, driver: "", driver_info: "4.6 (Core Profile) Mesa 24.3.2-arch1.1", backend: Gl }    
2024-12-31T12:06:13.468296Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/context/mod.rs:83:     AdapterInfo { name: "AMD Radeon Graphics (RADV RENOIR)", vendor: 4098, device: 5607, device_type: IntegratedGpu, driver: "radv", driver_info: "Mesa 24.3.2-arch1.1", backend: Vulkan }
2024-12-31T12:06:13.468319Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/context/mod.rs:83:     AdapterInfo { name: "AMD Radeon Graphics (radeonsi, renoir, LLVM 18.1.8, DRM 3.59, 6.12.7-arch1-1)", vendor: 4098, device: 0, device_type: Other, driver: "", driver_info: "4.6 (Core Profile) Mesa 24.3.2-arch1.1", backend: Gl }
2024-12-31T12:06:13.468341Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/context/mod.rs:87: initializing the surface
2024-12-31T12:06:13.468371Z  WARN /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-23.0.0/src/gles/egl.rs:996: Re-initializing Gles context due to Wayland window    
2024-12-31T12:06:13.478908Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-core-23.0.0/src/instance.rs:382: Adapter AdapterInfo { name: "AMD Radeon Graphics (RADV RENOIR)", vendor: 4098, device: 5607, device_type: IntegratedGpu, driver: "radv", driver_info: "Mesa 24.3.2-arch1.1", backend: Vulkan }    
2024-12-31T12:06:13.478945Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/context/mod.rs:104: Selected adapter: AdapterInfo { name: "AMD Radeon Graphics (RADV RENOIR)", vendor: 4098, device: 5607, device_type: IntegratedGpu, driver: "radv", driver_info: "Mesa 24.3.2-arch1.1", backend: Vulkan }
2024-12-31T12:06:13.479641Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sugarloaf-0.2.2/src/context/mod.rs:50: Sugarloaf selected format: Bgra8Unorm from [Bgra8UnormSrgb, Rgba8UnormSrgb, Bgra8Unorm, Rgba8Unorm]
2024-12-31T12:06:13.505797Z  INFO frontends/rioterm/src/context/mod.rs:244: rio -> teletypewriter: create_pty_with_fork
2024-12-31T12:06:13.505847Z  INFO teletypewriter/src/unix/mod.rs:609: fork "/usr/bin/bash"
2024-12-31T12:06:13.508568Z  INFO frontends/rioterm/src/application.rs:138: Initialisation complete
2024-12-31T12:06:13.512661Z  INFO rio-backend/src/crosswords/mod.rs:545: Crosswords::resize dimensions unchanged
2024-12-31T12:06:13.512692Z  INFO rio-backend/src/crosswords/mod.rs:545: Crosswords::resize dimensions unchanged
2024-12-31T12:06:13.524368Z  INFO rio-backend/src/crosswords/mod.rs:545: Crosswords::resize dimensions unchanged
2024-12-31T12:06:13.528753Z  INFO rio-backend/src/crosswords/mod.rs:545: Crosswords::resize dimensions unchanged
2024-12-31T12:06:13.528770Z  INFO rio-backend/src/crosswords/mod.rs:545: Crosswords::resize dimensions unchanged
2024-12-31T12:06:20.557700Z  INFO rio-backend/src/crosswords/mod.rs:1225: Setting keyboard mode to Mode(0x0)
2024-12-31T12:06:23.486865Z  INFO rio-backend/src/crosswords/mod.rs:545: Crosswords::resize dimensions unchanged
2024-12-31T12:06:24.865555Z  INFO rio-backend/src/crosswords/mod.rs:545: Crosswords::resize dimensions unchanged
2024-12-31T12:06:26.096166Z  INFO rio-backend/src/crosswords/mod.rs:1225: Setting keyboard mode to Mode(0x0)

sga-13 avatar Dec 31 '24 12:12 sga-13

i have a similar issue. the same config file works fine on macos and a different linux system, but on one linux, the shell.args get ignored, no matter how many lines of config i put before or after it, and settings before and after shell.args work fine as well. using platform.linux.shell.args (with platform.linux.shell.program) also does not work. the actual symptom is that zellij is launched without args. manually $ rio -e <shell> <args> works fine.

$ rio --version
rioterm 0.2.12
$ rio --enable-log-file
2025-04-16T18:43:53.844537Z  INFO logger: rio: logging level: INFO
2025-04-16T18:43:53.844575Z  INFO logger: rio: logging to a file: /home/username/.config/rio/log/rio.log
2025-04-16T18:43:53.844603Z  INFO setup_environment_variables: rio: terminfo: rio
2025-04-16T18:43:53.874510Z  INFO sugarloaf::font: Font search: 'Query { families: [Name("Noto Sans")], weight: Weight(400), stretch: Normal, style: Normal }'
2025-04-16T18:43:53.874924Z  INFO sugarloaf::font: Font 'Noto Sans' found in /usr/share/fonts/truetype/noto/NotoSans-Regular.ttf
2025-04-16T18:43:53.874938Z  INFO sugarloaf::font: Font search: 'Query { families: [Name("DejaVu Sans")], weight: Weight(400), stretch: Normal, style: Normal }'
2025-04-16T18:43:53.875491Z  INFO sugarloaf::font: Font 'DejaVu Sans' found in /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf
2025-04-16T18:43:53.875506Z  INFO sugarloaf::font: Font search: 'Query { families: [Name("FreeSans")], weight: Weight(400), stretch: Normal, style: Normal }'
2025-04-16T18:43:53.876745Z  INFO sugarloaf::font: Font 'FreeSans' found in /usr/share/fonts/truetype/freefont/FreeSans.ttf
2025-04-16T18:43:53.876760Z  INFO sugarloaf::font: Font search: 'Query { families: [Name("Noto Sans Mono")], weight: Weight(400), stretch: Normal, style: Normal }'
2025-04-16T18:43:53.877005Z  INFO sugarloaf::font: Font 'Noto Sans Mono' found in /usr/share/fonts/truetype/noto/NotoSansMono-Regular.ttf
2025-04-16T18:43:53.877017Z  INFO sugarloaf::font: Font search: 'Query { families: [Name("DejaVu Sans Mono")], weight: Weight(400), stretch: Normal, style: Normal }'
2025-04-16T18:43:53.877084Z  INFO sugarloaf::font: Font 'DejaVu Sans Mono' found in /usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf
2025-04-16T18:43:53.877096Z  INFO sugarloaf::font: Font search: 'Query { families: [Name("FreeMono")], weight: Weight(400), stretch: Normal, style: Normal }'
2025-04-16T18:43:53.877405Z  INFO sugarloaf::font: Font 'FreeMono' found in /usr/share/fonts/truetype/freefont/FreeMono.ttf
2025-04-16T18:43:53.877419Z  INFO sugarloaf::font: Font search: 'Query { families: [Name("Noto Sans Symbols")], weight: Weight(400), stretch: Normal, style: Normal }'
2025-04-16T18:43:53.877482Z  INFO sugarloaf::font: Font 'Noto Sans Symbols' found in /usr/share/fonts/truetype/noto/NotoSansSymbols-Regular.ttf
2025-04-16T18:43:53.877494Z  INFO sugarloaf::font: Font search: 'Query { families: [Name("Noto Sans Symbols2")], weight: Weight(400), stretch: Normal, style: Normal }'
2025-04-16T18:43:53.877576Z  INFO sugarloaf::font: Font 'Noto Sans Symbols2' found in /usr/share/fonts/truetype/noto/NotoSansSymbols2-Regular.ttf
2025-04-16T18:43:53.879337Z  INFO rio_window::platform_impl::platform::x11::window: Guessed window scale factor: 1
2025-04-16T18:43:53.899047Z  INFO wgpu_hal::gles::egl: Using X11 platform    
2025-04-16T18:43:53.925456Z  INFO sugarloaf::context: selected instance: Instance { inner: Core(ContextWgpuCore { type: "Native" }) }
2025-04-16T18:43:53.925477Z  INFO sugarloaf::context: Available adapters:
2025-04-16T18:43:53.930218Z  INFO sugarloaf::context:     AdapterInfo { name: "AMD Radeon RX 6800 XT (RADV NAVI21)", vendor: 4098, device: 29631, device_type: DiscreteGpu, driver: "radv", driver_info: "Mesa 24.2.8-1ubuntu1~24.04.1", backend: Vulkan }
2025-04-16T18:43:53.930243Z  INFO sugarloaf::context:     AdapterInfo { name: "llvmpipe (LLVM 19.1.1, 256 bits)", vendor: 65541, device: 0, device_type: Cpu, driver: "llvmpipe", driver_info: "Mesa 24.2.8-1ubuntu1~24.04.1 (LLVM 19.1.1)", backend: Vulkan }
2025-04-16T18:43:53.930255Z  INFO sugarloaf::context:     AdapterInfo { name: "AMD Radeon RX 6800 XT (radeonsi, navi21, LLVM 19.1.1, DRM 3.57, 6.8.0-57-generic)", vendor: 4098, device: 0, device_type: Other, driver: "", driver_info: "4.6 (Core Profile) Mesa 24.2.8-1ubuntu1~24.04.1", backend: Gl }
2025-04-16T18:43:53.930285Z  INFO sugarloaf::context: initializing the surface
2025-04-16T18:43:53.932425Z  INFO sugarloaf::context: Selected adapter: AdapterInfo { name: "AMD Radeon RX 6800 XT (RADV NAVI21)", vendor: 4098, device: 29631, device_type: DiscreteGpu, driver: "radv", driver_info: "Mesa 24.2.8-1ubuntu1~24.04.1", backend: Vulkan }
2025-04-16T18:43:53.932508Z  INFO sugarloaf::context: Sugarloaf selected format: Bgra8Unorm from [Bgra8UnormSrgb, Bgra8Unorm]
2025-04-16T18:43:53.966366Z  INFO rio::context: rio -> teletypewriter: create_pty_with_fork
2025-04-16T18:43:53.966403Z  INFO teletypewriter::unix: fork "zellij"
2025-04-16T18:43:53.970337Z  INFO rio::application: Initialisation complete
2025-04-16T18:43:53.972688Z  INFO rio_backend::crosswords: Crosswords::resize dimensions unchanged
2025-04-16T18:43:54.080639Z  INFO rio_backend::crosswords: Setting keyboard mode to Mode(0x0)
2025-04-16T18:43:54.080678Z  INFO rio_backend::crosswords: Setting keyboard mode to Mode(DISAMBIGUATE_ESC_CODES)
2025-04-16T18:43:54.093134Z  INFO rio_backend::crosswords: Term got unhandled attr: CancelBlink
$ cat .config/rio/config.toml
[renderer]
performance = "High"

[shell]
program = "zellij"
args = ["a","main"]

[title]
content = "{{ program }} ({{columns}}x{{lines}})"

[developer]
log-level = "INFO"
$ uname -srmo
Linux 6.8.0-57-generic x86_64 GNU/Linux

slaide avatar Apr 16 '25 18:04 slaide

i no longer have this issue ( i do not think what i changed, most likely it is because i slightly simplified shell command), so most likely not a rio issue. I don't know much about @slaide 's issue, so i am not clossing immediately, and will close if there issue is also solved.

sga-13 avatar May 04 '25 15:05 sga-13