xcalc dressed up fancy!
xcalc dressed up fancy!
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
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
- Attachments
-
- Xcalc+Skin-0.01.pet
- (16.08 KiB) Downloaded 1107 times
-
- xcalc-costume.jpg
- (21 KiB) Downloaded 2012 times
Last edited by musher0 on Sun 23 Jun 2013, 12:39, edited 1 time in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
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
The attached code will simply replace the one at
Code: Select all
/etc/X11/app-defaults/XCalc
- Attachments
-
- xcalc-autre-costume.jpg
- (39.34 KiB) Downloaded 1634 times
-
- XCalc-otherSkin.tar.bz2
- (2.83 KiB) Downloaded 993 times
Last edited by musher0 on Wed 13 Feb 2013, 20:40, edited 1 time in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
- koulaxizis
- Posts: 452
- Joined: Sun 17 Jul 2011, 18:43
- Location: Greece
- Contact:
xcalc dressed up!
Precise Puppy version 5.4.3
Works great!
A sight for tired eyes.
Works great!
A sight for tired eyes.
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
(desktop file)
Regards.
musher0
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: Select all
xcalc -geometry 460x280
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
Regards.
musher0
Last edited by musher0 on Mon 04 Nov 2013, 22:44, edited 1 time in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
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"
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
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
post with "xcalc.sh" and your job is done!
Have fun!
musher0
- Attachments
-
- xcalc-new_skin.jpg
- (37.25 KiB) Downloaded 1299 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
- Colonel Panic
- Posts: 2171
- Joined: Sat 16 Sep 2006, 11:09
Thanks for this one! I've just installed it (in Workhorse 4.31) and XCalc looks much better as a result.
Gigabyte M68MT-52P motherboard, AMD Athlon II X4 630, 5.8 GB of DDR3 RAM and a 250 GB Hitachi hard drive running Ubuntu 16.04.6, MX-19.2, Peppermint 10, PCLinuxOS 20.02, LXLE 18.04.3, Pardus 19.2, exGENT 200119, Bionic Pup 8.0 and Xenial CE 7.5 XL.