How to show MRU Most Recently Used Documents on Start Menu?

Booting, installing, newbie
Post Reply
Message
Author
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#91 Post by musher0 »

Hi Lazy Puppy.

My sympathies for white on white... I'm really sorry. Puppus Dogfellow
had a similar comment somewhere above, IIRC.

What Gtk theme is that, in your screen capture? What I mean is:

If we look in /root/.gtkrc-2.0, on the 2nd line, we see what Gtk theme
is active.

Now a programming question:

Do you think it would be possible to go to line 5 of the gtkrc file of the
theme (for example: /usr/share/themes/Rusty_Sand-mod/gtk-2.0/gtkrc)

-- extract the first two parameters (fg and bg)

-- find a Color Scheme approximately contrasted to those colors

-- reverse them

-- store them in the Color file at /usr/local/share/MRUF/Color and

-- then the menu script uses those colors?

Hopefully, the result could be a MRUF menu script with proper contrasting
colors every time. Plus it would match the current GTK theme.

Is that the solution?

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

ASD

#92 Post by ASD »

Having just tried v 0.9.4

* The initial window showed (joke) as yellow text on a light background

* After fixing the colours Help did not show (pun) v 0.9.4

* All my ROX Speed Dials had been blanked out (i.e. reset and not funny).

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

#93 Post by musher0 »

@ASD:
I'm sorry I forgot to announce it, I was tired and it escaped me. Sorry
about that, ASD, but one should always make back-ups of important files
like those...

@all:
-- I spent the night working on the contrast issue that Lazy Puppy has
brought up (and Puppus Dogfellow before him).

The solution I came up with (please see attached zip file) won't always
work, because about only 2/3'rds of GTK themes are structured for an
easy query. With some themes of the remaining 1/3rd, the letters will
have "natural" contrast and be readable anyway.

All in all, it's not that big an issue, I think. It may mean some poking and
probing with the suggested color schemes, but with some perseverance
and 2-3 minutes of patience, you'll certainly find a satisfying solution. If
you think all else has failed, follow the instructions in my reply to Lazy
Puppy above?

Please remember that this pango evolution by vovchik is as new to me as
it is to you. I may be ahead of the pack a bit, but I'm still poking and
probing myself with the aemenu-pango colors.

As an aside, it may be worth your while to download vovchik's work on
this and try his many examples of the pango color and font mark-up. Just
look for thread "Hacked aemenu" in the forum search engine, with
vovchik as author.

If you're really frustrated, try typing in console:

Code: Select all

echo -e "red\nyellow" > /usr/local/share/MRUF/Color
or the reverse, or

Code: Select all

echo -e "green\norange" > /usr/local/share/MRUF/Color
or some other contrasting colors, and then click on REFRESH in the
menu (this REFRESH is important).

~~~~~~~~~~
Anyway, a new version, 0.9.4.1, is attached. It incorporates:
-- a contrast fix test (see explanation in paragraph above) in response to
the complaints.

-- most of the variables are now "sourced" from their own file. It keeps
the main script skinny!

-- The "-daystart" setting in the < find > lines was more of a hindrance
than a helper, so I removed it.

As the name implies it's meant to include today in the search. Except that
at five past midnight it's useless, if you see what I mean. At that time of
day it actually prevents any finding. It starts to make sense and produce
results when you use it later in the day, say late afternoon or early
evening. So bye-bye "-daystart" parm.

-- 4 new color schemes, with really good contrast, I think. One combo has
very dark green and a tinted white, the other one has "midnight blue" and
"alice blue". There are now 30 color schemes to choose from for this
script, 15 "straight" and 15 "reverse".

This is a sign-off for me. It's been a long night. Luckily no work tomorrow.

TWYL.
~~~~~~~~~~~~~
P.S. Attachment removed.
Please use version 0.9.5 from post further down.
Thanks.
Attachments
Get-Gtk-Theme.sh.zip
The contrast fix test.
(837 Bytes) Downloaded 172 times
Last edited by musher0 on Sat 17 Sep 2016, 19:59, edited 2 times in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

ASD

#94 Post by ASD »

My comments on v 0.9.4.1 are exactly as they were for v 0.9.4:

The display is unfixed; however, as you have added a footnote which does show - why not just forget the colours altogether.

The version number is still not updated.

All ROX Speed Dials are, yet again, reset. You still didn't announce that fact, but if you had announced it I would not have tried v 0.9.4.1

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

#95 Post by musher0 »

ASD wrote:My comments on v 0.9.4.1 are exactly as they were for v 0.9.4:

