You are not logged in.
I wonder if anyone can help me with a weird problem.
I made a .desktop file to launch redshift with the following settings (which work fine in a terminal): -
redshift -c /dev/null -l 50.5:-1.3 -t 6500:4500 -g 1.00 1.00 1.00 , 0, -m vidmode
However, when I launch the .desktop file the command issued is missing all the colons and so it fails: -
$ redshift -c /dev/null -l 50.5 -1.3 -t 6500 4500 -g 1.00 1.00 1.00 , 0, -m vidmode
$ Unknown location provider `50.5'.
I made the .desktop file because I thought the missing colons were a problem with the redshift plasmoid, however, it must be something about my system.
I've done a search of the forums and haven't found anything similar yet.
many thanks
P
Last edited by pepedopolous (2012-07-11 22:20:52)
Offline
try including the values between quotes, like: -l "50.5:-1.3" and so on.
Offline
Thanks,
Just tried your suggestion but both the colons and quotation marks were removed from the command when executed from the desktop file.
Offline
escape special characters using backslash (\) maybe
or try this
redshift -c "/dev/null -l 50.5:-1.3 -t 6500:4500 -g 1.00 1.00 1.00 , 0, -m vidmode" There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Thanks inxible, the second suggestion worked.
However, it seems I got the wrong end of the stick because the colons seem to be removed when the command is reported in the System Monitor command column.
I got everything to work including the plasmoid by using the redshift package instead of redshift-minimal and making a config file to specify using vidmode not randr.
Hopefully the plasmoid might be updated to include the option to choose the method, and then there wouldn't be a need for the config file.
Offline