Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 23 Nov 2014, 15:01
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
HOWTO Invert X colours on the fly
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [10 Posts]  
Author Message
GustavoYz


Joined: 07 Jul 2010
Posts: 897
Location: .ar

PostPosted: Fri 06 Jan 2012, 22:59    Post subject:  HOWTO Invert X colours on the fly
Subject description: using xcalib
 

Two steps.
1- Install xcalib (maybe newer puppies have it, not sure).
2- Find a way of bind it to a keyboard shortcut.

1- Easy, install the pet below.
2- In OpenBox, you need to add something like this to your rc.xml:
Code:
<keybind key="C-A-i">
      <action name="Execute">
        <startupnotify>
          <enabled>true</enabled>
          <name>Colorines</name>
        </startupnotify>
        <command>xcalib -invert -alter</command>
      </action>
    </keybind>

Add it after:
Code:
<!-- Keybindings for running applications -->

and dont interrupt any previous entry (between the 'keybind' tags).
Then just restart X and try it out.
For others wm, search here.

*It works for me, as I tend to use black themes, to read from the screen when is a bare light.
Enjoy.
xcalib_0.8.pet
Description  xcalib package, tested in qrky 1.2.
pet

 Download 
Filename  xcalib_0.8.pet 
Filesize  16.48 KB 
Downloaded  257 Time(s) 

_________________

Back to top
View user's profile Send private message 
harii4


Joined: 30 Jan 2009
Posts: 444
Location: La Porte City, IA , U.S.A.

PostPosted: Sun 15 Jan 2012, 11:12    Post subject:  

Quote:
For others wm, search here.


Is there an missing link/url? Confused

_________________
3.01 Fat Free / Fire Hydrant featherweight/ TXZ_pup / 431JP2012
----------------------------------------------------------------------------------------
Peace and Justice are two sides of the same coin.
Back to top
View user's profile Send private message Visit poster's website 
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: Sun 15 Jan 2012, 12:23    Post subject:  

Nice , works on Puppy 4.3.1 ..

Will have to make a script and a button for that ..
xcalib.png
 Description   
 Filesize   100.05 KB
 Viewed   827 Time(s)

xcalib.png

Back to top
View user's profile Send private message Visit poster's website 
Barkin


Joined: 12 Aug 2011
Posts: 742

PostPosted: Sun 15 Jan 2012, 16:03    Post subject:    

Karl Godt wrote:
Nice , works on Puppy 4.3.1 ..

your screengrab, "xcalib.png", doesn't appear inverted (negative) to me,
the attachment may appear inverted on your computer, but not on mine ...
not inverted.jpg
Description  Screengrab of what xcalib.png looks like on my computer
jpg

 Download 
Filename  not inverted.jpg 
Filesize  98.82 KB 
Downloaded  220 Time(s) 
Back to top
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: Sun 15 Jan 2012, 16:34    Post subject:  

BETTER ?
xcalib.png
 Description   
 Filesize   99.39 KB
 Viewed   766 Time(s)

xcalib.png

Back to top
View user's profile Send private message Visit poster's website 
musher0


Joined: 04 Jan 2009
Posts: 4329
Location: Gatineau (Qc), Canada

PostPosted: Sun 15 Jan 2012, 16:53    Post subject:  

harii4 wrote:
Quote:
For others wm, search here.


Is there an missing link/url? Confused


Hi, gustavo.

Same question as harii4: where do we search to make this work with other wm's?

Thanks in advance.

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
vovchik


Joined: 23 Oct 2006
Posts: 1287
Location: Ukraine

PostPosted: Sun 15 Jan 2012, 18:03    Post subject:  

Dear all,

Works fine in Lucid and and icewm. Thanks.

With kind regards,
vovchik
Back to top
View user's profile Send private message 
GustavoYz


Joined: 07 Jul 2010
Posts: 897
Location: .ar

PostPosted: Sun 15 Jan 2012, 18:10    Post subject:  

Hi all.
In first place, you invert monitor colours, so the screencap will not show it, but it looks exactly as Karl Godt's doctored screencap shown.
I meant this link (Patriot's about shortcuts jwm).
Feel free to post other ways in other wms.

All is about make 'handy' the command:
Code:
xcalib -invert -alter

somehow.
I used OpenBox's configs for that.
Sorry for the confusion.

_________________


Last edited by GustavoYz on Thu 24 Jan 2013, 03:04; edited 3 times in total
Back to top
View user's profile Send private message 
Barkin


Joined: 12 Aug 2011
Posts: 742

PostPosted: Sun 15 Jan 2012, 23:46    Post subject:  

Karl Godt wrote:
BETTER ?

Yes: that 2nd version of xcailib.png appears inverted on my computer.
Back to top
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: Mon 16 Jan 2012, 00:06    Post subject:  

I have just inverted the colors of the screenshot in mtpaint . This does exactly the same as xcalib does .

Did not realize this behaviour .

Its like dark sunglasses on the surface of the screen , but everything underneath of it stays as before .

Cool
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [10 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0644s ][ Queries: 12 (0.0037s) ][ GZIP on ]