Frisbee Network Manager - Beta 2

Configuration wizards, scanners, remote desktop, etc.
Post Reply
Message
Author
User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

#106 Post by Argolance »

Hello,
I tried to compile xpupsay from xpupsay-1.2.1.tar.gz patched by technosaurus running Puppy Precise 5.3.4 but didn't succeed:
# ./configure
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for gawk... (cached) gawk
checking whether ln -s works... yes
checking how to run the C preprocessor... gcc -E
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for strtol... yes
checking for setlocale... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strchr... yes
checking for pid_t... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XCOWSAY... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
# make
make all-recursive
make[1]: Entering directory `/mnt/sdb2/my-documents/downloads/xpupsay-1.2.1'
Making all in po
make[2]: Entering directory `/mnt/sdb2/my-documents/downloads/xpupsay-1.2.1/po'
make[2]: Leaving directory `/mnt/sdb2/my-documents/downloads/xpupsay-1.2.1/po'
Making all in src
make[2]: Entering directory `/mnt/sdb2/my-documents/downloads/xpupsay-1.2.1/src'
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DDATADIR=\"/usr/local/share/xpupsay\" -DHAVE_CONFIG_H -I. -I.. @XPUPSAY_CFLAGS@ -Wall -g -O2 -MT xpupsay.o -MD -MP -MF .deps/xpupsay.Tpo -c -o xpupsay.o xpupsay.c
gcc: error: @XPUPSAY_CFLAGS@: No such file or directory
make[2]: *** [xpupsay.o] Error 1
make[2]: Leaving directory `/mnt/sdb2/my-documents/downloads/xpupsay-1.2.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/sdb2/my-documents/downloads/xpupsay-1.2.1'
make: *** [all] Error 2
#
Any idea of what's going wrong?
Thank you.

Cordialement.

User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

#107 Post by Argolance »

Hello,
Nobody 's here?

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#108 Post by peebee »

Argolance wrote:Hello,
Nobody 's here?
Hi Argolance

Could be because this is a Frisbee thread and you are asking about xpupsay which is used by Frisbee but came from elsewhere.

Probably better to post your query in the xpupsay thread (if that exists) or in a more general thread about pop-up notifications...again if such exists.

or a compiling thread....

or pm technosaurus....

Cheers
peebee
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

Integrated Frisbee network manager 1.0

#109 Post by rerwin »

The attached tarball contains six pet packages that implement an integrated version of Frisbee, with the intent that it be added to the woof infrastructure system. The packages are existing or added pets for developer inclusion in a distribution -- except that the "woof updates" package is targeted for the basic puppy infrastructure.

This version of frisbee is derived from the "beta4" version used in the "carolina" project. If further improvements are made to the "beta" series, they can easily be migrated to the integrated version by way of an "adaptation" script (that I am not yet publishing). The adaption retains the Frisbee logic but relocates the residency of its components, to isolate it from the beta series. It also corrects a few bugs, fixes for which I offer to the maintainers of the betas.

The packages included in this "kit" (as of 2/17/2013) are:
  • frisbee-1.0 - required
    network_tray-2.6 - OPTIONAL (Includes frisbee_tray logic.)
    woof_updates_precise - required (Based on Precise Pup versions of infrastructure scripts. Adds disconnect improvement to SNS)
    dhcpcd-dropwait - desirable (reduces random disconnects)
    net_setup - desirable (wag-profiles.sh uses dhcpcd-dropwait, adds an item)
Do not install the previous beta versions of Frisbee into a puppy that contains this integrated version, frisbee (lower case), because they are incompatible.

This is the result of many months of work and the patient assistance of peebee, who tested the changes, gave me many recommendations and shrank the tray icons to 24x24 pixels. 01micko also assisted with the "dropwait" function and recommendations. Thank you, peebee and 01micko.

Barry, if there are further mods needed to facilitate the incorporation of these packages in woof, please instruct me.

Performance note: Because frisbee is now one of several network managers selectable by the user, it is not set up until a user selects it with the connect wizard. Therefore, the initial scanning for wireless networks may be slow. Please be patient with it. Other than that, please report any problems in this thread, as well as suggestions for improvements. To generate diagnostic information, please install and use the "pdiag" pet package, available here:
http://www.murga-linux.com/puppy/viewto ... 751#671751

As for the original set of these packages in the precise-pup 5.4-5.4.2 thread, they are updated to match the attached "kit", to avoid having obsolete versions available.
Richard

Update 1/17/2013: Removed redundant test from AppRun in the woof_updates package (per shinobar's advice), uploaded after d/l #18 -- no functional change. Added pdiag package with the splash notifications expected when run from frisbee. Updated frisbee to use it.

Update 1/23/2013: Updated the frisbee and pdiag packages as release candidates, given that I have resolved all of the issues I am aware of and can fix. Please report any further problems I might have missed, other than the new delays reported above, which we just have to live with. Note that Argolance is internationalizing the frisbee package, which can be applied once the release version goes into woof -- or if he sends it to me for inclusion in the "kit". Pdiag now accepts a "--wpa" argument, to include WPA .conf and .log files, but only if the user allows that operation when asked. The --splash argument is removed, since pdiag now always uses dialogs and a splash notice.

Update 2/7/2013: Updated the frisbee and network_tray packages. Network_tray is unchanged but has improved pinstall and puninstall scripts to facilitate user installation of it. Frisbee is internationalized (mostly by Argolance), although there may be further work done with the buttons, to accommodate translations that are longer than the original text. It also does not kill the older version of network_tray, making the new one ("2.6") an optional (not required) installation that adds the frisbee-style connectivity icons. Also added minor fixes to pdiag, to correct internationalization of the generated tarball name and capture the /etc/frisbee directory contents, after download #23.

Update 2/17/2013: Updated kit with precise-beta release versions of frisbee and network_tray. Merged wag-profiles back into net_setup.

Update 2/21/2013: Updated the kit with corrected (20130220) version of frisbee, to restore missing (internationalized) text display.

Update 2/27/2013: Updated the kit to avoid forced wpa_supplicant logging at the debug level, which created a large and ever-growing log file. Debug logging is controlled by a new frisbee checkbox in the Diagnostics dialog.
EDIT 2/28/2013: Replaced with 20130228 after download #2 to "bullet-proof" a test against an unlikely situation. No function difference from 20130227.
Attachments
frisbee_pet_kit-20130228.tar.gz
Corrected set of 5 packages to integrate Frisbee into puppy, as "frisbee"
(with wag_profiles recombined into net_setup).
Requires pdiag-20130123+ for diagnostics.
(163.26 KiB) Downloaded 505 times
pdiag-20130207.pet
Diag collector with full GUI, internationalization and option to include sensitive WPA files if user allows --
frisbee-1.0-20120123 and later uses this option.
Command line use without arguments does not copy the WPA files.
(4.4 KiB) Downloaded 532 times
Last edited by rerwin on Fri 01 Mar 2013, 04:50, edited 23 times in total.

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

Integrated-frisbee supporting information

#110 Post by rerwin »

Reserving this message, for addition of supporting files and information.
Attachments
woof_updates_precise-difference_files.tar.gz
woof_updates and wag-profile package differences versus precise 5.4.3.
(4.17 KiB) Downloaded 515 times
network_tray-difference_lists.tar.gz
network_tray-2.6 differences and addition versus 2.5.
(4.49 KiB) Downloaded 513 times
network_tray-2.6.tar.gz
Source code for network_tray that includes the function of frisbee_tray.
1/19/2012: Details cleaned up. No functional change.
(24.54 KiB) Downloaded 536 times
dhcpcd-dropwait-5.6.4.tar.gz
Source code for dhcpcd 5.6.4 with dropwait enhancement for wifi connection stability.
(126.81 KiB) Downloaded 516 times
Last edited by rerwin on Sun 20 Jan 2013, 04:34, edited 4 times in total.

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#111 Post by peebee »

Hi Richard

I've tested the new frisbee on both Precise 5.4.3 and Slacko 5.4 and Upup Precise 54x7 (& 3.7.2) and all went well - wifi connections established and persistent through reboots. Also tried switching back and forth between the various network managers and this also went OK.

[[[Problem report solved by rerwin - see above]]].

Some features that people should be aware of:

1. the initial delay in detecting available signals which you've mentioned

2. a delay that sometimes occurs when you exit frisbee the first time before the "set default" window appears

3. when used on Slacko, the signal levels for some reason are -ve numbers rather than the +ve numbers on Precise

I'm not completely happy with the 24*24 versions of the tray icons that I produced for you - they are a bit "jaggy" still - I'm sure they could be improved further....

Finally, as this thread belongs to Jemimah and therefore it's title is unlikely to be updated, perhaps you should start a new thread with a more accurate title for this new integrated frisbee?

Cheers
peebee
Last edited by peebee on Fri 18 Jan 2013, 07:28, edited 4 times in total.
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#112 Post by 01micko »

Has anyone got a link to the source for the frisbee tray icon? I'm thinking that svg icons might be the go. The svg icon I hacked into the pmusic tray icon looks very nice. I could also hack in IP address for the tootip as I did for the slacko network_tray icon. It is a handy feature especially when running a few machines and swapping around nics.

OH, I see one in about the third post of the topic.. is that the latest source?
Puppy Linux Blog - contact me for access

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#113 Post by peebee »

01micko wrote:Has anyone got a link
OH, I see one in about the third post of the topic.. is that the latest source?
That's the one I used.....they look pretty latest - be aware that some renaming has been needed for the integration
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

Frisbee localization with gettext

#114 Post by Argolance »

Hello,
frisbee_pet_kit-20130117.tar.gz
: This is great and seems to work fine (Puppy Precise 5.4.3)!. I noticed that Frisbee is in English :? ... Did someone already begin to work on the localization?

Cordialement.
Last edited by Argolance on Fri 18 Jan 2013, 22:01, edited 1 time in total.

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#115 Post by pemasu »

The only problem I've found is that the "Generate Diagnostic Data" button under the "Wireless Diagnostics" tab does not seem to do anything - presumably it should call the new pdiag (or maybe I should have loaded pdiag as well - no Upup Precise has pdiag and it's not called)?
Wrong x 3. It does, no you should not and Upup Precise`s has pdiag.

