JWM Start menu icon changer plus

Window managers, icon programs, widgets, etc.
Post Reply
Message
Author
User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

JWM Start menu icon changer plus

#1 Post by trio »

Hello,

Utility to easily change start menu icon
It will replace your JWM Config Manager. But don't worry, if you uninstall it will come back to original

Note: if you change your current start menu icon, then any other app using the same icon (usually /usr/local/lib/X11/mini-icons/mini-dog.xpm), it will also be changed. No harm though.


V 1.1; Shouldn't be used in Slacko, different JWM Config manager, supports not only .xpm

V 1.2: For slacko with pTheme - menu entry is under desktop

v 1.4 For slacko 6.3 with pTheme, now can change text too

v 1.5 For slacko 6.3 with pTheme bugfix when repeatedly change icon/text

v 1.6 For general puppies, many improvements

v 1.7 Bugfix:
- Lines 34, 42 and 51 you have a hard-coded string "$HOME/.jwm/jwmrc-tray1" which should be $JWMTRAY in each
- Lines 61 and 69 doesn't append the extension to XPMICONNAME so nothing displays: .jwmrc-tray needs icon="leaf-plant.png"

v 1.8 Add new function; showing and changing menu label text

v 1.9: - Compatibility with older std puppy(ies) if jwmrc template is not heavily altered. test in slacko 6.3 and racy 5.3
- supports multiple text as start menu text
- splash popup if menu label text is already hidden
- button height adjusted for prettier gui
- now supports svg icons if available

Enjoy
Attachments
start_menu_icon_changer_plus-1.9.pet
fro general puppies with jwm
(2.16 KiB) Downloaded 405 times
start-menu-icon-changer-1.1.pet
not for slacko
(2.32 KiB) Downloaded 503 times
Screenshot.png
(59.06 KiB) Downloaded 1038 times
Last edited by trio on Tue 05 Jul 2016, 06:27, edited 12 times in total.

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#2 Post by trio »

I guess this app is not popular, so no more improvement/discontinued

edit; maybe not
Attachments
mini-icons.pet
additional mini-icons
(11.91 KiB) Downloaded 485 times
Last edited by trio on Sun 07 Dec 2014, 03:36, edited 1 time in total.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#3 Post by bigpup »

Being posted for two days and you calling it not popular.
Two days in Puppy land is like 2 seconds in Puppy time.
I just saw this.

Give it some time for people to discover it.

So far this does look like a good added feature.
I need to play with it for awhile.

Thanks :!: :!:
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#4 Post by bigpup »

Tahrpup 6.0 CE

Seems to work OK.

The only thing that I wonder is, the icons being shown to select, seem to be some really old and a little strange.
Should be some better icon sets to offer.

OK, the mini icons pet added some better choices, but still seems there should be more already installed with a normal Puppy version.

I like the alien one. :D
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#5 Post by trio »

Thanks bigpup

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#6 Post by trio »

Version 1.2: For slacko with pTheme

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#7 Post by trio »

v 1.4 For slacko 6.3 with pTheme, now can change text too

see first post

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

#8 Post by musher0 »

Hello.

Wow. If you need this, laziness has affected you really badly.
C'mon, people, get active! Get off your b...ts! Burn a few calories!

All you need is the icon of your choice and leafpad:

Right-click on your chosen icon and click "Rename". Then click Cntrl-A with the
cursor in the box to get the entire path and filename.

Open leafpad. Open file /root/.jwmrc-tray in leafpad.

This is the top of the file:
<JWM>
<Tray autohide="false" insert="right" x="0" y="-1" border="1" height="28" >
<!-- Additional TrayButton attribute: label -->
<TrayButton label="Menu" icon="puppy.svg" border="true">root:3</TrayButton>
<TrayButton popup="Show Desktop" icon="/usr/local/lib/X11/pixmaps/x48.png" border="true">showdesktop</TrayButton>
<TrayButton popup="Browser" icon="/usr/local/lib/X11/pixmaps/www48.png" border="true">exec:defaultbrowser</TrayButton>
<TrayButton popup="Terminal" icon="/usr/local/lib/X11/pixmaps/console48.png" border="true">exec:urxvt</TrayButton>
(...)
This is the tray button line in above file:
<TrayButton label="Menu" icon="puppy.svg" border="true">root:3</TrayButton>
I've colorized the icon definition. You change the part "puppy.svg" to the filename
of your new icon : "puppy-arf.png" or whatever -- with a copy-and-paste.

