1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-11-28 04:01:34 -05:00

Compare commits

..

2 Commits

Author SHA1 Message Date
Guru
980d9a9920
Merge 68dbc7224a into e9e5605796 2023-11-11 04:00:31 -07:00
e9e5605796
Split automount
Signed-off-by: Tommy <contact@tommytran.io>
2023-11-11 04:00:27 -07:00
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