Add filter option when setting pixel doubling

This commit is contained in:
Simon Long 2020-02-05 08:16:22 +00:00
parent 951b1b7996
commit b872f11509
2 changed files with 7 additions and 1 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
raspi-config (20200205) buster; urgency=medium
* Add filter parameter to xrandr when setting pixel doubling
-- Simon Long <simon@raspberrypi.org> Wed, 05 Feb 2020 07:46:42 +0000
raspi-config (20200203) buster; urgency=medium
* Add pixel doubling option for FKMS using xrandr

View File

@ -422,7 +422,7 @@ do_pixdub() {
DEV=$(xrandr | grep -w connected | cut -f1 -d' ')
for item in $DEV
do
echo xrandr --output $item --scale 0.5x0.5 >> /usr/share/dispsetup.sh
echo xrandr --output $item --scale 0.5x0.5 --filter nearest >> /usr/share/dispsetup.sh
done
STATUS=enabled
elif [ $RET -eq 1 ]; then