mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-21 17:11:33 -05:00
Split automount
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
9dbb4a3dd4
commit
e9e5605796
@ -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
|
||||||
|
@ -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
|
||||||
|
3
etc/dconf/db/local.d/automount-disable
Normal file
3
etc/dconf/db/local.d/automount-disable
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[org/gnome/desktop/media-handling]
|
||||||
|
automount=false
|
||||||
|
automount-open=false
|
2
etc/dconf/db/local.d/locks/automount-disable
Normal file
2
etc/dconf/db/local.d/locks/automount-disable
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
org/gnome/desktop/media-handling/automount
|
||||||
|
org/gnome/desktop/media-handling/automount-open
|
Loading…
Reference in New Issue
Block a user