MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Kindle Developer's Corner (https://www.mobileread.com/forums/forumdisplay.php?f=150)
-   -   Possible File Browser for Kindle (https://www.mobileread.com/forums/showthread.php?t=161833)

sean.fosterbrown 12-21-2011 12:26 AM

Possible File Browser for Kindle
 
Hello everyone. I was using CoolReader today,and the open file interface is very much like a file browser. I really would like a file browser for the Kindle; for no other reason but to go through the various files on my Kindle. Could one of the people who understand the Kindle fix this up for us? Tnx :2thumbsup:

dsmid 12-21-2011 09:23 AM

I use Matan's terminal together with Midnight Commander for that purpose.

dasmoover 12-21-2011 02:31 PM

/opt/var/local/waf/browser/js/fileManager.js

Take a look at that.

sean.fosterbrown 12-21-2011 02:46 PM

Quote:

Originally Posted by dsmid (Post 1888718)
I use Matan's terminal together with Midnight Commander for that purpose.

Good idea. However, for some inexplicable reason, when I installed it and pressed the required keys, nothing happened. Do I have to use the web browser or something? Forgive my nubness.

thomass 12-21-2011 06:24 PM

Quote:

Originally Posted by sean.fosterbrown (Post 1889319)
Good idea. However, for some inexplicable reason, when I installed it and pressed the required keys, nothing happened. Do I have to use the web browser or something? Forgive my nubness.

you should be quick on pressing key sequences. (also don't forget to press [shift shift space] to register a new key sequence)

inameiname 12-21-2011 07:28 PM

Quote:

Originally Posted by dsmid (Post 1888718)
I use Matan's terminal together with Midnight Commander for that purpose.

So using Midnight Commander (by centaurian) works with the latest terminal from Matan, myts-6? I noticed some myts files in the Midnight Commander's '/mnt/us/local/terminal/' directory, and just want to make sure the latest myts, which is installed in '/mnt/us/myts/' works just fine. Does that mean I ignore the older terminal folder, '/mnt/us/local/terminal/', and instead use '/mnt/us/myts/''s terminal, and then once I opne it as I normally would, open midnight commander, possibly via '/mnt/us/local/mc/bin/mc', since it looks as though that is the main 'exe' of the program?

And what might a good shortcut for an '.ini' be to get it running?


Also, to dasmoover, what should I look at here?:

/opt/var/local/waf/browser/js/fileManager.js

sean.fosterbrown 12-21-2011 08:56 PM

Post Deleted

sean.fosterbrown 12-21-2011 08:56 PM

Quote:

Originally Posted by thomass (Post 1889650)
you should be quick on pressing key sequences. (also don't forget to press [shift shift space] to register a new key sequence)

...I am on the verge of selling all my electronics and joining an anti-tech cult.:wall: Woould someone please tell me what I am doing wrong? I:
1. Downloaded myts-6.zip.
2. Plugged my Kindle into my computer
3. Unzipped the file to my Kindle's root folder with 7z.
4. Pressed shift shift space, saw the success message.
5. Pressed shift t t as quickly as possible.
6. NOTHING HAPPENS. :veryangry

Wat Do?

thomass 12-21-2011 09:07 PM

I've just tried and it works well

are you sure that:
myts.l.ini goes to your launchpad folder
myts folder goes to Kindle's usb root?

sean.fosterbrown 12-21-2011 10:18 PM

:thanks: OK I found my problem-I forgot to install the launchpad INI file. Yay!

inameiname 12-21-2011 11:17 PM

Quote:

Originally Posted by sean.fosterbrown (Post 1889835)
...I am on the verge of selling all my electronics and joining an anti-tech cult.:wall: Woould someone please tell me what I am doing wrong? I:
1. Downloaded myts-6.zip.
2. Plugged my Kindle into my computer
3. Unzipped the file to my Kindle's root folder with 7z.
4. Pressed shift shift space, saw the success message.
5. Pressed shift t t as quickly as possible.
6. NOTHING HAPPENS. :veryangry

Wat Do?

Quote:

Originally Posted by sean.fosterbrown (Post 1889935)
:thanks: OK I found my problem-I forgot to install the launchpad INI file. Yay!


Now, that is just the procedure to install and run myts, not midnight commander. So, once that is installed and run, which I have used several times now and works well, I can then run midnight commander and have a file explorer of sorts?

Sorry to get a bit repetitious here, I just want to get it straight as to how Midnight Commander works with the latest version of myts, and not the terminal used inside its zip file, which is included in the midnight commander folders.

UPDATE:

I got Midnight Commander to work by first opening myts-6 and then directing a command to /mnt/us/local/terminal/mc and running it that way. I even threw an alias together inside /mnt/us/myts/profile so as to make it easier. If only there was a way to open Midnight Commander directly.

inameiname 12-21-2011 11:20 PM

Quote:

Originally Posted by thomass (Post 1889845)
I've just tried and it works well

are you sure that:
myts.l.ini goes to your launchpad folder
myts folder goes to Kindle's usb root?

To get myts working, yes, that is what you need to do, extract the myts folder to Kindle's usb root, and then put a myts.ini (or whatever you call it) into the launchpad folder.

sean.fosterbrown 12-22-2011 02:23 PM

OK... I got myts running. How do I run midnight commander?

inameiname 12-22-2011 03:23 PM

1 Attachment(s)
Quote:

Originally Posted by sean.fosterbrown (Post 1891083)
OK... I got myts running. How do I run midnight commander?

This is the command I used inside myts:
Code:

cd /mnt/us/local/terminal/ && ./mc && cd /mnt/us/

If you'd like, I just threw together a 'profile' and 'about.txt' file that might come in handy for anybody using the 'myts' terminal. It includes an alias for Midnight Commander (mc) that is the same thing. Much easier to remember than that entire line of code. I'll attach them below. Just put the two files inside your '/mnt/us/myts' folder. Once copied into that folder, you will find an 'about' section that will pop up every time you run myts. I find this quite handy as a way to see the shortcuts right then and there. I even threw in some aliases that work on the Kindle.

By the way, I found there was a window that kept popping up saying there was no saving directory called '/mnt/us/local/home/.mc'. To avoid this, just make that directory inside '/mnt/us/local/' that you should already have. No biggie.

Edit:

Technically, if you don't use myts all that much, and think you would use the Midnight Commander more, uncheck the autorunning of 'ms' at the bottom of my 'profile' file. If you do that, myts will autostart running Midnight Commander. So essentially if you already have a Launchpad shortcut for myts (probably, T T), if you have done what I just said, it will get you straight into the Midnight Commander. Of course, if you do ever want to run myts terminal, all you have to do is to quit the Midnight Commander.

WS64 12-22-2011 03:56 PM

inameiname, please create this profile...
I absoluteley do not understand what to do...
How can you start a program with a "change dir" command???
I too have no success in starting MC.


All times are GMT -4. The time now is 09:54 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.