@@ -64,14 +64,14 @@ LIMITATION: multi-monitor is not well supported and may result in windows becomi
64
64
if everything is horribly broken, clear your Saved Windows:
65
65
66
66
```
67
- $ gnome-extensions disable SmartAutoMove
68
- @khimaros.com
67
+ $ gnome-extensions disable SmartAutoMoveNG
68
+ @lauinger-clan.de
69
69
70
- $ dconf write /org/gnome/shell/extensions/SmartAutoMove
70
+ $ dconf write /org/gnome/shell/extensions/SmartAutoMoveNG
71
71
/saved-windows '{}'
72
72
73
- $ gnome-extensions enable SmartAutoMove
74
- @khimaros.com
73
+ $ gnome-extensions enable SmartAutoMoveNG
74
+ @lauinger-clan.de
75
75
```
76
76
77
77
## behavior
@@ -88,69 +88,69 @@ most settings can be modified from the preferences GUI. this section documents a
88
88
enable debug logging:
89
89
90
90
```
91
- $ dconf write /org/gnome/shell/extensions/SmartAutoMove
91
+ $ dconf write /org/gnome/shell/extensions/SmartAutoMoveNG
92
92
/debug-logging true
93
93
```
94
94
95
95
set the minimum window/title match threshold to 50%:
96
96
97
97
```
98
- $ dconf write /org/gnome/shell/extensions/SmartAutoMove
98
+ $ dconf write /org/gnome/shell/extensions/SmartAutoMoveNG
99
99
/match-threshold 0.5
100
100
```
101
101
102
102
set the window synchronization (update/restore) frequency to 50ms:
103
103
104
104
```
105
- $ dconf write /org/gnome/shell/extensions/SmartAutoMove
105
+ $ dconf write /org/gnome/shell/extensions/SmartAutoMoveNG
106
106
/sync-frequency 50
107
107
```
108
108
109
109
default to ignoring windows unless explicitly defined. restore all windows of the gnome-calculator app, all firefox windows except for the profile chooser, and Nautilus only if the window title is "Downloads":
110
110
/
111
111
112
112
```
113
- $ dconf write /org/gnome/shell/extensions/SmartAutoMove
113
+ $ dconf write /org/gnome/shell/extensions/SmartAutoMoveNG
114
114
/sync-mode "'IGNORE'"
115
- $ dconf write /org/gnome/shell/extensions/SmartAutoMove
115
+ $ dconf write /org/gnome/shell/extensions/SmartAutoMoveNG
116
116
/overrides '{"gnome-calculator": [{"action":1}], "firefox": [{"query": {"title": "Firefox - Choose User Profile"}, "action": 0}, {"action": 1}],"org.gnome.Nautilus":[{"query":{"title":"Downloads"},"action":1}]}'
117
117
```
118
118
119
119
default to restoring all windows, but ignore the firefox profile chooser and any nautilus windows:
120
120
121
121
```
122
- $ dconf write /org/gnome/shell/extensions/SmartAutoMove
122
+ $ dconf write /org/gnome/shell/extensions/SmartAutoMoveNG
123
123
/sync-mode "'RESTORE'"
124
- $ dconf write /org/gnome/shell/extensions/SmartAutoMove
124
+ $ dconf write /org/gnome/shell/extensions/SmartAutoMoveNG
125
125
/overrides '{"firefox": [{"query": {"title": "Firefox - Choose User Profile"}, "action": 0}], "org.gnome.Nautilus": [{"action":0}]}'
126
126
```
127
127
128
128
show all saved firefox windows (N.B. ` jq ` will fail if window title contains ` \ ` ):
129
129
130
130
```
131
- $ dconf read /org/gnome/shell/extensions/SmartAutoMove
131
+ $ dconf read /org/gnome/shell/extensions/SmartAutoMoveNG
132
132
/saved-windows | sed "s/^'//; s/'$//" | jq -C .Firefox | less -SR
133
133
```
134
134
135
135
there are example configs in the ` examples/ ` dir which can be loaded (N.B. while extension is disabled) with:
136
136
137
137
```
138
- $ dconf load /org/gnome/shell/extensions/SmartAutoMove
138
+ $ dconf load /org/gnome/shell/extensions/SmartAutoMoveNG
139
139
/ < ./examples/default-restore.dconf
140
140
```
141
141
142
142
you can backup your config (restore is the same as above):
143
143
144
144
```
145
- $ dconf dump /org/gnome/shell/extensions/SmartAutoMove
146
- / > SmartAutoMove
145
+ $ dconf dump /org/gnome/shell/extensions/SmartAutoMoveNG
146
+ / > SmartAutoMoveNG
147
147
.dconf
148
148
```
149
149
150
150
the gsettings tool can also be used to manipulate these values:
151
151
152
152
```
153
- $ gsettings --schemadir ./SmartAutoMove
154
- @khimaros.com /schemas/ set org.gnome.shell.extensions.SmartAutoMove
153
+ $ gsettings --schemadir ./SmartAutoMoveNG
154
+ @lauinger-clan.de /schemas/ set org.gnome.shell.extensions.SmartAutoMoveNG
155
155
sync-mode 'RESTORE'
156
156
```
0 commit comments