mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-26 09:35:24 +00:00
feat: Add required input user group in Bazzite Portal by default
This commit is contained in:
parent
98083aa71a
commit
b57ff42462
@ -17,6 +17,11 @@ screens:
|
||||
show_terminal: true
|
||||
package_manager: yafti.plugin.run
|
||||
groups:
|
||||
Add input group to current user:
|
||||
description: Adds the input group to your current user. Required by certain controller drivers.
|
||||
default: true
|
||||
packages:
|
||||
- Set input group: just --unstable add-user-to-input-group
|
||||
BIOS & Firmware Updates:
|
||||
description: Enables BIOS & Firmware updates for Steam Deck hardware
|
||||
default: true
|
||||
|
@ -393,11 +393,18 @@ enable-flatpak-theming:
|
||||
|
||||
# Enable XwaylandVideoBridge for screensharing on KDE
|
||||
fix-screenshare:
|
||||
IMAGE_INFO="/usr/share/ublue-os/image-info.json" && \
|
||||
BASE_IMAGE_NAME=$(jq -r '."base-image-name"' < $IMAGE_INFO) && \
|
||||
if [[ ${BASE_IMAGE_NAME} == 'kinoite' ]]; then \
|
||||
mkdir -p $HOME/.config/autostart && \
|
||||
cp /usr/share/applications/org.kde.xwaylandvideobridge.desktop $HOME/.config/autostart/; \
|
||||
else \
|
||||
echo "This is only supported under KDE."; \
|
||||
#!/usr/bin/env bash
|
||||
IMAGE_INFO="/usr/share/ublue-os/image-info.json"
|
||||
BASE_IMAGE_NAME=$(jq -r '."base-image-name"' < $IMAGE_INFO)
|
||||
if [[ ${BASE_IMAGE_NAME} == 'kinoite' ]]; then
|
||||
mkdir -p $HOME/.config/autostart
|
||||
cp /usr/share/applications/org.kde.xwaylandvideobridge.desktop $HOME/.config/autostart/
|
||||
else
|
||||
echo "This is only supported under KDE."
|
||||
fi
|
||||
|
||||
# Add user to "input" group required by certain controller drivers
|
||||
add-user-to-input-group:
|
||||
#!/usr/bin/env bash
|
||||
getent group input || sudo groupadd input
|
||||
sudo usermod -a -G input $USER
|
||||
|
@ -31,6 +31,11 @@ screens:
|
||||
show_terminal: true
|
||||
package_manager: yafti.plugin.run
|
||||
groups:
|
||||
Add input group to current user:
|
||||
description: Adds the input group to your current user. Required by certain controller drivers.
|
||||
default: true
|
||||
packages:
|
||||
- Set input group: just --unstable add-user-to-input-group
|
||||
Greenlight:
|
||||
description: A utility for xCloud and xHome streaming
|
||||
default: false
|
||||
|
@ -211,11 +211,18 @@ enable-flatpak-theming:
|
||||
|
||||
# Enable XwaylandVideoBridge for screensharing on KDE
|
||||
fix-screenshare:
|
||||
IMAGE_INFO="/usr/share/ublue-os/image-info.json" && \
|
||||
BASE_IMAGE_NAME=$(jq -r '."base-image-name"' < $IMAGE_INFO) && \
|
||||
if [[ ${BASE_IMAGE_NAME} == 'kinoite' ]]; then \
|
||||
mkdir -p $HOME/.config/autostart && \
|
||||
cp /usr/share/applications/org.kde.xwaylandvideobridge.desktop $HOME/.config/autostart/; \
|
||||
else \
|
||||
echo "This is only supported under KDE."; \
|
||||
#!/usr/bin/env bash
|
||||
IMAGE_INFO="/usr/share/ublue-os/image-info.json"
|
||||
BASE_IMAGE_NAME=$(jq -r '."base-image-name"' < $IMAGE_INFO)
|
||||
if [[ ${BASE_IMAGE_NAME} == 'kinoite' ]]; then
|
||||
mkdir -p $HOME/.config/autostart
|
||||
cp /usr/share/applications/org.kde.xwaylandvideobridge.desktop $HOME/.config/autostart/
|
||||
else
|
||||
echo "This is only supported under KDE."
|
||||
fi
|
||||
|
||||
# Add user to "input" group required by certain controller drivers
|
||||
add-user-to-input-group:
|
||||
#!/usr/bin/env bash
|
||||
getent group input || sudo groupadd input
|
||||
sudo usermod -a -G input $USER
|
||||
|
Loading…
x
Reference in New Issue
Block a user