Muppy-Filer (August, 31, 2008)

Under development: PCMCIA, wireless, etc.
Message
Author
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

Muppy-Filer (August, 31, 2008)

#1 Post by MU »

quick installation:
http://www.murga-linux.com/puppy/viewto ... h&id=13139

includes:
Gtkbasic003, Puppybasic 2.6, Muppy-Filer, Muppyquickmount.
(1 MB)
A description of quickmount is here:
http://www.murga-linux.com/puppy/viewtopic.php?t=32107

---------------------------
Screenshot:

Image

http://noforum.de/pics/GTB-Filer-0.1.jpg


There are several good filemanagers for Linux, like TUX-Commander, Emelfm, or XFileExplorer.

I however wanted to have a custom version, that makes it easier for me, to enhance it as I like to.

This is the first release, so not tested over a longer period.
It might have bugs, and has not yet all functions I want.

It offers:
- Fast navigation, as it knows only 4 pictures, and offers no custom sorting:
File
File (symlink)
Folder
Folder (Symlink)

So a movie has the same icon as a PDF.

- bookmarks
- unzip: tar.gz, tgz, tar.bz2, zip
- zip: tgz
- remembers window size/position, and last opened folders.
- edit button (runs leafpad with selected file)
- view pic button (runs gqview with selected file)
- doubleclick: tries to execute a file, if this does not work, it opens it with Rox, so the file is opened via MIME-Type.

The zip and copy buttons open a rxvt and run the required shell commands, so these actions are performed very fast.
As they run on a "system-level", they should run optimal.
With some filemanagers I encounter problems especially when I copy files.

Things that still miss: buttons for mkdir, rename, file permissions.
You can select only 1 file/folder.
Enhanced drag/drop (you currently just can drag to other applications).
Check for enough free diskspace for copy/unzip.

Requires GtkBasic 003, get the correct version here:
http://www.murga-linux.com/puppy/viewtopic.php?t=23811

You also need Puppybasic 2.6:
http://dotpups.de/dotpups/Programming/P ... ic-2.6.pet

Feedback / wishes /suggestions are welcome.

Download (25 kb, newest version, now renamed to "Muppy-Filer"):
http://dotpups.de/puppy3/dotpups/Progra ... er-0.2.pet

Mark
Last edited by MU on Thu 26 Nov 2009, 19:14, edited 7 times in total.
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#2 Post by MU »

updated the pet, there was a bug displaying "/".
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#3 Post by MU »

updated the pet, enhanced the speed.

The lists now are not clickable while a folder is loaded, that internally speeds up things.
You will notice this with huge folders like /usr/bin or /usr/lib.

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#4 Post by MU »

cleaned up the code slightly again.
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#5 Post by MU »

no new version, just a screenshot:

Image

full size:

http://noforum.de/pics/GTB-Filer-0.2.jpg

You now have small buttons under each pane for quick-actions.
"mv" will move/rename a file, you modify the name directly in the entry beside the button.

Selection of multiple files/folders is supported now.
It took two days, to modify the clists in Gtkbasic for this :roll:

As you can see by the "floating" folder-symbol in the second pane, also drag&drop will be supported.
This part is not finished yet.
The whole filer currently uses just 1500 lines of Basic Code, most are reusable functions.
So writing small utilities with drag&drop support will become pretty easy.

You easily could write commander-like interfaces for conversion utilies, with just some dozen lines of code :P

Give me some more days to finish drag&drop and add full functionality to all buttons.

Then I'll upload this version.

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#6 Post by MU »

Muppy-Filer 0.2

Screenshot (scaled down):

Image


Full size:

http://noforum.de/files/wxbasic/gtkbasi ... er-0.2.jpg


The Filemanager is full functional now.
Some things will be enhanced in the next weeks, but it already is a very good filemanager, I think.

Features:

-- Drag'n'drop
-Drag files on your desktop.
-Drop a URL from your webbrowser, to download it with wget
-Select several files in one pane, and drag them to the other, to copy them.

-- Archive support
- create .tgz archives
- extract: .pup .pet .tgz .tar.gz .tar.bz2 .tbz .zip

-- Quickbuttons
- move copy zip mkdir in the same folder with the small buttons under each pane

-- type or copy/paste a path in the adress entry.

-- progress display: not percentage-bars, but a list of all processed files. Realized via fifos.
In future, I'd like to add a percentagebar for large files (like isos).
And if possible, replace the fifos with a thread based solution. But this requires a deeper operation in the interpreter.

-- improved speed: the directories now are processed by a selfwritten C function.
This allows to use simpler Basic code to analyze it. It also displays broken links now different.
This could be enhanced even more by writing more in C, but it is ok already, if you don't have folders with several 1000 files.
My /usr/lib/ has 3000 files, it needs 50 seconds to load on a P700. This needs enhancement.

Download: (25 kb)
http://dotpups.de/puppy3/dotpups/Progra ... er-0.2.pet

Requires:
GtkBasic 003e + PuppyBasic 2.6, see:
http://www.murga-linux.com/puppy/viewtopic.php?t=23811

Mark
Last edited by MU on Sun 31 Aug 2008, 13:09, edited 1 time in total.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#7 Post by Lobster »

Works OK on Puppy 4 :)

In Puppy 4 we seem to have lost any filer apart from ROX (we used to have one) I never used it - prefer to open two ROX windows

Initial Suggestions
  • - use of right mouse button
    - add dir2pet command (after mkdir)
    - more meaningful name for permission change (at bottom of file select)
    - 'Open with' includes presets (from right click)
    eg. Mtpaint, Geany, leafpad,
    - run GTk basic program
    - change 'show hidden' to eye icon - there is a tiny one in mini-icons
- helpfile - text + leafpad would do

Hope that is of use
It already seems intuitive
and hopefully others will test and suggest too :)

Nice!
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#8 Post by MU »

Thanks Lob,
your suggestions cover also my wishes.
I will add them, when I have time again.
Monday to wednesday I am in bavaria, visiting a girlfriend.
I also must go to my company again somewhen in September, and soon will release Muppy 0084 final.

One issue I also want to focus on with the filer, is the ability, to add own commands.
Not a simple "open with", but a more enhanced one as in Multiconvert:
http://www.murga-linux.com/puppy/viewtopic.php?t=3755

As the Filer is written in Basic, this becomes pretty easy.
I think this will become the big "plus" of this filer :)

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#9 Post by trapster »

Very nice MU !!!!

Am using it with pupp300 retro.
I can resize height but not width of window.
When it opens, it is too wide.

Even when I use the maximize button it expands off the edge of the screen.
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#10 Post by MU »

thanks trapster :)

I updated the filer:

- fixed crash, when it started with a non-existent folder, e.g. when it was unmounted.

- the size now can be reduced to 660x360 pixel. Is this ok?

- the "Open with" list now contains entries for seamonkey, mtpaint and gxine, if it does not exist yet.

Please also update Gtkbasic 003e, as it contained a bug I just fixed.

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#11 Post by trapster »

Much better!!

Thank you.
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#12 Post by Lobster »

One issue I also want to focus on with the filer, is the ability, to add own commands.
Ah - that would be very welcome . . .
I really thought this program would be an ideal 'launcher platform'
Also I know you are familiar with konqueror, which is a browser / file manager combo that might offer some ideas . . .

One thing I am confused by
GTKBasic and Puppybasic seem to be separate
I thought PuppyBasic was a cut down or modified GTKBasic?
http://www.puppylinux.org/wiki/developm ... puppybasic

Incorporating PuppyBasic would enable some programs you have written
and also an interpreted language is quicker to implement than the compiled Freebasic

I am also glad to hear GTKBasic support will be in EZpup
http://tmxxine.com/wik/wikka.php?wakka=EZpup

I am also pleased that HairyWill is using GTKBasic for PSIP
Your quick response to HairyWill need for Clist support
show how direct action is possible to implement
quicker than proprietary systems becomes aware of the situation . . .
A great example :)

As we move towards a multi-developer
Puppy, I hope to find PuppyBasic, developed, supported and integral to Puppy.

Freebasic (a compiled Basic can still be used)
as can C and C++

Have a great time in Bavaria :)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#13 Post by MU »

thanks :)
PuppyBasic has a function library, that most of my GtkBasic programs use.
It is written in Basic (basefunctions.inc, with commands like explode() to seperate a string in an array).

