Skip to content

Instantly share code, notes, and snippets.

@ahached
Forked from isneezy/elementaryos.md
Created November 28, 2020 19:33
Show Gist options
  • Save ahached/56ac34342435113aadbca31031624b3a to your computer and use it in GitHub Desktop.
Save ahached/56ac34342435113aadbca31031624b3a to your computer and use it in GitHub Desktop.
elementaryOS | Things To Do After Installing elementary OS Hera(5.1)

FIRST THING FIRST

  • Enable PPA (Properties Commons)

     sudo apt update
     sudo apt install software-properties-common
  • Install apt-fast

     sudo add-apt-repository -y ppa:apt-fast/stable
     sudo apt -y install apt-fast
     echo "alias apt='apt-fast'" >> ~/.bashrc 
     source ~/.bashrc
  • Update OS

     apt update && apt upgrade
  • Install git

     apt install git
  • Uninstall Apps

     apt purge epiphany-browser epiphany-browser-data
     apt purge pantheon-mail
     apt purge noise
     apt purge audience
  • Clean Up OS

     apt autoremove -y
     apt autoclean -y


Tweaking the UI

  • Add minimize button

     sudo add-apt-repository ppa:philip.scott/elementary-tweaks
     apt install elementary-tweaks
    • then do System Settings>Tweaks>Layout>Windows
  • Bring back Tray icons Screenshot

     apt install gobject-introspection libglib2.0-dev libgranite-dev libindicator3-dev libwingpanel-2.0-dev valac
     git clone https://github.com/donadigo/wingpanel-indicator-namarupa
     cd wingpanel-indicator-namarupa
     meson build --prefix=/usr && cd build
     ninja
     sudo ninja install
     apt install -f
     wget https://github.com/mdh34/elementary-indicators/releases/download/0.1/indicator-application-patched.deb
     sudo dpkg -i indicator-application-patched.deb
     sudo reboot
  • Remove Bluethooth indicator

     apt remove wingpanel-indicator-bluetooth
     ``
    
  • Icon Pack La Capitaine by @keeferrourke

     cd $HOME/.icons
     git clone https://github.com/keeferrourke/la-capitaine-icon-theme.git
     cd la-capitaine-icon-theme && ./configure
  • Cursors La Capitaine by @keeferrourke

     sudo add-apt-repository ppa:dyatlov-igor/la-capitaine
     apt install la-capitaine-cursor-theme

Boosting up system

  • Reduce Overheating & Improve Battery Life
add-apt-repository ppa:linrunner/tlp
apt update
apt install tlp tlp-rdw
tlp start
chmod 744 /usr/lib/gvfs/gvfsd-smb-browse


PLANK


  • Proper Plank
add-apt-repository ppa:ricotz/docky
apt update
apt install --reinstall plank
killall plank
plank --preferences

  • For more transparency, change the last value in /usr/share/plank/themes/Gnosierra/dock.theme file, under FillEndColor=110;;107;;111;;150.

  • Copy the contents of the Plank Themes folder to ~/.local/share/plank/themes or to /usr/share/plank/themes for system-wide use.

bash '/home/YOUR_USERNAME/Downloads/plank-separator-remix/plank-separator.sh'


APPS TO DOWNLOAD & INSTALL VIA EDDY



APPS TO INSTALL & CONFIGURE VIA TERMINAL


  • stuff sudo apt-get install flashplugin-installer pepperflashplugin-nonfree
  • Restricted extras and MM Codec sudo apt install ubuntu-restricted-extras sudo apt install libavcodec-extra sudo apt install libdvd-pkg
  • archive formats
sudo apt-get install unace rar unrar p7zip-rar p7zip sharutils uudeview mpack arj cabextract lzip lunzip
  • Preload
apt install preload

  • FreeCAD
apt install freecad

  • GIT
apt install git

chmod a+x '/home/user/Downloads/cerebro-0.3.1-x86_64.AppImage'

cd /tmp
git clone https://github.com/iamdh4/ttf-wps-fonts.git
cd ttf-wps-fonts
bash install.sh
rm -rf /tmp/ttf-wps-fonts

cd /usr/share/fonts
mkdir tmp
cd tmp
git clone https://github.com/AppleDesignResources/SanFranciscoFont
cd SanFranciscoFont
mv *.otf ../../opentype
fc-cache -fv

  • Albert
