Page 9 of 9

Posted: Sun 25 Feb 2018, 08:35
by sfs
x86_64 gtk3

Posted: Mon 12 Mar 2018, 18:11
by musher0
Hello all.

"Tele", second post up, provided a 64 bit sdesk in his archive.

Here is a 32-bit version. Compiled on xenialPup-7.0.6 (ubuntu's glibc-2.23), using tele's
build script. For those Puppyists who have older machines and do not know how to compile.

You may have to redo the build if you are on a Puppy with a lesser C library.

Enjoy.

~~~~~~~~~~~~~~~~~~

If it may help some Puppyists understand how sdesk works, here is a one-liner that
I wrote using it, followed by sdesk's usage.

Code: Select all

#!/bin/bash
# BoussPart-sdesk.sh
#### set -xe
sdesk -t /root/.aewm/ae/boussole_4a-32x.jpg "Orientation" "/root/.aewm/ae/boussole2.sh" "/root/.aewm/ae/disques-musher0.sh" 2>/dev/null
# 1 ## 2 ###### 3 ######################## 4 ########## 5 ####################### 6 ############################# 7 #
# See explanation of the numbers below.
# set +xe
exit

############

1) the sdesk command 
2)  "-t" stands for "tray utility"
3) the filename of a png icon 
4) the label which will appear as "notification" when the mouse hovers over the icon
5) the 1st app or script, launched by clicking the main mouse button on the left
6) the 2nd app or script, launched by clicking the main mouse button on the right
7) optional, if you wish or need to send whatever warnings there may be to "null".
(Not all systems issue warnings and pseudo-warnings, but Ubuntu just loves 
printing them out.)

############

sdesk usage:
./sdesk [-i files] [-b] -t image tooltip left-action right-action ...
  -i           full path to file(s) with shell functions to include
                   by default it looks in /usr/share/sit/func*
  -b <file>    use image file as desktop background image
  -t           tray icon: must have the following parameters
  image        full path to image file
  tooltip      full path to tooltip file or a "quoted tooltip"
  left-action  action to run when left mouse button is clicked
  right-action action to run when right mouse button is clicked
############
~~~~~~~~~~~~~~~~~~

NOT sorry for being so verbose! Some of you advanced devs do NOT realize that you
are now at a high level of abstract thinking -- and how far removed you are now from
the average user's understanding of things.

How many times do we have to repeat the following:

"IF A DEV DOES NOT WRITE AN UNDERSTANDABLE DOC TO ACCOMPANY HIS /
HER UTILITY, IT IS AS IF (S)HE HAD NOT WRITTEN IT, BECAUSE NO ONE WILL
KNOW HOW TO USE IT." (Capitals intentional.)

Technosaurus' "sit" has been around over 5 years, and its derivatives. How many
people know of them or are using them?

It took me a full day figuring out how to use this sit / sdesk utility, and I am an
ADVANCED user. Will the average or newbie Puppyist be as persevering or as
patient?... I doubt it.

BFN

What distros come with simple tray icons?

Posted: Thu 29 Aug 2019, 01:18
by bobc
I'm looking for good examples of them being used.

What I would like to do would be to have tray icons for drives that are mounted to write to with color and/or text to tell me if they are getting too full.

Thanks...

Posted: Thu 29 Aug 2019, 07:11
by pp4mnklinux
snayak wrote:Dear technosaurus,

I fought a whole day lot to get my CPU temperature on my desktop.
I had to tweak Pwidgets.

Srinivas Nayak

I solved it using CPUTEMP .-

http://www.murga-linux.com/puppy/viewtopic.php?t=98299