Jump to content

Redshift (software)

Shí Wikipedia, njikotá édémédé nke onyobulạ
Redshift (software)

Redshift bụ ngwá nke na-agbanwe okpomọkụ agba nke ngosipụta kọmputa dabere na oge nke ụbọchị. Ihe omume a bụ ngwanrọ n'efu, a na-ezube ndị mmadụ n'ihe ndị mere n'oge ibelata nsogbu anya yana ehighị ụra nke ọma[1] (lee Sleep#Circadian clock na Phase response curve#Light).

Redshift na-agbanwe okpomọkụ nke ngosipụta kọmputa n'etiti okpomọkụ ehihie na abalị iji kwe ka anya onye ọrụ jiri nwayọọ nwayọọ gbanwee. N'abalị, okpomọkụ na-acha ala ma na-abụkarị 3000-4000 K, nke kachasị mma kwekọọ ndị mmadụ n'ihe ndị mere n'oge ochie nakwa n'oge na okpomọkụ ọkụ nke ụlọ ahụ. Okpomọkụ na-acha n'ehihie bụ 5500-6500 K.

Ihe ndị e ji mara ya

[dezie | dezie ebe o si]

Enwere ike iji redshift mee ihe iji setịpụ otu okpomọkụ na ìhè ("otu ọnọdụ") ma ọ bụ nwee ike ịgbanwe okpomọkụ ma na-enwu enwu n'ụzọ na-aga n'ihu iji soro ịdị elu nkè ikike asụsụ obodo ndị anyanwụ, n'ọnọdụ ahụ ọ ga-agafe na nhazi okpomọkụ abalị na nso mgbede. Enwere ike ịhazi ndị mmadụ n'ihe niile ụmụ gị okpomọkụ na ntụgharị maka ehihie na abalị.

Iji chọpụta ịdị elu nke anyanwụ, ngwanrọ ahụ chọrọ ọnọdụ onye ọrụ n'ụdị latitude na longitude.[1]

Na sistemụ arụmọrụ Linux na BSD, Redshift na-akwado ọtụtụ monitors site na ndọtị X RandR (nke a họọrọ) ma ọ bụ VidMode, ma ọ bụ site na Direct Rendering Manager. N'ihi na enwere ike ịhazi Redshift iji otu mgbazi gamma na monitors niile ọ na-achịkwa, ọ na-adịkarị mma ịgba ọsọ otu ihe omume nke monitor ọ bụla.

Redshift nwere naanị interface iwu na mbụ, mana ugbu a nwere interface onye ọrụ eserese (GUIs) nke na-akwado ọtụtụ gburugburu desktọọpụ Linux. GUIs ndị ahụ gụnyere redshift-gtk, redshift -plasmoid, na nightshift.

redshift-gtk gụnyere na isi osisi Redshift. Na mgbakwunye na interface windo, ọ na-enye akara ngosi ọnọdụ nke nwere ike ime ka ma ọ bụ gbanyụọ Redshift ma ọ bụ gbanwee okpomọkụ agba ihuenyo na-akpaghị aka.

Enwere ike imeghe redshift site na iji ọdụ, panel launchers ma ọ bụ iwu mmalite: iwu 'redshift -O #TEMP' (# TEMP bụ nọmba site na 1000 ruo 25000) ga-etinye okpomọkụ na iwu 'redshft -x' ka ọ pụọ na Redshift.

Enwere ike ime edemede dị mfe ma kpọọ ya ka ọ setịpụ oge agba site na ụzọ mkpirisi ma ọ bụ panel launcher:

  1. Mepụta faịlụ ọhụrụ ma depụtaghachi na ihe ndị a:
    #!/bin/bash
    shouldloop=true;
    while $shouldloop; do
        read -p "What temp would you like? 1000-25000K: " scale
    
        if "$scale" -ge 1000 && "$scale" -le 25000; then
            redshift -O $scale
            shouldloop=false;
        elif $scale = "x"; then
            exit
        elif $scale = "X"; then
            exit
        else
            echo "Invalid value or outside range. x to exit..."
        fi
    done
    
  2. Chekwaa faịlụ ahụ na ndekọ /home/$user gị.
  3. Gbanwee njirimara nke faịlụ ahụ ka e wee nwee ike ịme ya (iji chmod ma ọ bụ ikikere menu).
  4. Mepụta onye mbido ọhụrụ ("set temp") na-ezo aka na faịlụ ị kpọrọ aha n'elu ma họrọ "Open in Terminal".
  5. Mepụta onye mbido ọhụrụ ("ọpụpụ redshift") na iwu redshift -x (ọ dịghị mkpa imeghe nke a na njedebe).
  6. Jiri ihe na-agbapụ iji setịpụ okpomọkụ ma ọ bụ pụọ na Redshift.

Ndị ọrụ Linux enyochawo Redshift nke ọma, ndị na-ekwu na Redshift nwere ụfọdụ ntinye na njirimara njirimara njikwa ma e jiri ya tụnyere ọdụ ụgbọ mmiri f.lux Linux xflux.[2][3][4] Otú ọ dị, emelitere usoro f.lux iji bulie ngosipụta ya.[2]

Ubuntu MATE na-enye Redshift arụnyere site na ndabara kemgbe a tọhapụrụ ha 17.10.[5]

Linux Mint Cinnamon na-enye Redshift arụnyere site na ndabara kemgbe a tọhapụrụ ha 18.3.[6]

  • F.lux
  • Red Moon (software)
  • Night Shift (software) - akụkụ nke macOS na iOS nke na-enye ọrụ yiri nke ahụ

Ntụaka

[dezie | dezie ebe o si]
  1. 1.0 1.1 Github release 1.9
  2. 2.0 2.1 Gordon (18 June 2010). RedShift Makes Your Screen Easier on the Eyes at Night. LifeHacker. Retrieved on 20 April 2020.
  3. Popov. Improve Your Night Sleep with Redshift and F.lux. Linux Magazine. Retrieved on 20 April 2020.
  4. Pot (17 June 2010). Redshift Keeps Your Eyes Sharp & Helps You Sleep [Linux]. MakeUseOf. Retrieved on 20 April 2020.
  5. Wimpress. "Ubuntu MATE 17.10 Alpha 2", Ubuntu MATE, 2017-07-28. Retrieved on 2017-08-08. (in en)
  6. "New features in Linux Mint 18.3 Cinnamon", Linux Mint. Retrieved on 2017-12-01. (in en)

Njikọ mpụga

[dezie | dezie ebe o si]