Skip to content

Commit c4c0439

Browse files
author
JayBeeDe
committed
feat(linux_desktop): migrate from google chrome to firefox
1 parent 374c4f4 commit c4c0439

File tree

12 files changed

+194
-167
lines changed

12 files changed

+194
-167
lines changed

jaybeede/linux_desktop/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ keyboard_shortcuts | Manage keyboard shortcut | create, edit remove builtin or c
3434

3535
Application | Configuration | Policy Restriction
3636
----------- | ------------- | ------------------
37-
chrome + extensions | yes | yes
3837
conky | yes | no
38+
firefox + extensions | yes | yes
3939
flameshot | yes | no
4040
git | yes | no
4141
keepassXC | yes | yes
@@ -105,8 +105,6 @@ Partitioning is **NOT** configured by the collection.<br />
105105
106106
Warning: All roles dependencies must be met:<br />
107107
108-
* applications role:<br />
109-
- Add the chrome Bookmarks file into the [files/](https://github.com/JayBeeDe/ansible_collections/tree/main/jaybeede/linux_desktop/roles/applications/files) directory. On Linux, you can find this file under $HOME/.config/google-chrome/Default/Bookmarks.<br />
110108
* desktop role:<br />
111109
- PyGObject is required for the desktop_launchers module: see [official installation instructions](https://pygobject.readthedocs.io/en/latest/getting_started.html).<br />
112110
* gnome role:<br />

jaybeede/linux_desktop/galaxy.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ tags:
1212
- "linux"
1313
- "desktop"
1414
- "apt"
15-
- "chrome"
1615
- "dashtopanel"
16+
- "firefox"
1717
- "freedesktop"
1818
- "gnomebookmarks"
1919
- "gnomeextensions"
@@ -37,6 +37,5 @@ build_ignore:
3737
- '*/__pycache__/*'
3838
- '*.log'
3939
- '*.old'
40-
- '*/files/Bookmarks'
4140
- '*/group_vars/all.yml'
4241
- '*/vault-tmp'

jaybeede/linux_desktop/roles/applications/README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
applications
22
=========
33

4-
Desktop applications configuration: chrome, keepassxc, VLC, conky, flameshot, vscode, terminator, remmina, libreoffice, git.
5-
6-
Requirements
7-
------------
8-
9-
:warning: Add the chrome Bookmarks file into the [files/](files) directory. On Linux, you can find this file under $HOME/.config/google-chrome/Default/Bookmarks.
4+
Desktop applications configuration: firefox, keepassxc, VLC, conky, flameshot, vscode, terminator, remmina, libreoffice, git.
105

116
Role Variables
127
--------------

jaybeede/linux_desktop/roles/applications/files/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.
-108 KB
Binary file not shown.

jaybeede/linux_desktop/roles/applications/files/chromium.json

Lines changed: 0 additions & 96 deletions
This file was deleted.
Lines changed: 178 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,178 @@
1+
{
2+
"policies": {
3+
"AutofillAddressEnabled": false,
4+
"AutofillCreditCardEnabled": false,
5+
"Cookies": {
6+
"Allow": [
7+
"https://de.wikipedia.org",
8+
"https://duckduckgo.com",
9+
"https://en.wikipedia.org",
10+
"https://fr.wikipedia.org",
11+
"https://github.com",
12+
"https://my.pcloud.com",
13+
"https://www.google.com",
14+
"https://www.google.de",
15+
"https://www.google.fr",
16+
"https://www.youtube.com"
17+
],
18+
"Locked": true,
19+
"Behavior": "accept",
20+
"BehaviorPrivateBrowsing": "reject-foreign"
21+
},
22+
"DisableBuiltinPDFViewer": true,
23+
"DisableFeedbackCommands": true,
24+
"DisableFirefoxAccounts": true,
25+
"DisableFirefoxScreenshots": true,
26+
"DisableFirefoxStudies": true,
27+
"DisableSetDesktopBackground": true,
28+
"DisableTelemetry": true,
29+
"DisplayBookmarksToolbar": "always",
30+
"DisplayMenuBar": "never",
31+
"DontCheckDefaultBrowser": true,
32+
"ExtensionSettings": {
33+
"*": {
34+
"blocked_install_message": "Blocked by policy ExtensionSettings",
35+
"installation_mode": "blocked",
36+
"allowed_types": [
37+
"dictionary",
38+
"extension",
39+
"locale",
40+
"theme"
41+
]
42+
},
43+
"{024dd701-1855-47ee-b031-7b68e57c82c2}": {
44+
"installation_mode": "force_installed",
45+
"private_browsing": false,
46+
"updates_disabled": false
47+
},
48+
"{e4b175da-c346-4934-89be-43247e90894c}": {
49+
"installation_mode": "force_installed",
50+
"private_browsing": false,
51+
"updates_disabled": false
52+
},
53+
"chrome-gnome-shell@gnome.org": {
54+
"installation_mode": "force_installed",
55+
"private_browsing": false,
56+
"updates_disabled": false
57+
},
58+
"keepassxc-browser@keepassxc.org": {
59+
"installation_mode": "force_installed",
60+
"private_browsing": true,
61+
"updates_disabled": false
62+
},
63+
"uBlock0@raymondhill.net": {
64+
"installation_mode": "force_installed",
65+
"private_browsing": true,
66+
"updates_disabled": false
67+
}
68+
},
69+
"Homepage": {
70+
"URL": "about:blank",
71+
"Locked": true,
72+
"StartPage": "homepage-locked"
73+
},
74+
"NoDefaultBookmarks": true,
75+
"OfferToSaveLogins": false,
76+
"OfferToSaveLoginsDefault": false,
77+
"OverrideFirstRunPage": "",
78+
"OverridePostUpdatePage": "",
79+
"PasswordManagerEnabled": false,
80+
"PDFjs": {
81+
"Enabled": false
82+
},
83+
"Permissions": {
84+
"Autoplay": {
85+
"BlockNewRequests": true
86+
},
87+
"Location": {
88+
"BlockNewRequests": true
89+
},
90+
"Notifications": {
91+
"BlockNewRequests": true
92+
},
93+
"VirtualReality": {
94+
"BlockNewRequests": true
95+
}
96+
},
97+
"SanitizeOnShutdown": {
98+
"Cache": false,
99+
"Cookies": true,
100+
"FormData": true,
101+
"Sessions": true,
102+
"SiteSettings": true,
103+
"Locked": true
104+
},
105+
"SearchEngines": {
106+
"Add": [
107+
{
108+
"Name": "Bing",
109+
"URLTemplate": "https://www.bing.com/search?q={searchTerms}",
110+
"Method": "GET",
111+
"IconURL": "https://www.bing.com/favicon.ico",
112+
"Alias": "b"
113+
},
114+
{
115+
"Name": "DuckDuckGo",
116+
"URLTemplate": "https://duckduckgo.com/?q={searchTerms}&kbg=-1&kbe=0&kbj=1&kw=s&k5=2",
117+
"Method": "GET",
118+
"IconURL": "https://duckduckgo.com/favicon.ico",
119+
"Alias": "d"
120+
},
121+
{
122+
"Name": "GitHub",
123+
"URLTemplate": "https://github.com/search?q={searchTerms}&ref=opensearch",
124+
"Method": "GET",
125+
"IconURL": "https://github.com/favicon.ico",
126+
"Alias": "gh"
127+
},
128+
{
129+
"Name": "Google",
130+
"URLTemplate": "https://www.google.com/search?q={searchTerms}",
131+
"Method": "GET",
132+
"IconURL": "https://www.google.com/favicon.ico",
133+
"Alias": "g"
134+
},
135+
{
136+
"Name": "Google Maps",
137+
"URLTemplate": "https://www.google.com/maps/search/{searchTerms}",
138+
"Method": "GET",
139+
"IconURL": "https://maps.google.com/favicon.ico",
140+
"Alias": "gm"
141+
},
142+
{
143+
"Name": "Le Bon Coin",
144+
"URLTemplate": "https://www.leboncoin.fr/recherche/?text={searchTerms}",
145+
"Method": "GET",
146+
"IconURL": "https://www.leboncoin.fr/_next/static/media/favicon.6fd07af6.svg",
147+
"Alias": "lbc"
148+
},
149+
{
150+
"Name": "Translate EN -> FR",
151+
"URLTemplate": "https://translate.google.com/?tl=fr&text={searchTerms}",
152+
"Method": "GET",
153+
"IconURL": "https://translate.google.com/favicon.ico",
154+
"Alias": "tf"
155+
},
156+
{
157+
"Name": "Translate FR -> EN",
158+
"URLTemplate": "https://translate.google.com/?sl=fr&tl=en&text={searchTerms}",
159+
"Method": "GET",
160+
"IconURL": "https://translate.google.com/favicon.ico",
161+
"Alias": "te"
162+
},
163+
{
164+
"Name": "YouTube",
165+
"URLTemplate": "https://www.youtube.com/results?search_query={searchTerms}&page={startPage?}&utm_source=opensearch",
166+
"Method": "GET",
167+
"IconURL": "https://www.youtube.com/favicon.ico",
168+
"Alias": "y"
169+
}
170+
]
171+
},
172+
"SearchSuggestEnabled": false,
173+
"ShowHomeButton": true,
174+
"SkipTermsOfUse": true,
175+
"TranslateEnabled": false,
176+
"UseSystemPrintDialog": true
177+
}
178+
}

jaybeede/linux_desktop/roles/applications/meta/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ galaxy_info:
88
- "ubuntu"
99
- "desktop"
1010
- "applications"
11-
- "chrome"
1211
- "conky"
12+
- "firefox"
1313
- "flameshot"
1414
- "git"
1515
- "keepassxc"

0 commit comments

Comments
 (0)