Page 1 of 1
JWM Start menu icon changer plus
Posted: Thu 04 Dec 2014, 11:52
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
Posted: Sat 06 Dec 2014, 11:11
by trio
I guess this app is not popular, so no more improvement/discontinued
edit; maybe not
Posted: Sun 07 Dec 2014, 02:48
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
Posted: Sun 07 Dec 2014, 02:58
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.
Posted: Sun 07 Dec 2014, 03:36
by trio
Thanks bigpup
Posted: Tue 21 Jun 2016, 13:19
by trio
Version 1.2: For slacko with pTheme
Posted: Wed 22 Jun 2016, 10:37
by trio
v 1.4 For slacko 6.3 with pTheme, now can change text too
see first post
Posted: Wed 22 Jun 2016, 18:43
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.
Posted: Wed 22 Jun 2016, 21:29
by LazY Puppy
Sorry for ruffled feathers.
Is there a version for qt5 ???
Posted: Thu 23 Jun 2016, 00:21
by musher0
LazY Puppy wrote:Sorry for ruffled feathers.
Is there a version for qt5 ???
Ha-ha-ha. Damn you! Encouraging "LazY"-ness!!!
Posted: Thu 23 Jun 2016, 01:00
by Sailor Enceladus
Posted: Thu 23 Jun 2016, 01:07
by musher0
Posted: Thu 30 Jun 2016, 05:37
by trio
v 1.5 For slacko 6.3 with pTheme bugfix when repeatedly change icon/text
Posted: Mon 04 Jul 2016, 02:38
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
Posted: Mon 04 Jul 2016, 04:11
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"
Posted: Mon 04 Jul 2016, 04:31
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!!
Posted: Mon 04 Jul 2016, 04:35
by Sailor Enceladus
v1.7 - Works perfectly here
Looks nice too!
Posted: Mon 04 Jul 2016, 04:36
by trio
Sailor Enceladus wrote:v1.7 - Works perfectly here
Looks nice too!
Thanks for testing!!!
Posted: Mon 04 Jul 2016, 14:01
by trio
v 1.8 Add new function; showing and changing menu label text
Posted: Tue 05 Jul 2016, 06:28
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