Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #14111

Re: Need reverse-video for dark-room

From Unknown <dog@gmail.com>
Newsgroups comp.os.linux.misc
Subject Re: Need reverse-video for dark-room
Date 2015-03-17 04:15 +0000
Organization A noiseless patient Spider
Message-ID <pan.2015.03.17.04.27.37@gmail.com> (permalink)
References <pan.2015.03.16.18.09.47@gmail.com> <eli$1503161952@qz.little-neck.ny.us>

Show all headers | View raw


On Tue, 17 Mar 2015 00:22:56 +0000, Eli the Bearded wrote:

> In comp.os.linux.misc, Unknown  <dog@gmail.com> 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 == <report>
-> 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 <use Xt> -> 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


Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Need reverse-video for dark-room Unknown <dog@gmail.com> - 2015-03-16 17:57 +0000
  Re: Need reverse-video for dark-room William Unruh <unruh@invalid.ca> - 2015-03-16 19:48 +0000
  Re: Need reverse-video for dark-room Keith Keller <kkeller-usenet@wombat.san-francisco.ca.us> - 2015-03-16 16:50 -0700
    Re: Need reverse-video for dark-room William Unruh <unruh@invalid.ca> - 2015-03-17 00:10 +0000
      Re: Need reverse-video for dark-room Keith Keller <kkeller-usenet@wombat.san-francisco.ca.us> - 2015-03-18 20:37 -0700
  Re: Need reverse-video for dark-room Eli the Bearded <*@eli.users.panix.com> - 2015-03-17 00:22 +0000
    Re: Need reverse-video for dark-room Unknown <dog@gmail.com> - 2015-03-17 04:15 +0000
      Re: Need reverse-video for dark-room Eli the Bearded <*@eli.users.panix.com> - 2015-03-18 05:16 +0000
        Re: Need reverse-video for dark-room Unknown <dog@gmail.com> - 2015-04-08 12:51 +0000
          Re: Need reverse-video for dark-room Eli the Bearded <*@eli.users.panix.com> - 2015-04-08 21:28 +0000

csiph-web