Hi!
Can someone tell me how can I install Ubuntu Night Light in Ubuntu Mate 18.04?
F.lux+Redshift not running at my system, I don’t know how…
Hi!
Can someone tell me how can I install Ubuntu Night Light in Ubuntu Mate 18.04?
F.lux+Redshift not running at my system, I don’t know how…
Night Light is a part of GNOME Shell, so you have to be running GNOME, not MATE to use it.
I’ve used redshift for years and it works great. What happens when you try to run it? I think some people have trouble because by default redshift will try to find your location automatically and that doens’t always work. You can add your location to your redshift config file, but I just set my location in the command line, which I add to startup applications:
redshift -l 48.858:2.295
(I changed the coordinates to the Eiffel Tower, not my home )
hmm,
in Synaptic, “redshift-gtk” want to install “modemmanager+geoclue2.0”
In the past, I disabled/removed them.
Can I use Redshift without them?
Can I Install Redshift, then remove modemmanager+geoclue2.0 again. Will that run?
I’ve never used the redshift-gtk; I just use the command line in my autostart.
I’d guess those packages are only for the autodetecting your location, so it should run without them if you specify your location manually. Whether or not the package will work, you’d have to try.
I want only redshift without autodetecting my location.
I’ll tried to install “Redshift” also in Synaptic, but it want geoclue2.0+iio-sensor-proxy-modemmanager.
I don’t want to install them. What is to do?
Download Redshift source and compile it?
geoclue-2.0
is only a “recommends” for redshift, so it should install OK without it. Just do
sudo apt install --no-install-recommends redshift
I went to try it in a Ubuntu 18.04 live session, but it looks like redshift is installed by default. You sure you don’t already have it?
So instead I removed all geoclue packages. When I ran redshift after that it complained about not finding geoclue and therefore not getting the location, but when I ran it with the -l
argument as I posted above, it worked normally.
ok, that worked for Install. but nothing changed, no colour changes.
I run in terminal:
redshift -l 48.858:2.295
then
Output: Using method `randr’.
“running now” GREAT!!!
before… I tested it in a VM. Don’t run in a VM @ me.
Thanks Thanks Thanks!
i tried this but it says Trying next method...
Using method `randr'.
Waiting for initial location to become available...
Location: 48.86 N, 2.30 E (this seems to be paris, and i'm not there)
It stopped here in my terminal
and when I go start redshift it gives me an error that it cannot determine my location. I noticed also that in google maps in firefox, it also can't get my location. I searched around online but the instructions to fix this doesn't seem to fit my version of ubuntu mate. I have the latest one.
i tried installing geolocation but for some reason it doesn't work either.
how to fix? i'm new to this OS so step-by-step would be appreciated.
UPDATE: i see both geoclue has an issue b/c no mozilla service anymore and redshift was discontinued. Can someone send me instructions how to get something like a night light in the latest version of ubuntu MATE please ?
Hi, @daniel-hayim and welcome to the Ubuntu MATE Community!
Open Pluma and copy and paste this:
[redshift]
temp-day=3500
temp-night=3500
transition=1
gamma=0.8
location-provider=manual
adjustment-method=randr[manual]
lat=-44.5
lon=88.1[randr]
screen=0
screen=1
Change the location to your longitude and latitude. I run the same day or night, but Neutral temperature is 6500. 3500 is very red, most run around 3700. You can play with this and change it.
Then open caja, click on show hidden files and find the folder .config, now save it as
< redshift.conf > in the .config folder. Then go to acessories > redshift and start the program.
When it comes up on your panel, check enabled and auto start.
You need both redshift and redshift-gtk installed to have the GUI. I have ran redshift like this on many OS's for over ten years without a problem.
Must get cold that close to the southern ocean !
Not really I live in Green Bay WI about one mile from the Packer's stadium but it is longitude so the - (minus) makes no real difference. Ubuntu Mate weather and the GPS coordinates are both give it as 88.1. You will notice the coordinates are a bit different because I didn't put in my address and they picked different places in the city. But yes it is very cold here in winter. We already had a day of -5 F this December and February is our coldest month of the year. Yet it is no where near as cold as where I grew up a few hours north and west of Green Bay, where it hits -20 F in winter.
Wait ... the minus doesn't make a difference - are you sure? Wouldn't that mean that redshift thinks you have long days when you actually have long nights (-ve latitude) and (also) that night is day (-ve longitude near 90)? From: redshift/redshift.conf.sample at master · jonls/redshift · GitHub
; 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=48.1
lon=11.6
No that would be latitude. How far you are from the equator.
Longitude starts at the Prime Meridian, which is defined as 0 degrees longitude and runs through Greenwich, England. From there, longitude is measured east and west up to 180 degrees.
I was a search and rescue coxswain in the US Coast Guard 1974-1978. We navigated by latitude, longitude and time and distance back then. Ships used Loran C yet all we had was a magnetic compass and radio direction finders that could be honed in on a radio signal each lighthouse put out to find the harbor entrance on foggy nights. We also had to correct for the difference between true north and magnetic north (variation) and for the pull of the steel hull on the magnetic compass (deviation). It was not easy navigation. GPS changed all that.
Okay, but both latitude and longitude are entered in redshift as the negative of what your true location is. So:
lat=44.5
. If redshift is using this information, will think that you've got short days and long nights.lat=-44.5
) then it's the summer solstice, and nights are short and days are long (can confirm, I'm in Australia).long=-88.1
), then you are 5hr 52m behind Greenwhich.long=88.1
), then you are 5hr52m ahead of Greenwhich.If redshift has the negative of the true latitude and the true longitude (in your case) then it must be thinking that winter (truth) is summer and that 12pm (truth) is 11am.
No, no minus on latitude. Look at the coordinates. Latitude uses North and south, above or below the equator.
Longitude is the same north to south, minus south of the equator but the same east to west.
Ok, so what would you say are correct (valid) inputs to redshifts configuration for your location (44.5N and 88.1W)? I would say only these are valid:
[manual]
lat=44.5
lon=-88.1
Just depends how specific you want to get. But longitudes are are huge the closer you get to the equator as the sun moves from east to west sunrise and sunsets vary, which I know from hunting time zones. so yes I would take it out at least one or two decimals at the least.
Impressive! I always struggled with coordinate systems and transforms at university. I would be painfully slow and useless at real time navigation!