max-hk / ubuntu-setup

Scripts I use to set up a new Ubuntu installation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ubuntu-setup

Setup

Customizations

  • Cursors

  • grub

    • Skip grub menu on boot (source)

      • sudo gedit /etc/default/grub
        
      • Set GRUB_TIMEOUT to 0.1 ( GRUB_TIMEOUT=0.1 )

      • sudo update-grub
        
    • Stylish grub theme (GitHub)

  • Visual Studio Code

    • Change UI font (run after every update)

      sudo sed -i 's/Ubuntu,/Roboto,Ubuntu,/g' /usr/share/code-insiders/resources/app/out/vs/workbench/workbench.desktop.main.css
      
    • Reset panel size

      Delete directory ~/.config/Code - Insiders/User/globalStorage/

Programs

Customization

  • Grub Customizer

    sudo apt install grub-customizer
  • mate-mouse-properties (mouse settings)

    sudo apt install mate-mouse-properties

Utilities

Development

Others

Useful commands

  • List manually installed packages (source)

    comm -23 <(apt-mark showmanual | sort -u) <(gzip -dc /var/log/installer/initial-status.gz | sed -n 's/^Package: //p' | sort -u)
    
  • List removed preinstalled packages

    comm -23 \
      <(apt depends ubuntu-desktop | sed -n 's/Depends: //p; s/Recommends: //p' | awk '{$1=$1};1' | sort -u) \
      <({ apt-mark showauto & apt-mark showmanual; } |  sort -u)
    
ezoic increase your site revenue

About

Scripts I use to set up a new Ubuntu installation


Languages

Language:Shell 92.7%Language:CSS 7.3%