![]() |
#151 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 326
Karma: 6908
Join Date: Sep 2010
Device: DRs, EE, ipad/iphone, Helix
|
Hi Mackx,
Runs smoothly, no problems here, thanks! |
![]() |
![]() |
![]() |
#152 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Thanks for the feedback!
|
![]() |
![]() |
Advert | |
|
![]() |
#153 |
Member
![]() Posts: 13
Karma: 10
Join Date: Jul 2010
Device: iRex DR1000S
|
A problem installing
Hello,
First of all, I would like to thank you all guys for what you are doing with the DR1000. It's really a much better device with, e.g., Xournal, than it was. Kudos Anyway, I'm trying to install MackxPatch's v 8 and I'm having problems: i get the "Do you want to restore..." question, and I answer No. Then I get "Do you want to install MackxPatch", and I answer Yes. But that's it, I never get the next question regarding schemas, and nothing more happens. Are you aware of similar issues? What do I need to change? Thanks again! Manolo |
![]() |
![]() |
![]() |
#154 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Hi Manolo,
That is strange. Do you have rxvt-installed? Then you could do a manual install by typing: Code:
/media/mmcblk0p1/Programs/_mackxpatch/_apply.sh Regards, Marcel. |
![]() |
![]() |
![]() |
#155 |
Member
![]() Posts: 13
Karma: 10
Join Date: Jul 2010
Device: iRex DR1000S
|
Thanks for your answer, Marcel.
Now I have rxvt installed (I didn't). The error is: line 224: syntax error: end of file unexpected Cheers, Manolo |
![]() |
![]() |
Advert | |
|
![]() |
#156 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Some questions:
Do you have a windows, linux of mac-pc? Which program did you use to unzip? How did you unzip the package to your DR, directly or first on HD and then copy to SD-card? It could be a CRLF vs LF problem. |
![]() |
![]() |
![]() |
#157 |
Member
![]() Posts: 13
Karma: 10
Join Date: Jul 2010
Device: iRex DR1000S
|
Hi,
I'm using Ubuntu Maverick. I unzip with File Roller 2.32.0. I normally unzip directly to the SD card -inserted in the PC, not the DR. Should I change any of these things? M |
![]() |
![]() |
![]() |
#158 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Can you have a look, to see if the line-endings in _apply.sh are correct? You can use cat -e _apply.sh or your favourite editor if it supports showing non-printable characters.
|
![]() |
![]() |
![]() |
#159 |
Member
![]() Posts: 13
Karma: 10
Join Date: Jul 2010
Device: iRex DR1000S
|
I don't know what I'm looking for, I'm afraid... I copy here the entire output of cat -e _apply.sh
The first thing, btw, means "input/output error". Hope this helps! Manolo Code:
cat: _apply.sh: Error de entrada/salida #!/bin/sh$ $ THISDIR=/media/mmcblk0p1/Programs/_mackxpatch$ INSTALLERDIR=/media/mmcblk0p1/Programs/Install$ ZENITY=/media/mmcblk0p1/Programs/_base/bin/zenity$ MTAG=/media/mmcblk0p1/Programs/_mackxpatch/bin/mtag$ $ cd $THISDIR$ $ install_schemas () {$ # Adapt gconf to enable the new views$ export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`$ # Install schemas for standard icons on Home-View$ /bin/cp -f ./schemas/standard.schemas /etc/gconf/schemas/standard.schemas$ gconftool-2 --makefile-install-rule /etc/gconf/schemas/standard.schemas$ $ # Application View$ /bin/cp -f ./schemas/applications.schemas /etc/gconf/schemas/applications.schemas$ gconftool-2 --makefile-install-rule /etc/gconf/schemas/applications.schemas$ $ # Installers View$ /bin/cp -f ./schemas/installers.schemas /etc/gconf/schemas/installers.schemas$ gconftool-2 --makefile-install-rule /etc/gconf/schemas/installers.schemas$ # copy the icons$ /bin/cp -f ./icons/icon-download-medium.png /usr/share/ctb/icon-download-medium.png$ /bin/cp -f ./icons/icon-download-small.png /usr/share/ctb/icon-download-small.png$ /bin/chmod a-x /usr/share/ctb/icon-download-*$ $ # Favourites View$ /bin/cp -f ./schemas/favourites.schemas /etc/gconf/schemas/favourites.schemas$ gconftool-2 --makefile-install-rule /etc/gconf/schemas/favourites.schemas$ $ # Recently Read View$ /bin/cp -f ./schemas/recently_read.schemas /etc/gconf/schemas/recently_read.schemas$ gconftool-2 --makefile-install-rule /etc/gconf/schemas/recently_read.schemas$ $ # Xournal View$ /bin/cp -f ./schemas/xournal.schemas /etc/gconf/schemas/xournal.schemas$ gconftool-2 --makefile-install-rule /etc/gconf/schemas/xournal.schemas$ $ # Disable build-in views$ # gconftool-2 --type string --set /apps/er/patch/ctb/views/recent/mode "disabled"$ $ # Enable the appropriate views$ gconftool-2 --type string --set /apps/er/patch/ctb/views/application/mode "enabled"$ gconftool-2 --type string --set /apps/er/patch/ctb/views/installer/mode "enabled"$ gconftool-2 --type string --set /apps/er/patch/ctb/views/favourite/mode "enabled"$ gconftool-2 --type string --set /apps/er/patch/ctb/views/recentlyread/mode "enabled"$ gconftool-2 --type string --set /apps/er/patch/ctb/views/xournal/mode "enabled"$ $ # Create Backup of dr.ini$ /bin/cp -f /media/mmcblk0p1/System/dr.ini /media/mmcblk0p1/System/dr.patch.ini$ # and save the (just modified) settings to disk$ /usr/bin/erconftool -e /apps/er$ $ # These settings are only used after a reboot of the system, so when creating a script$ # to add extra Views, also add a reboot of the device (see below).$ }$ $ install_mandatory_schemas () {$ # Adapt gconf to enable the new views$ export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`$ $ # Entries for last apps$ /bin/cp -f ./schemas/last_apps.schemas /etc/gconf/schemas/last_apps.schemas$ gconftool-2 --makefile-install-rule /etc/gconf/schemas/last_apps.schemas$ $ # Entries for startup view$ /bin/cp -f ./schemas/ctb_view.schemas /etc/gconf/schemas/ctb_view.schemas$ gconftool-2 --makefile-install-rule /etc/gconf/schemas/ctb_view.schemas$ $ # user-views can have different numbers when new user views are installed, so set$ # startup view to 0 after install$ #gconftool-2 --type int --set /apps/er/patch/ctb/startupmode 0$ # Make sure that after install no document is started automatically$ gconftool-2 --type int --set /apps/er/lastapps/active 0$ $ # Extra entries for sensor after reboot$ /bin/cp -f ./schemas/ctb_sensor.schemas /etc/gconf/schemas/ctb_sensor.schemas$ gconftool-2 --makefile-install-rule /etc/gconf/schemas/ctb_sensor.schemas$ $ # Extra entries for clock in menu bar$ /bin/cp -f ./schemas/popup_clock.schemas /etc/gconf/schemas/popup_clock.schemas$ gconftool-2 --makefile-install-rule /etc/gconf/schemas/popup_clock.schemas$ $ }$ $ backup_firmware () {$ # Save originals ONLY if they do not exists$ if [ ! -e $THISDIR/ctb_original ]$ then$ /bin/cp -f /usr/bin/ctb $THISDIR/ctb_original$ fi$ $ if [ ! -e $THISDIR/mdbindex_original ]$ then$ /bin/cp -f /usr/bin/mdbindex $THISDIR/mdbindex_original$ fi$ $ if [ ! -e $THISDIR/popupmenu_original ]$ then$ /bin/cp -f /usr/bin/popupmenu $THISDIR/popupmenu_original$ fi$ $ if [ ! -e $THISDIR/settings_original ]$ then$ /bin/cp -f /usr/bin/settings $THISDIR/settings_original$ fi$ $ if [ ! -e $THISDIR/sysd_original ]$ then$ /bin/cp -f /usr/bin/sysd $THISDIR/sysd_original$ fi$ $ if [ ! -e $THISDIR/libermetadb_original ]$ then$ /bin/cp -f /usr/lib/libermetadb.so.0.0.0 $THISDIR/libermetadb_original$ fi$ $ if [ ! -e $THISDIR/globaldb_original ]$ then$ /bin/cp -f /usr/share/ctb/settings/global.db $THISDIR/globaldb_original$ fi$ }$ $ install_patched_files () {$ # overwrite existing files$ /bin/cp -f $THISDIR/bin/ctb /usr/bin/$ /bin/cp -f $THISDIR/bin/mdbindex /usr/bin/$ /bin/cp -f $THISDIR/bin/popupmenu /usr/bin/$ /bin/cp -f $THISDIR/bin/settings /usr/bin/$ /bin/cp -f $THISDIR/bin/sysd /usr/bin/$ /bin/cp -f $THISDIR/lib/libermetadb.so.0.0.0 /usr/lib/$ $ /bin/cp -f $THISDIR/share/ctb/settings/global.db /usr/share/ctb/settings/$ /bin/cp -f $THISDIR/share/ctb/settings/mackx_patch.desktop /usr/share/ctb/settings/$ /bin/cp -f $THISDIR/share/ctb/settings/lastapps.desktop /usr/share/ctb/settings/$ $ #/bin/cp -f $THISDIR/mxp_version /etc/$ }$ $ remove_unused_files () {$ # These files are not needed anymore, so remove them$ /bin/rm -f $INSTALLERDIR/AddAnyFolderView.desktop$ /bin/rm -f $INSTALLERDIR/RestoreMackxPatch.desktop$ /bin/rm -f $THISDIR/_add_anyfolder_view.sh$ /bin/rm -f $THISDIR/_restore.sh$ }$ $ restore_original_files () {$ # Restore the original program(s)$ if [ -e $THISDIR/ctb_original ]$ then$ /bin/cp $THISDIR/ctb_original /usr/bin/ctb$ /bin/rm -f $THISDIR/ctb_original$ fi$ $ if [ -e $THISDIR/mdbindex_original ]$ then$ /bin/cp $THISDIR/mdbindex_original /usr/bin/mdbindex$ /bin/rm -f $THISDIR/mdbindex_original$ fi$ $ if [ -e $THISDIR/popupmenu_original ]$ then$ /bin/cp $THISDIR/popupmenu_original /usr/bin/popupmenu$ /bin/rm -f $THISDIR/popupmenu_original$ fi$ $ if [ -e $THISDIR/settings_original ]$ then$ /bin/cp $THISDIR/settings_original /usr/bin/settings$ /bin/rm -f $THISDIR/settings_original$ fi$ $ if [ -e $THISDIR/sysd_original ]$ then$ /bin/cp $THISDIR/sysd_original /usr/bin/sysd$ /bin/rm -f $THISDIR/sysd_original$ fi$ $ if [ -e $THISDIR/libermetadb_original ]$ then$ /bin/cp $THISDIR/libermetadb_original /usr/lib/libermetadb.so.0.0.0$ /bin/rm -f $THISDIR/libermetadb_original$ fi$ $ if [ -e $THISDIR/globaldb_original ]$ then$ /bin/cp $THISDIR/globaldb_original /usr/share/ctb/settings/global.db$ /bin/rm -f $THISDIR/globaldb_original$ fi$ $ # /bin/rm -f /etc/mxp_version$ $ # TODO: should gconf settings also be removed? On the next install the available settings$ # will be used automatically$ }$ $ add_tags_to_files () {$ # Mark the desktop file as Installer so it will show up in the installer view$ # When using this tool the syntax is: $ # mtag [file] [title] [author] [tag]$ $MTAG $INSTALLERDIR/ApplyMackxPatch.desktop 'Install Mackx Hack' Mackx install$ # Valid tags, used by this hack are: application, fav1, install and xournal.$ # see also _mackxpatch/schemas$ }$ $ $ if [ -f $THISDIR/ctb_original ]; then$ $ZENITY --question --title "MackxPatch" --text "<b>De-install</b>\n\nDo you want to restore original IREX programs?"$ if [ $? -eq 0 ]; then$ echo "Restoring original files"$ restore_original_files$ $ $ZENITY --info --title "MackxPatch" --text "<b>Patch Removed</b>\n\nPress ok to reboot"$ /sbin/reboot$ sleep 31$ fi$ fi$ $ $ZENITY --question --title "MackxPatch" --text "<b>Upgrade</b>\n\nDo you want to install MackxPatch?"$ if [ $? -eq 0 ]; then$ # We will onmanolo@manolo-SATELLITE-U500:/media/IREX DR1000/Programs/_mackxp |
![]() |
![]() |
![]() |
#160 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Quote:
The error at the beginning also seems to indicate that something is wrong? Maybe some parts of the SD-card got corrupt, does Ubuntu have a tool to fix corrupts SD-cards? A corrupt SD card can cause more 'strange' errors with the DR (e.g. new files do not show up, annotations/bookmarked are not 'remembered' etc.). |
|
![]() |
![]() |
![]() |
#161 |
Member
![]() Posts: 13
Karma: 10
Join Date: Jul 2010
Device: iRex DR1000S
|
Yes, as it happens I had tried to install a corrupt copy. Apologies for the false alarm.
The patch works like a charm! Manolo |
![]() |
![]() |
![]() |
#162 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Good to hear everything works again.
|
![]() |
![]() |
![]() |
#163 |
Addict
![]() Posts: 217
Karma: 10
Join Date: May 2010
Device: DR1000S
|
Thanks for your new update!! Especially, the clock on the toolbar function is amazing!!
ps. By the way, couldn't we put 'close' icon at the toolbar on the note application in DR1000S? We can easily close a document but can't a note, you know..^^ It seems so useful so I mentioned.. |
![]() |
![]() |
![]() |
#164 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Quote:
This is indeed strange. I think this is due to a design choice that only allows 5 icons when the page-counter with the left-right buttons is present (need space to show 'page 12345 of 67890' I guess). If I remember well some decisions are made in the code depending on the number of toolbar icons, so I can see if I can add an item, or need to replace an item. |
|
![]() |
![]() |
![]() |
#165 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Quote:
I have put all the code changes I made for the hacks of the firmware in a BitBucket archive. It also has an Issue-list. I submitted your request there (so I will not forget it). Maybe you can check if I captured the issue correctly? See: https://bitbucket.org/mackx/dr1000-h...oolbar-notepad I anyone has more ideas on how the firmware should be extended you can submit your own issues. (I think that issues can be submitted annonymously, so you do not even need to create a BitBucket account) Marcel. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
DR1000 firmware update with ADE rescheduled to end of Q1/2010 | ThR | iRex | 56 | 01-31-2010 03:56 AM |
Firmware update problem for V0.34c patch 15 | monster9 | Ectaco jetBook | 9 | 01-15-2010 08:51 AM |
jetBook Firmware v0.33g patch 13 | sein | Ectaco jetBook | 10 | 12-19-2009 06:40 PM |
[Librie-Dev] New English firmware patch for the Sony Librie | Colin Dunstan | Legacy E-Book Devices | 0 | 06-20-2005 04:44 PM |
[Librie-Dev] Sony Librie first inofficial English firmware patch | Colin Dunstan | Legacy E-Book Devices | 0 | 05-12-2005 05:40 AM |