You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Johannes Ernst <jo...@gmail.com> on 2021/02/10 19:55:53 UTC

GTK+ Look and Feel Dependencies

I’m trying to set up Netbeans in a minimal Linux container, and only install the bare minimum of required packages / dependencies. Its display is on the host, so the container doesn’t have a windowing system. (I am using Wayland by bind-mounting its sockets into the countainer, but presumably the situation would be similar if I set DISPLAY=host:0 via X11).

So far, Netbeans is working just fine, but the GTK+ look and feel looks like metal, rather than what it should be like. So chances are that I am missing some packages / libraries / dependencies, but what might they be? I cannot find any documentation on the subject.

This is Arch on x86_64, but I guess the question is really distro-independent.

Thanks,



Johannes.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: GTK+ Look and Feel Dependencies

Posted by Andreas Reichel <an...@manticore-projects.com>.
Johannes,

pulling GTK2 should automatically pull all needed dependencies on Arch.
Attention: 

1) JDK11 should use GTK3 automatically but Netbeans forces GTK2.2
(because it looks not great with GTK3, I have tried that and can
confirm it). So you really need GTK2 or you will need to edit the
global netbeans.conf.
Beside GTK2 you will also need the GTK2 engines pulled needed by your
theme (most often Murrina).

2) Not all GTK themes include a GTK2 variant anymore. Especially
PaulXFCE (who makes the best themes) stopped supporting GTK2.

Cheers
Andreas

On Wed, 2021-02-10 at 11:55 -0800, Johannes Ernst wrote:
> I’m trying to set up Netbeans in a minimal Linux container, and only
> install the bare minimum of required packages / dependencies. Its
> display is on the host, so the container doesn’t have a windowing
> system. (I am using Wayland by bind-mounting its sockets into the
> countainer, but presumably the situation would be similar if I set
> DISPLAY=host:0 via X11).
> 
> So far, Netbeans is working just fine, but the GTK+ look and feel
> looks like metal, rather than what it should be like. So chances are
> that I am missing some packages / libraries / dependencies, but what
> might they be? I cannot find any documentation on the subject.
> 
> This is Arch on x86_64, but I guess the question is really distro-
> independent.
> 
> Thanks,
> 
> 
> 
> Johannes.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>