Author |
Message |
vovchik

Joined: 23 Oct 2006 Posts: 1538 Location: Ukraine
|
Posted: Mon 01 Aug 2016, 14:16 Post subject:
|
|
Dear musher0,
Thanks for putting some of the stuff through its paces. It does seem to be working as envisaged, which is always encouraging. And a touch of colour and a nice font do much to make things a bit more lively and inviting.
With kind regards,
vovchik
|
Back to top
|
|
 |
musher0
Joined: 04 Jan 2009 Posts: 15041 Location: Gatineau (Qc), Canada
|
Posted: Mon 01 Aug 2016, 19:22 Post subject:
|
|
I am just starting to explore the possibilities of your wonderful new tool!
_________________ musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
|
Back to top
|
|
 |
musher0
Joined: 04 Jan 2009 Posts: 15041 Location: Gatineau (Qc), Canada
|
Posted: Tue 02 Aug 2016, 16:01 Post subject:
|
|
Hello all!
This new menu is again based on the default Puppy apps, but it "casts a wider
net", so to speak.
It can add some file utilities, and your list of browsers if you have more than one
browser. At this point, you'll need to get your hands dirty, (I mean rework the
script a bit) to get those listings, but the capacity is there.
Also, a major breakthrough in this extended default menu, I think, is its
capacity to be "dressed-up" by the user from within (from the menu itself),
including for the title, the separators and the fonts.
What I find quite interesting in the aemenu-pango is that the menu can be scripted
to show the user, in the menu itself, which colors and which fonts are available to
him/her. (Please see screen capture.)
In this context, if you know of a good font or of efficient colors for this aemenu-
pango, please share them? It will be most appreciated.
~~~~~~~~~
This is again an example, still in beta. If you use it for production, please be
aware that it is at your own risk.
Kindly report all bugs. One such bug is about the LiberationSerif-Regular font: it's
applied quite ok from the gtk-chtheme utility, but it's the only font not showing
properly in the dress-up list. Why? "Mystery, mystery."
~~~~~~~~~
Again thanks to vovchik for having made available a wonderful tool!
And again, the same heads-up to users as before: to run this aemenu-pango
application properly, you will need to download the tools (bcm, etc.) that vovchik
has kindly provided on the previous page.
BTW, try NOT to enjoy it! (hehe) This aemenu-pango can really get addictive!
BFN.
~~~~~~~~~~~~
NOTE --
The "run", "partitions" and "Exit" entries in the main panel call scripts which are NOT
included in the attached zip archive. If you click on those entries, nothing will happen.
As I said, this is a "beta" example. But please feel free to adapt it to your needs.
 |
Description |
In this screen capture, the main title and categories are shown with the "georgia" font. -- But you can change the font and the colors "on the fly". |
Filesize |
60.17 KB |
Viewed |
443 Time(s) |

|
Description |
To run, unzip in /usr/local/bin and make executable.
|

Download |
Filename |
MenuDefautPlus.sh.zip |
Filesize |
3.16 KB |
Downloaded |
271 Time(s) |
_________________ musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
|
Back to top
|
|
 |
musher0
Joined: 04 Jan 2009 Posts: 15041 Location: Gatineau (Qc), Canada
|
Posted: Thu 04 Aug 2016, 06:53 Post subject:
|
|
This version adds the choice of font sizes, plus the directories are now in their own
sub-menu.
Description |
|

Download |
Filename |
MenuDefautPlus.sh.zip |
Filesize |
3.47 KB |
Downloaded |
262 Time(s) |
Description |
|
Filesize |
27.93 KB |
Viewed |
371 Time(s) |

|
_________________ musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
|
Back to top
|
|
 |
