Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 17 Sep 2019, 15:00
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Suggestions
To who might have control of Networking tray icon in Puppy
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [30 Posts]   Goto page: Previous 1, 2
Author Message
april

Joined: 14 Sep 2013
Posts: 1241
Location: Green Island baby!

PostPosted: Tue 15 Sep 2015, 17:11    Post subject:  

ETP . It looks good and I would like to use it but again the problem with compiling the WiFi Realtech driver stops me . They have not fixed it in the kernel yet ,despite my moaning, perhaps soon after my recent moan.

Micko. I notice also on Barry's "network_tray" program the icon shows as connected as soon as you start to configure the device by scanning for a network and stays that way all the time regardless unless it does not connect in which case it shows the red cross. I didn't check yours when I had it installed but I presume it does the same thing . It seems clear that your "complete rewrite" rather was a rehash of pretty much the same stuff in the same order as Barry's code wasn't it . Apart from showing the IP in tool tips and a change of icon . I noticed that the reported data usages seemed more accurate too. The fact though that at least it does not show it is connected when its not ,unless the modem is switched off later, is a definite plus.

I wondered if it could be possible to get this tray program doing what it should properly regardless of CPU usage and offering a working version if people want it . I would be very happy to assist in this in any way I can . I can write bash scripts but my knowledge of that and Puppy's scripts is limited.

Hey 200 posts and not banned for being too frank -thats a milestone for me
Back to top
View user's profile Send private message Yahoo Messenger 
01micko


Joined: 11 Oct 2008
Posts: 8707
Location: qld

PostPosted: Tue 15 Sep 2015, 17:34    Post subject:  

april wrote:
Firstly Micko your tray program does not realise when it has been disconnected by the router. Barry's doesn't either which gives the rather strange result that the icons say connected and the modem is switched off.

A bit like modern cars . Everything is connected to the computer so if it floods you can't hold your foot on the gas pedal to clear it anymore . It isn't connected to the gas.


I find that your finding is very strange. The design is that as soon as your connection drops the IP address the disconnected icon should appear. This has been tested several times.

april wrote:
Micko. I notice also on Barry's "network_tray" program the icon shows as connected as soon as you start to configure the device by scanning for a network and stays that way all the time regardless unless it does not connect in which case it shows the red cross. I didn't check yours when I had it installed but I presume it does the same thing . It seems clear that your "complete rewrite" rather was a rehash of pretty much the same stuff in the same order as Barry's code wasn't it . Apart from showing the IP in tool tips and a change of icon . I noticed that the reported data usages seemed more accurate too. The fact though that at least it does not show it is connected when its not ,unless the modem is switched off later, is a definite plus.


netmon_wce doesn't do this. As stated, a connected icon only shows when there is a valid IP address.

It is a complete rewrite. I asked you to read through the thread but you said it's a a bit too technical. That's ok, I don't expect everyone to be an expert!

april wrote:
I wondered if it could be possible to get this tray program doing what it should properly regardless of CPU usage and offering a working version if people want it . I would be very happy to assist in this in any way I can . I can write bash scripts but my knowledge of that and Puppy's scripts is limited.


I believe it is doing what it should. CPU usage for a tray icon should be minimal and that was that was one of the main objectives of my rewrite.

I am happy to hear your complaints and bug reports but it's probably better off to move this discussion to the netmon_wce thread. I can explain to you exactly what the code is doing if you wish and you can tell me if that part is working for you or not. We have to approach this in a methodical, constructive way to find out why it isn't working properly for you.

I look forward to your comments here.

_________________
Puppy Linux Blog - contact me for access
Back to top
View user's profile Send private message Visit poster's website 
solo


Joined: 14 Nov 2013
Posts: 390

PostPosted: Sun 20 Sep 2015, 16:11    Post subject:  

You can make your own set of icons for the network-tray if you want to.

The location of the icons that make up all the different network states is /usr/local/lib/X11/mini-icons/network_tray-xpm/

I made a custom set for myself in Inkscape, exporting it to xpm format.

But making it look good is a bigger challenge then expected. It is a very small image after all.
Back to top
View user's profile Send private message 
april

Joined: 14 Sep 2013
Posts: 1241
Location: Green Island baby!

PostPosted: Fri 25 Sep 2015, 03:00    Post subject:  

Huh huh , any chance of a look at your icons?
Back to top
View user's profile Send private message Yahoo Messenger 
solo


Joined: 14 Nov 2013
Posts: 390

PostPosted: Fri 25 Sep 2015, 16:22    Post subject:  

Sure. Smile

I've made these for a specific tray color, and as you can see, some of them came out quite garbled, but since I never use a mobile/wifi/ethernet combo connection myself, I never get those in my tray anyway.

What is nice about these is that you get a clear animated view of the in and out traffic.

I've arranged them here as they would appear alphabetically in the /usr/local/lib/X11/mini-icons/network_tray-xpm/ folder
network_tray_icons.png
 Description   
 Filesize   32.71 KB
 Viewed   451 Time(s)

network_tray_icons.png

Back to top
View user's profile Send private message 
april

Joined: 14 Sep 2013
Posts: 1241
Location: Green Island baby!

PostPosted: Fri 25 Sep 2015, 17:41    Post subject:  

