Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 22-01-2015, 03:18   #1
Registered User

Join Date: Jan 2015
Posts: 6
ubuntu 12.04 first time installation grafical issues

Hello,

I can not configure OPENCPN 4.0.0 on my system. The toolbar is in the middle of my 15.6" laptop screen and the screen resolution might be not right. I tried to set manually to 396mm, and still the same screen.

The terminal returns this error:
(opencpn:27501): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 17

In the attachment are 2 screenshots.

What can I do?

thanks!
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2015-01-22 11:16:32.png
Views:	80
Size:	50.7 KB
ID:	95884   Click image for larger version

Name:	Screenshot from 2015-01-22 11:17:22.png
Views:	75
Size:	57.6 KB
ID:	95885  

__________________

__________________
sailor2014 is offline   Reply With Quote
Old 22-01-2015, 05:26   #2
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 571
Re: ubuntu 12.04 first time installation grafical issues

How did you install opencpn ? By adding the ppa or ty deb package ? I has installed on many ubuntu 12.04 systems and newer seen this error. Whar is the model of your laptop ?? - brand model type etc,,
?
__________________

__________________
petter5 is offline   Reply With Quote
Old 22-01-2015, 06:22   #3
Registered User

Join Date: Jan 2015
Posts: 6
Re: ubuntu 12.04 first time installation grafical issues

hi petter,

I added the ppa and installed with apt-get.
Actually I have linux mint 13 maya running on a dual core Intel CPU with 2GB Ram and ATI Radeon4500 GPA. OpenGL is running, but only because I have old drivers because there are no new drivers anymore. I am pretty stuck with this software on my laptop.
1366*768px resolution

the error (Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 17) shows in the terminal , if I click on any button in the toolbar.
__________________
sailor2014 is offline   Reply With Quote
Old 22-01-2015, 06:57   #4
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,017
Re: ubuntu 12.04 first time installation grafical issues

sailor2014...
That GTK warning is no problem at all. I have also never seen this behavior before though. Which Mint flavor do you use? Cinnamon? Mate?

Pavel
__________________
nohal is online now   Reply With Quote
Old 22-01-2015, 07:50   #5
Registered User

Join Date: Jan 2015
Posts: 6
Re: ubuntu 12.04 first time installation grafical issues

mate it is.
__________________
sailor2014 is offline   Reply With Quote
Old 22-01-2015, 07:54   #6
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,017
Re: ubuntu 12.04 first time installation grafical issues

OK, my suspicion is that you have Mate set to force every window to the center of the screen (the toolbar, etc. technically are windows)
Try the following:
  1. Go to Menu > Control Center > Personal
  2. Click "Windows" to open up "Window Preferences".
  3. Untick "Center new windows" under the "Placement" tab.
IMO this could be a bug in Mate as it should honor the application setting the coordinates explicitly for it's child windows.

Pavel
__________________
nohal is online now   Reply With Quote
Old 22-01-2015, 07:56   #7
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 571
Re: ubuntu 12.04 first time installation grafical issues

I will suggest that you just to sort things out try to run Xinutop from a USB stick to test if it will run fine with opencpn. On your linux pc, download a xinutop image from: http://download.tuxfamily.org/xinuto...-nav-13.05.img
find a USB stick and plug it into your pc - be sure there is no files you want to keep ond the thumbdrive - they will be deleted,,
go to a terminal window and type: df -h - and make note of the name of your USB stick.
-USB stick connected but not mounted, with only one command line: dd if=/<your download directory>/xinutop-nav-yy.mm.img of=/dev/sd<the letter of your USB stick> ex: dd if=/home/user/download/xinutop-nav-13.03.img of=/dev/sdb

When finished after a fev minutes, reboot your pc and choose to boot from your USB stick.
After booting up, you will see the open CPN start icon on the desktop , report back if everything now displays ok ??
__________________
petter5 is offline   Reply With Quote
Old 22-01-2015, 08:36   #8
Registered User

Join Date: Jan 2015
Posts: 6
Re: ubuntu 12.04 first time installation grafical issues

@nohal:

I cant find any option called "center new windows". any chance in GConf editor? where could I find it? so long no hit

