A MRU[F/D] script to help you recall the apps you ran

Filemanagers, partitioning tools, etc.
Message
Author
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

A MRU[F/D] script to help you recall the apps you ran

#1 Post by musher0 »

Please Note. -- The latest version is referenced among the last of
my posts on this thread.

~~~~~~~~~~~
Hello all.

It starts here:
http://murga-linux.com/puppy/viewtopic. ... ost#921816

I left it in that thread because I believe in continuity. Although theoretically
it should go here, in this section, according to some.

Keeping it in that thread may not be ideal, but there you have the
advantage of seeing the evolution of the script and how forum members
responded to the idea. And obviously I couldn't import their comments on
this thread.

Sorry if this decision offends anyone. Try to enjoy! I hope that you will find
that new, designed-for-Puppy, MRUF/MRUD script useful.

BFN
Last edited by musher0 on Thu 03 Aug 2017, 04:02, edited 4 times in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#2 Post by bigpup »

Just seems posting the pet here would be a good idea :idea:

If the pet package changes, you can easily update the first post with the new version.

Someone accesses this topic and the pet package is in the first posting. Easy to find and get the latest version.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

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

#3 Post by musher0 »

bigpup wrote:Just seems posting the pet here would be a good idea :idea:

If the pet package changes, you can easily update the first post with the new version.

Someone accesses this topic and the pet package is in the first posting. Easy to find and get the latest version.
Hi!

Variant: ;)
Someone accesses the other topic and the pet package is in the last
posting. Easy to find and get the latest version.
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

#4 Post by musher0 »

Now at version 0.9. Enjoy!
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#5 Post by disciple »

When you make a post like this could you please tell people what acronyms like MRUF/MRUD mean?
Thanks.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

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

#6 Post by musher0 »

disciple wrote:When you make a post like this could you please tell people what acronyms like MRUF/MRUD mean?
Thanks.
Hello disciple.

MRUD=Most Recently Used Directories, according to The Free Dictionary.
"Most Recently Used Documents", by extension.

The expression Most Recently Used Files or "MRUF" for short, is frequently
heard in the WhineDose world, but not unheard of in the Linux world.

JHTH. BFN.
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

#7 Post by musher0 »

Hello all.

Here is the newest version as of this writing.

Enjoy!
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

#8 Post by musher0 »

Hello all.

Here is the newest version as of this writing.

Enjoy!
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

#9 Post by musher0 »

Hello again, all.

The newest version of the MRUF/MRUD script is now here.

Enjoy!
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

#10 Post by musher0 »

Hello all.

A beta version here:
http://murga-linux.com/puppy/viewtopic. ... ost#923294

Please test without mercy!!! :twisted:

Thanks. TWYL.
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

#11 Post by musher0 »

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

#12 Post by musher0 »

Hello all.

The final version is here.

~~~~~~~~
Edit, June 29 2017:
Not quite so final. Please see below.

~~~~~~~~

Enjoy! :)
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

#13 Post by musher0 »

Hello, all.

After quite a few months, please find below the latest version my MRUF-lst
menu, version 0.9.6. This is for 32-bit Puppies.

This version has the major change of using

Code: Select all

LC_ALL=C
when menu construction starts to speed things up. This change brings down
menu construction time to +/- 5.5 seconds while it was over 30 seconds.

It would be 3,77 seconds were it not for the splash info that has to stay on
screen for 5 seconds to be read properly. Human perception limits things.

LC_ALL is restored before the menu is displayed, so there is no
interference with language settings for the menu AFAIK.

Before using it as a menu, may I suggest that you open a console in
/usr/local/bin and type

Code: Select all

MRUF-lst h
and read the info presented.

The design has not changed so I'm not including any captures.

Constructive feedback welcome.

BFN.
Attachments
MRUF-lst-0.9.6.pet
(107.27 KiB) Downloaded 215 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

#14 Post by musher0 »

Hello again, people!

Another one!
Version 0.9.7 of this history menu now incorporates the listing of

-- the last 10 packages that you installed through PPM
AND
-- the last 10 files that you saved in your "My-Documents" directory.

Also, the opening splash screen now uses vovchik's script for bcm
instead of yaf-splash.