I do not bundle both, because Puppybasic shall keep the role of a small, extremely fast interpreter, with low memory requirements.
Gtkbasic needs much more memory, because it runs internally 2 programs at the same time (threaded): PuppyBasic and the Gtk-mainloop.
They exchange variables by a shared memory segment.

The Gtk-mainloop uses a lot of memory (compared to Puppybasic).
So I would not recommend to use Gtkbasic like you use other commands from shellscripts. For this task, Puppybasic remains the first choice.


Bavaria is great, I go to the north there, to Bamberg.
http://en.wikipedia.org/wiki/Bamberg

It is one of the most idyllic towns I know, and it is even better, to knw someone there :P

Have a nice week!
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
Eyes-Only
Posts: 1043
Joined: Thu 10 Aug 2006, 06:32
Location: La Confederation Abenaquaise

#14 Post by Eyes-Only »

Hi Mark!

I hope you had a really great time there in Bavaria! And most of all---I hope that you were able to forget about coding, Linux, Puppy, and even US---at least for a little while. ;) Bavaria! Such a beautiful place! Long ago I used to have penpals from that area. Long ago... another lifetime away... -sigh-

Which reminds me: Several years ago our small city here once had a Bavarian pastry shop! Back then I could walk, even ride a bicycle!---and I would save my few pennies here and there and treat my children to the luscious pastries. These people Mark! They knew their pastries and sweets! :) (My favourites were an item they called "Pig's ears" in English. Speaking French I could never say the German/Bavarian name. LOL!)

Okie! Now all the memories aside: I downloaded this Muppy-Filer and on my Puppy-4.0 it looks great! (Black Aurora theme with Glass-red accents. NICE!) I also loaded the gtk3basic you mentioned above (the updated as you told Trapper) along with the puppybasic 2.6.

Here is my problem: Shouldn't I be able to double-click on the directories in the panes to enter them? Just like a single-click in XFE, or Thunar, or Nautilus, etc.? I have tried a single and double-click and they refuse to open. Instead, I have to type in the name of the directory at the top---very slow for me to do (it takes 30+ mins to do this post)---in order to open a directory.

So am I doing something wrong? Or is something wrong on my end? My Puppy-4.0 is a full hard drive install with tonnes of software. Maybe a conflict somewhere?

And so for me the only way to navigate is by typing. No mouse-clicks at all.

Thanks for any light you can share.

Amicalement/Mazzel,

jimmi
"L'Peau-Rouge"
*~*~*~*~*~*
Proud user of LXpup and 3-Headed Dog. 8)
*~*~*~*~*~*

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#15 Post by MU »

Here is my problem: Shouldn't I be able to double-click on the directories in the panes to enter them?
Yes, doubleclick should work.
I will have to check that.
Which windowmanager do you use?
I had to add modified eventhandlers for doubleclicks, so there might be issues with them.

----------
The pigs ears are called Schweineohren (it is the german translation with the same meaning).
http://www.baeckerei-lins.de/mediac/400 ... eohren.jpg

They taste sweet, a crunchy cake with sugar and chocolate :)
Bavaria was great, thanks.
Some impessions:
http://dotpups.de/pics/Bamberg-Wuerzburg-2008September/

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#16 Post by vovchik »

Dear Mark and Eyes-Only,

Just to add my two "kopecks" to this nice discussion, I have lived in Vienna for decades and, while I have probably not eaten Schweineohren - since I don't eat sweets - it also sounds pretty Viennese and brings back memories of New Year's celebrations in Vienna. I would venture to say that this delicacy would also be eaten here...and in every German-speaking region where people say "mir san" for "wir sind". Na sicher...net?

With kind regards,
vovchik

PS. The filer works fine with IceWM with double-clicks in Puppy 3.02 with Mark's newest GTK-Basic.

User avatar
Eyes-Only
Posts: 1043
Joined: Thu 10 Aug 2006, 06:32
Location: La Confederation Abenaquaise

#17 Post by Eyes-Only »

