Skip to content

Instantly share code, notes, and snippets.

@Surendrajat
Forked from suberb/elementaryos.md
Last active December 2, 2021 21:16
Show Gist options
  • Star 63 You must be signed in to star a gist
  • Fork 14 You must be signed in to fork a gist
  • Save Surendrajat/418d5fd66876848a7f21870fe09365a7 to your computer and use it in GitHub Desktop.
Save Surendrajat/418d5fd66876848a7f21870fe09365a7 to your computer and use it in GitHub Desktop.
elementaryOS | Things I Do After Installing elementary OS Hera

First Things First

  • Enable PPA

     sudo apt update
     sudo apt install software-properties-common apt-transport-https curl
  • Install apt-fast [Yes! it's really fast]

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

     # use "sudo apt" if you're skipping 'Install apt-fast' 
     apt upgrade
  • Install git

     apt install git
  • Cleanup OS

     apt autoremove -y && apt autoclean -y

UI Tweaks

  • Bring back Tray icons (why did they remove it?)

     wget https://github.com/Lafydev/wingpanel-indicator-ayatana/raw/master/com.github.lafydev.wingpanel-indicator-ayatana_2.0ubuntu6_amd64.deb
     wget https://github.com/mdh34/elementary-indicators/releases/download/0.1/indicator-application-patched.deb
     sudo dpkg -i com.github.lafydev.wingpanel-indicator-ayatana_2.0ubuntu6_amd64.deb indicator-application-patched.deb
     sudo apt-mark hold indicator-application
     sudo reboot
  • Icon Pack La Capitaine by @keeferrourke

     mkdir ~/.icons && cd ~/.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

APPS (Install from their sites)

APPS (Install from terminal)

  • Restricted extras & MM Codec
     apt install ubuntu-restricted-extras libavcodec-extra
  • flash-plugin
     apt install flashplugin-installer pepperflashplugin-nonfree
  • archive formats
     apt install unace rar unrar p7zip-rar p7zip sharutils uudeview mpack arj cabextract lzip lunzip
  • Wine (If you want to run windows apps)
     sudo dpkg --add-architecture i386
     wget -nc https://dl.winehq.org/wine-builds/winehq.key
     sudo apt-key add winehq.key
     sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
     apt install --install-recommends winehq-stable

My Terminal

Other Tweaks

  • fusuma: MultiTouch Gestures (config.yml)
  • Preload
     apt install preload
  • Reduce Overheating & Improve Battery Life
     sudo add-apt-repository ppa:linrunner/tlp
     apt install tlp tlp-rdw
     sudo tlp start
  • Smaller titlebar height for non-GTK apps by @sprite-1
  • Add minimize button (it's not worth it)
     sudo add-apt-repository ppa:philip.scott/elementary-tweaks
     apt install elementary-tweaks
    • then do System Settings>Tweaks>Layout>Windows
  • ancient fonts
     apt install ttf-ancient-fonts
  • elementaryOS theme for FireFox by @Zonnev
  • elementaryOS theme for Telegram by @sprite-1

Troubleshooting

  • Fix Lag on Login/Restart by @Jason Waddington

     sudo mv /etc/xdg/autostart/at-spi-dbus-bus.desktop /etc/xdg/autostart/at-spi-dbus-bus.disabled
     sudo 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

     sudo sed -i 's/NoDisplay=true/NoDisplay=false/g' /etc/xdg/autostart/*.desktop
  • Fix Desktop entries not executing by @user170

Credits

@niyasudheenmk
Copy link

git install problem
apt install git
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?.....

@Surendrajat
Copy link
Author

@niyasudheenmk looks like you skipped the Install apt-fast step. If so, you need to use sudo apt instead of apt everywhere.

@JoseRco
Copy link

JoseRco commented Jun 19, 2020

@Surendrajat Hi. Many thx for this, it takes me just a minutes. Im new on this, just got a new laptop and decided to use Eos and I have a question about the tray icons. I installed that, but doesn't work, i just cant add programs there. For example, I use Steam and it doesn't appear on the tray. Also happen with other programs. I see the three points, i opened and there is nothing, just an option "Settings" but don't open. Finally, I want to know if you could -please. suggest me an app or something to improve my battery life. In this OS I can work on battery just 2 hours, Windows was at least 4-5 doing normal work. My laptop: Asus X512dk. Ryzen 5 3500u, 512gb SSD, 8gb ram and hybrid graphics: Vega 8 and Radeon x540 2gb.

Thanks!

@Surendrajat
Copy link
Author

Surendrajat commented Jun 19, 2020

@montagco Hi. About tray icons, since this is not officially supported therefore there are issues with these solutions. The tray icons will come if you've done all the steps but as soon as you exit any of these, all will disappear. You will have to launch one more such app in order to see it back. The settings button is just a placeholder. I suggest you remove wingpanel-indicator-namarupa and try https://github.com/lafydev/wingpanel-indicator-ayatana. I prefer namarupa as it takes little space and I really don't care much about minimized apps anyways as long as they are running.
About the battery draining issue, It's an issue for all Linux based distros out there. Windows being most used for so long is heavily optimized for power savings. However, If you installed tlp as suggested in Other Tweaks part above, you should feel the difference. Other than that I will suggest you find graphics driver for your graphics card and install if possible(whatever works for Ubuntu 18.04, will work on elementary OS 5) and use power settings and all wisely, in general.

@JoseRco
Copy link

JoseRco commented Jun 19, 2020

@montagco Hi. About tray icons, since this is not officially supported therefore there are issues with these solutions. The tray icons will come if you've done all the steps but as soon as you exit any of these, all will disappear. You will have to launch one more such app in order to see it back. The settings button is just a placeholder. I suggest you remove wingpanel-indicator-namarupa and try https://github.com/lafydev/wingpanel-indicator-ayatana. I prefer namarupa as it takes little space and I really don't care much about minimized apps anyways as long as they are running.
About the battery draining issue, It's an issue for all Linux based distros out there. Windows being most used for so long is heavily optimized for power savings. However, If you installed tlp as suggested in Other Tweaks part above, you should feel the difference. Other than that I will suggest you find graphics driver for your graphics card and install if possible(whatever works for Ubuntu 18.04, will work on elementary OS 5) and use power settings and all wisely, in general.

Thanks for ur help. A last question: how I remove that? I try it, seen other examples... but I blow up the whole wingpanel 🤣 , already recover it but I dont know how to remove that specific thing. Thanks again!

@Surendrajat
Copy link
Author

@montagco do a sudo rm /usr/lib/x86_64-linux-gnu/wingpanel/libnamarupa.so to remove it.

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