mirror of
https://github.com/kingomarnajjar/desktop-environment.git
synced 2026-07-26 06:37:21 +10:00
udev
This commit is contained in:
parent
2c026ec895
commit
da2d869814
1 changed files with 3 additions and 0 deletions
|
|
@ -296,6 +296,9 @@ RUN mkdir -p $HOME/.config/openvpn && \
|
|||
# Configure password-less sudo for the sudo group
|
||||
RUN echo "%sudo ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers
|
||||
|
||||
# Configure udev rules
|
||||
RUN echo 'ACTION=="change", KERNEL=="card0", SUBSYSTEM=="drm", RUN+="/usr/bin/autorandr --change --batch"' > /etc/udev/rules.d/95-monitor-switch.rules
|
||||
|
||||
# Configure X11 permissions
|
||||
RUN sed -i 's/allowed_users=console/allowed_users=anybody/' /etc/X11/Xwrapper.config && \
|
||||
echo needs_root_rights=yes >> /etc/X11/Xwrapper.config && \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue