gtkmenuplus - release 1.1.10 2019-11-28

Window managers, icon programs, widgets, etc.
Message
Author
step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

gtkmenuplus - release 1.1.10 2019-11-28

#1 Post by step »

gtkmenuplus - release 1.1.10 2019-11-28
create pupup menus from text configuration files
Home page: https://github.com/step-/gtkmenuplus
>Change log
>Older versions

Gtkmenuplus is a popup menu builder that depends on GTK (2 or 3) only. It reads menu structure, contents and formatting from a text configuration file or the command line. It can complement such tools as Xdialog, gtkdialog and yad to add GUIs to shell scripts.

This thread is about my fork of gtkmenuplus. It extends the original program, particularly in the area of so-called launchers, a.k.a .desktop files. For instance, this command line

gtkmenuplus launchersub=/usr/share/applications

displays a menu of all applications in that folder and its sub-folders. Read details in /usr/share/doc/gtkmenuplus after installing the package.

The online README file links to several useful example scripts.

2020-04-18: Tutorial: Personalized typing macros with gtkmenuplus.

Download links for 32/64 bit .pet and .txz package files, and for manual installation on any Linux, are listed below. This is the source code archive link: >source. All downloads are for GTK version 2. For GTK 3 you will need to compile the source code (instructions included).

Other threads about gtkmenuplus:
http://www.murga-linux.com/puppy/viewtopic.php?p=836284#836284
http://www.murga-linux.com/puppy/viewtopic.php?p=884329#884329

GTK2 downloads - If you need an older version PM me.
Fatdog64 users: the update can also be installed from the Package Manager.

MD5 sums 1.1.10 2019-11-28
========
5cd49589013f6f42f56bccaacf4aa70b gtkmenuplus-1.1.10-i686-1.txz.remove.tar.gz
05e576265fb1b5a32659d1e7c8064c3a gtkmenuplus-1.1.10-i686+x86_64.tar.gz
fa44cc12d4ee98ad5423c1dccb53a480 gtkmenuplus-1.1.10-x86_64-1.txz.remove.tar.gz
563daf69677f93d5c771238e23ab4d71 gtkmenuplus_i686-1.1.10.pet
fd0b9049c04ae6e9f2ab04ed45de83aa gtkmenuplus_x86_64-1.1.10.pet
Attachments
gtkmenuplus-1.1.10-i686-1.txz.remove.tar.gz
release 2019-11-28
(76.96 KiB) Downloaded 639 times
gtkmenuplus-1.1.10-i686+x86_64.tar.gz
release 2019-11-28
(230.39 KiB) Downloaded 638 times
gtkmenuplus-1.1.10-x86_64-1.txz.remove.tar.gz
release 2019-11-28
(143.47 KiB) Downloaded 581 times
gtkmenuplus_i686-1.1.10.pet
release 2019-11-28
(98.46 KiB) Downloaded 701 times
gtkmenuplus_x86_64-1.1.10.pet
release 2019-11-28
(98.82 KiB) Downloaded 661 times
Last edited by step on Tue 12 May 2020, 19:47, edited 23 times in total.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

Application scripts

#2 Post by step »

I wrote some scripts that demonstrate the new features and can be useful in their own right. They can be found in my scripts-to-go repository:
  • gmenu2 System menu that resembles the standard Fatdog64 and Puppy Linux System menu, with some added zest.
  • gmenu2-fdcp Fatdog64 Control Panel items as a menu.
  • quicklaunch Customizable user menu
  • roxmm ROX-Filer SendTo menu look-alike for a given file or directory.
  • tray-radio System tray icon that springs a customizable menu of your Internet radio stations and media files.
Attachments
tray-radio.gif
tray-radio script on Fatdog64
(225.47 KiB) Downloaded 868 times
quicklaunch.png
The Quicklaunch Menu icon is installed in LXQt Panel, the vertical bar
on the left side), and replaces the default set of application icons;
Default Web Browser, Rxvt-Unicode, ROX Filer and Fatdog64 Control
Panel. The Panel bar is unincumbered while the d
(85.79 KiB) Downloaded 964 times
gmenu2-fdcp.png
gmenu2-fdcp script for Fatdog64-710. This script creates a menu of all Fatdog64 Control Panel items.
(30.44 KiB) Downloaded 1054 times
gmenu2.png
gmenu2 script on Fatdog64-710. If gmenu2-fdcp is also installed then this script automatically includes the Fatdog Control panel menu.
(30.91 KiB) Downloaded 1213 times
roxmm.png
roxmm script on Fatdog64-710
(47.45 KiB) Downloaded 1229 times
Last edited by step on Sat 18 Mar 2017, 13:01, edited 5 times in total.

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#3 Post by step »

reserved
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#4 Post by Keef »

Used the pet to install to Tahrpup.
Installation was a surprisingly slow. Menu entry appeared but has the .desktop suffix. Would not launch the program though.

Started it with the command line

Code: Select all

