09-20-2013, 02:23 PM | #31 |
Evangelist
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
was able to make it work by running the mkdir and cp commands by hand in kterm..
those 3 tiny buttons now have unclipped characters.. but something weird happening.. i had earlier followed some post here to change home from /tmp/root to /home/root now running Code:
echo $HOME Code:
echo ~ Code:
/tmp/root but.. doing a Code:
mntroot ro Code:
mntroot rw so.. i did:
which works.. but should i leave root fs in rw mode.. would like our experts' explanation for above behaviour.. |
09-20-2013, 02:33 PM | #32 | |
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
Code:
[root@kindle root]# ls -la / | grep tmp lrwxrwxrwx 1 root root 8 Jan 2 1970 tmp -> /var/tmp [root@kindle root]# mount rootfs on / type rootfs (rw) /dev/root on / type ext3 (ro,noatime,nodiratime,data=writeback) none on /proc type proc (rw,nosuid,nodev,noexec,relatime) none on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev type tmpfs (rw,relatime,mode=755) tmpfs on /dev/shm type tmpfs (rw,relatime) devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620) tmpfs on /var type tmpfs (rw,relatime,size=32768k) /dev/loop/2 on /lib/firmware/cyttsp type cramfs (ro,noatime,nodiratime) /dev/loop/3 on /usr/share/X11/xkb type cramfs (ro,noatime,nodiratime) /dev/loop/4 on /usr/java/lib/fonts type cramfs (ro,noatime,nodiratime) /dev/loop/5 on /etc/kdb.src type cramfs (ro,noatime,nodiratime) /dev/loop/6 on /usr/lib/locale type cramfs (ro,noatime,nodiratime) /dev/loop/7 on /usr/share/keyboard type cramfs (ro,noatime,nodiratime) /dev/mmcblk0p3 on /var/local type ext3 (rw,relatime,errors=continue,data=writeback) /dev/loop/0 on /mnt/base-us type vfat (rw,noexec,noatime,nodiratime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro) fsp on /mnt/us type fuse.fsp (rw,nosuid,nodev,noatime,user_id=0,group_id=0) /home would be on the root partition, and thus read-only in normal use. And yes, I agree that it's a bad idea to leave root mounted rw for normal use. You have two options here: use a home directory on the USB partition (/mnt/us), or in /var/local. The advantage of the former is that you can edit files via USB, the advantage of the latter is that it's a real filesystem, not FAT32. I suggest to go for /var/local/home/root, or /var/local/root, or whatever you please. |
|
Advert | |
|
09-20-2013, 02:38 PM | #33 |
Evangelist
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
|
@nasser
To have galculator config in /mnt/us/extensions/galculator/galculator.conf change galculator/usr/bin/run.sh to: Code:
#!/bin/sh GALCULATOR_CONFIG=/mnt/us/extensions/galculator/galculator.conf \ GTK_IM_MODULE=kindle \ GTK2_RC_FILES=/mnt/us/extensions/galculator/pixmaps/gtkrc \ /mnt/us/extensions/galculator/usr/bin/galculator |
09-20-2013, 02:53 PM | #34 |
Evangelist
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
|
By the way, I think it looks better in landscape on KT
|
09-20-2013, 03:03 PM | #35 |
Evangelist
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
well.. baf seems to have found a simple solution..
but thanks to ixtab for explaining.. i need to fix my home location.. need to read and understand in detail.. am still puzzled by why echo $HOME and cp to ~ still recognise /tmp/root as home.. whereas mntroot and galculator itself consider /home/root.. Last edited by twobob; 09-20-2013 at 03:09 PM. Reason: :thumbsup: |
Advert | |
|
09-20-2013, 03:03 PM | #36 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
@baf Excellent point. I forgot about that lol.
Yeah, I'm not sure why the HOME isn't being honoured either. EDIT: Updated top post Last edited by twobob; 09-20-2013 at 03:10 PM. |
09-20-2013, 03:39 PM | #37 |
Evangelist
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
|
One more thing:
This path in your run.sh is wrong: Code:
GTK2_RC_FILES=/mnt/us/extensions/galculator/pixmaps/gtkrc Code:
/mnt/us/extensions/galculator/usr/share/pixmaps/gtkrc |
09-20-2013, 03:48 PM | #38 |
Evangelist
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
|
Very nice calculator by the way.
Thanks twobob! |
09-20-2013, 03:57 PM | #39 |
Evangelist
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
|
|
09-20-2013, 04:01 PM | #40 | |
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
|
|
09-20-2013, 05:54 PM | #41 | ||
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Quote:
Quote:
I have learned something... Will fix. EDIT: Done. Last edited by twobob; 09-20-2013 at 05:57 PM. |
||
09-20-2013, 10:48 PM | #42 |
Evangelist
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
|
09-20-2013, 11:27 PM | #43 | |
Evangelist
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
Quote:
..and i go to the kindle CLI either through kterm or ssh.. in both, i come out by typing exit.. or in the case of kterm sometimes, by using the 2 finger menu>quit option.. don't these count as a "logout"..? will check again.. |
|
09-20-2013, 11:53 PM | #44 |
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Hmmm... I don't know. For me, it works as it should:
Code:
$ ssh root@kindle [root@kindle root]# mntroot rw system: I mntroot:def:Making root filesystem writeable [root@kindle root]# grep ^root /etc/passwd root:x:0:0:root:/tmp/root:/bin/sh [root@kindle root]# sed -i -e 's/\/tmp\/root/\/var\/tmp\/root/' /etc/passwd [root@kindle root]# grep ^root /etc/passwd root:x:0:0:root:/var/tmp/root:/bin/sh [root@kindle root]# mntroot ro system: I mntroot:def:Making root filesystem read-only [root@kindle root]# echo $HOME /tmp/root [root@kindle root]# ^D Connection to kindle closed. $ ssh root@kindle [root@kindle root]# echo $HOME /var/tmp/root |
09-21-2013, 02:54 AM | #45 |
Evangelist
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
there seems to be a difference between logging in through ssh and "logging in" through kterm.. see screenshots..
ssh recognises the "new" home at /home/root.. while the kterm session is still hung up on /tmp/root.. |
Tags |
calculator, launcher add-ons, twobob |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Troubleshooting Kindle for PC ver 1.5.0 seems to have died | Mike L | Amazon Kindle | 4 | 07-31-2012 03:34 AM |
Kindle Touch upgrade ver 5.1.0 Problem | sigster | Kindle Developer's Corner | 5 | 04-30-2012 07:46 PM |
Kindle 3 ver 3.3 will not jailbreak. | berni29 | Amazon Kindle | 7 | 02-12-2012 10:11 AM |
Ver 0.8.34 | sirius911 | Library Management | 1 | 01-06-2012 09:05 AM |