OH MARK! How wonderful those photos were!!! Thank you my dear friend and "broder" for sharing them and your trip with me! Here I cannot travel (and you know why :( ), and yet... you have permitted me the chance to see another part of the world through wonderful photos! :D This reminds me of years ago when other "friends" would do likewise. Where are they now? :?

One thing though? If the islands around the castle lake are "baroque"?---then why don't they "fix" them? LOL! :lol: Okie, okie! Bad play on word sounds... :oops: Nobody shoot me, huh?

And here you have a shot of "sweetbreads"---but no shots of the "sweet girl" you went to visit? Hmm... :P

Now down to business: You asked me: "What window manager do you use in Puppy?" You would have been better Mark---and YOU of all people should know this! :P To have asked me, "What do you NOT use?" In my version 4.00 I have yet to install KDE. Oh yeah... and I do not have e17. But I have everything else and someday will get around to having the rest of Gnome 2.20 put in. ;)

So no, the double-click did not work for me in neither IceWM, and this morning only worked ONCE when I booted into Openbox/LXpanel. It isn't even passing any errors to the "xerrs.log" found in "/tmp" where many of the other errors are known to go. So I can't give you a read out from that file. Nor is it passing anything to "/var/logs" (as those only deal with bootup anyway). And there seems to be nothing in the "Muppy-Filer" directory under /root but .conf files---nothing indicative of an err.log.

So I don't know what to tell you mein broder?

I do know that I was having some trouble back here a bit ago with my Openbox/LXpanel where it was crashing a lot which I felt may have been due to the fact that I have a LOT of software installed into Puppy-4.0---more than I usually do on my hard drive installs (around 3 or 4 gigs) so I was thinking "software conflicts". I re-installed my Openbox/LXpanel this morning and that did solve the problem.

Eh bien, comme on dit: "Rien est parfait!" Et comme j'ai ajoute: "...sauf moi!" LOL! ;)

Thanks again for the photos Mark! My grandchildren will also enjoy seeing these as well. :)

Amicalement/Mazzel!

jimmi
"L'Peau-Rouge"
*~*~*~*~*~*
Proud user of LXpup and 3-Headed Dog. 8)
*~*~*~*~*~*

User avatar
Eyes-Only
Posts: 1043
Joined: Thu 10 Aug 2006, 06:32
Location: La Confederation Abenaquaise

#18 Post by Eyes-Only »

Oh! Vovchik! Sorry! My head would be forgotten if not attached! You know something? "Pig's Ears" would be an excellent reason to begin eating sweets. ;) IMHO that is anyway. You could ALWAYS make the exception for them anyway. LOL! They are Divine!

I really miss our little Bavarian patisserie! :cry:

Amicalement/Dasvadanyah (<---Spelling it how it sounds, sorry!)

Eyes-Only
"L'Peau-Rouge"
*~*~*~*~*~*
Proud user of LXpup and 3-Headed Dog. 8)
*~*~*~*~*~*

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#19 Post by vovchik »

Dear Eyes-Only,

You have been a real "good guy" on the forum and I very much appreciate that. Merci! I compiled IceWM myself and it does accept the MU-file keystrokes without xerrors. Nothing in /tmp/xerrs.log, I just checked. What I would like to see in Mu-Filer is a function-key link to the bottom buttons, just like krusader, which I like. I guess I could do that myself if I get off my derrier. And MU would do it better, I am certain.

Amicalement,
vovchik

PS. The assortment of great pastries was overwhelming when I arrived here in 1975. I just had to say "NO" eventually, but the appreciation did not diminish.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#20 Post by MU »

I updated the filer for vovchik, now he can use the functionkeys :)

You can edit the keys in
/usr/local/Muppy-Filer/resource/buttons1events.inc

I hope the keycodes are identical on every system.

Code: Select all

	if key = "65471" then
			buttonedit()
	end if
This should open the current file in leafpad, if "F2" is pressed.

I also included a small bugfix, when you copy files, the progresslist was not updated in a clean way.

---------------
Jimmi,

I live in a house with an elevator.
If you can manage somehow, to take the plain to germany, you are welcome.
I then would arrange, that we pick you up from the airport.
You could stay in my appartment, I have a free room.
Karlsruhe has the best cablecar system in germany, suited for wheelchairs. So we could visit the city and wider area around it.

So it would be possible for you, to pass 2 weeks here.
Let me know via PM, if you are interested.
I also worked with pysically injured people, so I know the details of what for requirements you might need.

:P
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

Post Reply