By golly, how hard can that be? Also, by doing this, you're learning something --
not just clicking.

Sorry for ruffled feathers.

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
LazY Puppy
Posts: 1934
Joined: Fri 21 Nov 2014, 18:14
Location: Germany

#9 Post by LazY Puppy »

Sorry for ruffled feathers.
Is there a version for qt5 ??? :lol: :wink: :wink:
RSH

"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:

No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:

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

#10 Post by musher0 »

LazY Puppy wrote:
Sorry for ruffled feathers.
Is there a version for qt5 ??? :lol: :wink: :wink:
Ha-ha-ha. Damn you! Encouraging "LazY"-ness!!! :twisted:
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Sailor Enceladus
Posts: 1543
Joined: Mon 22 Feb 2016, 19:43

#11 Post by Sailor Enceladus »

@musher: Your way doesn't always work

http://www.murga-linux.com/puppy/viewtopic.php?p=908773#908773

Better to have GUI :lol:

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

#12 Post by musher0 »

Sailor Enceladus wrote:@musher: Your way doesn't always work

http://www.murga-linux.com/puppy/viewtopic.php?p=908773#908773

Better to have GUI :lol:
Your opinion only!
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#13 Post by trio »

v 1.5 For slacko 6.3 with pTheme bugfix when repeatedly change icon/text

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#14 Post by trio »

v 1.6 For general puppies, many improvements

please test for other than slacko with ptheme. I don't have any right now

Sailor Enceladus
Posts: 1543
Joined: Mon 22 Feb 2016, 19:43

#15 Post by Sailor Enceladus »

trio wrote:please test for other than slacko with ptheme. I don't have any right now
v1.6 - Slacko without ptheme, didn't work:

- Lines 34, 42 and 51 you have a hard-coded string "$HOME/.jwm/jwmrc-tray1" which should be $JWMTRAY in each
- Lines 61 and 69 doesn't append the extension to XPMICONNAME so nothing displays: .jwmrc-tray needs icon="leaf-plant.png"

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#16 Post by trio »

Sailor Enceladus wrote:
trio wrote:please test for other than slacko with ptheme. I don't have any right now
v1.6 - Slacko without ptheme, didn't work:

- Lines 34, 42 and 51 you have a hard-coded string "$HOME/.jwm/jwmrc-tray1" which should be $JWMTRAY in each
- Lines 61 and 69 doesn't append the extension to XPMICONNAME so nothing displays: .jwmrc-tray needs icon="leaf-plant.png"
v 1.7 Bugfix:
- Lines 34, 42 and 51 you have a hard-coded string "$HOME/.jwm/jwmrc-tray1" which should be $JWMTRAY in each
- Lines 61 and 69 doesn't append the extension to XPMICONNAME so nothing displays: .jwmrc-tray needs icon="leaf-plant.png"

THANKS SAILOR!!

Sailor Enceladus
Posts: 1543
Joined: Mon 22 Feb 2016, 19:43

#17 Post by Sailor Enceladus »

v1.7 - Works perfectly here :) Looks nice too!

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#18 Post by trio »

Sailor Enceladus wrote:v1.7 - Works perfectly here :) Looks nice too!
Thanks for testing!!!

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#19 Post by trio »

v 1.8 Add new function; showing and changing menu label text

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#20 Post by trio »

v 1.9: - Compatibility with older std puppy(ies) if jwmrc template is not heavily altered. test in slacko 6.3 and racy 5.3
- supports multiple text as start menu text
- splash popup if menu label text is already hidden
- button height adjusted for prettier gui
- now supports svg icons if available

see first post

Post Reply