Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Can't set up manual location, it says there's a malformed argument #694

@6lancmange

Description

@6lancmange

Describe the bug
With help from my friend better acquainted with Linux, I think I managed to install version 1.12. I put a config file in the folder: .config/redshift/redshift.conf. It is based on the sample config file and I only changed numbers, taking care to keep the formats etc. When I tried to run it, two things happened: it had a problem with there not being a transient parent Gtk-Message: 22:53:03.237: GtkDialog mapped without a transient parent. This is discouraged. and this:

Unknown method parameter: 'elevation-low'.
Failed to set manual option.
Try '-l manual:help' for more information.

I commented the elevations (which worked in the older version and I used them!) and perhaps it doesn't work because there isn't a location to refer to. But that's the problem: the manual location is set.

; Set the location-provider: 'geoclue', 'geoclue2', 'manual'
; type 'redshift -l list' to see possible values.
; The location provider settings are in a different section.
location-provider=manual

; Configuration of the location-provider:
; type 'redshift -l PROVIDER:help' to see the settings.
; ex: 'redshift -l manual:help'
; Keep in mind that longitudes west of Greenwich (e.g. the Americas)
; are negative numbers.
[manual]
lat=52
lon=20

I'm fairly sure it's all as it should be. At first I tried lat=52.26 and lon=20.85, I tried with commas instead of points, finally with whole numbers as seen above, and none of these worked. They all show the same errors:

Malformed argument.
Failed to set manual option.
Try '-l manual:help' for more information.

At the beginning of the file, there's [redshift] and I wondered it it would help if it said [redshift-gtk], but it just gives more information: "trying manual location provider", and then the same thing happens anyway. What's going on? Why can't I set the location? Also, when I used -l list, the only available option is manual.

To Reproduce
Steps to reproduce the behavior:

  1. Set location-provider to manual.
  2. Set the values of latitude and longitude to any valid number, such as lat=52.26 and lon=20.85.
  3. Try to run redshift-gtk in terminal.

Expected behavior
Redshift runs, accepting the location (and all the other) settings, changing the temperature of the screen.

Error output/logs/screenshots
Gtk-Message: 23:31:57.273: GtkDialog mapped without a transient parent. This is discouraged. Malformed argument. Failed to set manual option. Try '-l manual:help' for more information.
screenshot from 2018-12-12 23-32-12

Software versions (please complete the following information):

Here's my full config file, changed to .txt because GitHub didn't want it: redshift.txt

Also, why does "Try '-l manual:help' for more information." start the quote with ` and ends it with ' ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions