Skip to content

Instantly share code, notes, and snippets.

@ankurk91
Last active December 25, 2023 19:14
Show Gist options
  • Star 62 You must be signed in to star a gist
  • Fork 25 You must be signed in to fork a gist
  • Save ankurk91/2327d4881d71a098e3bfcd0b1c255d83 to your computer and use it in GitHub Desktop.
Save ankurk91/2327d4881d71a098e3bfcd0b1c255d83 to your computer and use it in GitHub Desktop.
elementary OS 5.1 Hera

elementaryOS Apps and Configs

⚠️ No longer maintained! ⚠️

This guide has been updated for elementaryOS v5.0+.

Enbale PPA support

sudo apt-get update
sudo apt-get -y install software-properties-common

Elementary tweaks

sudo add-apt-repository -y ppa:philip.scott/elementary-tweaks 
sudo apt-get install -y elementary-tweaks

7Z, RAR file support to File Roller

sudo apt-get install -y rar unrar p7zip-full p7zip-rar

Task manager

sudo apt-get install -y gnome-system-monitor htop

Google Chrome Web Browser

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
sudo apt-get update
sudo apt-get install -y google-chrome-stable

VLC Media Player

sudo apt-get install -y vlc
sudo add-apt-repository -y ppa:libreoffice/ppa
sudo apt-get install -y libreoffice

TLP Laptop battery saver

sudo apt-get install -y tlp tlp-rdw
sudo tlp start

GIMP Image editor

sudo apt-get install -y gimp

xfburn - CD and DVD burning application

sudo apt-get install -y xfburn

xfburn does not support multi-session disks

sudo apt-get install -y dconf-tools
sudo apt install -y baobab
sudo apt-get install -y gparted

ISO Master

sudo apt-get install -y isomaster
sudo apt-get install -y bleachbit

uGet Download Manager

sudo apt install -y aria2 uget

Spotify desktop app

Synaptic Package Manager

sudo apt-get install -y synaptic
sudo apt-get install -y ubuntu-restricted-extras
sudo add-apt-repository -y ppa:danielrichter2007/grub-customizer
sudo apt-get install -y grub-customizer

Filezilla

sudo apt-get install -y filezilla

HandBrake media convertor

sudo add-apt-repository -y ppa:stebbins/handbrake-releases
sudo apt-get install -y handbrake-gtk

Selene Media Encoder

sudo apt-add-repository -y ppa:teejee2008/ppa
sudo apt-get install -y selene
sudo add-apt-repository -y ppa:audio-recorder/ppa
sudo apt-get install -y audio-recorder
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt-get update 
sudo apt-get install -y sublime-text
sudo apt install virtualbox virtualbox-ext-pack

gnome disk

sudo apt-get install -y gnome-disk-utility

PulseAudio Volume Control

sudo apt-get install -y pavucontrol

Update manager (you may not need this)

sudo apt-get install software-properties-gtk 
sudo apt-get install update-manager

Wingpanel addons

Plank addons

Scratch text editor configs

  • Dont autosave files on change

File manager configs

  • Disable single click
  • Dont remember tabs

Music player (noise) configs

  • Dont write metedata to files

Misc

  • Show battery percentage
  • Disable all animations
  • Enable firewall and disable ssh
  • Set Terminal transparency to 0

Disable OS auto updates source more

  • Edit /etc/apt/apt.conf.d/20auto-upgrades file and update these lines
APT::Periodic::Update-Package-Lists "0";
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::AutocleanInterval "30";
APT::Periodic::Unattended-Upgrade "0";

Display hidden auto-start entries

sudo sed -i 's/NoDisplay=true/NoDisplay=false/g' /etc/xdg/autostart/*.desktop

Now run gnome-session-properties in terminal to see full list.

Lets Disable App Center Deamon, Onboard, Orca screen reader, Personal File Sharing and Maya Deamon

Tune swappiness (if you have low RAM machine)

# temporarily
sudo sysctl vm.swappiness=10

# parmanent, require reboot
echo 'vm.swappiness=10' | sudo tee -a /etc/sysctl.conf

Fix time differences between Ubuntu and Windows (Dual Boot) - Source

timedatectl set-local-rtc 1

Speed up apt-get update with parallel

# Create a file
sudo nano /etc/apt/apt.conf.d/99parallel

# Add these lines and save 
APT::Acquire::Queue-Mode "access";
APT::Acquire::Retries 3;

Remove language related ign from apt-get update - Source

echo 'Acquire::Languages "none";' | sudo tee -a /etc/apt/apt.conf.d/00aptitude

Set file roller compression level to maximum

dconf write /org/gnome/file-roller/general/compression-level "'maximum'"
#!/bin/bash
set -e
echo "Use at your own risk !!"
# List of apps to remove
declare -a APPS_TO_REMOVE=(
"epiphany*"
"maya-calendar*"
"evolution-data-server"
"audience*"
"pantheon-mail*"
"gnome-orca*"
)
## Loop through the above array
for i in "${APPS_TO_REMOVE[@]}"
do
echo -e "\e[96m Uninstalling: $i \e[39m"
sudo apt-get remove --purge -y $i
done
# Clean up
sudo apt-get -y autoremove
sudo apt-get -y clean

Install BootUpManager

# install dependencies
sudo apt install build-essential intltool
sudo apt install libgtk2-perl

## compile from source
wget https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/bum/2.5.2-1/bum_2.5.2.orig.tar.gz
tar xzvf bum_2.5.2.orig.tar.gz
cd bum-2.5.2/
./configure 
make
sudo make install
cd ..
rm  -rf bum-2.5.2/
sudo bum
@cuongdcdev
Copy link

thank you for the super useful gist

@myke4416
Copy link

myke4416 commented Mar 24, 2020

Yea - I know this is old, but this comes up in one of the first searches of elementary, OS, Plank, magnify, zoom, features, ....etc . So here is the easy answer if you are running Elementary OS Hera ... remove Plank (sudo apt remove plank) then go to the AppCenter and download/install Docky .... DONE!

@mkellyxp
Copy link

mkellyxp commented Apr 3, 2020

I just want to remove the dock and not replace it with anything. Will there be bugs because if that? Seems to be really tied in.

Then I really wish the app switcher was more like gnome, kde, MacOS, etc. where it's just icons you sift through instead of full preview.

Would be so curious if anyone else has done these tweaks

@ankurk91
Copy link
Author

ankurk91 commented Apr 3, 2020

@mkellyxp
Please ask your question at
https://elementaryos.stackexchange.com/
You will find more community members there.

I don't think plank is tied with OS.
i found this, not tested . ⚠️

@Zyten
Copy link

Zyten commented Apr 15, 2020

Yea - I know this is old, but this comes up in one of the first searches of elementary, OS, Plank, magnify, zoom, features, ....etc . So here is the easy answer if you are running Elementary OS Hera ... remove Plank (sudo apt remove plank) then go to the AppCenter and download/install Docky .... DONE!

Alternatively, to keep using Plank instead of Docky in Hera, you can rebuild from source. The following worked for me:

https://www.reddit.com/r/elementaryos/comments/fd6fgd/zoom_effect_reveal_removed_from_the_plank/flpzu9z

Copied below in case post deleted

Install

cd ~/Downloads
wget https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/plank/0.11.89-1/plank_0.11.89.orig.tar.xz
tar -xf plank_0.11.89.orig.tar.xz
cd plank-0.11.89/
sudo apt-get install -y libglib2.0-dev valac libgnome-menu-3-dev libxml2-utils libgtk-3-dev libgee-0.8-dev libbamf3-dev libwnck-3-dev
./configure
make
sudo make install
sudo apt-get install --reinstall plank libplank*

killall plank && plank&

# At this point the Icon Zoom option is available again in Plank Preferences.

However, at this point, after a restart, my autostart applications were taking FOREVER to launch. (Like 30 seconds after boot or something) I found the following in my syslog.

Mar 28 01:41:09 jchun-desktop gnome-session[1451]: gnome-session-binary[1451]: WARNING: Application 'plank.desktop' failed to register before timeout
Mar 28 01:41:09 jchun-desktop gnome-session-binary[1451]: WARNING: Application 'plank.desktop' failed to register before timeout

I don't know what it means, but after looking at the plank.desktop file, I noticed that it had a Phase associated with it. I'm guessing because it is a part of a specific phase, it blocks until the registration of plank fails, which holds up the rest of my apps from autostarting. I haven't done extensive testing, but I was able to fix it by editing /etc/xdg/autostart/plank.desktop

Comment out/remove the following line:

# X-GNOME-Autostart-Phase=Panel

Save and restart. Even though I still get the register errors, the dock seems to be working perfectly and my apps autostart on-time as well, so no complaints so far.

Uninstall/revert instructions.

cd ~/Downloads
cd plank-0.11.89/
sudo make uninstall
sudo apt-get install --reinstall plank libplank*
killall plank && plank&

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