Last active
June 1, 2018 13:44
-
-
Save mprahl/443e056cdae402ac665462197edb67cc to your computer and use it in GitHub Desktop.
Dell XPS 13 Work Laptop Setup Fedora 26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
dnf upgrade -y | |
# Set text scaling to 1.1 so the fonts are a bit larger | |
gsettings set org.gnome.desktop.interface text-scaling-factor 1.1 | |
# Add the minimize and maximize buttons on windows | |
gsettings set org.gnome.desktop.wm.preferences button-layout 'appmenu:minimize,maximize,close' | |
# Turn on the battery percentage | |
gsettings set org.gnome.desktop.interface show-battery-percentage true | |
# Show Desktop Icons | |
gsettings set org.gnome.desktop.background show-desktop-icons true | |
# Optional: Force the scaling to be globally set to 2 | |
# gsettings set org.gnome.desktop.interface scaling-factor 2 | |
# gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "[{'Gdk/WindowScalingFactor', <2>}]" | |
# Install virtualenv | |
sudo dnf install -y virtualenv python-virtualenvwrapper | |
# Install ipython | |
sudo dnf install -y ipython | |
# Install libvirt | |
sudo dnf install -y @virtualization | |
# Install vagrant | |
sudo dnf install -y vagrant vagrant-libvirt | |
# Install Mac Icon set | |
curl https://dl.opendesktop.org/api/files/download/id/1494895082/macOS.tar.xz -o ~/macOS.tar.xz | |
sudo tar xf ~/macOS.tar.xz -C /usr/share/icons/ | |
# Optionally, remove the app icons (I like these to be the same as the default Gnome icons) | |
sudo rm -rf /usr/share/icons/macOS/apps | |
gsettings set org.gnome.desktop.interface icon-theme "macOS" | |
# Automatically switch to new audio devices being pluggined (e.g. dock) | |
cat << EOF >> /etc/pulse/default.pa | |
### Auto switch to Dock for sound when it is connected | |
load-module module-switch-on-connect | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment