1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-11-09 03:31: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
# Disable automount
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
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
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
sudo dconf update
# 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
# Disable automount
sudo mkdir -p /etc/dconf/db/local.d/locks/
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
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
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
sudo dconf update
# 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