od-contrib / commander

Dual pane file manager
MIT License
16 stars 15 forks source link

DPI arguments and config file path doesn't work #21

Closed dfilskov closed 4 months ago

dfilskov commented 4 months ago

No matter what arguments you give it the display DPI is locked.

IMG_20240513_224624-01

And it hangs if you point --config to a path with a commander.cfg in it

Also it defaults to a write-only path that simply doesn't exist:

/usr/share/od-commander/

... so there's no way for the user to put the arguments in a configuration file.

glebm commented 4 months ago

--config expects a config file path, not a directory. By default it reads from ~/.config/commander.cfg.

https://github.com/od-contrib/commander/blob/079a84c8a8cc25e1899cb11bcfce8e9e2ed9fca9/main.cpp#L80-L84

dfilskov commented 4 months ago

It works now - but it seems info on how/where to put settings is missing. I'll try to update the documentation.