Page 1 of 1
xcalc dressed up fancy!
Posted: Sat 19 Jan 2013, 02:59
by musher0
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
Posted: Sat 19 Jan 2013, 18:55
by musher0
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
Xcalc
Posted: Tue 22 Jan 2013, 00:38
by Pelo
Good idea ! I keep the first one
Posted: Tue 22 Jan 2013, 02:09
by Flash
Works in Slacko 5.4
Posted: Tue 22 Jan 2013, 18:29
by koulaxizis
These are perfect!! Thanks!
xcalc dressed up!
Posted: Tue 12 Feb 2013, 00:53
by jess4now
Precise Puppy version 5.4.3
Works great!
A sight for tired eyes.
Posted: Wed 13 Feb 2013, 20:40
by musher0
Thanks, guys.
Posted: Mon 25 Feb 2013, 05:50
by gameboyab
This skin works great!
The default, black on white, is a real eye strain.
Posted: Mon 25 Feb 2013, 09:52
by vicmz
Real nice
Posted: Mon 25 Feb 2013, 19:46
by musher0
Thanks, guys!
Posted: Sat 22 Jun 2013, 17:21
by Tman
It looks way better than vanilla xcalc, thanks musher
Posted: Sat 22 Jun 2013, 23:51
by musher0
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:
(command line)
or
Code: Select all
[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
Posted: Mon 04 Nov 2013, 22:37
by musher0
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. ... ost#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: Select all
#!/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
Posted: Sat 07 Feb 2015, 17:37
by slavvo67
It's amazing how the little things can make such a difference!
Thanks!!
Slavvo67
Posted: Sat 07 Feb 2015, 18:13
by musher0
You're welcome!
Posted: Sat 07 Feb 2015, 18:40
by Colonel Panic
Thanks for this one! I've just installed it (in Workhorse 4.31) and XCalc looks much better as a result.