diff options
Diffstat (limited to 'nixos/doc/manual/configuration/x-windows.xml')
-rw-r--r-- | nixos/doc/manual/configuration/x-windows.xml | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/nixos/doc/manual/configuration/x-windows.xml b/nixos/doc/manual/configuration/x-windows.xml index e7219389706..f9121508d7d 100644 --- a/nixos/doc/manual/configuration/x-windows.xml +++ b/nixos/doc/manual/configuration/x-windows.xml @@ -191,9 +191,12 @@ <para> GTK themes can be installed either to user profile or system-wide (via <literal>environment.systemPackages</literal>). To make Qt 5 applications - look similar to GTK2 ones, you can install <literal>qt5.qtbase.gtk</literal> - package into your system environment. It should work for all Qt 5 library - versions. + look similar to GTK ones, you can use the following configuration: +<programlisting> +<xref linkend="opt-qt5.enable"/> = true; +<xref linkend="opt-qt5.platformTheme"/> = "gtk2"; +<xref linkend="opt-qt5.style"/> = "gtk2"; +</programlisting> </para> </simplesect> <simplesect xml:id="custom-xkb-layouts"> @@ -238,11 +241,11 @@ xkb_symbols "us-greek" description = "US layout with alt-gr greek"; languages = [ "eng" ]; symbolsFile = /yourpath/symbols/us-greek; -} +}; </programlisting> <note> <para> - The name should match the one given to the + The name (after <literal>extraLayouts.</literal>) should match the one given to the <literal>xkb_symbols</literal> block. </para> </note> |