Author |
Message |
musher0

Joined: 04 Jan 2009 Posts: 12089 Location: Gatineau (Qc), Canada
|
Posted: Fri 18 Jan 2013, 22:59 Post subject:
xcalc dressed up fancy! Subject description: xcalc back in Puppy with a new skin |
|
Hello, all.
Here's xcalc back in Puppy with a skin slightly adapted from what someone did in the ArchLinux forums.
Shades of grey get boring, right?
It's sort of an XResource file that xcalc calls. If you don't like it, copy the original skin from ~/my-applications/backup back to /etc/X11/app-defaults/XCalc. Anyway, you'll see.
Enjoy.
musher0
Description |
|

Download |
Filename |
Xcalc+Skin-0.01.pet |
Filesize |
16.08 KB |
Downloaded |
951 Time(s) |
Description |
|
Filesize |
21 KB |
Viewed |
1951 Time(s) |

|
_________________ musher0
~~~~~~~~~~
"Logical entities must not be multiplied beyond necessity." | |
« Il ne faut pas multiplier les entités logiques sans nécessité. » (Ockham)
Last edited by musher0 on Sun 23 Jun 2013, 08:39; edited 1 time in total
|
Back to top
|
|
 |
musher0

Joined: 04 Jan 2009 Posts: 12089 Location: Gatineau (Qc), Canada
|
Posted: Sat 19 Jan 2013, 14:55 Post subject:
|
|
Here's another, wider, model for xcalc. It's made to look like the wider calculators bookkeepers and accountants use.
The attached code will simply replace the one at Code: | /etc/X11/app-defaults/XCalc |
Description |
|
Filesize |
39.34 KB |
Viewed |
1586 Time(s) |

|
Description |
|

Download |
Filename |
XCalc-otherSkin.tar.bz2 |
Filesize |
2.83 KB |
Downloaded |
841 Time(s) |
_________________ musher0
~~~~~~~~~~
"Logical entities must not be multiplied beyond necessity." | |
« Il ne faut pas multiplier les entités logiques sans nécessité. » (Ockham)
Last edited by musher0 on Wed 13 Feb 2013, 16:40; edited 1 time in total
|
Back to top
|
|
 |
Pelo
Joined: 10 Sep 2011 Posts: 12591 Location: Mer méditerrannée (1 kms°)
|
Posted: Mon 21 Jan 2013, 20:38 Post subject:
Xcalc Subject description: go on |
|
Good idea ! I keep the first one
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 12823 Location: Arizona USA
|
Posted: Mon 21 Jan 2013, 22:09 Post subject:
|
|
Works in Slacko 5.4
|
Back to top
|
|
 |
koulaxizis

Joined: 17 Jul 2011 Posts: 437 Location: Greece
|
Posted: Tue 22 Jan 2013, 14:29 Post subject:
|
|
These are perfect!! Thanks!
_________________ Christos Koulaxizis
Woof woof from Greece...
|
Back to top
|
|
 |
jess4now

Joined: 14 Jan 2013 Posts: 1
|
Posted: Mon 11 Feb 2013, 20:53 Post subject:
xcalc dressed up! |
|
Precise Puppy version 5.4.3
Works great!
A sight for tired eyes.
|
Back to top
|
|
 |
musher0

Joined: 04 Jan 2009 Posts: 12089 Location: Gatineau (Qc), Canada
|
Posted: Wed 13 Feb 2013, 16:40 Post subject:
|
|
Thanks, guys.
_________________ musher0
~~~~~~~~~~
"Logical entities must not be multiplied beyond necessity." | |
« Il ne faut pas multiplier les entités logiques sans nécessité. » (Ockham)
|
Back to top
|
|
 |
gameboyab

Joined: 01 Sep 2012 Posts: 45 Location: Anytown, USA
|
Posted: Mon 25 Feb 2013, 01:50 Post subject:
|
|
This skin works great!
The default, black on white, is a real eye strain.
_________________ Not running as root is the cause of my inferiority complex.
|
Back to top
|
|
 |
vicmz

Joined: 15 Jan 2012 Posts: 1268
|
Posted: Mon 25 Feb 2013, 05:52 Post subject:
|
|
Real nice
|
Back to top
|
|
 |
musher0