The display is unfixed; however, as you have added a footnote which does show - why not just forget the colours altogether.

The version number is still not updated.

All ROX Speed Dials are, yet again, reset. You still didn't announce that fact, but if you had announced it I would not have tried v 0.9.4.1
Hey, ASD.

You don't like it? Don't use it. Or please spend two full weeks of your
time without pay creating your own history menu instead of shooting
down this one with so-so arguments.

This is a work in the making, ASD. AFAIK, no menu script like this --
independent of any window manager AND of any file manager -- exists
as of yet on Puppy to display the history of what the user has done
during his previous computer sessions. Even more so, considering this
menu is using an absolutely new mark-up system invented by still
another Puppy-ist. When other testers and I have properly finished with
this history system, it will be unique to Puppy.

I'm no Steve Jobs and no Nolan Bushnell to provide users with an
absolutely perfect product from the word go. (Actually, they didn't. In
fact they themselves issued countless versions before they thought their
apps were satisfactory.)

You don't like my including a pristine "groups.xml" in the pet archive?
There, I'm putting it out of the way. Again sorry for any inconvenience.
I had included one because many users -- unlike you -- do not know
how to create one. And because it can be considered a part of
the user's sessions history.

And I am certainly no deviner to know: "Ah, ASD is using this particular
GTK theme. Therefore I will provide him with a personalized pet archive
containing a pre-configured menu script that starts off with Color
Scheme X. That color scheme should go nicely with ASD's chosen GTK
theme. And then ASD won't give me a mouthful."

So the pango colors stay. It is your personal decision whether to invest
-- or not -- one or two minutes of your time in learning how to adapt
this menu to the GTK theme on your Puppy. As such your personal
decision is only that, a personal decision, and it is irrelevant to the
continuation of development.

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

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

#96 Post by musher0 »

Hello all.

Here is pet archive 0.9.4.1a -- amended in reply to remarks above.
I have decided that this would actually be the real 0.9.4.1 version:
the letter a is only there to avoid confusion and archive squishing.


The disputed pristine < Groups.xml > file is still there, but as file
< xml.Groups >. Rename it to its proper name if you need it. A little
note is included about it.

I've also hidden again the plain text entry at the bottom of the menu
-- that I use for debugging.

I apologize for any previous inconvenience.

BFN.
~~~~~~~~~
P.S. Attachment removed.
Please use version 0.9.5 from post further down.
Thanks.
Last edited by musher0 on Sat 17 Sep 2016, 20:00, edited 3 times in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

ASD

#97 Post by ASD »

I shall leave it to MochiMoppel, should he wish to comment on your adaptation of his excellent work on ROX Speed Dials.
Attachments
version.png
(23 KiB) Downloaded 355 times

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

#98 Post by musher0 »

ASD wrote:I shall leave it to MochiMoppel, should he wish to comment on
your adaptation of his excellent work on ROX Speed Dials.
Hello ASD.

As you can see, your attempt at hiding the words "your adaptation of"
in white type over white background has failed. That was a bit foxy of
you, wasn't it? :lol:

FYI: It is NOT my adaptation. It is his earlier version, here, which I
prefer for the purposes of this aemenu-pango menu script.

I prefer it over his final version
-- because of the wider format and
-- because you can edit it directly and introduce decimals for fine-tuning
and grouping of your sub-directories. The ROX-Filer < Groups.xml > file
does support decimal numbering, but MochiMoppei shuns it as "goofing".
IMO, his final version maims the decimal capacity and the capacity for
direct editing (the latter IIRC).
-- because I am presenting in this menu a different way of accessing the
GTK bookmarks, and I wish those to stay consistent with the presentation
of the other data. IMO, using MochiMoppei's final version would be out of
style in the context of this menu.

I have not altered this earlier script of MochiMoppei in any way. Please
check for yourself if you do not believe me.


FYI: In that previous version, MochiMoppei does not mention his author-
ship, nor his copyright, nor any publication licence. I mention his author-
ship because I know it is his work and it is simply the right thing to do.
Would have I done that if I had intended to steal his work from him?
** Be very careful with your innuendos, ASD. **

FYI: AFAIK, MochiMoppei has never forbidden the use of his earlier
version to anyone. It has been in public view for over two years (at the
time of this writing) on the thread above, available for anyone to copy,
paste and use during that time. Should he forbid it now, I am ready to
provide my own solution to display the directories in < Groups.xml > and
remove any mention of his talent in this script -- if that's what he wants.

