Member Map Go to the Home Page Portal Cruisers & Sailing Forum Cruisers & Sailing Photo Gallery Manage Your Profile! Member Directory Search past discussions! Frequently Asked Questions Community Policies & Posting Rules Register Today, Its FREE!

Go Back   Cruisers & Sailing Forums > Engineering & Systems > Electronics: Communications & Audio Visual





Reply
 
Thread Tools Rate Thread Display Modes
Old 06-04-2008, 12:43   #1
Registered User
 
Join Date: Jan 2008
Posts: 45
All of the SD contents appear to be OK. I do have the developer key implemented, but that was done over a month back.
agkirk is offline   Reply With Quote
Old 06-04-2008, 16:14   #2
Registered User
 
phiggins's Avatar
 
Join Date: Nov 2004
Location: Toronto
Boat: ODAY 35 GDAYII
Posts: 321
Install locate:
su -
yum install slocate (might be: yum install mlocate)

Then issue:
su -
updatedb

then you find things by:

locate wine


Paul
phiggins is offline   Reply With Quote
Old 07-04-2008, 15:14   #3
Registered User
 
Join Date: Jan 2008
Posts: 45
Paul, Thanks, that works and all the files seem to exist. The pathnames appear OK but I noticed a change in how my main screen operates. When I first received the XO I changed the HOT corners by modifying a OS file. Now the HOT corners are back. I'll have to recall how I made that change, but even if I change it again that doesn't explain the current operation or lack thereof. when I cd /home/olpc/ I don't see the .wine directory. If I cd .wine then I see 2 sub-directories and 3 files xxx.reg.
Is the .wine a hidden file? I'll look back through our past post and see where I modified file pathnames. It's like a file with critical pathnames for the added in applications has gotten deleted....but I never deleted anything....I know of!

Alan
agkirk is offline   Reply With Quote
Old 07-04-2008, 17:32   #4
Registered User
 
phiggins's Avatar
 
Join Date: Nov 2004
Location: Toronto
Boat: ODAY 35 GDAYII
Posts: 321
Alan,

Yes any directories that begin with '.' are hidden. to see them do a:

ls -a

You never answered the question whether you can start your SeaClear activity by issuing: wine "C:\Program Files\SeaClear\SeaCler_2.exe"

Even if wine is gone it doesn't explain Opera which is not a wine program.

Paul
phiggins is offline   Reply With Quote
Old 08-04-2008, 02:18   #5
Registered User
 
phiggins's Avatar
 
Join Date: Nov 2004
Location: Toronto
Boat: ODAY 35 GDAYII
Posts: 321
Alan,

Have you checked to see if any of your "disks" are full or nearly so? Do a:
df -k

and check the Use% to see if any are high, like 90%.

Also, check the log viewer after trying to start SeaClear/Opera to see if there are any errors reported.

Paul
phiggins is offline   Reply With Quote
Old 08-04-2008, 10:59   #6
Registered User
 
tyrntlzrdking's Avatar
 
Join Date: Jan 2008
Location: Michigan
Boat: 1967 Starcraft 16' - 1961 Mercury 70hp
Posts: 148
Alan,

I had not yet attempted loading Seaclear, but the few additions I have made (Opera, Adobe flash, border popup change etc...) to my XO are all still with me. What build are you using? Mine came with 650, and I has upgrded to 656.
I read a new build is due out anyday.
tyrntlzrdking is offline   Reply With Quote
Old 08-04-2008, 13:55   #7
Registered User
 
Join Date: Jan 2008
Posts: 45
I did try the wine path and got a "wine: command not found". Looks like I still have about 55% of the FLASH unused. I think I am running 653, but I've forgotten how to get the version out of terminal. This whole problem has got to be something I did wrong when I was moving the .wav files using Midnight Commander. That is another thing that doesn't run out of the terminal. Using locate mc I see it is as /home/olpc/.mc . When I try to run out of the [olpc@xo-10-C8-41 ~] directory it get mc: command not found. What is the difference between the use of / and \ as separators?
agkirk is offline   Reply With Quote
Old 08-04-2008, 21:40   #8
Registered User
 
Beausoleil's Avatar
 
Join Date: Jul 2007
Location: Heading to Key West
Boat: Formosa 51 Aft Cockpit Ketch - "Beausoleil"
Posts: 315
Quote:
Originally Posted by agkirk View Post
I did try the wine path and got a "wine: command not found". Looks like I still have about 55% of the FLASH unused. I think I am running 653, but I've forgotten how to get the version out of terminal. This whole problem has got to be something I did wrong when I was moving the .wav files using Midnight Commander. That is another thing that doesn't run out of the terminal. Using locate mc I see it is as /home/olpc/.mc . When I try to run out of the [olpc@xo-10-C8-41 ~] directory it get mc: command not found. What is the difference between the use of / and \ as separators?
While I don't have an XO, you can try the command "uname -a", which should tell you what kernel you're running, at least.

The slash (/) is the directory separator. The backslash (\) is used as an "escape" character, which removes any special meaning of certain characters.

For example, if you type "ls -a" at the terminal command line, the command interpreter sees the "-" as a command line switch - that is, run the command "ls" with the switch (or option) "a", meaning to tell "ls" to list all the files in the current directory - even the hidden ones (ones beginning with a period - "."). If you type "ls \-a", the backslash removes the special status of "-", that is, it tells the "ls" command you want it to list a file called "-a".

Another common switch/option of the "ls" command is "l", or long format. "ls -l" will show something similar to

[jon@bigmax ~]$ ls -l
total 18180
-rw-rw-r-- 1 jon jon 19 2007-11-30 10:03 autoexec.bat
drwxrwxr-x 2 jon jon 4096 2008-02-06 19:13 bin
drwxrwxr-x 5 jon jon 4096 2008-01-01 16:08 builds
drwxrwxr-x 2 jon jon 4096 2008-02-09 19:30 CD

It shows information about file rights, individual and group ownership, size, edit date/time, and file name. The example above is from my home directory on my Fedora 8 Linux PC.

Way back when Microsoft was creating DOS, they decided to use the "/" as a command line switch to differentiate it from the then-popular CP/M operating system and from Unix. And when they finally got around to using hierarchical directories in DOS 2.0, they used the backslash (\) in place of Unix's forward slash (/). And from what I remember, DOS (and now the CMD window in NT/XP/Vista) doesn't use the concept of an escape character like "\"in Unix and Linux. We've been confused/cursed ever since...

When you try to run "mc" from your home directory (that's what the tilde "~" signifies), it won't be found. Why? Unlike DOS, Unix/Linus doesn't default to looking in the current directory (~, or home, in this case). It only checks the $PATH environment variable to see what directories to search. It's a protection against self-imposed stupidity. You need to be explicit. If you change the command string from just "mc" to "/home/oplc/.mc/mc", it should work. Or you can use the tilde, as in "~/.mc/mc".

And to further confuse you, the dot (.) and double dot (..) also have special meaning. When used with directory separators, the dot indicates the current directory, and the double dot represents the parent of the current directory.

So in your case, lets say your command prompt says [olpc@xo-10-C8-41 ~]. That means you're in the "/home/oplc" directory. If you type "ls .", it's the same thing as just "ls" - list the files in the current directory. You could be explicit and type "ls /home/oplc" and get the same thing. If you type "ls ..", then you're telling "ls" to list the files in the parent of the current directory - "/home". You could get fancy and try "ls ../..", which means list the files in the parent of the parent of the current directory. Which in this case, means the parent of the parent of "/home/oplc", which happens to be "/", or the root directory.

Clear as mud?

If so, try looking into the "bash" command shell (the "Bourne again shell, a descendant of the popular Bourne Shell, or "sh") here.
Beausoleil is offline   Reply With Quote
Old 08-04-2008, 14:11   #9
Registered User
 
Join Date: Jan 2008
Posts: 45
I found the command to show the version cat /etc/issue. I see at Update paths - OLPC
that one person has experienced the loss of use for add ins, similar to my experience, after an upgrade to 656.

And now the proof, I am apparently now running 656 after I use the above command.
To the best of my knowledge I didn't do a update, so there must be an auto update "feature"built in to the XO. I'll dig around on the web for more info on this.

Alan
agkirk is offline   Reply With Quote
Old 08-04-2008, 14:24   #10
Registered User
 
Join Date: Jan 2008
Posts: 45
OK, Verrry interesting! I was updated on Wednesday night, while I slept soundly. I held the O (right game pad) down at boot and was restored to 653, then tried SeaClear and it worked fine. SOOO ! Wonder how I get 656 and the latest firmware into the XO and still preserve the operation of my add in activities? HELP!
agkirk is offline   Reply With Quote
Old 08-04-2008, 14:28   #11
Registered User
 
phiggins's Avatar
 
Join Date: Nov 2004
Location: Toronto
Boat: ODAY 35 GDAYII
Posts: 321
Alan,

I don't think you can. Doing an update will lose all the applicatins you have installed. The only option is to reinstall everything again. That is why I keep a script on how to install them all again.

I think this a good incentive to go to Ubuntu.

Paul
phiggins is offline   Reply With Quote
Old 08-04-2008, 15:47   #12
Registered User
 
Join Date: Jan 2008
Posts: 45
I agree on Ubuntu. I updated my boot flash to Q2D14, what are you running? When I toggle back to 653 all files are still around and usable, just can't get to them via whatever pathname file is used by 656. Seems like a significant oversight the OLPC developers. What were they thinking?
agkirk is offline   Reply With Quote
Old 08-04-2008, 17:58   #13
Registered User
 
phiggins's Avatar
 
Join Date: Nov 2004
Location: Toronto
Boat: ODAY 35 GDAYII
Posts: 321
I'm at 656, don't know what Q2D14 is. Really strange it updated by itself. Actually because its so quiet and uses so little power, I often leave it on for days with an internet connection. So far I haven't been updated but then I guess 656 is the highest version right now.

I guess the XO developers wanted to make upgrading as easy as possible for kids around the world by doing it this way.

Anyway I'm staying on Ubuntu but I wish I could find a version of it that supports bluetooth. That's about the only thing I haven't been able to get working that was on my original list.

Paul
phiggins is offline   Reply With Quote
Old 08-04-2008, 18:55   #14
Registered User
 
tyrntlzrdking's Avatar
 
Join Date: Jan 2008
Location: Michigan
Boat: 1967 Starcraft 16' - 1961 Mercury 70hp
Posts: 148
Bluetooth is being used with Sugar:
OLPC News Forum: Installing Ubuntu using compressed files

You can cut and paste using Sugar:
http://www.wiki.laptop.org/go/Scroll...Copy_and_Paste
tyrntlzrdking is offline   Reply With Quote
Old 08-04-2008, 22:07   #15
Registered User
 
Join Date: Jan 2008
Posts: 45
Wow! Thanks and I've bookmarked that bash link, that's real handy. The history is also enlightening. Thanks. So, what do you think changes when running under the 656 kernel? I could do a mc command from the home dir in 653 and it knew the path to .mc/mc.

I tried using the /home/olpc/.mc/mc with no luck. It appears the .exe for all the add ins are located in some other area. You mentioned the $PATH environment variable. I suspect this is where the difference between the two kernels resides and the 656 version doesn't contain the history of 653. Any reason I can't copy that data to the SD card and replace the $PATH in 656? And where might I find $PATH ?

Last edited by agkirk; 08-04-2008 at 22:35. Reason: Tried ~ /.mc/mc
agkirk is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Merline II Navigation Computer svHyLyte Navigation 7 17-05-2008 15:00
Living in the Computer Age TaoJones Off Topic Forum 6 09-12-2007 22:36
XO, OLPC as a boat computer. sluissa Electronics: Communications & Audio Visual 5 24-09-2007 11:36
Scanned Charts on the computer... GreatKetch Navigation 41 30-03-2007 08:47
Best Integrated Computer Navigation System? theloneoux General Sailing Forum 9 02-08-2005 15:05


All times are GMT -7. The time now is 00:14.


Other Social Knowledge forum communities:
Cooking Forum - Sailing Forum - Early Retirement - Airstream Trailer - Aquarium Forum - Royal Forum - Book Forum - Volkswagen Touareg Forum - Jeep Wrangler Forum - Whitewater Kayaking & Rafting Forum - Fiberglass RV Forum - RV Forum - Truck Conversion - U2 Music Forum
Social Knowledge Networks
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0
© copyright 2002-2009 Social Knowledge, LLC All Rights Reserved.