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 17-07-2021, 13:52   #1
Registered User

Join Date: Nov 2008
Location: Ottawa,Canada
Boat: Prout Snowgoose 37' Catamaran
Posts: 574
OpenCPN Linux TouchScreen

I have a Rpi4, 64 bit running OpenCPN. It works well except I don't have multitouch working for OpenCPN. For other applications like the web browser it works well (pinch to zoom in/out), but for OpenCPN it doesn't work. How can I get this working?
geoffr is offline   Reply With Quote
Old 20-07-2021, 06:55   #2
Registered User

Join Date: Nov 2008
Location: Ottawa,Canada
Boat: Prout Snowgoose 37' Catamaran
Posts: 574
Unhappy Re: OpenCPN Linux TouchScreen

Wow, doesn't anyone know?
geoffr is offline   Reply With Quote
Old 20-07-2021, 07:29   #3
Registered User

Join Date: May 2015
Location: Muskegon, Mi
Boat: Columbia 36
Posts: 1,262
Re: OpenCPN Linux TouchScreen

Other than it didn't work on my Pi either, no. After having 3 Pi's fail on me I switched to a regular tablet. Works better and easier setup. Running O, Navionics, and Aquamap, sometimes all at once.
capt jgw is offline   Reply With Quote
Old 20-07-2021, 13:36   #4
Registered User

Join Date: Jun 2017
Posts: 472
Re: OpenCPN Linux TouchScreen

Quote:
Originally Posted by geoffr View Post
Wow, doesn't anyone know?


You can try this distribution for raspberry pi which does a lot to support touchscreen better. It comes
with many Marine oriented programs preinstalled including OpenCPN.

https://github.com/bareboat-necessities/lysmarine_gen

Pinch zoom in OpenCPN doesn’t work due to lack of support of it in WxWidgets library on older gtk.

I’ve was able to make it work with gtk3 and latest WxWidgets by patching OpenCPN and compiling it from source code. however to make it mainstream it has to wait to WxWidgets with multi touch support makes it into official Linux distribution. Debian in case or raspberry pi os.

Thanks,
—MG
mgrouch is offline   Reply With Quote
Old 23-07-2021, 07:18   #5
Registered User

Join Date: Nov 2008
Location: Ottawa,Canada
Boat: Prout Snowgoose 37' Catamaran
Posts: 574
Re: OpenCPN Linux TouchScreen

Ok that explains it. I had seen this version, but didn't want to give up all of my set-up I have

I guess I'll download this a see how it goes. - thanks!
geoffr is offline   Reply With Quote
Old 23-07-2021, 08:20   #6
Registered User

Join Date: Nov 2008
Location: Ottawa,Canada
Boat: Prout Snowgoose 37' Catamaran
Posts: 574
Re: OpenCPN Linux TouchScreen

I have just loaded up this version and I still don't have multi-touch (pinch to zoom in/out). The basic touch does work - have I missed something?
geoffr is offline   Reply With Quote
Old 23-07-2021, 09:16   #7
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,547
Re: OpenCPN Linux TouchScreen

Is it really a good idea to use a touch screen for boat navigation?
For car navigation it might work but at a boat there are other conditions.
CarCode is offline   Reply With Quote
Old 23-07-2021, 09:30   #8
Registered User

Join Date: Oct 2020
Location: SE USA
Boat: Hunter 38
Posts: 1,471
Re: OpenCPN Linux TouchScreen

Quote:
Originally Posted by CarCode View Post
Is it really a good idea to use a touch screen for boat navigation?
For car navigation it might work but at a boat there are other conditions.
Its probably fine at the nav desk, but probably less fine at the helm where it could be raining/spray and greater motion of both boat and operator.
flightlead404 is offline   Reply With Quote
Old 27-07-2021, 08:57   #9
Registered User

Join Date: Oct 2020
Location: SE USA
Boat: Hunter 38
Posts: 1,471
Re: OpenCPN Linux TouchScreen

Quote:
Originally Posted by mgrouch View Post
You can try this distribution for raspberry pi which does a lot to support touchscreen better. It comes
with many Marine oriented programs preinstalled including OpenCPN.

https://github.com/bareboat-necessities/lysmarine_gen

Pinch zoom in OpenCPN doesn’t work due to lack of support of it in WxWidgets library on older gtk.

I’ve was able to make it work with gtk3 and latest WxWidgets by patching OpenCPN and compiling it from source code. however to make it mainstream it has to wait to WxWidgets with multi touch support makes it into official Linux distribution. Debian in case or raspberry pi os.

Thanks,
—MG
can you create a diff or patch file(s) so others can leverage your hacking skills?

maybe even submit to the main project or a fork?
flightlead404 is offline   Reply With Quote
Old 27-07-2021, 09:08   #10
Registered User

Join Date: Jun 2017
Posts: 472
Re: OpenCPN Linux TouchScreen

Quote:
Originally Posted by flightlead404 View Post
can you create a diff or patch file(s) so others can leverage your hacking skills?



maybe even submit to the main project or a fork?


I did it last fall. See

https://github.com/OpenCPN/OpenCPN/issues/2057
mgrouch is offline   Reply With Quote
Old 27-07-2021, 14:59   #11
Registered User

Join Date: Oct 2020
Location: SE USA
Boat: Hunter 38
Posts: 1,471
Re: OpenCPN Linux TouchScreen

Quote:
Originally Posted by mgrouch View Post
cheers mate I'll check it out
flightlead404 is offline   Reply With Quote
Old 01-09-2021, 20:22   #12
Registered User

Join Date: Jun 2017
Posts: 472
Re: OpenCPN Linux TouchScreen

Quote:
Originally Posted by flightlead404 View Post
cheers mate I'll check it out


2021-09-01 version of BBN Lysmarine OS now supports two finger zoom for OpenCPN too. Three finger scroll is
zoom to cursor. Two finger touch is right click on first touched finger.

See:

https://github.com/bareboat-necessit...ag/v2021-09-01

Thanks,
—MG
mgrouch is offline   Reply With Quote
Old 06-01-2022, 21:01   #13
Registered User

Join Date: Jun 2017
Posts: 472
Re: OpenCPN Linux TouchScreen

New release 2022-01-04 of Open-source Bareboat Necessities Marine OS for Raspberry Pi is available for downloads now.

It still includes OpenCPN 5.2.4 because OpenCPN 5.6.0 still doesn’t have all plugins available.

You can upgrade to OpenCPN to 5.6.0 easily with apt install and update all plugins via OCPN plugin manager.

Release notes for this BBN release
and links to Getting Started Guide and download locations:

https://github.com/bareboat-necessit...ag/v2022-01-04

Thanks
mgrouch is offline   Reply With Quote
Reply

Tags
enc, linux, opencpn, screen


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
OpenCPN on Raspberry Pi w/touchscreen not working drewc228 OpenCPN 18 30-08-2022 04:56
MultiTouch Touchscreen for OpenCPN LJK OpenCPN 10 09-02-2020 23:19
Linux&touchscreen unresponsive toolbar pinguino OpenCPN 3 16-01-2017 13:27
opencpn kiosk touchscreen skkeith OpenCPN 5 26-08-2015 13:46
OpenCPN on a 8" Touchscreen Dave9111 OpenCPN 3 05-09-2012 01:01

Advertise Here
  Vendor Spotlight
No Threads to Display.


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


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.