Come to think of it, I may decide to remove any reference to Mochi-
Moppei's work in this script anyway because of the bad fuss people like
you are creating about it.

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

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

#99 Post by musher0 »

Hello all.

Hopefully, I have removed from this 0.9.5 version any cause for pettiness
or trolling. Because I have better things to do, I have no time for it.

The people who'll use this new version will, also hopefully, appreciate the
compliment and generosity that represents the use of another dev's work in
yours and the rightful mention of his/her talent and authorship.

Sincerely,

musher0
Attachments
MRUF-lst-0.9.5_ROX-Groups_2016-09-17.jpg
(47.19 KiB) Downloaded 272 times
MRUF-lst-0.9.5.pet
The codename of this version is &quot;Anti-Pettiness&quot;. If you need to refer to it
in a post or elsewhere, that is how I'd like the users to call it. Thanks.
(106.98 KiB) Downloaded 210 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

ASD

#100 Post by ASD »

Indubitably this will be seen as yet another petty comment, but v 0.9.5 displays an error and does not install here.

So that MochiMoppel and/or others may form an opinion of the previous two versions (with particular regard to ROX Speed Dials) those withdrawn attachments are reinstated below.
Attachments
MRUF-lst-0.9.4.1a.pet
(124.67 KiB) Downloaded 181 times
MRUF-lst-0.9.4.1.pet
(124.59 KiB) Downloaded 167 times

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

#101 Post by musher0 »

Hello all.

Please find attached version 0.9.5.1. Basically I found still more ways to
make the code more compact. Approx. 1.5 Ko were gained compared to
the 0.9.5 version.

Since none of those changes affect the user interface, no new screen
captures are provided.

The larger size of the pet archive is due to the use of gz, not xz,
compaction.

Constructive, not necessarily positive, comments about this version
are welcome, as always, to get this script closer to finalization.

Enjoy.
Attachments
MRUF-lst-0.9.5.1.pet
Codename: &quot;Anti-Pettiness II&quot; :-)
(123.96 KiB) Downloaded 182 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

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

#102 Post by musher0 »

ASD wrote:(...) v 0.9.5 displays an error and does not install here.(...)
Hello ASD,

Please provide us with the usual info provided in such cases about your
version of Puppy and your hardware (including monitor specs) so you can
help us help you. Also a screen shot or description of the error you
encountered would be required.

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

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

#103 Post by musher0 »

ASD wrote:Indubitably this will be seen as yet another petty comment, (...)

So that MochiMoppel and/or others may form an opinion of the previous
two versions (with particular regard to ROX Speed Dials) those withdrawn
attachments are reinstated below.
ASD?

What game are you playing at here ?

Please provide proof that you are representing MochiMoppei in any shape
or form? In any case, I just PM'd him about your behavior. If you are just
a troll, we'll know.

You can throw suspicion around all you want, what we need is facts. I
trust that MochiMoppei will have the objective judgment to recognize them.

If you suspect that I have tampered with his code, stop throwing mud
around, do the responsible thing: do a diff on two columns of Mochi's file
I have bundled, comparing it with MochiMoppei's older original available in
his thread. Then publish it here. I have nothing to fear from such a
comparison, because I have not tampered with Mochi's file.

Of course, if you don't do a proper diff of those files and/or you do not
tell the truth, your innuendos will come back to haunt your own reputation.

~~~~~~~~~~
In the meantime... : please do hurry, yes, hurry, hurry, collect any and
all versions of this MRUF/MRUD script of mine prior to v. 0.9.4 in case I
erase them, because I started bundling MochiMoppei's older ROX-Groups
script with this MRUF/MRUD one quite some time before you joined this
discussion. Oh yeah, a really long time ago...

~~~~~~~~~~
BTW... This is completely unrelated, but you wouldn't happen to have a
goat, would you?

~~~~~~~~~~

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

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

#104 Post by musher0 »

ASD?

Your acronym means: Autistic Syndrome Disorder

Judging from your reactions here and on other threads:
you are an autistic person, yes?

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

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

#105 Post by musher0 »

Hi folks.

Guess what's new?! :D

Enjoy!
Attachments
MRUF-lst-0.9.52_Fonts_2016-09-18.jpg
(73.92 KiB) Downloaded 162 times
MRUF-lst-0.9.5.2.pet
(123.49 KiB) Downloaded 203 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

ASD

#106 Post by ASD »

To musher0, M walsh, bigpup, P Dogfellow, RSH, peebee et al,

