add terminal defaults howto as per issue #73

This commit is contained in:
tetrahedras 2019-10-19 06:46:38 +02:00
parent 0b40d12439
commit 4c4ef2d00b
2 changed files with 30 additions and 0 deletions

View File

@ -24,6 +24,7 @@
- [setup mirage firewall](customization/mirage-firewall.md)
- [windows 7 gaming HVM with GPU passthrough](customization/windows-gaming-hvm.md)
- [SecBrowser "security-enhanced" browser](customization/secbrowser.md)
- [Choose deafult terminal settings for a TemplateVM](customization/terminal-defaults.md)
`hardware`
- [tips on choosing the right hardware](hardware/hardware-selection.md)

View File

@ -0,0 +1,29 @@
# Setting default terminal settings for a TemplateVM
When you create a VM based on a TemplateVM, the `gnome-terminal` settings (font, color) are not inherited by default. This document describes how to set terminal defaults for all VMs *subsequently* created off a TemplateVM.
(Previously-created VMs are unaffected.)
This document only applies to `gnome-terminal` (the standard terminal)
and not XTerm, etc.
Thanks to `unman` on qubes-users for explaining how to do this.
## Define your defaults
In dom0:
`qvm-run MYTEMPLATE gnome-terminal`
In the terminal that pops up, adjust settings to your liking.
## Save settings template-wide
In the templateVM's terminal:
```
sudo mkdir -p /etc/skel/.config/dconf
sudo cp ~/.config/dconf/user /etc/skel/.config/dconf/
sudo reboot
```
Subsequently-created VMs should now use the chosen settings by default.