Linux Users

cancel
Showing results for 
Search instead for 
Did you mean: 

Wonky fonts and rendering in LabVIEW when accessed via NX

Hello all,

This is my first post in the Linux community, so if I'm missing some sort of etiquette please excuse my ignorance.

I'm guessing this will be a long shot, but I'm wondering if anyone out there has run into this.

Short summary:

I can't seem to get LabVIEW to render properly using the free version of Nomachine NX, accessing my Linux box from Windows.  (Not to be confused with FreeNX)

LabVIEW_Linux.png

(Super secret private censorship was added by me)

The symptoms are as follow:

  • When accessed locally, LabVIEW works great.  I've set up my labview.conf files to use monotype-arial for the application font, which has worked out really well.
  • When logged in remotely via NX, half of the fonts normally accessible are unavailable in the LabVIEW environment.  Only some relatively cruddy ones are available.
  • No matter how much I tweak the Gnome "look and feel," I get stuck with the black menus that make palettes difficult to read.  This is not a problem normally.

Vital information:

  • LabVIEW 2011 (on this project)
  • OpenSUSE 11.2
  • Gnome
  • The latest and greatest NX server, node, and client on Linux (server side)
  • The latest and greatest NX client on the Windows side.

So far I've tried importing fonts to my NX windows client, I've downloaded all of their extra fonts, but nothing seems to work.

Has anyone encountered this?  I would be very grateful for any ideas.

Thanks in advance,

Jim

0 Kudos
Message 1 of 2
(3,697 Views)

Okay, I finally fixed this.  Part of it was related to LabVIEW settings, and part of it... well...

The first problem was LabVIEW's Linux "native appearance" setting.  I had imported a labview.conf file from my old Linux box that didn't quite apply correctly, even though everything appeared to be in order.

  1. Under LabVIEW Options Dialog, "Environment" section, "Linux," I switched "Use Native Appearance" to "none".
  2. I then closed LabVIEW and opened it again.
  3. ...back to the same setting and set it back to "gnome2" which I could swear it was set to before.
  4. I then closed and reopened LabVIEW
  5. Finally, I reset all my fonts via the "Environment" section of the LabVIEW dialog.

I think this effectively reset the settings in labview.conf.  Now my fonts were fine, but my menus were still stuck as all black.  I also noticed that my scrollbars and some other UI components were rendered very poorly.

The second part of the fix was very obscure and took me a long time to figure out.

  1. I ran gconf-editor
  2. I went to apps -> gnome_settings_daemon -> plugins -> keyboard
  3. I unchecked the “active” box on the right
  4. After logging out and back in, all was well and I could switch themes again.

My obscure problem is now solved.

0 Kudos
Message 2 of 2
(2,904 Views)