You are not logged in.

#1 2009-12-01 03:48:37

Cyrusm
Member
From: Bozeman, MT
Registered: 2007-11-15
Posts: 1,053

changing colors on xcalc

EDIT: http://wiki.archlinux.org/index.php/Xde … references

should have checked there first, regardless....


In the past I've seen screen shots of people who have changed the colors and appearance of xcalc, I'm tired of looking at the good old fashioned white and black X default
and I was wondering if anybody has any config files they would like to share.  The man page seems fairly cryptic in such manners but it seems I should create an ~/.Xdefaults file
with

 
#ifdef COLOR
*customization:     -color

and then go nuts editing /usr/share/X11/app-defaults/XCalc-color

if any of this sounds wrong let me know.

also, if you have a pretty awesome looking xcalc, please post it so I can steal your color scheme smile

Last edited by Cyrusm (2009-12-01 03:51:12)


Hofstadter's Law:
           It always takes longer than you expect, even when you take into account Hofstadter's Law.

Offline

#2 2009-12-01 04:36:26

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: changing colors on xcalc

In my ~/.Xdefaults I have

!{{{ xcalc
xcalc*geometry:                        200x275
xcalc.ti.bevel.background:             #111111
xcalc.ti.bevel.screen.background:      #000000
xcalc.ti.bevel.screen.DEG.background:  #000000
xcalc.ti.bevel.screen.DEG.foreground:  LightSeaGreen
xcalc.ti.bevel.screen.GRAD.background: #000000
xcalc.ti.bevel.screen.GRAD.foreground: LightSeaGreen
xcalc.ti.bevel.screen.RAD.background:  #000000
xcalc.ti.bevel.screen.RAD.foreground:  LightSeaGreen
xcalc.ti.bevel.screen.INV.background:  #000000
xcalc.ti.bevel.screen.INV.foreground:  Red
xcalc.ti.bevel.screen.LCD.background:  #000000
xcalc.ti.bevel.screen.LCD.foreground:  LightSeaGreen
xcalc.ti.bevel.screen.LCD.shadowWidth: 0
xcalc.ti.bevel.screen.M.background:    #000000
xcalc.ti.bevel.screen.M.foreground:    LightSeaGreen
xcalc.ti.bevel.screen.P.background:    #000000
xcalc.ti.bevel.screen.P.foreground:    Yellow
xcalc.ti.Command.foreground:  White
xcalc.ti.Command.background:  #777777
xcalc.ti.button3.label:       SQRT
xcalc.ti.button5.background:  Orange3
xcalc.ti.button19.background: #611161
xcalc.ti.button18.background: #611161
xcalc.ti.button20.background: #611111
xcalc.ti.button20.label:      /
xcalc.ti.button25.background: #722222
xcalc.ti.button30.background: #833333
xcalc.ti.button35.background: #944444
xcalc.ti.button40.background: #a55555
xcalc.ti.button22.background: #222262
xcalc.ti.button23.background: #222262
xcalc.ti.button24.background: #222272
xcalc.ti.button27.background: #333373
xcalc.ti.button28.background: #333373
xcalc.ti.button29.background: #333373
xcalc.ti.button32.background: #444484
xcalc.ti.button33.background: #444484
xcalc.ti.button34.background: #444484
xcalc.ti.button37.background: #555595
xcalc.ti.button38.background: #555595
xcalc.ti.button39.background: #555595
XCalc*Cursor:                 hand2
XCalc*ShapeStyle:             rectangle
!}}}

which I copied from somewhere, either the wiki or from anrxc IIRC.

It looks cute to me
xcalpng


This silver ladybug at line 28...

Offline

#3 2009-12-01 04:38:38

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: changing colors on xcalc

I use a slightly smaller font so that all the characters are displayed properly:

xcalc*font: -*-dina-medium-r-*-*-13-*-*-*-*-*-*-*

Also, if you find that the division key (20) appears as a comma, add this to your ~/.Xdefaults as well:

xcalc.ti.button20.label: /

Last edited by thayer (2009-12-01 16:14:57)


thayer williams ~ cinderwick.ca

Offline

Board footer

Powered by FluxBB