gtkmenuplus launchersub=/usr/share/applications
and this worked as expected.
The link to your example scripts goes nowhere.
I'll have a play at making my own menu config files later. Brain is a bit fried at the moment.

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#5 Post by step »

Keef wrote:Used the pet to install to Tahrpup.
Installation was a surprisingly slow. Menu entry appeared but has the .desktop suffix. Would not launch the program though.
Thanks for trying. I build the pets but I don't actually use them. I'll have a second look.
The link to your example scripts goes nowhere.
Fixed.
I'll have a play at making my own menu config files later. Brain is a bit fried at the moment.
Have fun!
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#6 Post by step »

Download new builds from first post.

Beta Update:
2016-08-25: Fix Desktop file; display help message in GUI dialog; change application gategory: Desktop -> Utility.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#7 Post by vovchik »

Dear step,

Thanks. I don't know whether you included markup. I also played with gtkmenu and added that feature. Source is posted here:

http://murga-linux.com/puppy/viewtopic. ... h&id=99862

With kind regards,
vovchik

PS. Just compiled and see you have done that! Well done. :)

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#8 Post by step »

Dear vovchik, thank you. Yes, markup is included, so menus can use different fonts and colors. I was aware of your work on menus in the meteo thread. It's very good.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#9 Post by step »

Download new builds from first post.

Beta Update:
2016-08-27: Add "configure=launcherlistfirst" (enabler for gmenu2).
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#10 Post by step »

Download new builds from the first post.

Updates:
2016-09-03: Add "activationlogfile=" (enabler for gmenu2). New and legacy code bug fixes.

If you are using the gmenu2 script please rename LOOK_FOR_APPLICATION_CHANGES to REFRESH_CACHE in ~/.gmenu2rc (or remove file ~/.gmenu2rc and restart).
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#11 Post by step »

Release 1.1.0 - 10-Sep-2016

Download from first post.

Added since beta 2016-09-03:
- Sort launcher= and launchersub= labels alphabetically.

Thanks to all people who contributed comments and bug reports in this thread and via PMs.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#12 Post by step »

Release 1.1.1- 19-Sep-2016

Download from first post.

Added since release 1.1.0 2016-09-09:
- onexit=
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#13 Post by step »

Release 1.1.2- 15-Oct-2016

Download from first post.

Changed since release 1.1.1 2016-09-19:
- fix bug
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#14 Post by step »

Release 1.1.2- 25-Dec-2016

Downloads and change log in first post.

Changed since release 1.1.2 2016-10-15:
- Improved: GTK2 theme compatibility, activation log.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#15 Post by step »

Release 1.1.4 - 03-Jan-2017

Recommended upgrade.
Downloads and change log in first post.

Changed since release 1.1.3 2016-12-25:
- Bug fixes.
- New command-line options.
- Support longer lines.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#16 Post by step »

Just added a new Quicklaunch application menu for gtkmenuplus, see the second post.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#17 Post by step »

Release 1.1.5 - 02-Mar-2017

Recommended upgrade.
Downloads and change log in first post.

Changes since release 1.1.4 03-Jan-2017:
New:
- Automatically add menu label mnemonic (choice of first character or round-the-clock character sequence)
Fixed:
- Non-comment '#' wasn't allowed in cmd=, if=, elseif=, variable==.
- Dealing with oversized input lines.
- Memory leak.
- Missing initialization.
Other minor improvements, fixes and documentation updates.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#18 Post by step »

New application script "tray-radio" added. See the second post in this thread.
Tray-radio: your Internet radio stations and media files in a tray icon menu.
Attachments
tray-radio.gif
(225.47 KiB) Downloaded 584 times
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#19 Post by step »

Release 1.1.6 - 06-Sep-2017

Recommended upgrade.
Downloads and change log in first post.

Changes since release 1.1.5 02-Mar-2017:
New:
- launcher=link -> ... -> app.desktop works. Before one could only do
launcher=app.desktop
- Assign quoted values to variables.
Improved:
- Handle more cases where '#' isn't a comment.
- Documentation and tests.
Fixed:
- Infinite loop (legacy).
- Unassigned parameter means FALSE (regression).
Other minor improvements, fixes and documentation updates.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#20 Post by step »

Release 1.1.8 - 16-Sep-2018

Recommended upgrade.
Downloads and change log in the first post.

Changes since release 1.1.6 06-Sep-2017:

New:
- Add option -q(uiet) to keep stdout uncluttered.
- Markdown and Unix-style manuals: usage(1), menu format(5).
Changed:
- The GTK3 version is compiled to force displaying menu icons because by default GTK3 hides menu icons.
- Improved documentation and error/help messages.
Fixed:
- legacy bug: cmd=doc displays an error icon
- issue #3
Dev New:
- Added build files for GNU autotools; both GTK2 and GTK3 builds.
- INSTALL and AUTHORS files.
Dev fixed:
- GTK3 builds again (it broke many versions ago).
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

Post Reply