File tree 4 files changed +38
-14
lines changed
deck/shared/usr/share/ublue-os
desktop/shared/usr/share/ublue-os
4 files changed +38
-14
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,11 @@ screens:
17
17
show_terminal : true
18
18
package_manager : yafti.plugin.run
19
19
groups :
20
+ Add input group to current user :
21
+ description : Adds the input group to your current user. Required by certain controller drivers.
22
+ default : true
23
+ packages :
24
+ - Set input group : just --unstable add-user-to-input-group
20
25
BIOS & Firmware Updates :
21
26
description : Enables BIOS & Firmware updates for Steam Deck hardware
22
27
default : true
Original file line number Diff line number Diff line change @@ -393,11 +393,18 @@ enable-flatpak-theming:
393
393
394
394
# Enable XwaylandVideoBridge for screensharing on KDE
395
395
fix-screenshare :
396
- IMAGE_INFO=" /usr/share/ublue-os/image-info.json" && \
397
- BASE_IMAGE_NAME=$(jq -r ' ."base-image-name"' < $IMAGE_INFO) && \
398
- if [[ ${BASE_IMAGE_NAME} == ' kinoite' ]]; then \
399
- mkdir -p $HOME/ .config/ autostart && \
400
- cp / usr/ share/ applications/ org.kde.xwaylandvideobridge.desktop $HOME/ .config/ autostart/ ; \
401
- else \
402
- echo " This is only supported under KDE." ; \
396
+ #!/usr/bin/env bash
397
+ IMAGE_INFO=" /usr/share/ublue-os/image-info.json"
398
+ BASE_IMAGE_NAME=$(jq -r ' ."base-image-name"' < $IMAGE_INFO)
399
+ if [[ ${BASE_IMAGE_NAME} == ' kinoite' ]]; then
400
+ mkdir -p $HOME/ .config/ autostart
401
+ cp / usr/ share/ applications/ org.kde.xwaylandvideobridge.desktop $HOME/ .config/ autostart/
402
+ else
403
+ echo " This is only supported under KDE."
403
404
fi
405
+
406
+ # Add user to "input" group required by certain controller drivers
407
+ add-user-to-input-group :
408
+ #!/usr/bin/env bash
409
+ getent group input || sudo groupadd input
410
+ sudo usermod -a -G input $USER
Original file line number Diff line number Diff line change @@ -31,6 +31,11 @@ screens:
31
31
show_terminal : true
32
32
package_manager : yafti.plugin.run
33
33
groups :
34
+ Add input group to current user :
35
+ description : Adds the input group to your current user. Required by certain controller drivers.
36
+ default : true
37
+ packages :
38
+ - Set input group : just --unstable add-user-to-input-group
34
39
Greenlight :
35
40
description : A utility for xCloud and xHome streaming
36
41
default : false
Original file line number Diff line number Diff line change @@ -211,11 +211,18 @@ enable-flatpak-theming:
211
211
212
212
# Enable XwaylandVideoBridge for screensharing on KDE
213
213
fix-screenshare :
214
- IMAGE_INFO ="/usr/share/ublue-os/image-info.json" && \
215
- BASE_IMAGE_NAME=$(jq -r '."base-image-name"' < $IMAGE_INFO ) && \
216
- if [[ ${BASE_IMAGE_NAME} == 'kinoite' ]]; then \
217
- mkdir -p $HOME/.config/autostart && \
218
- cp /usr/share/applications/org.kde.xwaylandvideobridge.desktop $HOME/.config/autostart/; \
219
- else \
220
- echo "This is only supported under KDE."; \
214
+ # !/usr/bin/env bash
215
+ IMAGE_INFO ="/usr/share/ublue-os/image-info.json"
216
+ BASE_IMAGE_NAME =$(jq -r '."base-image-name"' < $IMAGE_INFO )
217
+ if [[ ${BASE_IMAGE_NAME} == 'kinoite' ]]; then
218
+ mkdir -p $HOME/.config/autostart
219
+ cp /usr/share/applications/org.kde.xwaylandvideobridge.desktop $HOME/.config/autostart/
220
+ else
221
+ echo "This is only supported under KDE."
221
222
fi
223
+
224
+ # Add user to "input" group required by certain controller drivers
225
+ add-user-to-input-group :
226
+ # !/usr/bin/env bash
227
+ getent group input || sudo groupadd input
228
+ sudo usermod -a -G input $USER
You can’t perform that action at this time.
0 commit comments