Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 14-05-2014, 13:49   #31
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,927
Re: XINUTOP Portable OS Linux Marine Updated

petter5...
Code:
sudo locale-gen nb_NO.UTF-8
sudo update-locale
Should do the trick for you

Pavel
__________________

__________________
nohal is online now   Reply With Quote
Old 14-05-2014, 14:10   #32
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 506
Re: XINUTOP Portable OS Linux Marine Updated

I tried as sugessted, see output.

First

marinux@xinutop:~$ sudo locale-gen nb_NO.utf-8
marinux@xinutop:~$

then


marinux@xinutop:~$ sudo update-locale
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_NUMERIC = "POSIX",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
*** update-locale: Error: invalid locale settings: LC_NUMERIC=POSIX LANG=en_US.UTF-8

,,,,,,
__________________

__________________
petter5 is offline   Reply With Quote
Old 14-05-2014, 14:23   #33
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,927
Re: XINUTOP Portable OS Linux Marine Updated

Petter...
The capital letters in "UTF-8" are mandatory in the first command.
For the error from update-locale read Quick Tip: Fixing Locale Warnings/Notices Issues on Linux Server (or Desktop) | Code Theory and fix your profile

Pavel
__________________
nohal is online now   Reply With Quote
Old 14-05-2014, 14:32   #34
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 506
Re: XINUTOP Portable OS Linux Marine Updated

Pavel .

marinux@xinutop:~$ sudo locale-gen nb_NO.UTF-8
Generating locales...
nb_NO.UTF-8... cannot open locale definition file `nb_NO': No such file or directory
failed
Generation complete.
marinux@xinutop:~$

how to genrate locale definition file `nb_NO'
__________________
petter5 is offline   Reply With Quote
Old 14-05-2014, 14:49   #35
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,927
Re: XINUTOP Portable OS Linux Marine Updated

Petter...
Post output of
Code:
sudo dpkg --get-selections | egrep "lang|locale"
I have never seen Xinutop, so have no idea how much it comes stripped down...

Pavel
__________________
nohal is online now   Reply With Quote
Old 14-05-2014, 14:52   #36
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 506
Re: XINUTOP Portable OS Linux Marine Updated

Pavel...
marinux@xinutop:~$ sudo dpkg --get-selections | egrep "lang|locale"
language-pack-en install
language-pack-en-base install
language-pack-te install
language-pack-te-base install
language-selector install
language-selector-common install
language-selector-gnome install
libdatetime-locale-perl install
libencode-locale-perl install
liblocale-gettext-perl install
libslang2 install
localepurge install
locales install
marinux@xinutop:~$
Regarding Xinutop, it is a dedicated stripped down nav os with O preinstalled and also other usefull nav utilities.

Petter.
__________________
petter5 is offline   Reply With Quote
Old 14-05-2014, 15:13   #37
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,927
Re: XINUTOP Portable OS Linux Marine Updated

Petter...
Then the easiest way to get Norwegian to your system should be
Code:
sudo apt-get install language-pack-nb
__________________
nohal is online now   Reply With Quote
Old 14-05-2014, 15:19   #38
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 506
Re: XINUTOP Portable OS Linux Marine Updated

