Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 22-03-2024, 07:57   #1
Registered User

Join Date: Jun 2022
Location: Cantabria
Boat: Jeanneau - Merry Fisher 925
Posts: 428
RASPI OCPN - Bar not movable

Fresh installation of OCPN 5.8.4-3 in Raspi Bookworn 64.

after been fighting & crying yesterday because of Linux, you know permission, not clear where the files are, etc. (you know windows user)

with your guidance I've been able to setup OCPN.

when installed yesterday via flatpack just on opening the setting and trying to give the path for the charts, the program just quit.

uninstalled OCPN & flatpack and installed direct.

now is working need some tweaks but annoying thing is that the scale bar is in the middle of the screen, and I cannot move it.

could it be relocated?
Attached Thumbnails
Click image for larger version

Name:	20240322_14h48m42s_grim.jpg
Views:	18
Size:	410.2 KB
ID:	287907  
__________________
Corsair

Roses don't bloom on the sailor's grave
Corsair63 is offline   Reply With Quote
Old 22-03-2024, 08:51   #2
Registered User

Join Date: Jun 2022
Location: Cantabria
Boat: Jeanneau - Merry Fisher 925
Posts: 428
Re: RASPI OCPN - Bar not movable

Also not able to exchange the language of the app.

I set to Spanish but there is no change at all.

where is supposed to be stored the .mo file in the system (Raspi Debian)?
__________________
Corsair

Roses don't bloom on the sailor's grave
Corsair63 is offline   Reply With Quote
Old 22-03-2024, 16:43   #3
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,150
Re: RASPI OCPN - Bar not movable

Quote:
Originally Posted by Corsair63 View Post
Fresh installation of OCPN 5.8.4-3 in Raspi Bookworn 64.
now is working need some tweaks but annoying thing is that the scale bar is in the middle of the screen, and I cannot move it.

could it be relocated?
Did you tried Nohal's advice about Wayland? https://www.cruisersforum.com/forums...ml#post3882606
Hakan is offline   Reply With Quote
Old 22-03-2024, 17:01   #4
Registered User

Join Date: Jun 2022
Location: Cantabria
Boat: Jeanneau - Merry Fisher 925
Posts: 428
Re: RASPI OCPN - Bar not movable

Quote:
Originally Posted by Hakan View Post
Hi Hakan & Nohal,

I read the URL extremely fast, and I didn't find the way, now in a double check I found it and exchanged the Raspi-config to work as X11, the display is correct now.

thanks a lot.

still too many things to do & adjust in this o.s. from my side.
__________________
Corsair

Roses don't bloom on the sailor's grave
Corsair63 is offline   Reply With Quote
Old 22-03-2024, 17:13   #5
Registered User

Join Date: Jun 2022
Location: Cantabria
Boat: Jeanneau - Merry Fisher 925
Posts: 428
Re: RASPI OCPN - Bar not movable

About the language, not able to setup the Spanish, I've tried to exchange to several languages and not exchanged, always shown in English.

Where is located the folder for the language files for OCPN in Rasbberry??

some extract of the log file:
Code:
01:07:05.288    INFO logger.cpp:130 ------- OpenCPN version 5.8.4 restarted at 2024-03-23 -------

