Skip to content

Commit 6fde4f3

Browse files
authored
Merge pull request #18 from Kanola-Images/dev
Implement First Setup
2 parents e1e8187 + 064e64b commit 6fde4f3

File tree

20 files changed

+353
-580
lines changed

20 files changed

+353
-580
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[daemon]
2+
DefaultSession=plasma
Lines changed: 180 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,180 @@
1+
{
2+
"core": [
3+
{
4+
"name": "Audio Player",
5+
"id": "org.kde.amarok"
6+
},
7+
{
8+
"name": "Calculator",
9+
"id": "org.kde.kcalc"
10+
},
11+
{
12+
"name": "Calendar/Contacts",
13+
"id": "org.kde.kontact"
14+
},
15+
{
16+
"name": "Characters",
17+
"id": "org.kde.kcharselect"
18+
},
19+
{
20+
"name": "Clocks",
21+
"id": "org.kde.kclock"
22+
},
23+
{
24+
"name": "Disk Usage Analyzer",
25+
"id": "org.kde.filelight"
26+
},
27+
{
28+
"name": "Document Scanner",
29+
"id": "org.kde.skanpage"
30+
},
31+
{
32+
"name": "Document Viewer",
33+
"id": "org.kde.okular"
34+
},
35+
{
36+
"name": "Image Viewer",
37+
"id": "org.kde.gwenview"
38+
},
39+
{
40+
"name": "Maps",
41+
"id": "org.kde.marble"
42+
},
43+
{
44+
"name": "Photos",
45+
"id": "org.kde.koko"
46+
},
47+
{
48+
"name": "Snapshot",
49+
"id": "org.flameshot.Flameshot"
50+
},
51+
{
52+
"name": "Text Editor",
53+
"id": "org.kde.kate"
54+
},
55+
{
56+
"name": "Videos",
57+
"id": "org.kde.haruna"
58+
},
59+
{
60+
"name": "Weather",
61+
"id": "org.kde.kweather"
62+
}
63+
],
64+
"office": [
65+
{
66+
"name": "LibreOffice",
67+
"id": "org.libreoffice.LibreOffice"
68+
},
69+
{
70+
"name": "OnlyOffice",
71+
"id": "org.onlyoffice.desktopeditors",
72+
"active": false
73+
}
74+
],
75+
"utilities": [
76+
{
77+
"name": "Bottles",
78+
"id": "com.usebottles.bottles"
79+
},
80+
{
81+
"name": "Extension Manager",
82+
"id": "com.mattjakeman.ExtensionManager"
83+
},
84+
{
85+
"name": "Heroic Games Launcher",
86+
"id": "com.heroicgameslauncher.hgl"
87+
},
88+
{
89+
"name": "Lutris",
90+
"id": "net.lutris.Lutris"
91+
},
92+
{
93+
"name": "Boxes",
94+
"id": "org.gnome.Boxes"
95+
},
96+
{
97+
"name": "D\u00e9j\u00e0 Dup Backups",
98+
"id": "org.gnome.DejaDup"
99+
},
100+
{
101+
"name": "Flatseal",
102+
"id": "com.github.tchx84.Flatseal"
103+
},
104+
{
105+
"name": "Metadata Cleaner",
106+
"id": "fr.romainvigier.MetadataCleaner"
107+
},
108+
{
109+
"name": "Rnote",
110+
"id": "com.github.flxzt.rnote"
111+
},
112+
{
113+
"name": "Shortwave",
114+
"id": "de.haeckerfelix.Shortwave"
115+
},
116+
{
117+
"name": "Sound Recorder",
118+
"id": "org.gnome.SoundRecorder"
119+
},
120+
{
121+
"name": "Warehouse",
122+
"id": "io.github.flattool.Warehouse"
123+
},
124+
{
125+
"name": "Thunderbird",
126+
"id": "org.mozilla.Thunderbird"
127+
}
128+
],
129+
"browsers": [
130+
{
131+
"name": "Firefox",
132+
"id": "org.mozilla.firefox"
133+
},
134+
{
135+
"name": "Google Chrome",
136+
"id": "com.google.Chrome",
137+
"active": false
138+
},
139+
{
140+
"name": "Chromium",
141+
"id": "org.chromium.Chromium",
142+
"active": false
143+
},
144+
{
145+
"name": "Brave Browser",
146+
"id": "com.brave.Browser",
147+
"active": false
148+
},
149+
{
150+
"name": "Floorp",
151+
"id": "one.ablaze.floorp",
152+
"active": false
153+
},
154+
{
155+
"name": "LibreWolf",
156+
"id": "io.gitlab.librewolf-community",
157+
"active": false
158+
},
159+
{
160+
"name": "Zen",
161+
"id": "app.zen_browser.zen",
162+
"active": false
163+
},
164+
{
165+
"name": "Microsoft Edge",
166+
"id": "com.microsoft.Edge",
167+
"active": false
168+
},
169+
{
170+
"name": "Vivaldi",
171+
"id": "com.vivaldi.Vivaldi",
172+
"active": false
173+
},
174+
{
175+
"name": "GNOME Web",
176+
"id": "org.gnome.Epiphany",
177+
"active": false
178+
}
179+
]
180+
}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
[KDE Action Restrictions][$i]
2+
action/run_command=false
3+
action/open_terminal=false
4+
action/options_configure_keyboard=false
5+
action/switch_user=false
6+
action/lock_screen=false
7+
action/logout=false
8+
9+
[General]
10+
BrowserApplication=!w
11+
allowLogout=false
12+
13+
[KWin]
14+
allowedActions=override
15+
16+
[Applications]
17+
AllowedApplications=firstsetup
18+
19+
[Desktop Scripting]
20+
Enabled=false
21+
22+
[Desktop Interaction]
23+
AllowedWidgets=none
24+
25+
[Kiosk]
26+
LockedDown=true
27+
28+
[KGlobalShortcuts]
29+
ActivityManager=none
30+
kwin=!Alt+F1,!Alt+F2,!Alt+Tab,!Meta+L,!Meta+E,!Alt+Space
31+
32+
[Plasma Desktop]
33+
LayoutPackage=org.kde.plasma.desktop.firstsetup
34+
35+
[Containments][0]
36+
activityId=
37+
formfactor=2
38+
immutability=1
39+
lastScreen=0
40+
location=0
41+
plugin=org.kde.plasma.folder
42+
wallpaperplugin=org.kde.image
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[Desktop Entry]
2+
Name=FirstSetup
3+
Comment=Restricted Plasma session for initial setup
4+
Exec=env KDE_KIOSK_MODE=1 KIOSK_CONFIG_FILE=/etc/plasma-kiosk/firstsetup-kioskrc /usr/bin/startplasma-wayland --replace --no-sandbox
5+
TryExec=/usr/bin/startplasma-wayland
6+
Type=Application
7+
DesktopNames=KDE
8+
X-GDM-SessionRegisters=true
9+
NoDisplay=true
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[Desktop Entry]
2+
Name=FirstSetup (x11)
3+
Comment=Restricted Plasma session for initial setup
4+
Exec=env KDE_KIOSK_MODE=1 KIOSK_CONFIG_FILE=/etc/plasma-kiosk/firstsetup-kioskrc /usr/bin/startplasma-x11 --replace --no-sandbox
5+
TryExec=/usr/bin/startplasma-x11
6+
Type=Application
7+
DesktopNames=KDE
8+
X-GDM-SessionRegisters=true
9+
NoDisplay=true
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"panels": [],
3+
"desktops": []
4+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[Desktop Entry]
2+
Name=First Setup Layout
3+
Comment=Custom Plasma layout for kiosk mode initial setup session.
4+
Type=Service
5+
X-KDE-ServiceTypes=Plasma/Kiosk/Layout
6+
X-KDE-PluginInfo-Name=org.kde.plasma.desktop.firstsetup
7+
X-KDE-PluginInfo-Version=1.0
8+
X-KDE-PluginInfo-Category=Kiosk
9+
X-KDE-PluginInfo-Description=A layout package for the Plasma kiosk first setup session.

