Desktop Icons Menu (DIM), v. 0.2

Window managers, icon programs, widgets, etc.
Post Reply
Message
Author
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

Desktop Icons Menu (DIM), v. 0.2

#1 Post by musher0 »

Hello all.

Please find attached a bash script that:

-- puts all your desktop icons in a menu

-- wipes away all your desktop icons, save one

-- restores the original desktop icons as needed

-- is called with the Win-P hot key or by click on the icon

-- presents you with a choice of six themes (before-last line of the script;
---- themes are included)

-- discriminates between default apps, utilities, and directories and partitions.

-- does this in +/- 0,7 seconds (creation); +/- 0,017 seconds (regular display).

The difference with current Puppy options for desktop icons should be obvious:
-- current options for this setting are NOT "on-the-fly", this one is.

In current Puppy use, you select
---- few icons, all icons or no icons on your desktop, AND then
---- you have to live with it until... you dig down a number of levels into your menu
again, AND then the utility shows up AND then you have to choose AND then you click
on your option.

In other words, a chore. Whereas this script is snappy: 0.017 sec. for regular display.

Please see attached screen captures.

This is the 2nd edition. The 1st one was released only on the French side.
Sincere thanks to the lab rats there! :)

You like, you use and you do not tell me. (Well, maybe post ONE word of thanks...)

You do not like? You give me a mouthful below about what's wrong with it on your box. ;)
And I try to fix it. Agreed?

This being a bash script, it does not matter if your Pup is 32- or 64-bits. However, the
support executables included in this pet archive are 32-bits. Please see below for the
64-bit version.

Enjoy!
Attachments
Desktop_Icons-Menu-0.2.pet
(76.61 KiB) Downloaded 259 times
DIM-3-EN.jpg
(111.71 KiB) Downloaded 471 times
DIM-2-EN.jpg
(140.77 KiB) Downloaded 468 times
DIM-1-EN.jpg
Options section. Click "Repopulate" to get your original desktop back.
(68.04 KiB) Downloaded 470 times
Last edited by musher0 on Sun 04 Feb 2018, 01:20, edited 2 times in total.
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

#2 Post by musher0 »

Same as above, for 64-bit Pups.
Attachments
Desktop_Icons-Menu-0.2_64.pet
(93.04 KiB) Downloaded 240 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

#3 Post by musher0 »

Hello all.

I spotted an oversight. My apologies. I will correct it in the next version. In the meantime.
please open a terminal and type the following:

Code: Select all

cd /usr/local/Desktop_Icons-Menu
replaceit --input=icones-bureau.sh "default Apps" "$Default" "{menu"
chmod +x icones-bureau.sh
for both 32- and 64-bit versions.

Thanks.

If you installed the DIM archive, the replaceit utility is already in place to do this job.

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

#4 Post by musher0 »

Hello again.

For the user's convenience, here is a little theme choosing utility for the DIM script.

How-to:
-- Download in /usr/local/Desktop_Icons-Menu

-- unzip /usr/local/Desktop_Icons-Menu/DIM_theme-choice.zip with command:

Code: Select all

unzip /usr/local/Desktop_Icons-Menu/DIM_theme-choice.zip
-- make file < DIM_theme-choice.sh > executable with:

Code: Select all

chmod +x /usr/local/Desktop_Icons-Menu/DIM_theme-choice.sh
-- move the link < DIM_theme-choice > to /usr bin, this way:

Code: Select all

mv /usr/local/Desktop_Icons-Menu/DIM_theme-choice /usr/bin
Sorry for the bother. This companion script will be included in the next release -- if there
is enough of a demand for said "next release". :?

Some error checking is included.

To get out of this script at the prompt, type Ctrl-Z and NOT the usual Ctrl-C.
(Not my doing: bash's < read > internal utility wants it this way.)

Upon a successful change, the Desktop Icons Menu script is executed displaying the
new theme.

A screen capture is attached.

Any question, please ask.

BFN.
Attachments
capture17442.jpg
(45.29 KiB) Downloaded 434 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Post Reply