01:07:05.288    INFO logger.cpp:130 Using loglevel INFO
01:07:05.288 MESSAGE ocpn_app.cpp:1234 wxWidgets version: wxWidgets 3.2.2 Linux 64 bit wxGTK
01:07:05.305 MESSAGE ocpn_app.cpp:1239 OS Version reports as:  6.6
01:07:05.305 MESSAGE ocpn_app.cpp:1241 MemoryStatus:  mem_total: 7808 mb,  mem_initial: 398 mb
01:07:05.305 MESSAGE ocpn_app.cpp:1253 OCPN_OSDetail:  arm64 ; Debian GNU/Linux ; 12 ; debian ; 
01:07:05.306 MESSAGE ocpn_app.cpp:1260 SData_Locn is /usr/share/opencpn/
01:07:05.306 MESSAGE ocpn_app.cpp:1275 PrivateDataDir is /home/Corsair/.opencpn
01:07:05.306 MESSAGE ocpn_app.cpp:1364 Using existing Config_File: /home/Corsair/.opencpn/opencpn.conf
01:07:05.318 MESSAGE navutil.cpp:1263 winPluginDir, read from ini file: 
01:07:05.318 MESSAGE navutil.cpp:1347 Setting Ownship Lat/Lon 43.4671, -3.7782
01:07:05.324 MESSAGE navutil.cpp:3213 Switch InlandEcdis mode Off
01:07:05.332 MESSAGE styles.cpp:841 Styles loading from /usr/share/opencpn/uidata/styles.xml
01:07:05.339 MESSAGE styles.cpp:818 No styles found at: /home/Corsair/
01:07:05.340 MESSAGE styles.cpp:818 No styles found at: /home/Corsair/.opencpn/
01:07:05.370 MESSAGE styles.cpp:775 Using SVG Icons
01:07:05.370 MESSAGE ocpn_app.cpp:1425 Detected display size (horizontal): 508 mm
01:07:05.370 MESSAGE ocpn_app.cpp:1433 Display size (horizontal) config override: 480 mm
01:07:05.371 MESSAGE OCPNPlatform.cpp:925 Getting DefaultSystemLocale...
01:07:05.378 MESSAGE ocpn_app.cpp:1461 System default Language:  en_GB
01:07:05.378 MESSAGE ocpn_app.cpp:1464 Config file language:  es
01:07:05.378 MESSAGE ocpn_app.cpp:1469 Adjusted App language:  es
01:07:05.378 MESSAGE OCPNPlatform.cpp:1006 ChangeLocale: Language load for:  es
01:07:05.385 WARNING intl.cpp:393 Cannot set locale to language "Spanish".
01:07:05.387 MESSAGE OCPNPlatform.cpp:1031 ChangeLocale:  could not initialize:  es
01:07:05.391 WARNING intl.cpp:393 Cannot set locale to language "Spanish".
01:07:05.391 MESSAGE OCPNPlatform.cpp:1047 ChangeLocale: Fall back to en_US
01:07:05.392 MESSAGE ocpn_app.cpp:1476 Opencpn language set to:  es
01:07:05.393 MESSAGE ConfigMgr.cpp:624 Loading Configs catalog: /home/Corsair/.opencpn/Configs/configs.xml
01:07:05.402 MESSAGE ocpn_app.cpp:1712 Creating MyFrame...size(1920, 1044)  position(-2, 34)
01:07:05.586 MESSAGE ocpn_frame.cpp:839  **** Connect stuff
01:07:05.598 MESSAGE OCPNPlatform.cpp:823 Starting OpenGL test...
01:07:06.489 MESSAGE OCPNPlatform.cpp:829 OpenGL test complete.
01:07:06.490 MESSAGE OCPNPlatform.cpp:850 OpenGL determined CAPABLE.
01:07:06.525 MESSAGE chcanv.cpp:990 Creating glChartCanvas
01:07:06.586 MESSAGE chcanv.cpp:2398 Metrics:  m_display_size_mm: 480     g_Platform->getDisplaySize():  1920:1080   
01:07:06.586 MESSAGE chcanv.cpp:2403 wxDisplaySize(): 1920 1080
01:07:06.586 MESSAGE TCDataSource.cpp:50 Loading Tide/Current data source: /usr/share/opencpn/tcdata/harmonics-dwf-20210110-free.tcd
01:07:06.586 MESSAGE tcmgr.cpp:666    Error loading Tide/Currect data source /usr/share/opencpn/tcdata/harmonics-dwf-20210110-free.tcd Error Code: TC_FILE_NOT_FOUND
01:07:06.586 MESSAGE TCDataSource.cpp:41 UnLoading Tide/Current data source: /usr/share/opencpn/tcdata/harmonics-dwf-20210110-free.tcd
01:07:06.586 MESSAGE TCDataSource.cpp:50 Loading Tide/Current data source: /usr/share/opencpn/tcdata/HARMONICS_NO_US.IDX
01:07:06.625 MESSAGE TCDataSource.cpp:50 Loading Tide/Current data source: /media/Corsair/S-212_01/OpenPlotter/Mareas/HARMONIC.IDX
01:07:06.850 MESSAGE chartsymbols.cpp:708 ChartSymbols loaded from /usr/share/opencpn/s57data/chartsymbols.xml
01:07:06.948 MESSAGE ocpn_frame.cpp:8535 Using s57data in /usr/share/opencpn/s57data
__________________
Corsair