and if i right-click on the move area of the toolbar (small area on the right of the symbols, to switch between horizontal and vertical) and click then one more time, the position of the horizontal toolbar is a little bit higher. It moves a little bit up. So maybe it is not a center windows option, otherwise the toolbar would stay in the same position?!?

@petter5:

download is almost ready. I am going to test it tonight.
__________________
sailor2014 is offline   Reply With Quote
Old 22-01-2015, 08:46   #9
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,017
Re: ubuntu 12.04 first time installation grafical issues

I really have no idea and don't have it installed. http://www.linuxmint.com/documentati...glish_13.0.pdf talks about it as "Control Center" all the time...
__________________
nohal is online now   Reply With Quote
Old 22-01-2015, 08:53   #10
Registered User

Join Date: Jan 2015
Posts: 6
Re: ubuntu 12.04 first time installation grafical issues

in my case the windows preferences setup looks like the screenshot
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2015-01-22 16:52:38.png
Views:	82
Size:	26.1 KB
ID:	95891  
__________________
sailor2014 is offline   Reply With Quote
Old 22-01-2015, 09:03   #11
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,017
Re: ubuntu 12.04 first time installation grafical issues

According to Install Mate 1.6 Desktop with MintMenu in Ubuntu 13.10/13.04/12.10/12.04/Linux Mint/other Ubuntu derivatives - NoobsLab | Ubuntu/Linux News, Reviews, Tutorials, Apps the option has been added in Mate 1.6
But before you spend too much time on it - Is your system actually opening all the new windows in the center of the screen?
__________________
nohal is online now   Reply With Quote
Old 22-01-2015, 10:54   #12
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,248
Re: ubuntu 12.04 first time installation grafical issues

Quote:
Originally Posted by sailor2014 View Post
@nohal:

I cant find any option called "center new windows". any chance in GConf editor? where could I find it? so long no hit

and if i right-click on the move area of the toolbar (small area on the right of the symbols, to switch between horizontal and vertical) and click then one more time, the position of the horizontal toolbar is a little bit higher. It moves a little bit up. So maybe it is not a center windows option, otherwise the toolbar would stay in the same position?!?

@petter5:

download is almost ready. I am going to test it tonight.

What happens if you left click the "move area" and drag the toolbar to a different position..... ?

Thomas
__________________
cagney is offline   Reply With Quote
Old 07-02-2015, 08:22   #13
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Re: ubuntu 12.04 first time installation grafical issues

Quote:
Originally Posted by sailor2014 View Post
Hello,

I can not configure OPENCPN 4.0.0 on my system. The toolbar is in the middle of my 15.6" laptop screen and the screen resolution might be not right. I tried to set manually to 396mm, and still the same screen.

The terminal returns this error:
(opencpn:27501): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 17

In the attachment are 2 screenshots.

What can I do?

thanks!
Did you evr fix this ,Sailor2014? I have exactly the same problem on a newer Puppy Linux version.
edit:
rather, almost the same. The error message is the same but in my case the toolbar disappears completely if I get near it with the mouse cursor. The only way to see it is to minimise O and then restore the window. and then sneak up on a toolbar button to use it. Trying to click on the toolbar handle to move it makes it disappear entirely.description is difficult! but it's very furtive.
( thinking on this, It might have something to do with the popup text that appears at the mouse cursor....)

But first-off, the run-in-terminal error "(opencpn:27501): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 17" is the same.
__________________

__________________
HappySeagull is offline   Reply With Quote
Reply

Tags
cal, installation

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
OpenCPN installation problem on Ubuntu zodd OpenCPN 2 05-11-2013 07:01
Opencpn installation under Ubuntu 12.04 Idiens OpenCPN 8 29-05-2013 06:51
OCPN installation on Ubuntu 12.10 64bit fails. HotRod OpenCPN 37 03-05-2013 11:17
Installation Issue with Ubuntu 11.04 claire OpenCPN 15 02-05-2011 14:33
AIS installation- Open CPN and Ubuntu Tia Bu OpenCPN 11 25-04-2011 17:49



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 05:53.


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.