add-apt-repository ppa:flexiondotorg/albert
apt update
apt install albert
  • Replace the icon in Wingpanel: /usr/share/icons/hicolor/scalable/apps/ with any icon of your choice in .svg format. I chose this: by @Yannick from www.flaticons.com.

  • Dropbox For elementaryOS by @zant95
git clone https://github.com/zant95/elementary-dropbox /tmp/elementary-dropbox
bash '/tmp/elementary-dropbox/install.sh'

add-apt-repository ppa:atareao/atareao
apt update
apt install my-weather-indicator

  • Sticky Notes Indicator
apt install indicator-stickynotes

  • CPU Frequency Indicator
apt install indicator-cpufreq

  • elementary+ Icons Fix For Dropbox & Redshift by @mank319
add-apt-repository ppa:cybre/elementaryplus
apt update
apt upgrade && apt install elementaryplus

wget https://gist.github.com/tobias-kuendig/d055892720cf09ae1a9d82075fb0f408/raw/5d3625e5f4ac7686d7b40880a211ee72f74ea3d3/redshift-status-off.svg -O /tmp/redshift-status-off.svg
wget https://gist.github.com/tobias-kuendig/d055892720cf09ae1a9d82075fb0f408/raw/5d3625e5f4ac7686d7b40880a211ee72f74ea3d3/redshift-status-on.svg -O /tmp/redshift-status-on.svg

cp /tmp/redshift-status-off.svg /usr/share/icons/hicolor/scalable/apps/redshift-status-off.svg

cp /tmp/redshift-status-on.svg /usr/share/icons/hicolor/scalable/apps/redshift-status-on.svg

rm -f /tmp/redshift-status-o*.svg

killall redshift-gtk

Redshift Configuration

  • Copy redshift.conf to Home/.config folder [CTRL + H]

My configuration redshift.conf.



OTHER


  • Rename /etc/xdg/autostart/at-spi-dbus-bus.desktop and /usr/share/upstart/xdg/autostart/at-spi-dbus-bus.desktop files to at-spi-dbus-bus.disabled.
mv /etc/xdg/autostart/at-spi-dbus-bus.desktop /etc/xdg/autostart/at-spi-dbus-bus.disabled
mv /usr/share/upstart/xdg/autostart/at-spi-dbus-bus.desktop /usr/share/upstart/xdg/autostart/at-spi-dbus-bus.disabled

  • Display Hidden Startup Applications
sed -i 's/NoDisplay=true/NoDisplay=false/g' /etc/xdg/autostart/*.desktop

  • PowerTop* Recommended to use INSTEAD of TLP, not alongside.
apt update
apt install powertop -y
powertop --auto-tune

Call powertop --auto-tune at boot:

cat << EOF | tee /etc/systemd/system/powertop.service
[Unit]
Description=PowerTOP auto tune

[Service]
Type=idle
Environment="TERM=dumb"
ExecStart=/usr/sbin/powertop --auto-tune

[Install]
WantedBy=multi-user.target
EOF
systemctl daemon-reload
systemctl enable powertop.service
  • Option 2

Put powertop --auto-tune in /etc/rc.local file, before exit 0.



Features

  • Night light
  • Hot Corner

THE LOOK

  • elementaryOS Icon Instead of "Applications" Text in Wingpanel

The icon shows up behind the Network icon in Lock Screen. I don't know how to fix this.

  • Navigate to your main theme folder, for e.g.: /usr/share/themes/elementary/.
  • Place your icon (preferably in .svg format) in the main theme folder. Here's mine.
  • Edit all apps.css files placed in GTK folders:
/*********
 * Panel *
 ********/

.panel {
    background-color: transparent;
    background-image: url("../elementaryOS.svg");
    background-repeat: no-repeat;
    transition: all 100ms ease-in-out;
}

.panel .menubar:first-child {
    font-size: 0px;
    padding-left: 12px; /* If you're bothered by the Slingshot's skewed arrow */
}
killall wingpanel
  • Always on Numlock:

Don’t want to press the “Numlock” button every time you restart the PC? Well, the good thing about opensource is your imagination is the limitation. Open file manager as root, go to /usr/share/lightdm/lightdm.conf.d/40-io.elementary.greeter.conf.
Open the file with your favorite text editor and paste “greeter-setup-script=/usr/bin/numlockx on” at the last.
That’s it. You don’t have to think about Numlock again!



BIG THANKS to:


🎉

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