Add Android Studio config
This commit is contained in:
parent
67be276dc2
commit
a9065eff61
@ -160,6 +160,21 @@ exit
|
||||
rm /etc/sudoers.d/aur-install
|
||||
userdel --remove --force aur-install
|
||||
|
||||
# Android Studio config
|
||||
echo "
|
||||
# DRI video devices
|
||||
SUBSYSTEM==\"drm\", KERNEL==\"card*|renderD*\", MODE=\"0666\"
|
||||
|
||||
# Enable access to virtualization device to all users
|
||||
SUBSYSTEM==\"misc\", KERNEL==\"kvm\", MODE=\"0666\"
|
||||
" >> /etc/udev/rules.d/65-kvm.rules
|
||||
# ajouter le fichier /etc/X11/xorg.conf.d/20-radeon.conf
|
||||
echo "Section \"DRI\"
|
||||
Mode 0666
|
||||
EndSection" >> /etc/X11/xorg.conf.d/20-radeon.conf
|
||||
chmod 1755 /opt/android-sdk/platform-tools/adb
|
||||
chmod 1755 /opt/android-sdk/tools/emulator
|
||||
|
||||
# Enable the services
|
||||
systemctl enable "${SERVICES[@]}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user