orioltf
8/28/2013 - 9:16 AM

My personal Gnome preferences

My personal Gnome preferences

# The basics
sudo dnf install -y gimp libreoffice vlc gnome-tweak-tool git hg svn

# RPM Fusion
sudo dnf install --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
sudo dnf install --nogpgcheck http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

# Video compatibility
sudo dnf install -y ffmpeg ffmpeg-compat

# spotify
sudo dnf config-manager --add-repo=http://negativo17.org/repos/fedora-spotify.repo
sudo dnf install spotify-client -y

# Oracle Java
# https://www.java.com/en/download/linux_manual.jsp

# Visual Studio Code

# Atom Editor

# sublime text
curl -L git.io/sublimetext | sh

# Firefox Developer Edition
curl -L git.io/firefoxdev | sh

# Google Chrome (Stable, Beta)
sudo dnf config-manager --add-repo http://dl.google.com/linux/chrome/rpm/stable/$basearch
#sudo dnf config-manager --setopt gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub google-chrome --save
echo $'gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub' | sudo tee -a /etc/yum.repos.d/google-chrome.repo >/dev/null
sudo dnf install -y google-chrome-stable google-chrome-beta
chmod a+x ~/.local/share/applications/chrome-*-Default.desktop
svn export --depth files http://src.chromium.org/chrome/trunk/src/chrome/app/theme/chromium ./chromium-logo
for i in 48 64 128; do sudo cp chromium-logo/product_logo_$i.png /usr/share/icons/hicolor/${i}x$i/apps/google-chrome-beta.png; done
sudo gtk-update-icon-cache -f '/usr/share/icons/hicolor'

# Yeoman
sudo dnf install ruby rubygems gcc ruby-devel npm
gem install compass

# Sane settings for Gnome
gsettings set org.gnome.desktop.interface clock-show-date true
#gsettings set org.gnome.desktop.interface scaling-factor 2
gsettings set org.gnome.desktop.interface text-scaling-factor 0.6
gsettings set org.gnome.desktop.interface toolbar-icons-size 'small'
gsettings set org.gnome.desktop.wm.preferences button-layout ':minimize,maximize,close'
 
# Sane settings for Nautilus
gsettings set org.gnome.nautilus.list-view default-visible-columns "['name', 'size', 'type', 'date_modified', 'owner', 'group', 'permissions']"
gsettings set org.gnome.nautilus.list-view default-zoom-level 'small'
gsettings set org.gnome.nautilus.preferences show-hidden-files true
gsettings set org.gnome.nautilus.preferences sort-directories-first true
gsettings set org.gnome.nautilus.preferences default-folder-viewer 'list-view'
 
# Sane settings for gedit
gsettings set org.gnome.gedit.preferences.editor display-line-numbers true

# Sane settings for gnome-terminal
gsettings set org.gnome.Terminal.Legacy.Settings shell-integration-enabled true
gsettings set org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/ visible-name 'Default'
gsettings set org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/ login-shell true
gsettings set org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/ use-transparent-background true
gsettings set org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/ background-transparency-percent 25
# Sane settings for Gnome
gsettings set org.gnome.desktop.interface clock-show-date true
gsettings set org.gnome.desktop.interface text-scaling-factor 0.6
gsettings set org.gnome.desktop.wm.preferences button-layout ':minimize,maximize,close'
 
# Sane settings for Nautilus
gsettings set org.gnome.nautilus.list-view default-visible-columns "['name', 'size', 'type', 'date_modified', 'owner', 'group', 'permissions']"
gsettings set org.gnome.nautilus.list-view default-zoom-level 'small'
gsettings set org.gnome.nautilus.preferences enable-delete true
gsettings set org.gnome.nautilus.preferences show-hidden-files true
gsettings set org.gnome.nautilus.preferences sort-directories-first true
gsettings set org.gnome.nautilus.preferences default-folder-viewer 'list-view'
 
# Sane settings for gedit
gsettings set org.gnome.gedit.preferences.editor display-line-numbers true

# Reduce TitleBar height
cat > ~/.config/gtk-3.0/gtk.css <<EOF
.header-bar.default-decoration {
  padding-top: 0;
  padding-bottom: 0;
}
GtkButton {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}
>EOF
# Sane settings for Gnome
gsettings set org.gnome.desktop.background show-desktop-icons true
gsettings set org.gnome.desktop.interface clock-show-date true
gsettings set org.gnome.settings-daemon.plugins.xsettings antialiasing 'grayscale'
gsettings set org.gnome.settings-daemon.plugins.xsettings hinting 'slight'
gsettings set org.gnome.desktop.interface text-scaling-factor '1.0'
gsettings set org.gnome.desktop.interface monospace-font-name "Monospace 10"
gsettings set org.gnome.desktop.interface document-font-name 'Sans 10'
gsettings set org.gnome.desktop.interface font-name 'Cantarell 10'
gsettings set org.gnome.desktop.wm.preferences titlebar-font 'Cantarell Bold 10'
gsettings set org.gnome.shell.overrides button-layout '":minimize,maximize,close"'

# Gnome proxy
gsettings set org.gnome.system.proxy mode 'auto'
gsettings set org.gnome.system.proxy autoconfig-url "http://server/default.pac"

# Sane settings for screen lock (screen off: 10 minutes, screen lock: 15 minutes)
gsettings set org.gnome.settings-daemon.plugins.power sleep-display-ac 600
gsettings set org.gnome.settings-daemon.plugins.power sleep-display-battery 600
gsettings set org.gnome.desktop.session idle-delay 600
gsettings set org.gnome.desktop.screensaver idle-activation-enabled 'true'
gsettings set org.gnome.desktop.screensaver lock-enabled 'true'
gsettings set org.gnome.desktop.screensaver lock-delay 900

# Sane settings for Nautilus
gsettings set org.gnome.nautilus.desktop font 'Cantarell 10'
gsettings set org.gnome.nautilus.list-view default-visible-columns "['name', 'size', 'type', 'date_modified', 'owner', 'group', 'permissions']"
gsettings set org.gnome.nautilus.list-view default-zoom-level 'smallest'
gsettings set org.gnome.nautilus.preferences enable-delete true
gsettings set org.gnome.nautilus.preferences show-hidden-files true
gsettings set org.gnome.nautilus.preferences sort-directories-first true
gsettings set org.gnome.nautilus.preferences default-folder-viewer 'list-view'

# Sane settings for gedit"
gsettings set org.gnome.gedit.preferences.editor display-line-numbers true