mkdir -p "$${CFGROOT}/etc/X11/Xresources/"
printf 'Xft.dpi: 180\n' >"$${CFGROOT}/etc/X11/Xresources/dpi_resolution"
# Workaround for applications that do not handle DPI scaling correctly
- -sed -i 's;^Exec=chromium;Exec=env GDK_DPI_SCALE=.5 chromium;' $${CFGROOT}/usr/share/applications/chromium*.desktop
- -sed -i 's;^Exec=firefox;Exec=env GDK_DPI_SCALE=.5 firefox;' $${CFGROOT}/usr/share/applications/firefox*.desktop
+ -sed -i 's;^Exec=;Exec=env GDK_DPI_SCALE=.5 ;' \
+ $${CFGROOT}/usr/share/applications/chromium*.desktop \
+ $${CFGROOT}/usr/share/applications/firefox*.desktop \
+ $${CFGROOT}/usr/share/applications/exo-web-browser.desktop
<property name="EnableInputFeedbackSounds" type="bool" value="false"/>
</property>
<property name="Xft" type="empty">
- <property name="DPI" type="empty"/>
+ <!-- property name="DPI" type="empty"/ -->
<property name="Antialias" type="int" value="-1"/>
<property name="Hinting" type="int" value="-1"/>
<property name="HintStyle" type="string" value="hintnone"/>
<property name="Gtk" type="empty">
<property name="CanChangeAccels" type="bool" value="false"/>
<property name="ColorPalette" type="string" value="black:white:gray50:red:purple:blue:light blue:green:yellow:orange:lavender:brown:goldenrod4:dodger blue:pink:light green:gray10:gray30:gray75:gray90"/>
- <property name="FontName" type="string" value="Sans 10"/>
+ <property name="FontName" type="string" value="Sans 8"/>
<property name="IconSizes" type="string" value=""/>
<property name="KeyThemeName" type="string" value=""/>
<property name="ToolbarStyle" type="string" value="icons"/>