Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save PretzelJones/05ff9ae2af0570b86aaebc385c341428 to your computer and use it in GitHub Desktop.
Save PretzelJones/05ff9ae2af0570b86aaebc385c341428 to your computer and use it in GitHub Desktop.
#elC - The elementary OS Combobulator - There are many issues within the community that tend to come up a lot.
#I know many of them are open bug reports, but until they are patched we can provide a consolidated list of work-arounds.
#I think this will be helpful for newcomers and veterans alike
#enable ppas
sudo apt install -y software-properties-common python3-software-properties python-software-properties
#install elementary tweaks
sudo add-apt-repository -y ppa:philip.scott/elementary-tweaks
sudo apt update -y
sudo apt install -y elementary-tweaks
#install elementaryPlus icon theme
sudo add-apt-repository -y ppa:cybre/elementaryplus
sudo apt-get update
sudo apt-get install -y elementaryplus
#install Papirus icon theme
sudo add-apt-repository ppa:papirus/papirus
sudo apt-get update
sudo apt-get install papirus-icon-theme
#install pulseaudio equalizer
sudo add-apt-repository -y ppa:nilarimogard/webupd8
sudo apt update
sudo apt install -y pulseaudio-equalizer
#install 32bit libraries //needed by many applications
sudo apt install -y libc6:i386 libncurses5:i386 libstdc++6:i386
#install chrome
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i --force-depends google-chrome-stable_current_amd64.deb
sudo apt-get install -f
#install tlp - for power management
sudo add-apt-repository -y ppa:linrunner/tlp
sudo apt update
sudo apt install -y tlp tlp-rdw
sudo tlp start
#install DropBox
git clone https://github.com/zant95/elementary-dropbox /tmp/elementary-dropbox
bash /tmp/elementary-dropbox/install.sh
#Work-arounds for known issues and/or niggly things
#app center issues - fix common App Center issues
sudo dpkg --configure -a
#Fix high CPU usage with Samba Browse by requiring sudo permissions
sudo chmod 744 /usr/lib/gvfs/gvfsd-smb-browse
#speed up shut down //significantly reduces timeouts on process shutdowns
sudo scratch-text-editor /etc/systemd/system.conf
DefaultTimeoutStartSec=6s #set to 90s by default
DefaultTimeoutStopSec=6s
#this command can be writen to a script to automate the editing of the system.conf file //developed for possible integration into a GUI button
#sed -i 's/#DefaultTimeoutStartSec=90s/#DefaultTimeoutStartSec=6s/g' system.conf && sed -i 's/#DefaultTimeoutStopSec=90s/#DefaultTimeoutStopSec=6s/g' system.conf
#fix for crackling sound in pulseaudio
sudo -i sratch-text-editor /etc/pulse/default.pa
#add line below to end of file, then save
load-module module-udev-detect tsched=0
#then type in terminal:
pulseaudio -k
pulseaudio --start
#fix slow Plank & Wingpanel loading on login //side eddects of this are unknown
sudo mv /etc/xdg/autostart/at-spi-dbus-bus.desktop /etc/xdg/autostart/at-spi-dbus-bus.disabled
#set super key only to open slingshot vice super-space
gsettings set org.gnome.mutter overlay-key "'Super_L'"
gsettings set org.pantheon.desktop.gala.behavior overlay-action "'wingpanel --toggle-indicator=app-launcher'"
#fix mouse pointer disappearing after waking from suspend
gsettings set org.gnome.settings-daemon.plugins.cursor active false
Copy link

ghost commented Nov 29, 2017

Hi!
Is it worth adding this DropBox script?

https://github.com/zant95/elementary-dropbox

@PretzelJones
Copy link
Author

Absolutely!

@gorghino
Copy link

gorghino commented Dec 6, 2017

Be careful when you install tlp because I had problems with my SSD.
Check: linrunner/TLP#130

@quequotion
Copy link

#fix slow Plank & Wingpanel loading on login //side eddects of this are unknown

This disables Gnome's Assistive Technologies SPI DBUS.

@PretzelJones
Copy link
Author

@gorghino I have noticed that TLP can cause a number of issues. Many people do see benefits of using it. I use it on my machine and do see improved battery life at the expensive of buggy suspend and wake.

@quequotion - thank you. Yes that's exactly what it does. Though I've never experienced any side affects from disabling at-spi-dbus. That doesn't mean that others won't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment