Posted: Sun 25 Feb 2018, 08:35
x86_64 gtk3
READ-ONLY Archive
https://oldforum.puppylinux.com/
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
############
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