Joined: 04 Jan 2009 Posts: 12089 Location: Gatineau (Qc), Canada
|
Posted: Mon 25 Feb 2013, 15:46 Post subject:
|
|
Thanks, guys!
_________________ musher0
~~~~~~~~~~
"Logical entities must not be multiplied beyond necessity." | |
« Il ne faut pas multiplier les entités logiques sans nécessité. » (Ockham)
|
Back to top
|
|
 |
Tman

Joined: 22 Jan 2011 Posts: 815 Location: Toronto
|
Posted: Sat 22 Jun 2013, 13:21 Post subject:
|
|
It looks way better than vanilla xcalc, thanks musher
|
Back to top
|
|
 |
musher0

Joined: 04 Jan 2009 Posts: 12089 Location: Gatineau (Qc), Canada
|
Posted: Sat 22 Jun 2013, 19:51 Post subject:
|
|
Thanks, Tman.
Since I first wrote that post, I discovered that xcalc also responds to an external "-geometry" parameter from the command line or in its Xcalc.desktop, like so:
Code: | xcalc -geometry 460x280 |
(command line)
or
Code: |
[Desktop Entry]
Encoding=UTF-8
Name[fr]=Calculette scientifique Xcalc
Name=Xcalc scientific calculator
Icon=mini-calc.xpm
Comment=Xcalc scientific calculator
Exec=xcalc -stipple -geometry 460x280
# or
# Exec=xcalc.sh
# See post below for this script.
Terminal=false
Type=Application
Categories=Calculator
GenericName=Xcalc scientific calculator
Version=1.0 |
(desktop file)
Regards.
musher0
_________________ musher0
~~~~~~~~~~
"Logical entities must not be multiplied beyond necessity." | |
« Il ne faut pas multiplier les entités logiques sans nécessité. » (Ockham)
Last edited by musher0 on Mon 04 Nov 2013, 18:44; edited 1 time in total
|
Back to top
|
|
 |
musher0

Joined: 04 Jan 2009 Posts: 12089 Location: Gatineau (Qc), Canada
|
Posted: Mon 04 Nov 2013, 18:37 Post subject:
|
|
Hello, puppyists.
Back to this oldie again. I discovered a couple more things about it.
* The errors reported in red hat forums and here (http://murga-linux.com/puppy/viewtopic.php?p=632166&sort=lastpost#632166), by linuxcbon, can be avoided by sending them to the black hole. A rough and tough solution, but it works.
* xcalc and also xclock accept the -title parameter. It's either un-
documented or the ancient docs got lost traveling in the eons. In any
case, instead of having a plain "xcalc" in the title bar, you can have "xcalc
Number Cruncher", for example.
Here's a nice little script that sums it all up, to put in your
/root/my-applications/bin folder under the filename "xcalc.sh"
Code: | #!/bin/sh
# $MBINS/xcalc.sh
# musher0, Nov. 4, 2013.
####
[ ${LANG:0:2} = "fr" ] && T="Calculette xcalc" || T="xcalc Calculator"
xcalc -g 500x300+360+100 -title "$T" -stipple >/dev/null 2>&1
|
Then you simply replace the exec line in the xcalc.desktop file in the first
post with "xcalc.sh" and your job is done!
Have fun!
musher0
Description |
|
Filesize |
37.25 KB |
Viewed |
1252 Time(s) |

|
_________________ musher0
~~~~~~~~~~
"Logical entities must not be multiplied beyond necessity." | |
« Il ne faut pas multiplier les entités logiques sans nécessité. » (Ockham)
|
Back to top
|
|
 |
slavvo67
Joined: 12 Oct 2012 Posts: 1512 Location: The other Mr. 305
|
Posted: Sat 07 Feb 2015, 13:37 Post subject:
|
|
It's amazing how the little things can make such a difference!
Thanks!!
Slavvo67
|
Back to top
|
|
 |
musher0

Joined: 04 Jan 2009 Posts: 12089 Location: Gatineau (Qc), Canada
|
Posted: Sat 07 Feb 2015, 14:13 Post subject:
|
|
You're welcome!
_________________ musher0
~~~~~~~~~~
"Logical entities must not be multiplied beyond necessity." | |
« Il ne faut pas multiplier les entités logiques sans nécessité. » (Ockham)
|
Back to top
|
|
 |
|