Make no mistake, once you get the knack of it, this menu is a
tremendous time saver!


I hope you like it.

BFN.
Attachments
MRUF-lst-0.9.7.pet
(107.48 KiB) Downloaded 226 times
MRUF-en-splash.jpg
The new splash screen that pops up when the menu is updated.
(96.8 KiB) Downloaded 271 times
MRUF-10-packages.jpg
These files open in less.
(46.82 KiB) Downloaded 265 times
MRUF-10-MyDocs.jpg
These files open in their usual app through rox according to their type.
(53.39 KiB) Downloaded 275 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

slavvo67
Posts: 1610
Joined: Sat 13 Oct 2012, 02:07
Location: The other Mr. 305

#15 Post by slavvo67 »

I haven't tested but this looks very nicely done.

I have something similar in terminal but yours is much nicer.

Thanks Musher0

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

#16 Post by musher0 »

My pleasure, slavvo67.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

slavvo67
Posts: 1610
Joined: Sat 13 Oct 2012, 02:07
Location: The other Mr. 305

#17 Post by slavvo67 »

Looks like it's not working on 64bit RU Xerus64. It's 32bit only, I'm guessing?

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

#18 Post by musher0 »

slavvo67 wrote:Looks like it's not working on 64bit RU Xerus64. It's 32bit only, I'm guessing?
Yep.

It says so, previous page, 3rd post from bottom, 1st paragraph, here ! :)

vovchik provided the support executables for a 64-bit version last Fall, but a
test on dryfalls' 64-bit "Just Lighthouse" was iffy. I haven't touched that
version since then.

Sorry...
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

#19 Post by musher0 »

Hello again.

As a reminder, here are the history files this "Recents" script searches
and lists: (Edited July 6 2017)

General:
the recently-used.xbel file at /root/.local/share (with related directories)

Browsers, if installed:
mozilla browser with internal sqlite db (FF, SM, etc.)
links2
Chromium
Vivaldi

Mainstream Apps:
gmplayer (if installed)
geany (with related directories)
mtpaint (with related directories)

DB:
separate sqlitemanager program (if installed)

Personal:
last 10 documents you saved in /root/my-documents

Your Puppy:
last 10 packages you installed with petget

System logs:
/tmp/xerrs.log
/root/.bash-history
/root/.lesshst (history file of the real less from Greenwood Software)
/var/log/Xorg?.log

I hope this clarifies things for those who asked.

~~~~~~~~
Also, if you feel it would be useful to add to this "Recents" list others apps
that have a history file
, please let me know. I'll try to oblige. TIA.
~~~~~~~~

BFN
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

#20 Post by musher0 »

Hello all.

Here is MRUF-lst version 0.9.7.5

This version
-- uses a new horizontal design. It's easier for the eye to follow lines than
to follow columns, IMO.

-- adds a separate sub-menu for the bash scripts in the xbel section. (For
SAFETY, scripts load in geany. You can run them from there is you wish.)

-- you can move the menu on screen from within the menu if you click
on any thin line

-- internally, added extra variables to enable the above.

-- new desktop file and new wrapper script to enable the following feature:

-- the script now starts with the GTK2 theme of your choice -- independent
of your main global GTK2 theme -- when defined in a config file such as
/root/.aewm/ae/aepanel-custom.gtkrc.

The config file that's provided includes some commented-out GTK2 theme
examples. If you don't have them or you don't like them, there are
thousands of GTK2 themes to choose from at:
https://www.gnome-look.org/browse/cat/136/ord/latest

Enjoy.
Attachments
MRUF-lst-0.9.7.5.pet
(112.18 KiB) Downloaded 168 times
MRUF-0975-EN-from-icon.jpg
Showing the icon, the new elongated design with own GTK2 theme, and the new scripts section.
(62.73 KiB) Downloaded 269 times
MRUF-0975-with-global-GTK2-theme.jpg
Comparison: running MRUF-lst using the global GTK2 theme. You still have the selection of MRUF-menu themes if you wish, at Param.->Dress-up.
(66.01 KiB) Downloaded 299 times
MRUF-0975-move-anywhere.jpg
If you click on any thin line, you can move this menu on your screen relative to the cursor position.
(60.84 KiB) Downloaded 297 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Post Reply