It just does not give any gui confirmation or gui info where it was generated. Just check /root after pressing the button.

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#116 Post by pemasu »

Has anyone got a link to the source for the frisbee tray icon?
If you mean the original Jemimah`s source ?
How about this: http://murga-linux.com/puppy/viewtopic. ... h&id=37535

Edit. Sorry. It was found already. I really need to meet the optician. Everybody tells me that. I just have told them to check their medication, but maybe I should.

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#117 Post by 01micko »

Hi pemasu, yeah got that one but I thought there might have been something later.

Anyway, I have made a start on converting icons to svg, boy the filesize is drastically smaller!

I found and compiled a little proggy called potrace. I had to convert the icons in gimp to .pbm format then feed them to potrace to output an svg, but it only outputs black on transparency. So some hacking is involved after, manually :roll: . I am no expert in this field but like I said, I made a start. Someone may want to "pick up the ball" and fix some of the rest of the icons.

I can hack the source code to accept svg but the icons will not be compiled in like they can be with .xpm.

Ok, attached is the incomplete set of icons and potrace, you can google the source, easy to find.
Attachments
potrace-1.10-i486.pet
built in slacko but may run in precise
(77.93 KiB) Downloaded 554 times
potrace_DOC-1.10-i486.pet
(18.37 KiB) Downloaded 499 times
fris_svg.tar.bz2
(4.86 KiB) Downloaded 473 times
Puppy Linux Blog - contact me for access

User avatar
Sky Aisling
Posts: 1368
Joined: Sat 27 Jun 2009, 23:02
Location: Port Townsend, WA. USA

Frisbee Network Manager - Beta 2

#118 Post by Sky Aisling »

Hello,
Hope I'm jumping in here at an appropriate time.
I downloaded *Frisbee* yesterday from this source:

http://distro.ibiblio.org/quirky/pet_pa ... recise.pet

Frisbee is running without issue on Puppy-528.005 via Live CD on a ZaReason Big Lap.
Prior to trying Frisbee, Puppy-528.005 wouldn't reconnect once rebooted or powered up even though I'd do all the proper profile arrangements through Internet Connection Wizard.
Ah! such a relief! Thank you to whomever is responsible for this .pet.
Is that you, peebee?

I have one question:

Is there a way I can eliminate the pup bubbles (dialogue boxes) that bounce around the screen telling me what the app is doing?
I am fine with no pup bubbles and just waiting for the connection.
Or ...
as an alternative, is there a way to have the dialogue boxes show up in one place on the screen like in the lower right corner above the wifi icon?


I find the dialogue boxes (pup bubbles) distracting, annoying actually.

Again, thank you for the good work put into this app.

I intend to install and test it in several other machines running other Puppies.
News at 11.

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

Re: Frisbee localization with gettext

#119 Post by rerwin »

Argolance wrote:I noticed that Frisbee is in English :? ... Did someone already begin to work on the localization? If not, I would eventually like to try to do it (using gettext).
Sorry to be so slow in responding to your offer. Internationalization is the next step for integrating frisbee into an internationalized puppy. I would be grateful if you would take that on.

To minimize the effort needed to complete internationalization, please make your changes to the "carolina beta4" version of Frisbee. I assume that is the latest version of the betas. Once your changes are verified in a beta environment, I can use my script that converts the beta version to frisbee-1.0. That way I do not have to re-code for "1.0".

Note, though, that the name of the Frisbee script is different in "1.0". That needs to be taken into account. From what I see, code similar to this must also be included, besides the $(gettext ...) mods.

Code: Select all

ver="0.19"
export TEXTDOMAIN=wmswitcher
export OUTPUT_CHARSET=UTF-8
I am guessing that the TEXTDOMAIN line specifies the name of the script for reference by the translation files. If so, please consider "export TEXTDOMAIN=frisbee" if it does not have to match exactly the actual script-file name (Frisbee in the betas, frisbee in 1.0).

We can work together on this by PM, if you so wish. Thanks for offering to do the internationalization.
Richard

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

Re: Frisbee Network Manager - Beta 2

#120 Post by peebee »

Sky Aisling wrote:Is there a way I can eliminate the pup bubbles (dialogue boxes)
Hi Sky

I'm surprised but pleased to learn that my Precise version of Frisbee works OK on Lupu 528 - I never tested it on that Puppy version.

There is a slightly improved version here:
http://murga-linux.com/puppy/viewtopic. ... &start=100

It has been a feature of Frisbee since Jemimah first implemented it that it does produce feedback on how the connection is progressing - most people seem to like this feedback....there is no pre-implemented way to turn it off that I know of :-(

If you really want to get rid of the messages you could try renaming /usr/bin/xpupsay to something else and seeing what happens - there's probably no other uses of xpupsay on Lupu 528 so it should be safe - might cause some error messages...

Yep - tested on Precise and it seems to kill the pop-ups as you want. I just renamed it to xppupsay.

Cheers
peebee
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#121 Post by 01micko »

I have svg'd all the frisbee icons and the whole lot now weigh in at 68k uncompressed.

Now I have to code them in.. @rerwin.. what is that source above? Is that to make 1 tray app covering both frisbee and the other networking apps?

EDIT 0: @rerwin, ok looks like it! I'll adjust THAT code for my new icons, compile, test and upload source.

EDIT 1: Ok compile and test is successful, so if the original 2.6 adjusted by rerwin works, this version should work. The source with icons and binary weighs about the same as rerwin's but the icons should look much better. Svg scales perfectly as that's what it's designed to do (scalable vector graphics).

EDIT2: I installed the latest frisbee packages apart from the network tray and it svg shows but the icon doesn't update,

EDIT 3: Installed the original rerwin network_tray-2.6 and it still failed, but after a reboot the icons worked.. so I reinstalled my hacked network tray and rebooted and it worked! Now we can have nice frisbee tray icons. Probably a little work to do to get it refreshing without a reboot, or at least a message.

EDIT 4: I have now incorporated my IP patch, however I will leave the other version up in case that the IP code is buggy, I am yet to receive reports for PPP and PPPoe interfaces.
Attachments
network_tray-2.6-2.tar.bz2
With IP patch. The original network_tray source with that patch is included.
(20.17 KiB) Downloaded 378 times
svg_frisbee.png
svg frisbee icons working
(5.46 KiB) Downloaded 923 times
network_tray-2.6-1.tar.bz2
with svg icons
(19.08 KiB) Downloaded 377 times
capture23968.png
(42.05 KiB) Downloaded 959 times
fris_svg-1.tar.bz2
(6.26 KiB) Downloaded 396 times
Puppy Linux Blog - contact me for access

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#122 Post by peebee »

01micko wrote:
EDIT2: I installed the latest frisbee packages apart from the network tray and it svg shows but the icon doesn't update,

EDIT 3: Installed the original rerwin network_tray-2.6 and it still failed, but after a reboot the icons worked.. so I reinstalled my hacked network tray and rebooted and it worked! Now we can have nice frisbee tray icons. Probably a little work to do to get it refreshing without a reboot, or at least a message.
Hi Mick

It may be because you haven't renamed:

network*.svg to network*-eth.svg - at least that was the scheme that Richard used with the old versions.

However you do still need the old network* versions for the other network manager / the network wizard?? Maybe now in both formats??

Just guessing.
Cheers
peebee
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#123 Post by 01micko »

Hi peebee,

No, I renamed them, like I said, works perfectly after a reboot, so it's something else, I haven't tracked it down yet, but it doesn't work after an X restart either. I'm 99.8% sure that the icons have nothing to do with it. The other source posted by rerwin behaves the same.
Puppy Linux Blog - contact me for access

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#124 Post by peebee »

01micko wrote:Hi peebee,

No, I renamed them, like I said, works perfectly after a reboot, so it's something else, I haven't tracked it down yet, but it doesn't work after an X restart either. I'm 99.8% sure that the icons have nothing to do with it. The other source posted by rerwin behaves the same.
Did you include svg versions of the original network* icons - they're still needed as well as the 3 sets with - suffixes....

Really like the new icons BTW.

Cheers
peebee
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#125 Post by 01micko »

peebee wrote:Did you include svg versions of the original network* icons - they're still needed as well as the 3 sets with - suffixes....

Really like the new icons BTW.

Cheers
peebee
No, they are not needed as they are called by *.xpm. They can coexist nicely. Even png could be mixed in, or whatever. (And BTW those relevant xpm icons are in my source).

EDIT 0: @rerwin, The refreshing of the icon when frisbee is engaged seems to be dependant on the renewal of the IP address. If from the frisbee main gui I reset the wireless process then the icons refresh and work as expected. This is why it works on a reboot. Simply restarting network_tray fails every time. I'm no programmer but I hope this info gives you a clue.

EDIT 1: I think I have got it! Wrong signal:

Code: Select all

#define SIGRTfrisbeeup	35
This seems not to be respected. (I have been testing in slacko-5.4 and pemau's upup-3.7.2).
If I enter

Code: Select all

killall -36 network_tray
it works! BUT that is for wireless only, and isn't consistent.. so for other connection types this won't work in /usr/local/bin/frisbee_mode_enable. This is definitely a starting point, 8). [A few moments later...] well not quite, but sending 36 and then 35 did work after an X restart, tested both in upup and slacko, consisitent results. HTH
Puppy Linux Blog - contact me for access

Post Reply