Please try v 0.9.5.2 (or v 0.9.5.1) on tahr-64-6.0.5 (where they ruined my respective save files) or wherever and kindly report here on your installation success or failure(s).

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

#107 Post by musher0 »

Hello ASD.

You may say whatever you like. But without evidence, your statement
has no value. If true, it only proves that you do not take backing up your
Puppies seriously. If false, everyone can draw conclusions about what
bearing false witness means.

Most of all it means that you do not know what testing a script in
development means.

MochiMoppei has answered me and he does not know you.
MochiMoppel wrote:
musher0 wrote:Is he acting on your behalf at all, or is he just a troll?
I sometimes see his posts, but I don't know him. I thought he were French.
~~~~~~~~~~
@all:

Any serious tester please get in touch with me by PM. I would like to
continue developing this menu script, but only with honest Puppy-ists
presenting serious and at least minimally documented reports. I have
found a couple of sites where true collaboration and exchange on
projects such as this one are possible.

Thanks in advance and thanks for your understanding.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

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

#108 Post by musher0 »

Before this gets out of hand: this is a 32-bit package. For methodological
reasons, a 64-bit version will be considered only when the development of
this 32-bit version has been finalized.
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

#109 Post by LazY Puppy »

ASD wrote:To musher0, M walsh, bigpup, P Dogfellow, RSH, peebee et al,

Please try v 0.9.5.2 (or v 0.9.5.1) on tahr-64-6.0.5 (where they ruined my respective save files) or wherever and kindly report here on your installation success or failure(s).
I thought I would leave this alone until the final version would be available.

The machine I'm currently on doesn't have tahr64 605 installed, but tahr64 604 - which shouldn't make a difference at all on the mruf installation. I tried version 0.9.5.2 of mruf.

Here's the results:

- it installs fine
- though it took appr. one minute to appear on the screen at first call
- later calls it appears quite fast on the screen

Since I don't use save files/folders in general, I could not test using such save options.

Colors?

Still ugly! :wink: :lol:

Screenshot attached.

Edit:

I found the colored lines a bit annoying.

@musher0

Doesn't aemenu or aemenu-pango provide true separators for its menus?
Attachments
Screenshot-2016-09-18-14-21-06.jpg
(83.89 KiB) Downloaded 318 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:

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

#110 Post by musher0 »

LazY Puppy wrote:
ASD wrote:To musher0, M walsh, bigpup, P Dogfellow, RSH, peebee et al,

Please try v 0.9.5.2 (or v 0.9.5.1) on tahr-64-6.0.5 (where they ruined my respective save files) or wherever and kindly report here on your installation success or failure(s).
I thought I would leave this alone until the final version would be available.

The machine I'm currently on doesn't have tahr64 605 installed, but tahr64 604 - which shouldn't make a difference at all on the mruf installation. I tried version 0.9.5.2 of mruf.

Here's the results:

- it installs fine
- though it took appr. one minute to appear on the screen at first call
- later calls it appears quite fast on the screen

Since I don't use save files/folders in general, I could not test using such save options.

Colors?

Still ugly! :wink: :lol:

Screenshot attached.

Edit:

I found the colored lines a bit annoying.

@musher0

Doesn't aemenu or aemenu-pango provide true separators for its menus?
Hello Lazy Puppy.

Many thanks for testing.
Glad to see you have the menu up, even if ugly! ;)

I too found that version 0.9.5.2 took longer than the previous one on
initial load. My hunch is it's because I added the fonts sub-menu. The
script has to read to the list of fonts in the TTF directory before coming on
line. If you have many fonts there, it takes longer.

Also, in my DefaultMenuPlus script (on vovchik's "hacked aemenu" thread,
I have separate lists 1) of colors for titles and 2) of colors for separators,
and it is very fast, even at first launch. Granted, that one only processes
the default* files in /usr/local/bin, but still.

< time > tests on version 0.9.2 (it doesn't have the fonts sub-menu)
indicated a process time of +/- 6 seconds on first launch to get to the
menu display line (the last line of the script).

As to your last question: no, neither the original aemenu nor vovchik's
aemenu-pango provide separators. Me I like being able to create my own
separators! ;)

Those thick separators come from the pango. I will ask vovchik if the
pango has thinner, more elegant separators. A while back, he mentioned
something about a "pango collection" of special characters.

I must say these new pango mark-ups are not easy to master. I think the
secret for beauty in such menus is sobriety: not to put in too much effects.

Again, many thanks for your test and report. Very helpful.

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

Post Reply