Thanks 46 icons =lotsa work
perhaps select each file and put on dropbox or someone like that might be better. I was going to try them but to cut and paste and save little bits with the right file names ,I have no idea =lotsa work

Don't expect you to do it either . Thanks anyway
Back to top
View user's profile Send private message Yahoo Messenger 
solo


Joined: 14 Nov 2013
Posts: 390

PostPosted: Sat 26 Sep 2015, 14:24    Post subject:  

Working with these icons has its difficulties.

The xpm format allows for transparancy, which is good news, because in principle, this would mean that you could design an iconset which can be used in both a bright colored tray or a dark colored tray.

In practical terms however, this is a big challenge.

There is no partial transparancy in xpm for instance. A pixel is either totally transparant, or it is not.
So where I use these little input/output arrows which have a gradient that fades to transparancy, that is something I can only pull off because I used a predetermined color as my backround, instead of a transparant backround.

This means my connection tray iconset is very limited in its application in so much that it would only look good if the tray color is the same as the icon backround.

As an excersize, I made an attempt today to convert them in such a manner that it would acceptable in most dark colored trays, but I'm sorry to admit that the result looks quite miserable.
Back to top
View user's profile Send private message 
solo


Joined: 14 Nov 2013
Posts: 390

PostPosted: Sun 27 Sep 2015, 06:04    Post subject:  

Another aspect of xpm format transparancy, is that anti-aliasing is pretty much out of the question if you use a transparant backround.

In practical terms, this means your design is constrained to a very pixellated look, avoiding curved forms as much as possible.

But on the plus side, if you can pull it off, you get away with designing an iconset which looks good on any backround.

And since this seems like a nice challenge, I am going to dabble with it and keep you posted in this thread.
Back to top
View user's profile Send private message 
april

Joined: 14 Sep 2013
Posts: 1241
Location: Green Island baby!

PostPosted: Mon 28 Sep 2015, 20:04    Post subject:  

Goodo Ill watch out
Back to top
View user's profile Send private message Yahoo Messenger 
solo


Joined: 14 Nov 2013
Posts: 390

PostPosted: Fri 02 Oct 2015, 15:36    Post subject:  

Okay, well, here it is then.

It worked, but then it didn't also, in a sense that yes, you can make an iconset which is visible in both a bright and a dark backround, but no, it will not look equally appealing, at least not from where I am sitting.

So I still ended up making two iconsets. One which looks better with a bright backround, and one which looks better with a dark one.
Mind you, they are still functionable the other way around.

There's a zipfile attached which containes a folder called Connectiontray_icons. In this folder there are two folders, one called Brightbackround and one called Darkbackround. You can copy the contents of one of these folders (which ever tickles your fancy) to the following location:

/usr/local/lib/X11/mini-icons/network_tray-xpm/

You might want to make a backup of your old icons first.
connectiontray_icons.zip
Description 
zip

 Download 
Filename  connectiontray_icons.zip 
Filesize  39.49 KB 
Downloaded  195 Time(s) 
Back to top
View user's profile Send private message 
solo


Joined: 14 Nov 2013
Posts: 390

PostPosted: Fri 02 Oct 2015, 15:37    Post subject:  

Here's a preview of them btw
Iconframe.png
 Description   
 Filesize   15.41 KB
 Viewed   364 Time(s)

Iconframe.png

Back to top
View user's profile Send private message 
april

Joined: 14 Sep 2013
Posts: 1241
Location: Green Island baby!

PostPosted: Fri 02 Oct 2015, 17:31    Post subject:  

Thanks very much . Running them now.
Such fun !
Back to top
View user's profile Send private message Yahoo Messenger 
solo


Joined: 14 Nov 2013
Posts: 390

PostPosted: Sat 03 Oct 2015, 03:39    Post subject:  

Glad to have been of service! Smile
Back to top
View user's profile Send private message 
solo


Joined: 14 Nov 2013
Posts: 390

PostPosted: Fri 16 Oct 2015, 09:30    Post subject:  

Okay, the icons I made, just to be clear, are not suitable for the netmon_wce network monitor as designed by 01Micko, but rather for the old network_tray.

This is because the netmon_wce package uses svg icons instead of xpm, and only differentiates between wifi and non-wifi, but has the added icons which indicate wifi strenghth.
Back to top
View user's profile Send private message 
solo


Joined: 14 Nov 2013
Posts: 390

PostPosted: Wed 11 Nov 2015, 15:28    Post subject:  

Here's a 'new and improved' version of the network tray icons I made.

I decided to make the outline of the in/out arrows transparant, which makes a cleaner image, and brings it one step closer to the original intent, which was to design an iconset which would look good on both a dark and bright backround.

There would be a downside in so much that if you decided to make the color of your taskbar close to magenta or neon green, the arrows would dissapear into the backround. But let's be fair, if your style decisions concerning your desktop gravitate towards those types of color schemes, you have bigger problems than that. Smile
Iconframe02.png
 Description   
 Filesize   12.85 KB
 Viewed   175 Time(s)

Iconframe02.png

connectiontray_icons_v2.zip
Description 
zip

 Download 
Filename  connectiontray_icons_v2.zip 
Filesize  38.87 KB 
Downloaded  193 Time(s) 
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [30 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Taking the Puppy out for a walk » Suggestions
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0802s ][ Queries: 13 (0.0329s) ][ GZIP on ]