Any good Night-Mode settings?

If it doesn't relate to Debian, but you still want to share it, please do it here

Any good Night-Mode settings?

Postby bester69 » 2019-11-12 11:55

Hi,
I'd like some good NightMode script settings for eyestrain..

I saw we can use, xcalib and xgamma..

We can invert gamma: xcalib -i -a, but dont like very much the result, its like down in contrast or kind of that. So I'd like to find a good looking and confortable profile for Night reading, do you have anything about it?


thanks.
bester69 wrote:You wont change my mind when I know Im right, Im not an ...
User avatar
bester69
 
Posts: 1499
Joined: 2015-04-02 13:15

Re: Any good Night-Mode settings?

Postby Lecram » 2019-11-12 14:23

there is an app called redshift and its GUI ounterpart redshift-gtk in the repo. You can use that for night mode settings
User avatar
Lecram
 
Posts: 110
Joined: 2009-06-03 08:54
Location: India

Re: Any good Night-Mode settings?

Postby Hallvor » 2019-11-12 18:53

For KDE:
plasma-applet-redshift-control
Lenovo Thinkpad T440S, Intel Core i7-4600U CPU @ 2.10GHz, 8 GB RAM, 256 GB SSD, Debian Buster (KDE)
User avatar
Hallvor
 
Posts: 949
Joined: 2009-04-16 18:35
Location: Norway

Re: Any good Night-Mode settings?

Postby stevepusser » 2019-11-12 19:15

Some apps also have a night mode built into them, such as Cool Reader 3 (it's not in Debian, though).
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Clipgrab 3.8.6, Hedgewars 1.0.0, PulseEffects 4.6.8, Telegram-desktop 1.8.15, Pale Moon 28.7.2, KeepassXC 2.5.1
User avatar
stevepusser
 
Posts: 11295
Joined: 2009-10-06 05:53

Re: Any good Night-Mode settings?

Postby bester69 » 2019-11-13 14:03

thanks to all for help,

I was looking for something like wps night mode in okular and libreoffice, trying to play with xcalib or/and xgamma, then i tried with PLasma night/reversed themes, and then I realised these apps manage colors in a embeded way.. (for libreoffice would be changing colors to default template)
So, Its as easy as creating an addtional config profile that apply these colors and a shortcut launch that open the app with that config profile (Night mode).
And the script for NightMode Okular would be such as.:

Nokular.sh
Code: Select all
#!/bin/bash
#
SMPATH=/home/user/.kde/share/config
SAPATH=/home/user/.altconfig/share/config
SCRPATH=/home/user/LINUXDEBS/scripts
export KDEHOME=$HOME/.altconfig

mkdir $HOME/.altconfig
mkdir -p $KDEHOME/share/config

cp $SMPATH/okularrc $SAPATH/okularrc
cp $SMPATH/okularpartrc $SAPATH/okularpartrc

SAPATH=/home/user/.altconfig/share/config
refn=$(grep -n  "ChangeColors" $SAPATH/okularpartrc | cut -d':' -f 1)

if [  -z $refn ]
then
sed -i '/Document/a ChangeColors=true' $SAPATH/okularpartrc
fi
okular "$@" 2> /dev/null
cp  $SAPATH/okularpartrc $SMPATH/okularpartrc
sed -i  '/ChangeColors/d' $SMPATH/okularpartrc


I dont know If these are a good pair of colors for night mode... Any suggestion here?. :roll:

Image
bester69 wrote:You wont change my mind when I know Im right, Im not an ...
User avatar
bester69
 
Posts: 1499
Joined: 2015-04-02 13:15

Re: Any good Night-Mode settings?

Postby bester69 » 2019-11-13 16:58

Here, a lot of great colours combinations

https://www.designwizard.com/blog/desig ... ombination
bester69 wrote:You wont change my mind when I know Im right, Im not an ...
User avatar
bester69
 
Posts: 1499
Joined: 2015-04-02 13:15

Re: Any good Night-Mode settings?

Postby Lecram » 2019-11-14 16:47

so bester, what you wanted was night mode settings in an program rather than system wide like stevepusser suggested.
User avatar
Lecram
 
Posts: 110
Joined: 2009-06-03 08:54
Location: India


Re: Any good Night-Mode settings?

Postby bester69 » 2019-11-15 12:08

Lecram wrote:so bester, what you wanted was night mode settings in an program rather than system wide like stevepusser suggested.

yeah, I prefered so, Ive installed an addon in chrome that works very well inverting colors but picture ones,.,
With PDF reader (okular), Ive created a script mode-night that open it with in a different profile with accesibility colours setted, And finally, for libreoffice ive seen we ca use a template for this purpose. So we can open libreoffice in a mode-night by using a different profile with a default template in a mode-night colours.. or we can just convert a document by applying that template so we can just read it in libreoffice.

here, what we can do, for example for editing a document while we convert it in a mode-night fashion.
Code: Select all
unoconv -t modenight.ott -f odt mymail.txt

and here, the result after applying a libreoffice template with colours pre-setted.:

Image
bester69 wrote:You wont change my mind when I know Im right, Im not an ...
User avatar
bester69
 
Posts: 1499
Joined: 2015-04-02 13:15

Re: Any good Night-Mode settings?

Postby bester69 » 2019-11-20 18:48

I love this color template combination; I copied from bookworm viewer, and use it with calibre viewer

lovely for night

Image
bester69 wrote:You wont change my mind when I know Im right, Im not an ...
User avatar
bester69
 
Posts: 1499
Joined: 2015-04-02 13:15

Re: Any good Night-Mode settings?

Postby L_V » 2019-11-20 21:02

Hallvor wrote:For KDE:
plasma-applet-redshift-control

And now without any widget, kcm_nightcolor.
Code: Select all
kcmshell5 kcm_nightcolor

(for very updated plasma release / not available in buster or tbc).
L_V
 
Posts: 1170
Joined: 2007-03-19 09:04

Re: Any good Night-Mode settings?

Postby Head_on_a_Stick » 2019-11-23 11:56

Don't break DebianHow to report bugs

SharpBang GNU/Linux — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10675
Joined: 2014-06-01 17:46
Location: /dev/chair


Return to Offtopic

Who is online

Users browsing this forum: No registered users and 12 guests

fashionable