2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-08-20 05:06:58 +00:00
repo/xorg/xorg-server/post-install

20 lines
439 B
Plaintext
Raw Normal View History

2019-10-24 14:44:54 +00:00
#!/bin/sh
# Give Xorg setgid to /dev/input.
2020-03-17 11:33:30 +00:00
chown :input "$KISS_ROOT/usr/bin/Xorg"
chmod g+s "$KISS_ROOT/usr/bin/Xorg"
2019-10-24 14:44:54 +00:00
cat <<EOF
NOTE: You must be a part of the video group
for rootless xorg-server to work.
2019-10-24 14:44:54 +00:00
NOTE: This groups based permissions model may not
be suitable if KISS will be used as a multi
user system. Further configuration can be
done at your own discretion.
2019-10-24 14:44:54 +00:00
-> addgroup USER video
EOF