Roses don't bloom on the sailor's grave
Corsair63 is offline   Reply With Quote
Old 23-03-2024, 01:06   #6
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,150
Re: RASPI OCPN - Bar not movable

Corsair..
Quote:
About the language, not able to setup the Spanish,
I'm using current master code on a RPi4 and Rpi5 and I can confirm your report.
It's not able to change language on these system.
I'll create an issue on Github (#3747)
Thanks
Hakan is offline   Reply With Quote
Old 27-03-2024, 13:17   #7
Registered User

Join Date: Apr 2018
Posts: 4
Re: RASPI OCPN - Bar not movable

I am having the same issue with flatpak opencpon installation. the chart bar is located in the center of the screen. I tried the workaround from wayland to x11 but when I reboot the screen is grey. I can undo via raspi config over ssh but this just puts me back where i started.

any thoughts?

pi 5, latest OS. headless config. Current open plotter 4 wont write to sd card via pi imager and OP3 doesn't work over VNC.
Big_Time_Brendo is offline   Reply With Quote
Old 28-03-2024, 07:15   #8
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,150
Re: RASPI OCPN - Bar not movable

Quote:
Originally Posted by Corsair63 View Post
About the language, not able to setup the Spanish, I've tried to exchange to several languages and not exchanged, always shown in English.
Corsair..
I don't know if you solved this. My previous answer was to quick due to my short memory.
The (Linux)system needs to have the desired language(s) installed to be able to use them in OCPN.
On RPi - open sudo raspi-config. Select localization-language. Scroll the list and select those you want. Remember to use one with UTF-8. (Select->space key)

If not on Rpi? more here.
Hakan is offline   Reply With Quote
Old 28-03-2024, 08:48   #9
Registered User

Join Date: Jun 2022
Location: Cantabria
Boat: Jeanneau - Merry Fisher 925
Posts: 428
Re: RASPI OCPN - Bar not movable

Quote:
Originally Posted by Hakan View Post
Corsair..
I don't know if you solved this. My previous answer was to quick due to my short memory.
The (Linux)system needs to have the desired language(s) installed to be able to use them in OCPN.
On RPi - open sudo raspi-config. Select localization-language. Scroll the list and select those you want. Remember to use one with UTF-8. (Select->space key)

If not on Rpi? more here.
Hi Hakan,

perfect, I followed your instructions and now system and OCPN are shown in Spanish (selected es_ES.UTF-8).

I was confused because I select the language in:
Preferences - Raspberry setup - Localisation but there was not any exchange.

now doing with raspi-config and after reboot all are in Spanish, also I removed the en_GB by default.

another curious thing found in Raspi version of OCPN:
XDR sentence show the pressure in the Dashboard.
windows version doesn't, I have to convert with NMEAConvert plugin.
__________________
Corsair

Roses don't bloom on the sailor's grave
Corsair63 is offline   Reply With Quote
Reply


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
Custom built Battery Monitor System via Raspi jabrockert Powered Boats 0 19-02-2024 12:18
AIS Raspi Ubuntu Mate - no AIS objects Heiko2 OpenCPN 15 05-05-2019 04:01
OCPN 4.8.2 Status bar 0.6 : Preference kills OCPN! Didier B OpenCPN 15 12-02-2018 02:05
Movable Bracket to Change Aspect of Solar Panels? Bart Man Electrical: Batteries, Generators & Solar 20 03-09-2014 11:28
Movable Steel Cradle - Getting a Boat Indoors smilie Construction, Maintenance & Refit 10 10-02-2010 10:08

Advertise Here


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


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.