includes.container/etc/xdg/autostart/org.vanillaos.FirstSetup.nextBoot.desktop

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
{
2-
"autoRepair": true,
3-
"maxParallelDownloads": 2,
4-
"registry": "ghcr.io",
5-
"registryService": "registry.ghcr.io",
6-
"registryAPIVersion": "v2",
7-
"name": "Kanola-Images/main",
8-
"tag": "plasma",
9-
"iPkgMngPre": "lpkg --unlock",
10-
"iPkgMngPost": "lpkg --lock",
11-
"iPkgMngAdd": "apt-get install -y",
12-
"iPkgMngRm": "apt-get remove -y --autoremove",
13-
"iPkgMngApi": "https://packages.vanillaos.org/api/pkg/{packageName}",
14-
"iPkgMngStatus": 2,
15-
"differURL": "",
16-
"partLabelVar": "vos-var",
17-
"partLabelA": "vos-a",
18-
"partLabelB": "vos-b",
19-
"partLabelBoot": "vos-boot",
20-
"partLabelEfi": "vos-efi",
21-
"libPathStates": "/var/lib/abroot/states"
22-
}
2+
"autoRepair": true,
3+
"maxParallelDownloads": 2,
4+
"registry": "ghcr.io",
5+
"registryService": "registry.ghcr.io",
6+
"registryAPIVersion": "v2",
7+
"name": "kanola-images/plasma",
8+
"tag": "dev",
9+
"iPkgMngPre": "lpkg --unlock",
10+
"iPkgMngPost": "lpkg --lock",
11+
"iPkgMngAdd": "apt-get install -y",
12+
"iPkgMngRm": "apt-get remove -y --autoremove",
13+
"iPkgMngApi": "https://packages.vanillaos.org/api/pkg/{packageName}",
14+
"iPkgMngStatus": 2,
15+
"differURL": "",
16+
"partLabelVar": "vos-var",
17+
"partLabelA": "vos-a",
18+
"partLabelB": "vos-b",
19+
"partLabelBoot": "vos-boot",
20+
"partLabelEfi": "vos-efi",
21+
"libPathStates": "/var/lib/abroot/states"
22+
}

0 commit comments

Comments
 (0)