From Mageia wiki
Jump to: navigation, search


Drakconf multiflag.png
Other languages
English ; Español

Introduction

The Mageia Tools use the GTK toolkit, this is why it usually has a look similar to selected theme in desktops that also use GTK toolkit (GNOME, LXDE, Xfce).

If you like to change the appearance of Magiea tools keep reading this page.

A frequent question is how to enlarge the text size - best method see the section GUI at bottom of this page.


Change the Appearance of Mageia Tools

In GTK desktops could be enough changing the GTK theme as user (maybe is not necessary set the theme as root, I am not sure). If not, try to change the theme as root, see Ways to Change Appearance.

Ways to Change Appearance

Desktops GTK Based

First, try changing the theme of the desktop as user. If that does not work, run the configuration tool of your desktop as root or open a terminal as root and follow the procedure in #CLI section.

Plasma

  • As user run systemsettings5, Appearance -> Application Style , click on Configure GNOME/GTK Application Style select a theme and click on Apply
  • Follow the procedure in the section CLI.
Note:
The main MCC window does not fully follow the selected theme. This is expected.

For other appearances, use GUI

Alternatives for all the Desktops

CLI

To only change text and you do not want to install a tool for it, easiest way is to as root edit /root/.config/gtk-3.0/settings.ini.

In that file, edit the line "gtk-font-name=Noto Sans, 10", for example change the size number "10" to "14"


Changing theme

First you must apply a GTK theme as user, then follow this procedure:

  • Open a terminal and become root

su -

  • If a .config folder does not exist in your home directory, create one

mkdir .config

  • Change to user .config folder

cd /home/username/.config

  • Run this command

for theme in $(find gtk* -maxdepth 0); do cp -rfv "$(realpath $theme)" /root/.config/$theme; done

  • Close the terminal

To undo the change:

  • Open a terminal and become root

su -

  • remove root config folders

rm -rf .config/gtk*

  • Close the terminal

Or use the GUI method, selecting Adwaita

GUI

Install lxappearance, and as root in a terminal launch lxappearance. There you can select another theme, i.e Adwaita Dark.

If you want to change the text size or typeface you can directly do that at the bottom of the dialogue, clicking the current typeface opens another dialogue.

lxappearance itself adjust immediately to theme and typeface changes. Click Apply, and next time you start a Mageia tool it will use this setting.

Note that for example Mageia Control Center main page right pane does not follow theme nor text settings.

Recommendations

If the theme is not immediately applied:

  • Try to close the session and start the session again.
  • Try the section GUI