-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgnome-settings-ubuntu.yml
More file actions
121 lines (101 loc) · 3.4 KB
/
Copy pathgnome-settings-ubuntu.yml
File metadata and controls
121 lines (101 loc) · 3.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
---
- name: Setup Gnome
block:
- name: Gnome-settings -- Install playbook requirements
become: true
package:
state: latest
name:
- python3-psutil
- dconf-cli
#### Switch to Xorg (after reboot) ####
- name: Open /etc/gdm3/custom.conf and uncomment
become: true
replace:
path: /etc/gdm3/custom.conf
regexp: '#WaylandEnable=false'
replace: 'WaylandEnable=false'
- name: Add a line to a file
become: true
lineinfile:
path: /etc/gdm3/custom.conf
insertafter: '[daemon]'
line: 'DefaultSession=gnome-xorg.desktop'
####
- name: Gnome-settings -- Configure hungarian keyboard layout in Gnome
dconf:
key: "/org/gnome/desktop/input-sources/sources"
value: "[('xkb', 'hu')]"
state: present
- name: Gnome-settings -- Workspaces
dconf:
key: "/org/gnome/desktop/wm/preferences/num-workspaces"
value: "3"
- name: Gnome-settings -- Dark theme
dconf:
key: "/org/gnome/desktop/interface/gtk-theme"
value: "'Adwaita-dark'"
- name: Gnome-settings -- Dark scheme
dconf:
key: "/org/gnome/desktop/interface/color-scheme"
value: "'prefer-dark'"
- name: Gnome-settings -- Default terminal
dconf:
key: "/org/gnome/desktop/application/terminal/exec"
value: "'kitty'"
- name: Gnome-settings -- Button layout
dconf:
key: "/org/gnome/desktop/wm/preferences/button-layout"
value: "'appmenu:minimize,maximize,close'"
### Laptop ###
- name: Gnome-settings -- Touchpad mouse click
dconf:
key: "/org/gnome/desktop/peripherals/touchpad/tap-to-click"
value: "true"
- name: Gnome-settings -- Touchpad scroll
dconf:
key: "/org/gnome/desktop/peripherals/touchpad/two-finger-scrolling-enabled"
value: "true"
- name: Gnome-settings -- Touchpad natural-scroll
dconf:
key: "/org/gnome/desktop/peripherals/touchpad/natural-scroll"
value: "true"
- name: Gnome-settings -- Inactive timeout (AC)
dconf:
key: "/org/gnome/settings-daemon/plugins/power/sleep-inactive-ac-timeout"
value: "3600"
- name: Gnome-settings -- Inactive timeout type
dconf:
key: "/org/gnome/settings-daemon/plugins/power/sleep-inactive-ac-type"
value: "'suspend'"
- name: Gnome-settings -- Show battery percentage
dconf:
key: "/org/gnome/desktop/interface/show-battery-percentage"
value: "true"
- name: Gnome-settings -- Inactive timeout (Battery)
dconf:
key: "/org/gnome/settings-daemon/plugins/power/sleep-inactive-battery-timeout"
value: "1200"
- name: Gnome-settings -- Inactive timeout type
dconf:
key: "/org/gnome/settings-daemon/plugins/power/sleep-inactive-battery-type"
value: "'suspend'"
- name: Gnome-settings -- Turn off screen when idle
dconf:
key: "/org/gnome/settings-daemon/plugins/power/idle-dm"
value: "true"
- name: Gnome-settings -- Set screen brightness when idle
dconf:
key: "/org/gnome/settings-daemon/plugins/power/brightness"
value: "25"
###
- name: Gnome-settings -- 24h clock format
dconf:
key: "/org/gnome/desktop/interface/clock-format"
value: "'24h'"
- name: Gnome-settings -- disable hot corner
dconf:
key: "/org/gnome/desktop/interface/enable-hot-corners"
value: "false"
- name: Gnome-settings -- Include Gnome-keyboard-shortcuts playbook
include_tasks: keybindings.yml