mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-09 11:41:33 -05:00
Compare commits
1 Commits
980d9a9920
...
cefb86ce42
Author | SHA1 | Date | |
---|---|---|---|
|
cefb86ce42 |
@ -83,8 +83,13 @@ sudo systemctl restart NetworkManager
|
||||
sudo systemctl restart irqbalance
|
||||
|
||||
# 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
|
||||
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
|
||||
|
||||
# Setup ZRAM
|
||||
|
@ -81,8 +81,16 @@ 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
|
||||
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 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
|
||||
|
||||
sudo dconf update
|
||||
|
||||
# Disable crash reports
|
||||
|
@ -1,3 +0,0 @@
|
||||
[org/gnome/desktop/media-handling]
|
||||
automount=false
|
||||
automount-open=false
|
@ -1,2 +0,0 @@
|
||||
org/gnome/desktop/media-handling/automount
|
||||
org/gnome/desktop/media-handling/automount-open
|
Loading…
Reference in New Issue
Block a user