How to change wifi applet color? (SOLVED)

Moderator: Forum moderators

Post Reply
User avatar
gychang
Posts: 584
Joined: Fri Aug 28, 2020 4:51 pm
Location: San Diego, CA
Has thanked: 205 times
Been thanked: 63 times

How to change wifi applet color? (SOLVED)

Post by gychang »

although the screenshot is off of JammyPup32 of my taskbar, on most of pups I noticed wifi applet color remains dark green. Is there a way to change this default color? I have checked jwmrc-tray2, jwmrc-theme, .jwmrc files etc but lost on how to change this.

thanks,

Attachments
Screenshot.png
Screenshot.png (15.75 KiB) Viewed 825 times
Last edited by gychang on Thu Aug 11, 2022 12:27 am, edited 1 time in total.

======

Puppy Bytes, utube videos
https://www.youtube.com/channel/UCg-DUU ... u62_iqR-MA

======

Burunduk
Posts: 249
Joined: Thu Jun 16, 2022 6:16 pm
Has thanked: 7 times
Been thanked: 124 times

Re: How to change wifi applet color?

Post by Burunduk »

This is for Fossapup64:

Code: Select all

color="#ff0000" # replace with a color you like - #rrggbb
sed -i "s/fill:#....../fill:$color/g" /usr/share/pixmaps/netmon_wce/qual_{1..10}.svg

Then restart netmon_wce

On Fossapup64, netmon_wce uses the svg files from /usr/share/pixmaps/netmon_wce/
You could search for them in your puppy and edit them manually.

Edit: The attached script now can set the arrows color too.

Attachments
netmon-color.gz
gunzip it! Tested on Fossapup64 only.
(360 Bytes) Downloaded 37 times
Last edited by Burunduk on Thu Aug 11, 2022 12:33 am, edited 1 time in total.
User avatar
gychang
Posts: 584
Joined: Fri Aug 28, 2020 4:51 pm
Location: San Diego, CA
Has thanked: 205 times
Been thanked: 63 times

Re: How to change wifi applet color?

Post by gychang »

Burunduk wrote: Mon Aug 08, 2022 10:11 pm

This is for Fossapup64:

Code: Select all

color="#ff0000" # replace with a color you like - #rrggbb
sed -i "s/fill:#....../fill:$color/g" /usr/share/pixmaps/netmon_wce/qual_{1..10}.svg

Then restart netmon_wce

On Fossapup64, netmon_wce uses the svg files from /usr/share/pixmaps/netmon_wce/
You could search for them in your puppy and edit them manually.

it also seems to work on Jammypup32. Some colors don't seem to change, but #FFFFFF makes it all white.
I am confused about the code, should the 2 lines of terminal command run separately starting with "color=..." and "sed -i ..."?

======

Puppy Bytes, utube videos
https://www.youtube.com/channel/UCg-DUU ... u62_iqR-MA

======

Burunduk
Posts: 249
Joined: Thu Jun 16, 2022 6:16 pm
Has thanked: 7 times
Been thanked: 124 times

Re: How to change wifi applet color?

Post by Burunduk »

gychang wrote: Wed Aug 10, 2022 10:32 pm

I am confused about the code, should the 2 lines of terminal command run separately starting with "color=..." and "sed -i ..."?

Yes, the first command sets the variable, the second uses it. You can remove the variable and run only the second command:

Code: Select all

sed -i "s/fill:#....../fill:#FF0000/g" /usr/share/pixmaps/netmon_wce/qual_{1..10}.svg

The color here is red (#FF0000).
This results in:

qual_10.png
qual_10.png (5.4 KiB) Viewed 780 times

The script I've attached to my previous post opens the gtk color chooser and restarts the netmon_wce when a color is chosen. It may not work in your puppy though.

gychang wrote:

Some colors don't seem to change, but #FFFFFF makes it all white.

Do you want to change the color of the arrows too?

User avatar
gychang
Posts: 584
Joined: Fri Aug 28, 2020 4:51 pm
Location: San Diego, CA
Has thanked: 205 times
Been thanked: 63 times

Re: How to change wifi applet color?(SOLVED)

Post by gychang »

Burunduk wrote: Wed Aug 10, 2022 11:25 pm

Yes, the first command sets the variable, the second uses it. You can remove the variable and run only the second command:

Code: Select all

sed -i "s/fill:#....../fill:#FF0000/g" /usr/share/pixmaps/netmon_wce/qual_{1..10}.svg

The color here is red (#FF0000).

gychang wrote:

Some colors don't seem to change, but #FFFFFF makes it all white.

Do you want to change the color of the arrows too?

won't worry about the arrows, thanks!

======

Puppy Bytes, utube videos
https://www.youtube.com/channel/UCg-DUU ... u62_iqR-MA

======

Post Reply

Return to “Tips & Tweaks”