Browse Source

vnc geometry variable

pull/1/head
parent
commit
58945ac509
2 changed files with 3 additions and 1 deletions
  1. +2
    -0
      defaults/main.yaml
  2. +1
    -1
      templates/vnc/vnc.conf.j2

+ 2
- 0
defaults/main.yaml View File

@@ -16,6 +16,8 @@ home_vncserver_started_and_enabled: "{{ home_profile == 'vdesk' }}"
home_vncserver_display_number: 47 home_vncserver_display_number: 47
home_xsession_vncviewer: "{{ home_profile == 'vdesk' }}" home_xsession_vncviewer: "{{ home_profile == 'vdesk' }}"


home_vncserver_geometry: '1920x1200'

home_profile: desktop home_profile: desktop


default_terminal: urxvt default_terminal: urxvt


+ 1
- 1
templates/vnc/vnc.conf.j2 View File

@@ -1,4 +1,4 @@
{{ ansible_managed | comment }} {{ ansible_managed | comment }}


$desktopName = "{{inventory_hostname}}$ENV{DISPLAY}"; $desktopName = "{{inventory_hostname}}$ENV{DISPLAY}";
$geometry = "1920x1200";
$geometry = "{{home_vncserver_geometry}}";