Hacked aemenu
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.
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.
- Attachments
-
- default-menu-plus_2016-08-02.JPG
- 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". - (60.17 KiB) Downloaded 419 times
-
- MenuDefautPlus.sh.zip
- To run, unzip in /usr/local/bin and make executable.
- (3.16 KiB) Downloaded 211 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
This version adds the choice of font sizes, plus the directories are now in their own
sub-menu.
sub-menu.
- Attachments
-
- MenuDefautPlus.sh.zip
- (3.47 KiB) Downloaded 208 times
-
- default-menu-plus_2016-08-04.JPG
- (27.93 KiB) Downloaded 345 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
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.
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)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
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:
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
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: Select all
<span color='#ff0000'>items</span>
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
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!
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!
- Attachments
-
- MenuDefautPlus-160909.sh.zip
- (3.64 KiB) Downloaded 175 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
@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.
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)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
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. ... ost#924488
There is an ".h" file missing.
TIA.
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. ... ost#924488
There is an ".h" file missing.
TIA.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
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
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
- LazY Puppy
- Posts: 1934
- Joined: Fri 21 Nov 2014, 18:14
- Location: Germany
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...
- 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) :lol:
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:
"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:
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
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
- Attachments
-
- glibconfig.h.tar.gz
- (1.82 KiB) Downloaded 163 times
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.
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
- LazY Puppy
- Posts: 1934
- Joined: Fri 21 Nov 2014, 18:14
- Location: Germany
I don't understand this.
This is the GTKLIB line:
Where to add -lX11?
This is the compile script (it has already -lX11):
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...
This is the GTKLIB line:
Code: Select all
GTKLIB = `pkg-config --libs gtk+-2.0`
This is the compile script (it has already -lX11):
Code: Select all
#!/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
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) :lol:
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:
"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:
- LazY Puppy
- Posts: 1934
- Joined: Fri 21 Nov 2014, 18:14
- Location: Germany
Ok.
Compiling in tahr64 605 with glibconfig.h added to the system (/usr/include/...) gives another complain about some gdkconfig.h missing.
Changed the GTKLIB line in makefile to:
Opened up a terminal and typed make did compile successfully.
The 64bit aemenu attached (fake .gz).
Compiling in tahr64 605 with glibconfig.h added to the system (/usr/include/...) gives another complain about some gdkconfig.h missing.
Changed the GTKLIB line in makefile to:
Code: Select all
GTKLIB = -lX11 `pkg-config --libs gtk+-2.0`
The 64bit aemenu attached (fake .gz).
- Attachments
-
- aemenu.gz
- (77.39 KiB) Downloaded 175 times
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:
"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:
- LazY Puppy
- Posts: 1934
- Joined: Fri 21 Nov 2014, 18:14
- Location: Germany
No.musher0 wrote:Have you tested it yet with the MRUF or similar script?
And I don't even have the time to do so until the end of the week, sorry.
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:
"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: