You are not logged in.

#1 2012-07-11 18:04:47

pepedopolous
Member
Registered: 2012-02-12
Posts: 86

Missing colons [Solved]

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

#2 2012-07-11 18:26:41

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Missing colons [Solved]

try including the values between quotes, like: -l "50.5:-1.3" and so on.

Offline

#3 2012-07-11 18:45:17

pepedopolous
Member
Registered: 2012-02-12
Posts: 86

Re: Missing colons [Solved]

Thanks,

Just tried your suggestion but both the colons and quotation marks were removed from the command when executed from the desktop file.

Offline

#4 2012-07-11 18:48:00

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Missing colons [Solved]

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" 

Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#5 2012-07-11 22:20:23

pepedopolous
Member
Registered: 2012-02-12
Posts: 86

Re: Missing colons [Solved]

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

Board footer

Powered by FluxBB