Linux Themes: Difference between revisions

From wikinotes
 
 
(4 intermediate revisions by the same user not shown)
Line 23: Line 23:
|}
|}
</blockquote><!-- Locations -->
</blockquote><!-- Locations -->
= Themes =
<blockquote>
{| class="wikitable"
|-
| lcarsde || https://lcarsde.github.io/manual.html
|-
|}
</blockquote><!-- Themes -->


= Test Applications =
= Test Applications =
Line 35: Line 44:
</blockquote><!-- Test Applications-->
</blockquote><!-- Test Applications-->


= Themes =
= Managing Themes =
<blockquote>
<blockquote>
You'll need to set themes for both GTK and Qt.<br>
You'll need to set themes for both GTK and Qt.<br>
Gtk themes are set in <code>~/.config/gtk-3.0/settings.ini</code><br>
Gtk themes are set in <code>~/.config/gtk-3.0/settings.ini</code><br>
Qt themes are set in <code>~/.config/qt5ct/qt5ct.conf</code>
Qt themes are set in <code>~/.config/qt5ct/qt5ct.conf</code> using [[qt5ct]]


<source lang="bash">
<source lang="bash">
pacman -S lxappearance      # gui conifigure gtk-themes
pacman -S lxappearance      # gui conifigure gtk-themes


pacman -S qt5ct             # gui configure qt-themes
pacman -S qt5ct               # override gtk themes
pacaur -S qt5-styleplugins  # adds support for gtk2
aura -A qt5-styleplugins     # adds support for gtk2
pacman -S qgnomeplatform-qt5 # (alt) adds support for gtk2


pacman -S breeze            # qt-theme && icon-pack
pacman -S breeze            # qt-theme && icon-pack
Line 80: Line 90:


export QT_QPA_PLATFORMTHEME=gtk2  # Qt apps use 'gtk2'
export QT_QPA_PLATFORMTHEME=gtk2  # Qt apps use 'gtk2'
# NOTE: you can also set this to 'qt5ct', which allows you to override QSS for all apps.
</source>
</source>
</blockquote><!-- Set Themes -->
</blockquote><!-- Set Themes -->

Latest revision as of 14:15, 9 October 2022

Tutorials

archwiki: qt/gtk https://wiki.archlinux.org/title/Uniform_look_for_Qt_and_GTK_applications#Breeze
archwiki: dark mode https://wiki.archlinux.org/title/Dark_mode_switching

Locations

/usr/share/themes/ installed themes
~/.themes/ user themes
~/.config/gtk-3.0/settings.ini set GTK themes, icons, etc.
~/.config/qt5ct/qt5ct.conf set Qt themes, icons, etc.

Themes

lcarsde https://lcarsde.github.io/manual.html

Test Applications

Test Applications:
    - firefox
    - evolution (new task, calendar)
    - pcmanfm    # gtk
    - keepassxc  # qt

Managing Themes

You'll need to set themes for both GTK and Qt.
Gtk themes are set in ~/.config/gtk-3.0/settings.ini
Qt themes are set in ~/.config/qt5ct/qt5ct.conf using qt5ct

pacman -S lxappearance      # gui conifigure gtk-themes

pacman -S qt5ct               # override gtk themes
aura -A qt5-styleplugins      # adds support for gtk2
pacman -S qgnomeplatform-qt5  # (alt) adds support for gtk2

pacman -S breeze            # qt-theme && icon-pack
pacman -S breeze-gtk        # theme

themes

# GTK
pacman -S breeze-gtk

# QT
pacman -S breeze

icons


breeze-icons
faenza-icon-theme
lxappearance:
  - choose theme: (ex: Breeze-Dark)
qt5ct:
  - choose style: gtk2  # will use lxappearance theme

export QT_QPA_PLATFORMTHEME=gtk2  # Qt apps use 'gtk2'
# NOTE: you can also set this to 'qt5ct', which allows you to override QSS for all apps.