Unverified Commit 4492b476 authored by Igor Pečovnik's avatar Igor Pečovnik Committed by GitHub
Browse files

enable show windows content on stronger boards

since we set this in the first run ...
parent c7f2958a
...@@ -548,6 +548,13 @@ function configure_desktop () ...@@ -548,6 +548,13 @@ function configure_desktop ()
sed "s/^parport_pc/#parport_pc/" -i /etc/modules-load.d/cups-filters.conf sed "s/^parport_pc/#parport_pc/" -i /etc/modules-load.d/cups-filters.conf
fi fi
# enable show windows content on stronger boards
cpu_cores=$(grep -c '^processor' /proc/cpuinfo | sed 's/^0$/1/')
if [[ ${cpu_cores} -gt 2 && -f /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml ]]; then
sed -i 's/<property name="box_move" type="bool" value=".*/<property name="box_move" type="bool" value="false"\/>/g' \
/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml
fi
# fix for gksu in Xenial # fix for gksu in Xenial
touch /home/${CHOSEN_USER}/.Xauthority touch /home/${CHOSEN_USER}/.Xauthority
cp -R /etc/skel/. /home/${CHOSEN_USER} cp -R /etc/skel/. /home/${CHOSEN_USER}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment