The Following User Says Thank You to elschemm For This Useful Post: | ||
![]() |
2009-06-10
, 20:45
|
Posts: 28 |
Thanked: 8 times |
Joined on Mar 2008
|
#702
|
![]() |
2009-06-10
, 21:10
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#703
|
![]() |
2009-06-11
, 00:29
|
Posts: 28 |
Thanked: 8 times |
Joined on Mar 2008
|
#704
|
I don't have an N810, so I can't comment much on your problem. But I can say that there are two .Xmodmap files, one for the N810 and one for the N800. Perhaps you could switch to the N800 one for your external keyboard? The two files should be clearly named in your home directory...
![]() |
2009-06-11
, 00:55
|
Posts: 28 |
Thanked: 8 times |
Joined on Mar 2008
|
#705
|
![]() |
2009-06-11
, 04:05
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#706
|
![]() |
2009-06-11
, 13:07
|
Posts: 28 |
Thanked: 8 times |
Joined on Mar 2008
|
#707
|
elschemm:
If you want to make a pruned, lean-and-mean rootfs for me, I will gladly use it in a future release. I just did an update last month, but I'll do another one if you can strip out a significant amount of cruft...
You can either post instructions for removing the cruft, or I will give you upload privileges to my server and you can upload a tarball.
![]() |
2009-06-11
, 16:39
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#708
|
Thanks. I just grabbed a copy of the file again and copied it to my big work computer. I'll keep two versions. One that's stock and one that has my changes. Then if I find enough I can email you the list of files.
BTW: Is there any particular reason that you have the file tarred? Tar does not compress things at all, in fact it makes things slightly larger than the original. It's only about 10K for your current image, but thats 10K of wifi-download plus the untar time.tar
![]() |
2009-06-12
, 15:27
|
Posts: 28 |
Thanked: 8 times |
Joined on Mar 2008
|
#709
|
I wonder how much extra time is added to untar and un-bzip2-it instead of just un-bzip2-ing it?
The Following User Says Thank You to elschemm For This Useful Post: | ||
![]() |
2009-06-12
, 15:36
|
Posts: 28 |
Thanked: 8 times |
Joined on Mar 2008
|
#710
|
The Following User Says Thank You to elschemm For This Useful Post: | ||
But, BASH is much easier to change. Change /etc/passwd so that 'root' and 'user' use /bin/bash instead of /bin/sh. Then alter /etc/bash.bashrc (under the EasyDebian chroot) and add
PATH=${PATH}:/any/other/paths:/more/paths
to the end of that file. If you don't want to do the ldconfig I mentioned earlier, you can also add a LD_LIBRARY_PATH to the end of this file. (Don't forget to export LD_LIBRARY_PATH). Ldconfig is the cleaner way to go though (for the purists out there).
PS1 (the default prompt) is set in /etc/profile. Mod it to your hearts content.
Finally, if you want to be able to 'su user' (so you aren't root all the time), you will need to change /etc/login.defs. You will want to change the line that starts with ENV_PATH to be the non-root users default path. If you want to 'su back to root (say from LXDE), you might want to do the root version right above it too.
There you go. A working set of environment variables for development.
Add in this cable mentioned in this thread attached to a USB keyboard (Walmart) and I'm good to go!
Great part is that none of this affects my 'default' maemo environment (different lib versions, etc), and since the partition is on the external card, it doesn't die if I have to reflash!
For those worried about space, I took the full EasyDeb package, ran localepurge, bumped it to a 3G partition, downloaded most of the Gnu toolchain, subversion, a couple of (largish) custom libs, xmeacs (hoping to use with usbmouse.deb (didn't work)) and the current projects I am working on. I still have about 1.5G of my 3 left.