浏览代码

vnc geometry variable

pull/1/head
父节点
当前提交
58945ac509
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. +2
    -0
      defaults/main.yaml
  2. +1
    -1
      templates/vnc/vnc.conf.j2

+ 2
- 0
defaults/main.yaml 查看文件

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

home_vncserver_geometry: '1920x1200'

home_profile: desktop

default_terminal: urxvt


+ 1
- 1
templates/vnc/vnc.conf.j2 查看文件

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

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