Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Unknown Newsgroups: comp.os.linux.misc Subject: Re: Need reverse-video for dark-room Date: Tue, 17 Mar 2015 04:15:46 +0000 (UTC) Organization: A noiseless patient Spider Lines: 79 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 17 Mar 2015 04:15:46 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="b6570937b4f7e2ada7e392e34ed8e203"; logging-data="5548"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+VfH0vIpiHl0P3e1a4d+kgcznuwRKxl1Y=" User-Agent: Pan/0.133 (House of Butterflies) Cancel-Lock: sha1:3006p7QPpwQpweRcuN1oKh+2a18= Xref: csiph.com comp.os.linux.misc:14111 On Tue, 17 Mar 2015 00:22:56 +0000, Eli the Bearded wrote: > In comp.os.linux.misc, Unknown wrote: >> My favourite utility: wily; blasts me in the face with a bright white >> screen; so that I can't see the black keybrd, without artificial light. > > From xrandr(1): > > --brightness brightness > Multiply the gamma values on the crtc currently attached to the > output to specified floating value. Useful for overly bright or > overly dim outputs. However, this is a software only modification, > if your hardware has support to actually change the brightness, > you will probably prefer to use xbacklight. > Yes, the flatscreen has 'brightness setting in its menu' xbacklight -get == No outputs have backlight property -------------------- ~:xrandr -q Screen 0: minimum 320 x 400, current 1024 x 768, maximum 1024 x 768 default connected 1024x768+0+0 0mm x 0mm 1024x768 61.0* 800x600 73.0 640x480 86.0 640x400 86.0 320x400 0.0 ------------ -> xrandr --dryrun -o inverted == -> xrandr -o inverted == X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 146 (RANDR) Minor opcode of failed request: 2 (RRSetScreenConfig) Serial number of failed request: 14 Current serial number in output stream: 14 --- ~:locate Xdefaults == nX => search /etc/X11/* for "Background" == File: Xman ==... background (class Background) This resource specifies the color to use for the window background. ... emacs*Background: rgb:5b/76/86 emacs*Foreground: white emacs*Cursor: white => This is just a documentary file: explaing part of the X-bloat! It could be interesting to test/confirm resetting emacs, if you lived long enough. >> If it showed a black background, with white text [like mc can be set to >> do], it would be OK. > > Some programs support changing X library defaults on a per-session > basis. If the "utility: wily" is the acme editor clone, then you are in > luck. It's a straightforward Xt widget based program and you can put in > your ~/.Xdefaults file lines like: > > wily*Background: black > wily*Foreground: lightgray > > And presto, you've reset the colors for that program. Those are my > defaults for xterms, and changing "Xterm" to "wily" worked for me. > Setting it per session (instead of from .Xdefaults) and working out the > color names is left as an exercise for the reader. > =?=> does wily -> ldd `which wily` == ... libXt.so.6 => /usr/lib/libXt.so.6 (0xb7eba000) <-- OK! > Elijah > ------ > kids today don't know half of what's under the surface of X11 which is NOT a recommendation for X