Browse Source

switch back to fonts for 96 dpi

master
Guillaume Castagnino 2 months ago
parent
commit
37f19c4183
Signed by: casta GPG Key ID: C47D4BFADB084424
  1. 10
      x11-setup/dconf-font.sh
  2. 6
      x11-setup/gtk-standalone.sh
  3. 14
      x11-setup/kde.sh
  4. 2
      x11-setup/rawtherapee-font.sh

10
x11-setup/dconf-font.sh

@ -1,6 +1,6 @@
DISPLAY=:0 dconf write /org/gnome/desktop/interface/font-name "'Sans 10'"
DISPLAY=:0 dconf write /org/gnome/desktop/interface/document-font-name "'Sans 10'"
DISPLAY=:0 dconf write /org/gnome/evolution/mail/variable-width-font "'Sans 10'"
DISPLAY=:0 dconf write /org/gnome/desktop/interface/font-name "'Sans 11'"
DISPLAY=:0 dconf write /org/gnome/desktop/interface/document-font-name "'Sans 11'"
DISPLAY=:0 dconf write /org/gnome/evolution/mail/variable-width-font "'Sans 11'"
DISPLAY=:0 dconf write /org/gnome/desktop/interface/monospace-font-name "'Monospace 9'"
DISPLAY=:0 dconf write /org/gnome/evolution/mail/monospace-font "'Monospace 9'"
DISPLAY=:0 dconf write /org/gnome/desktop/interface/monospace-font-name "'Monospace 10'"
DISPLAY=:0 dconf write /org/gnome/evolution/mail/monospace-font "'Monospace 10'"

6
x11-setup/gtk-standalone.sh

@ -1,6 +1,6 @@
sed -si -e 's/^gtk-font-name.*$/gtk-font-name = "Sans Serif 10"/' ~/.gtkrc-2.0
sed -si -e 's/^gtk-font-name.*$/gtk-font-name = Sans Serif 10/' ~/.config/gtk-3.0/settings.ini
sed -si -e 's/^gtk-font-name.*$/gtk-font-name = Sans Serif 10/' ~/.config/gtk-4.0/settings.ini
sed -si -e 's/^gtk-font-name.*$/gtk-font-name = "Sans Serif 11"/' ~/.gtkrc-2.0
sed -si -e 's/^gtk-font-name.*$/gtk-font-name = Sans Serif 11/' ~/.config/gtk-3.0/settings.ini
sed -si -e 's/^gtk-font-name.*$/gtk-font-name = Sans Serif 11/' ~/.config/gtk-4.0/settings.ini
#sed -si -e 's/^gtk-theme-name.*$/gtk-theme-name = "Zukitre"/' ~/.gtkrc-2.0
#sed -si -e 's/^gtk-theme-name.*$/gtk-theme-name = Zukitre/' ~/.config/gtk-3.0/settings.ini

14
x11-setup/kde.sh

@ -1,11 +1,11 @@
sed -E -si -e 's/^smallestReadableFont=[^,]+,[^,]+,/smallestReadableFont=Sans Serif,8,/' \
-e 's/^font=[^,]+,[^,]+,/font=Sans Serif,10,/' \
-e 's/^menuFont=[^,]+,[^,]+,/menuFont=Sans Serif,10,/' \
-e 's/^toolBarFont=[^,]+,[^,]+,/toolBarFont=Sans Serif,10,/' \
-e 's/^activeFont=[^,]+,[^,]+,/activeFont=Sans Serif,10,/' \
-e 's/^fixed=[^,]+,[^,]+,/fixed=Monospace,9,/' \
sed -E -si -e 's/^smallestReadableFont=[^,]+,[^,]+,/smallestReadableFont=Sans Serif,9,/' \
-e 's/^font=[^,]+,[^,]+,/font=Sans Serif,11,/' \
-e 's/^menuFont=[^,]+,[^,]+,/menuFont=Sans Serif,11,/' \
-e 's/^toolBarFont=[^,]+,[^,]+,/toolBarFont=Sans Serif,11,/' \
-e 's/^activeFont=[^,]+,[^,]+,/activeFont=Sans Serif,11,/' \
-e 's/^fixed=[^,]+,[^,]+,/fixed=Monospace,10,/' \
~/.config/kdeglobals
sed -E -si -e 's/^Font=[^,]+,[^,]+,/Font=Monospace,9,/' \
sed -E -si -e 's/^Font=[^,]+,[^,]+,/Font=Monospace,10,/' \
~/.config/kwriterc ~/.config/katerc ~/.config/arkrc \
~/.local/share/konsole/*.profile

2
x11-setup/rawtherapee-font.sh

@ -1 +1 @@
sed -si -e 's/^FontSize=.*$/FontSize=10/' ~/.config/RawTherapee/options
sed -si -e 's/^FontSize=.*$/FontSize=11/' ~/.config/RawTherapee/options

Loading…
Cancel
Save