Nohal.
marinux@xinutop:~$ sudo apt-get install language-pack-nb
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
language-pack-nb-base
Recommended packages:
firefox-locale-nb
The following NEW packages will be installed:
language-pack-nb language-pack-nb-base
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
Need to get 909 kB of archives.
After this operation, 2973 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 Index of /ubuntu precise-updates/main language-pack-nb-base all 1:12.04+20140106 [907 kB]
Get:2 Index of /ubuntu precise-updates/main language-pack-nb all 1:12.04+20140106 [2010 B]
Fetched 909 kB in 0s (927 kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_NUMERIC = "POSIX",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Selecting previously unselected package language-pack-nb-base.
(Reading database ... 61686 files and directories currently installed.)
Unpacking language-pack-nb-base (from .../language-pack-nb-base_1%3a12.04+20140106_all.deb) ...
Selecting previously unselected package language-pack-nb.
Unpacking language-pack-nb (from .../language-pack-nb_1%3a12.04+20140106_all.deb) ...
Setting up language-pack-nb (1:12.04+20140106) ...
Setting up language-pack-nb-base (1:12.04+20140106) ...
Generating locales...
nb_NO.UTF-8... cannot open locale definition file `nb_NO': No such file or directory
failed
Generation complete.
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB
localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB
localepurge: Disk space freed in /usr/share/omf: 0 KiB

Total disk space freed by localepurge: 0 KiB

marinux@xinutop:~$
Petter.
__________________
petter5 is offline   Reply With Quote
Old 14-05-2014, 15:26   #39
Registered User
 
marinux's Avatar

Join Date: Dec 2010
Location: Kourou French Guiana South America
Boat: Trismus 37'
Posts: 68
Re: XINUTOP Portable OS Linux Marine Updated

Bonsoir,

Enjoy to see contributions to help petter5, and thanks for his suggestions. About theses 2 questions:

- Others languages: to keep Xinutop as small as possible, I have only include main languages according from download statistics (about 2000 at this day). But it's a good idea to include instructions to download and install others languages (and keyboards) for the next version.

- Reset: Perhaps this topic deserves a debate...Into Xinutop, you have all the root rights and you can make all the mistakes ! So the main reason to make a reset is to delete any error by recover the original system. As you can read in the documentation, the "home-save" function automatically save and move user home datas during a restoration. So, you can copy the contents from this /home-save directory to your new home user. However, for the reasons explained up, it save only your personnal configuration ans datas, not the system modifications.

Frank Marinux
__________________
marinux is offline   Reply With Quote
Old 14-05-2014, 15:27   #40
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,927
Re: XINUTOP Portable OS Linux Marine Updated

Hmmm...
Hard to say anything else than "Xinutop's locale system is broken". I would have to install it to find out why.

Pavel
__________________
nohal is online now   Reply With Quote
Old 14-05-2014, 15:54   #41
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 506
Re: XINUTOP Portable OS Linux Marine Updated

Frank.

Thx for replying.

From a standard Xinutop image install, you will have to do a lot of settings etc before you can start using if for any serious navigation.

If you screw up your Xinutop install, it can easily be re-installed by just writing a new xinutop image to your boot medium and you are back. or you can choose to use the reset option in the boot menu.
It is easy to rewrite the image using dd under linux or a windows imagewriter so this is a good solution if you screw up your installation. What I do today is to use imagewriter to make an image of my perfectly configured and working Xinutop installation, and then I can easily write the image back to my boot medium or backup boot medium if required. Really, when out sailing if anythings goes wrong you will need to get your working installation up back fast for continue the navigation and not the bare bone Xinutop image. If the rewrite menu option is replaced with a possibility to save and restore the current perfect working image/installation it would be a great and important improvment of Xinutop. .... I would also like to express my thanks for the great effort that already is done in xinutop. My pc is used dedicated for navigation and Xinutop keeps is simple and dependable.

Petter.

What I am dooing today is t
__________________
petter5 is offline   Reply With Quote
Old 23-05-2014, 10:39   #42
Registered User
 
GrowleyMonster's Avatar

Join Date: Dec 2012
Location: New Orleans
Boat: 1976 Cal 2-27
Posts: 1,044
Re: XINUTOP Portable OS Linux Marine Updated

I think that to always have root privileges available is a good idea on a limited use linux pc that is seldom or never connected to internet. Just sayin.
__________________
GrowleyMonster
1976 Cal 2-27, MR WIGGLES
Now with clean, dependable electric propulsion!
GrowleyMonster is offline   Reply With Quote
Old 10-11-2014, 05:43   #43
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 506
Re: XINUTOP Portable OS Linux Marine Updated

I'm using Xinutop and enjoy the simplicity of the dedicated system.
Is there any plans for updating the Xinutopdisk image ?

The absolutely minimal size of he image might not be so critical if the download is made avilable through bittorrent ?? If so I would suggest to include the possibility to choose language. Also, the startup menu "system restore" menu should add two additional options:
"Save Current system" and "restore last saved system"

This way you will have the possibility to return to your fully configured and saved system if you manage to mess up the system. Todays option for "system restore" will only bring back the original system image and not a fully functional system that might be required for disaster recovery. Also, I would suggest to by defalult compleately disable and dislplay saver. Ther reason for this is that it's meant to be a nav system and nav information should always be displayed. If you need to save power, displaysaver/ powersaving should be turend on manually, not the oposite way.

And if upgrading underlaying ubuntu version, keep to the LTS version.
__________________
petter5 is offline   Reply With Quote
Old 10-11-2014, 06:08   #44
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,833
Re: XINUTOP Portable OS Linux Marine Updated

Dear Frank Marinux
A long time ago I tried to install Marinux Marinux Website Xinutop dedicated marine OS to a 8gb usb key, using Windows 7 OS. However there were issues with the way the USB key was recognized which I was never able to resolve and so I never tried the system.

Are people still having trouble with this? Is there a particular USB key that works? I was using Cruz keys and tried all the tricks suggested.
__________________
rgleason is offline   Reply With Quote
Old 10-11-2014, 06:18   #45
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 506
Re: XINUTOP Portable OS Linux Marine Updated

I use 8 GB Sandisk cruizer https://www.norek.no/sandisk-cruzer-fit-8gb/661042 and win32 disk imager version 0.9.5 and it works just as intended.

Quote:
Originally Posted by rgleason View Post
Dear Frank Marinux
A long time ago I tried to install Marinux Marinux Website Xinutop dedicated marine OS to a 8gb usb key, using Windows 7 OS. However there were issues with the way the USB key was recognized which I was never able to resolve and so I never tried the system.

Are people still having trouble with this? Is there a particular USB key that works? I was using Cruz keys and tried all the tricks suggested.
__________________

__________________
petter5 is offline   Reply With Quote
Reply

Tags
linux, marine

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



Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 02:07.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.