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 Sat 25 Oct 2014, 23:02
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 Posts_count  
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
Sub_title: 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  251 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_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   716 Time(s)

xcalib.png

Back to top
View user's profile Send_private_message Visit_website 
Barkin


Joined: 12 Aug 2011
Posts: 729

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  217 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   681 Time(s)

xcalib.png

Back to top
View user's profile Send_private_message Visit_website 
musher0


Joined: 04 Jan 2009
Posts: 4259
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_website 
vovchik


Joined: 23 Oct 2006
Posts: 1285
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.

_________________


Edited_times_total
Back to top
View user's profile Send_private_message 
Barkin


Joined: 12 Aug 2011
Posts: 729

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_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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