simple icon tray

Window managers, icon programs, widgets, etc.
Message
Author
sfs
Posts: 49
Joined: Sat 02 Nov 2013, 04:49
Location: Russia
Contact:

#161 Post by sfs »

x86_64 gtk3
Attachments
sit-8-2013-patched-gtk3.tar.gz
(8.98 KiB) Downloaded 476 times
sit-1.0-2.tele-gtk3.tar.gz
(6.78 KiB) Downloaded 473 times
sdesk-1.0-4.tele-gtk3.tar.gz
(9.36 KiB) Downloaded 482 times
[url=https://sourceforge.net/projects/puppyrusa/]PuppyRus-Arch[/url]

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#162 Post 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
Attachments
sdesk32.zip
(3.99 KiB) Downloaded 362 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

bobc
Posts: 87
Joined: Wed 14 May 2014, 23:07

What distros come with simple tray icons?

#163 Post 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...

User avatar
pp4mnklinux
Posts: 375
Joined: Fri 23 Aug 2013, 06:56

#164 Post 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
Distro: xenialpup64 7.5 XXL
Desktop Panel: JWM ~ FbBox 5.0

Post Reply