musher0
Joined: 04 Jan 2009 Posts: 15041 Location: Gatineau (Qc), Canada
|
Posted: Sun 11 Sep 2016, 08:03 Post subject:
|
|
Hi vovchik.
I hope you are well. We've not heard from you in a little while.
When you have a minute, would you please double-check if the aemenu-
pango can really recognize the colors in hexadecimal? It says so in the doc
that you provided, but I can't get the hex colors to show. (Named colors
such as blue, white, cornsilk, chartreuse4, etc., show up ok.)
This is my context at the moment.
TIA. TWYL, hopefully.
_________________ musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1538 Location: Ukraine
|
Posted: Sun 11 Sep 2016, 10:49 Post subject:
|
|
Dear musher0,
Thanks for asking. Not everything is glorious and peachy at the moment, but I will manage, I hope. As for aemenu not recognizing #ff0000, I just tested and, for example, the following works fine:
Code: | <span color='#ff0000'>items</span> |
I do not know how well those spans work when nested, but I think they do.
You need the hash (#), and it should make no difference whether your hex nums are upper or lower case. When something is wrong with pango markup, gtk usually spits out some useful info in the terminal. Are you getting any errors or warnings?
With kind regards,
vovchik
|
Back to top
|
|
 |
musher0
Joined: 04 Jan 2009 Posts: 15041 Location: Gatineau (Qc), Canada
|
Posted: Fri 16 Sep 2016, 19:24 Post subject:
|
|
Hello all.
Here is an update of my most recent DefaultMenuPlus script based on
vovchick's work.
All comments and captures related to it in the posts above still apply.
Enjoy!
Description |
|

Download |
Filename |
MenuDefautPlus-160909.sh.zip |
Filesize |
3.64 KB |
Downloaded |
245 Time(s) |
_________________ musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
|
Back to top
|
|
 |
musher0
Joined: 04 Jan 2009 Posts: 15041 Location: Gatineau (Qc), Canada
|
Posted: Fri 16 Sep 2016, 19:40 Post subject:
|
|
@all:
I also applied vovchick's aemenu-pango in this MRUF/MRUD menu,
which is potentially of interest to all Puppyists.
Now we have another illustration of how interesting and efficient
marked-up (ae)menus can be. Again: thanks to vovchick!
TWYL.
_________________ musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
|
Back to top
|
|
 |
musher0
Joined: 04 Jan 2009 Posts: 15041 Location: Gatineau (Qc), Canada
|
Posted: Tue 20 Sep 2016, 00:59 Post subject:
|
|
Hello vovchik.
Does a 64-bit version of your aemenu-pango exist?
There would perhaps be a need for it. Lazy Puppy is having difficulty
compiling it on Tahr64. Please see here:
http://murga-linux.com/puppy/viewtopic.php?p=924488&sort=lastpost#924488
There is an ".h" file missing.
TIA.
_________________ musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1538 Location: Ukraine
|
Posted: Tue 20 Sep 2016, 03:29 Post subject:
|
|
Hi musher0,
I don't think we have a 64-bit binary. I have only 32-bit installed, and my version compiles fine. I wonder why that system header file is missing. And I wonder whether others reading this who have a development system and are running 64-bit could try and see see whether it compiles. Head-scratching time.
With kind regards,
vovchik
|
Back to top
|
|
 |
LazY Puppy

Joined: 21 Nov 2014 Posts: 2007 Location: Germany
|
Posted: Tue 20 Sep 2016, 21:58 Post subject:
|
|
Checked the devx's of
- lucid 528-4
- precise 571
- tahr 602, 605
- tahr64 605
- vivid beta2
- unicorn 60
- xenial 704
- xenial64 707
- slacko64 630
All of them are missing the glibconfig.h !!!
I wonder how you could compile...
_________________ RSH
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0)
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! 
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1538 Location: Ukraine
|
Posted: Wed 21 Sep 2016, 03:07 Post subject:
|
|
Hi Lazy Puppy,
Here is the file in question - you will see by examing it that it is generated. I don't know what genereated it and when. All I can say is "weird".
With kind regards,
vovchik
Description |
|

Download |
Filename |
glibconfig.h.tar.gz |
Filesize |
1.82 KB |
Downloaded |
228 Time(s) |
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 8787 Location: qld
|
Posted: Wed 21 Sep 2016, 07:24 Post subject:
|
|
64 compiles ok here.
Just add -lX11 to the GTKLIB line in Makefile.. no need of the compile script.
Alternatively, hack the compile script to suit your system.
_________________ Puppy Linux Blog - contact me for access
|
Back to top
|
|
 |
musher0
Joined: 04 Jan 2009 Posts: 15041 Location: Gatineau (Qc), Canada
|
Posted: Wed 21 Sep 2016, 08:21 Post subject:
|
|
01micko wrote: | 64 compiles ok here.
Just add -lX11 to the GTKLIB line in Makefile.. no need of the compile script.
Alternatively, hack the compile script to suit your system. |
Funny guy. Gives us the recipe but not the pie.
_________________ musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
|
Back to top
|
|
 |
LazY Puppy

Joined: 21 Nov 2014 Posts: 2007 Location: Germany
|
Posted: Wed 21 Sep 2016, 08:58 Post subject:
|
|
I don't understand this.
This is the GTKLIB line:
Code: | GTKLIB = `pkg-config --libs gtk+-2.0` |
Where to add -lX11?
This is the compile script (it has already -lX11):
Code: | #!/bin/bash
# brute force compilation of aemenu, without the rest
# later run strip and upx for 8k binary
gcc -g -O2 -Wall -I/usr/include -c parser.c -o parser.o
gcc -g -O2 -Wall -I/usr/include -c atom.c -o atom.o
gcc -g -O2 -Wall -I/usr/include -c common.c -o common.o
gcc -g -O2 -Wall -I/usr/include -c menu.c -o menu.o
gcc -I/usr/include/gtk-2.0 -I//usr/include/glib-2.0 \
-I/usr/lib/i386-linux-gnu/glib-2.0/include \
-I/usr/include/cairo -I/usr/include/pango-1.0 \
-I/usr/lib/i386-linux-gnu/gtk-2.0/include \
-I/usr/include/gdk-pixbuf-2.0 \
-I/usr/include/atk-1.0 \
aemenu.c common.o atom.o menu.o parser.o \
-lX11 `pkg-config --libs gtk+-2.0` -o aemenu |
Edit: just tried to compile aemenu in tahr 32bit and it compiles fine. No complains (no glibconfig.h added to my system) about missing files.
I don't understand this either...
_________________ RSH
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0)
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! 
|
Back to top
|
|
 |
|