Skip to content

[BUG] Yazi and Nano from ML4W settings #1278

@Gianfilippo980

Description

@Gianfilippo980

Describe the bug

Editing the System section of the Settings menu to select Yazi as a file manager and Nano as editor works fine for the shortcuts but not for the buttons inside the configuration menu itself.
It would also be nice if the $EDITOR environmental variable could be set accordingly, instead of needing to add a .bashrc_custom file.

Steps to reproduce

  1. Go to the ML4W sidebar app (blue button on the top-right);
  2. Click the "settings" button in the top-middle;
  3. Go to the "System" tab;
  4. Set the File Manager to $(cat /home/gboccia/.config/ml4w/settings/terminal.sh) -e yazi or $(cat ~/.config/ml4w/settings/terminal.sh) -e yazi or kitty -e yazi;
    5.Click the folder icon on the top-right of that same configuration page.

Expected behavior

I expect TUI apps to open a terminal and reach the relevant configurations files when pressing menu buttons, same as they do when shortcuts are used.
In a previous install, I was able to use TUI apps from the configuration menu itself, as long as I avoided the relative path (starting with ~), given that this happens for both the editor and file manager, I need to locate the configuration files without the help of the menu.

Screenshots

No response

Distribution

Arch Linux

If Other, specify

No response

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Labels

bugSomething isn't workingto be confirmedIssue is currently under review and has not been released

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions