1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-11-22 01:21:33 -05:00

Split automount

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2023-11-11 04:00:27 -07:00
parent 9dbb4a3dd4
commit e9e5605796
No known key found for this signature in database
GPG Key ID: D30DEC268D3FEB17
4 changed files with 9 additions and 17 deletions

View File

@ -83,13 +83,8 @@ sudo systemctl restart NetworkManager
sudo systemctl restart irqbalance sudo systemctl restart irqbalance
# Disable automount # Disable automount
echo '[org/gnome/desktop/media-handling] curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Script/main/etc/dconf/db/local.d/automount-disable -o /etc/dconf/db/local.d/automount-disable
automount=false curl curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Script/main/etc/dconf/db/local.d/locks/automount-disable -o /etc/dconf/db/local.d/locks/automount-disable
automount-open=false' | sudo tee /etc/dconf/db/local.d/automount-disable
echo 'org/gnome/desktop/media-handling/automount
org/gnome/desktop/media-handling/automount-open' | sudo tee /etc/dconf/db/local.d/locks/automount-disable
sudo dconf update sudo dconf update
# Setup ZRAM # Setup ZRAM

View File

@ -81,16 +81,8 @@ sudo mkdir -p /etc/systemd/system/irqbalance.service.d
sudo curl https://gitlab.com/divested/brace/-/raw/master/brace/usr/lib/systemd/system/irqbalance.service.d/99-brace.conf -o /etc/systemd/system/irqbalance.service.d/99-brace.conf sudo curl https://gitlab.com/divested/brace/-/raw/master/brace/usr/lib/systemd/system/irqbalance.service.d/99-brace.conf -o /etc/systemd/system/irqbalance.service.d/99-brace.conf
# Disable automount # Disable automount
curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Script/main/etc/dconf/db/local.d/automount-disable -o /etc/dconf/db/local.d/automount-disable
sudo mkdir -p /etc/dconf/db/local.d/locks/ curl curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Script/main/etc/dconf/db/local.d/locks/automount-disable -o /etc/dconf/db/local.d/locks/automount-disable
echo '[org/gnome/desktop/media-handling]
automount=false
automount-open=false' | sudo tee /etc/dconf/db/local.d/automount-disable
echo 'org/gnome/desktop/media-handling/automount
org/gnome/desktop/media-handling/automount-open' | sudo tee /etc/dconf/db/local.d/locks/automount-disable
sudo dconf update sudo dconf update
# Disable crash reports # Disable crash reports

View File

@ -0,0 +1,3 @@
[org/gnome/desktop/media-handling]
automount=false
automount-open=false

View File

@ -0,0 +1,2 @@
org/gnome/desktop/media-handling/automount
org/gnome/desktop/media-handling/automount-open