5,337
edits
Line 340: | Line 340: | ||
gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gdk/WindowScalingFactor': <2>}" | gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gdk/WindowScalingFactor': <2>}" | ||
xrandr --output DP-2 --scale 1.3x1.3 | xrandr --output DP-2 --scale 1.3x1.3 | ||
</pre> | |||
==Clock== | |||
See [https://help.ubuntu.com/lts/serverguide/NTP.html Ubuntu Time Synchronization]<br> | |||
<pre> | |||
# Install chrony | |||
sudo apt install chrony | |||
# Synchronize time | |||
sudo chronyd -q | |||
# Check time synchronization | |||
sudo chronyd -Q | |||
</pre> | |||
Notes | |||
* Syncing over the internet will be off by a few milliseconds (e.g. 0.003 seconds). | |||
* Syncing with another computer over lan | |||
===Syncing with another computer=== | |||
See [https://askubuntu.com/questions/787855/how-to-use-chrony-to-synchronize-timestamp-on-two-computers/1018204 askubuntu]<br> | |||
;On the server | |||
Add the following to <code>/etc/chrony.conf</code> | |||
<pre> | |||
# make it serve time even if it is not synced (as it can't reach out) | |||
local stratum 8 | |||
# allow the IP of your peer to connect (192.168 subnet) | |||
allow 192.168 | |||
# Or | |||
# allow all | |||
</pre> | |||
;On the client | |||
Add the following to <code>/etc/chrony.conf</code> | |||
<pre> | |||
# set the servers IP here to sync to it | |||
server <Server_IP> iburst | |||
# remove the default servers in the config | |||
</pre> | </pre> |