Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 16-01-2010, 05:01   #1
Registered User

Join Date: Jan 2010
Location: Philippines
Boat: Robert 35 Centre Cockpit
Posts: 65
OpenCPN Linux / Ubuntu Issues and Questions

I am an extremely delighted that Linux / Ubuntu OpenCPN version has arrived on the navigation scene and that now as a dedicated Ubuntu Linux user I am able to throw away the last vestages of navigation software that held me to Microsoft Windows.

I have used Ubuntu for 3 years now and have watched it grow, stumble, go forwards in spurts , go backwards occasionally but most of the time provide me with a totally enthralling open source experience.

Four weeks ago i sailed from Chalong bay to Nai Harn Bay Phuket Thailand (Possibly the most beautiful anchorage in the world) using only open source Ubuntu OS, open Source OpenCPN navigation. (Plus I even got a inexpensive Bluetooth GPS working which I could never do under Windows)

Open CPN worked fine. It provided me with all the navigation i needed. I did not know how to set the tracking option, but subsequently Terry on yacht Valhalla told me how to fix that.

I would love to hear about other users issues and problems and would be happy along with other Open Source users to help solve and enhance our OpenCPN and GNU / Linux Ubuntu navigation experience.

Perhaps I should start by thanking who ever is compiling the Ubuntu OpenCPN version and for the prompt delivery of the 1.36 Ubuntu version.

I look forward to hearing from all OpenCPN Linux users.

George
Yacht Amable
Phuket
__________________

__________________
yachtmanforfun is offline   Reply With Quote
Old 16-01-2010, 05:23   #2
Senior Cruiser
 
idpnd's Avatar

Cruisers Forum Supporter

Join Date: Sep 2007
Location: Almería, ES
Boat: Chiquita 46 - Libertalia
Posts: 1,551
Hello George,

I am also rather pleased with purely linux navigation - why leave such an important task to an unstable O/S?

Most of the compiling and programming is currently performed by lead developer Dave, but a number of people are contributing documentation, translations and testing.

Participation options for non-programmers include support, documentation (wiki) and bug reports as outlined at opencpn.org.

Best regards
__________________

__________________
sv Libertalia
idpnd is offline   Reply With Quote
Old 16-01-2010, 07:02   #3
Registered User

Join Date: Jan 2010
Posts: 1
I have tried installing open cpn on my ubuntu machine. No luck- where is the startup for the program?
__________________
waterboy is offline   Reply With Quote
Old 16-01-2010, 07:07   #4
Senior Cruiser
 
idpnd's Avatar

Cruisers Forum Supporter

Join Date: Sep 2007
Location: Almería, ES
Boat: Chiquita 46 - Libertalia
Posts: 1,551
Quote:
Originally Posted by waterboy View Post
I have tried installing open cpn on my ubuntu machine. No luck- where is the startup for the program?
You can either copy/type these commands into your terminal to create a desktop icon:

Quote:
sudo wget http://www.matrixmariner.com/sites/default/files/opencpn.png -O /usr/share/icons/opencpn.png
sudo wget http://www.matrixmariner.com/sites/default/files/opencpn.desktop -O /usr/share/applications/opencpn.desktop
cp /usr/share/applications/opencpn.desktop ~/Desktop
alternatively, right click on your menu "edit menu", select desired category, "new item" command: "opencpn" name: "opencpn"
__________________
sv Libertalia
idpnd is offline   Reply With Quote
Old 16-01-2010, 07:38   #5
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Another alternative to start OpenCPN is to just write "opencpn" in a command window ( similar to dos window ) and then hit "Enter".
The easiest way to do this is probably to hit ALT-F2 (both keys at the same time) write "opencpn" in the small window that pops up. Hit "Enter". If OpenCPN is installed it will start.

waterboy and yachtmanforfun, great to see more Linux users here, welcome! There are quite a few of us here already and most issues can be sorted out quite quickly.


Thomas
__________________
cagney is offline   Reply With Quote
Old 16-01-2010, 07:54   #6
Senior Cruiser
 
idpnd's Avatar

Cruisers Forum Supporter

Join Date: Sep 2007
Location: Almería, ES
Boat: Chiquita 46 - Libertalia
Posts: 1,551
Thomas, this is disabled on ubuntu from 9.04 due to the newer gnome.. Although I concur it would certainly be the easiest solution for a relative novice..
__________________
sv Libertalia
idpnd is offline   Reply With Quote
Old 16-01-2010, 08:06   #7
Registered User
 
Springbok's Avatar

Join Date: May 2008
Location: Aberdeen, South Africa
Boat: r then 33 Y amaha Feb 2014 just bought Alan Pape 43 ketch
Posts: 198
Thanks Linux/S. Hemisphere

Running fine here also- thanks to all involved. Updating progress is amazing.
Thanks again
Clyde
__________________
Springbok
Springbok is offline   Reply With Quote
Old 16-01-2010, 08:30   #8
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Quote:
Originally Posted by idpnd View Post
Thomas, this is disabled on ubuntu from 9.04 due to the newer gnome.. Although I concur it would certainly be the easiest solution for a relative novice..
OK, could be. I'm on Kubuntu 9.10 where the key combination works. I also started my EEEPC 901 with Ubuntu/gnome Netbook Remix 9.10 installed, and it worked there as well.

Thomas
__________________
cagney is offline   Reply With Quote
Old 17-01-2010, 01:26   #9
Registered User
 
sredna's Avatar

Join Date: Dec 2009
Location: Vester Skerninge, Danmark
Boat: Svendborg Senior DEN 38 Kate
Posts: 107
Quote:
Originally Posted by waterboy View Post
I have tried installing open cpn on my ubuntu machine. No luck- where is the startup for the program?
In KDE, you can just type "opencpn" (or even just a part of it) in KRunner or in the KickOff menu searchbox, and it will come up in the result area.
It has no icon though, maybe i should investigate that.

Anders
Attached Thumbnails
Click image for larger version

Name:	openCPN-krunner.png
Views:	177
Size:	45.8 KB
ID:	12675  
__________________
sredna is offline   Reply With Quote
Old 17-01-2010, 01:44   #10
Registered User
 
sredna's Avatar

Join Date: Dec 2009
Location: Vester Skerninge, Danmark
Boat: Svendborg Senior DEN 38 Kate
Posts: 107
Quote:
Originally Posted by sredna View Post
.
It has no icon though, maybe i should investigate that.
In the .desktop file, it says

Code:
Icon=exec
Correcting that to

Code:
Icon=opencpn
convinces the icon to show. You will need to rebuild the menu (in kde run kbuildsycoca4, or simply restart your session)

Anders
__________________
sredna is offline   Reply With Quote
Old 17-01-2010, 03:55   #11
Registered User
 
sredna's Avatar

Join Date: Dec 2009
Location: Vester Skerninge, Danmark
Boat: Svendborg Senior DEN 38 Kate
Posts: 107
A little more on the desktop file

I post this here, as this is where it came up. It could as well go into the 1.3.6 thread, or featuere requests.

Then, here are som additional suggestions for enhancing the opencpn.desktop files:

OpenCPN shows up in the "lost and found" section of the menu (in KDE at least) because the desktop file is missing a proper category.

To fix, add a value:
Code:
Categories=Navigation;Chart;Utility
This will put openCPN int the "Utilities" section of the desktop menu. It is possible, by installing two additional files, to create a more specific desktop menu category, for example "Navigation". Maybe it would be interresting to cooperate with other linux navigation softwares on that? If someone is interrested, I can easily produce working files for this.

Adding values for the GenericName and Comment fields would enhance usability. In KDE the GenericName - describing the functionality of the application - value is displayed in the desktop menu, sometimes as the main string. It can be translated, so instead of seeing "openCPN", a use could see the string "Marine Chart Plotter" in his own language. Nice, right?

Code:
GenericName=Marine Chart Plotter
GenericName[da]=Søkortplotter
The comment field is not used in KDE afaik, but it may be in the future, and it may be in other environments.

Code:
Comment=Navigation and planning tool for sailors
Comment[da]=Navigations- og planlægningsredskab for sejlere
My fully enhanced and cleaned up opencpn.desktop looks like this:

Code:
[Desktop Entry]
Name=OpenCPN
Name[en_US]=OpenCPN
GenericName=Marine Chart Plotter
GenericName[da]=Søkortplotter
Comment=Navigation and planning tool for sailors
Comment[da]=Navigations- og planlægningsredskab for sejlere
Exec=opencpn
Icon=opencpn
Categories=Navigation;Chart;Utility
StartupNotify=true
References:
Desktop Menu Specification
Desktop Entry Specification

Anders
Attached Thumbnails
Click image for larger version

Name:	openCPN-lancelot.png
Views:	210
Size:	149.1 KB
ID:	12676  
__________________
sredna is offline   Reply With Quote
Old 17-01-2010, 13:09   #12
Registered User
 
robsbots's Avatar

Join Date: Jan 2010
Location: Brightlingsea, Essex, UK
Boat: Unknown wooden sail boat in "restoration". 19ft. As yet to see the water.
Posts: 8
Fedora compile problems

Hi all.

Just tried to compile opencpn from the CVS under fedora . I have previously compiled/installed the wxWidgets library but opencpn fails to compile.

This is the last few lines output from the compiler. Any advice would be much appreciated.

Code:
././include/scrollingdialog.h:28: error: redefinition of ‘class wxDialogLayoutAdapter’
/usr/local/include/wx-2.9/wx/dialog.h:239: error: previous definition of ‘class wxDialogLayoutAdapter’
././include/scrollingdialog.h:46: error: redefinition of ‘class wxStandardDialogLayoutAdapter’
/usr/local/include/wx-2.9/wx/dialog.h:257: error: previous definition of ‘class wxStandardDialogLayoutAdapter’
././include/chartdbs.h:176: warning: ‘class ChartDatabase’ has virtual functions but non-virtual destructor
././include/navutil.h:601: warning: type attributes ignored after type is already defined
././include/navutil.h:603: warning: type attributes ignored after type is already defined
/usr/local/include/wx-2.9/wx/gtk/tbargtk.h: In member function ‘void MyFrame::UpdateToolbar(ColorScheme)’:
/usr/local/include/wx-2.9/wx/gtk/tbargtk.h:91: error: ‘GtkToolbar* wxToolBar::m_toolbar’ is private
src/chart1.cpp:2494: error: within this context
make: *** [chart1.o] Error 1
Is there any way to check the wxWidgets install ?

btw. I have opencpn running on windows 7 and its a fantastic piece of kit. Carry on the great work.


Thanks for any help you can offer.
Rob
__________________
robsbots is offline   Reply With Quote
Old 17-01-2010, 13:54   #13
Registered User
 
sredna's Avatar

Join Date: Dec 2009
Location: Vester Skerninge, Danmark
Boat: Svendborg Senior DEN 38 Kate
Posts: 107
Quote:
Is there any way to check the wxWidgets install ?
Which wxWidget library did you install? Prefer the gtk version (wxgtk in the arch package manager), v. 2.8
__________________
sredna is offline   Reply With Quote
Old 17-01-2010, 13:55   #14
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Quote:
Glib has through recent changes developed an incompatibility problem with WxWidgets. To compile you have to use a temporary work around.
* sudo kate(or gedit) /usr/include/glib-2.0/gio/giotypes.h
* find and comment out line 120 (which reads typedef struct _GSocket
GSocket by prepending //
* build opencpn
* edit giotypes.h again and uncomment line 120 (don't forget this!!!)
Did you follow this advice before compiling?
My experiences from installing Fedora 11 last Novemer Help / FAQ

Thomas
__________________
cagney is offline   Reply With Quote
Old 17-01-2010, 14:03   #15
Registered User

Join Date: Feb 2009
Posts: 26
what bluetooth gps did you manage to get this to work with?
__________________

__________________
modul8 is offline   Reply With Quote
Reply

Tags
linux, opencpn, ubuntu

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
Improved GNUAIS (AISMON for Linux) hackoon OpenCPN 24 14-07-2013 09:34
Linux Grib Viewer cagney Navigation 13 20-05-2010 18:51
Linux based Navigation Software for the eepc and XO laptop Barco Software Marine Electronics 36 03-09-2008 01:45
Anyone know of any boat Design Software for Linux ? steveh000 Construction, Maintenance & Refit 1 27-11-2007 07:56
linux or xp uncle_fred Navigation 7 21-08-2006 18:03



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 08:23.


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.