github Firstp1ck/Pacsea v0.4.2

latest releases: v0.8.2, v0.8.1, v0.8.0...
pre-release9 months ago

Pacsea v0.4.2 — Terminal invocation reliability

Date: 2025-10-23

Highlights

  • Fix: System Update/Install on XFCE now runs correctly. We changed the launch
    for xfce4-terminal to use --command "bash -lc '<cmd>'", avoiding the
    previous parsing issue where -lc was treated as a terminal option and the
    window opened to an idle prompt.
  • Reliability: Terminal selection prefers PATH order. When multiple terminals
    are installed, Pacsea now picks the first one that appears on PATH, which is
    more predictable and honors user shell configuration.

Details

  • xfce4-terminal invocation
    • Old: -e bash -lc <cmd> (could fail with “Unknown option: -lc”).
    • New: --command "bash -lc '<cmd>'" with robust single-quote escaping.
  • Other terminals remain unchanged:
    • gnome-terminal: -- bash -lc <cmd>
    • kitty: bash -lc <cmd>
    • xterm: -hold -e bash -lc <cmd>
    • konsole: -e bash -lc <cmd>
    • tilix/mate-terminal: keep -- bash -lc <cmd> as before.
  • Internal improvements:
    • Added a safe single-quote escaping helper for shell commands.
    • Ensure output file parent directories exist in tests to avoid sporadic
      "No such file or directory" errors when capturing argv.

Packaging

  • Arch PKGBUILD: tests are now run single-threaded
    (cargo test ... -- --test-threads=1) to avoid PATH/env races in
    environment-mutating tests.

Upgrade notes

  • No config changes required. If xfce4-terminal still opens to an idle
    prompt, check terminal Preferences → General and ensure a user-defined
    "Run a custom command" is not overriding Pacsea’s command. Disabling that
    option resolves most local overrides.

Thanks

  • Thanks to user @MS-Jahan who reported and helped validate the xfce4-terminal behavior.

Don't miss a new Pacsea release

NewReleases is sending notifications on new releases.