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 Alternatives for all the Desktops#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

Try first change the theme of the desktop as user, if that not works in a terminal as root, run the configuration tool of your desktop or make 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 don't follow totally the selected theme, this is expected

For other appearances, use Alternatives for all the Desktops#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 -

  • Create .config

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 do not follow theme nor text settings.

Recommendations

If the theme is not immediately applied: