hhannine / superpaper

A cross-platform multi monitor wallpaper manager.
MIT License
1.12k stars 46 forks source link

CLI does not work with advanced spanning settings #78

Closed KomAuras closed 2 years ago

KomAuras commented 3 years ago

I use latest (2.0.2)portable version on Windows 10 if you call how superpaper.exe --setimages "image1.png" everything works. if added other params like superpaper.exe --setimages "image2.png" --inches 19 19 --bezels 0.0 0.0 --offsets 0 0 100 40 nothing happens and the image is not installed.

KomAuras commented 3 years ago

Or would it be possible to specify the name of the profile with the monitor configuration

hhannine commented 3 years ago

Newest version is 2.1.0, so test that first, but I think that the issue will persist on that as well. Unfortunately the CLI side is a bit out of date and there are some issues due to incompatibility with v2.0 changes. I think that at least trying to use offsets breaks it. Test if it works if you don't specify the bezels or offsets?

If you want to help debug the issue, enable logging in the settings and post me the log that is made when you run the command.

Running a specific profile from the command line is a good idea and should probably be included in a larger redesign of the CLI. Post-v2.0 the display setup specification in the CLI is outdated as well and should be replaced with usage of the advanced 2.0 features. This'll take some amount of work so I haven't gotten around to it.

KomAuras commented 3 years ago

version 2.1.0 in general_settings logging=true remove temp\log before run

run: superpaper.exe --debug --setimages "wallhaven-614464.png"

result: log in temp\log not created created new file in temp\cli-a.jpg wallpaper NOT set


version 2.0.2 in general_settings logging=true remove temp\log before run

run: superpaper.exe --debug --setimages "wallhaven-614464.png"

result: log in temp\log not created created new file in temp\cli-a.jpg wallpaper SET


in both cases, the log was not created. in the case of normal program launch, the log file is created with debug data. additional parameters do not work in both cases.

hhannine commented 2 years ago

The CLI functionality has now been fixed 0702ee13f66d93295a288b9fb2e17b292270791c