01-23-2011, 04:32 AM | #76 | |
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Quote:
You have to copy: - the 3 .png image files into <SD>/Programs/_lua/share/pixmaps - inbox-manager.lua into <SD>/Programs/_lua/scripts - INBOX-Manager.desktop into <SD>/Programs Ouch, I see, yes, I wrote something wrong, "scripts" dir is in _lua, not it _lua/share. I'll fix the error in the previous message. if it doesn't work, please run from a terminal and paste the output here: Code:
# /media/mmcblk0p1/Programs/_lua/scripts/inbox-manager.lua Regading DR1000, is SD card mount on /media/mmcblk0p1? Perhaphs you have to change some of the constants defined at the top of the file. Could you run the script from terminal, please? EDIT: I've forgotten to mention you need to create a "INBOX" folder at the root of the SD. Thanks Mackx for remember it. Iņigo Last edited by Iņigo; 01-23-2011 at 04:40 AM. |
|
01-23-2011, 04:36 AM | #77 | |
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Quote:
I'll update (again) the previous message. |
|
Advert | |
|
01-23-2011, 07:44 AM | #78 |
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Wishlist
as we are in this mood, I'll write about my wishlist for DR:
Code:
- management of book metadata: . edit title, author, publisher, added date, pages . this is not so difficult for pdf files, as poppler lib can read them. The real problem is that UDS will revert the values - tags: . custom tags: fav, mustread, work... . be able to tag a ebook (if too complex, can be an external app) . tag navigation . an entry on HOME, then an entry for each tag . this could make inbox-manager.lua hack obsolete, or maybe I could change "shortcut?" option by a "tag selection" - other ebook formats: fb2, chm... . current port of FBReader and extensions scripts already do a good job . thumbnails: icon.lua - programs . thumbnails: icon.lua . new entry in HOME - HOME: . new entries (see above): . Programs . Tags . remove other entries for make room for above items? . candidates: News, Images, Personal Documents, Help - General: . system info & process viewer/killer, accesible from ctb menu - UDS: . DR1000-like uds for DR800, or better, and open-sourced uds! . FBReader-like page bar On regard of the "system info & process viewer/killer" I think I could translate some old lua code I wrote for the iLiad and a simple hack to popupmenu and sysd... Iņigo Last edited by Iņigo; 01-23-2011 at 07:46 AM. |
01-23-2011, 09:49 AM | #79 | |
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Hi Iņigo,
Nice list, some remarks/info/questions. Quote:
I made a change to metadb so that it checks for a specific value inside of the tag-attribute. Based on that it can prevent updates to title and author. So the first time the document is opened UDS extracts any metadata and stores it into global.db. I created a new menu entry that allows changing title, author and tag. So if the extracted value are not correct, they can be manually updated and protected by adding a special keyword to the tag. (I can imagine a future version that uses a checkbox and adds the keyword.) (only available in the next update of MackxPatch :-) You also mention publisher, added date and pages, what are you planning to do with these on the DR? Marcel. |
|
01-23-2011, 10:28 AM | #80 | |
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Hi Iņigo,
Some more remark/questions. Quote:
Tag navigation is currently implemented with 'Views' on HOME. This must be done by installing a schema-file and settings some value defined in the schema. This must be prepared on a PC and installed on the DR, so this is not very user-friendly. The position on HOME (and if displayed at all) can be modified on the DR, they way that must be done is also not very user friendly right now. There is currently no 'View' that allows to navigate tag based, all views are static, for one single tag only. I like your idea of tag navigation. Maybe it can behave like the SD-Card view, but then folders are tags. So on the first level, you would see all tags (more precise all separate words in tag) and all documents. Selecting a tag would open a new view that shows all documents that at least have that tag. It would also show the other tags that this new set of documents also has. I.e. if we would select the 'mustread'-tag and there is a document that has both a 'mustread'- and a 'fav'-tag there would be a 'folder' named 'fav' to limit the selection further. This would only allow to implement an 'and'-view. What are your ideas on how a tag-view should look like? Which functionality would you like it to have, i.e. complex selection of tags or only simple and of tags to limit the seletion. I like the functionality of the inbox-manager to move files to other locations (although I have not used it). Maybe that can be extended to update the title/author/tag of the documents. See the mtag-program in Programs\_mackxpatch\bin\mtag (sources in patches\mtools\mtag) which allows to change title, author and tag. Marcel. |
|
Advert | |
|
01-23-2011, 10:40 AM | #81 |
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Maybe mdbindex can be modified to handle the Icon-entry in the desktop file? In that case there is no need for a separate program.
On the other hand being able to add short-cuts to application on HOME is also somewhere on my todo list (but not that high). |
01-23-2011, 03:07 PM | #82 |
Addict
Posts: 326
Karma: 6908
Join Date: Sep 2010
Device: DRs, EE, ipad/iphone, Helix
|
Hi Marcel, Iņigo,
Now all works of course, thanks, btw to illustrate the usefulness of lua, the rundebug.desktop that Iņigo did with lua is nicer to check what went wrong than doing it manually with rxvt I still have to really use the Inboxmanager now though and move files around ... Concerning the multiple tag view navigation, if I understand correctly, you have in mind the same kind of navigation on the DR that you have on the PC with calibre for instance? Could any of that code be used? Or a scaled-down version of calibre directly ported to the DR ? Or, since there is a metadata.calibre exported when you put books through that application, use this as an example of an external tag application that you were mentioning? Sorry if this obvious, naive or unrealistic .... Cheers, f |
01-23-2011, 05:29 PM | #83 |
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
System Information lua script
Please find attached a lua-based System Information script, which shows data about hardware, OS, cpu, memory, load, disks and processes.
You can kill a process tap-ing at it. It will asks for confirmation. The data is refreshed each minute. Installation instruction: uncompress and copy - sysinfo.lua to <SD>/Programs/_lua/scripts - sysinfo.png to <SD>/Programs/_lua/share/pixmaps - sysinfo.desktop to <SD>/Programs I will include it in next version of lua bindings. The next step is to add a permanent new entry on popupmenu which launches this script. Iņigo Last edited by Iņigo; 01-23-2011 at 06:43 PM. |
01-23-2011, 05:38 PM | #84 | ||
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Quote:
[In fact I started a .pdf metadata editor some time ago...] Anyway, it would be a nice feature to have, but not on top of my ideas. Quote:
Iņigo |
||
01-23-2011, 05:52 PM | #85 | |
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Quote:
F.e., for fb2 the script has to search for proper files in the db, parse the files (xml), get .png data and store on db... No fun to write all this code in C. A fast&dirty hack is to: . rename "/usr/bin/mdbindex" binary to "/usr/bin/mdbindex-dr" . create a "/usr/bin/mdbindex" shell script which executes "/usr/bin/mdbindex-dr" and "icons.lua" This shell script could contain some flags to activate the different types of files (DR-supported ones (pdf, epub, images, notes) and icons.lua-supported (.desktop and fb2 by now)). Btw, I've attached a new version of icons.lua I've been working on this productive afternoon. It's more robust, and can delete previously-added .desktop and .fb2 thumbnails from the DB. And a new --help (or -h) flag! Iņigo |
|
01-23-2011, 06:08 PM | #86 | |
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Quote:
In fact I'm coding a new ebook manager [1], it is in a early phase of development, but it's already showing some of the future potential. An example of my idea, 3 books with tags: Hacking the DR -> Computers Programming in Lua -> Devel, Lua Algorithms -> Devel We are at HOME, now we tap on "Tags" entry, we see: Code:
Tags [Up] [Computers] [Devel] [Lua] "Hacking the DR" "Programming in Lua" "Algorithms" Now we tap on "Devel", we see: Code:
Tags: Devel [Up] [Lua] "Programming in Lua" "Algorithms" Now we tap on "Lua", we see: Code:
Tags: Devel, Lua [Up] "Programming in Lua" Looks nice, uhmmm? Iņigo [1] https://bitbucket.org/inigoserna/bidebarrieta |
|
01-23-2011, 06:24 PM | #87 | |||
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Wow, I've answered the rest of the messages before reading this, as Tags is my main interest...
Quote:
Quote:
Maybe in the first level (no tags selected) we have not to show any files, as it would be quite slow if there are many books on the ereader. Quote:
Iņigo |
|||
01-24-2011, 02:10 AM | #88 | |
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Quote:
Thanks, Marcel. |
|
01-24-2011, 02:17 AM | #89 |
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
I did not notice that the script also supported fb2, so I was only thinking how to handle .desktop files. This is indeed an extra challenge.
|
01-24-2011, 02:19 AM | #90 | |
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Feature requests | ile | Calibre | 8 | 10-12-2010 04:45 PM |
Feature Requests | quietone | Calibre | 6 | 03-07-2010 01:56 AM |
Feature Requests, Ideas, Issues | earthq | Calibre | 1 | 06-04-2009 03:11 PM |
A few questions/feature requests | cartman | Calibre | 10 | 05-27-2009 06:12 AM |
Feature Requests | Andurian | Calibre | 2 | 11-22-2008 12:53 PM |