Tuesday, January 21, 2025

GNOME on Raspberry pi OS

 So this will be my guide to install GNOME on raspberry pi OS 

#Step:1

Install Raspberry  Pi OS lite

  • Install Raspberry Pi OS lite (64bit) Using Raspberry pi Imager on to your boot drive (SD card or nvme ssd), I recommend filling in the customization settings. This will allow you to pre-configure settings like the hostname, enable SSH, set up username and password and configure wifi details
  • make sure that SSH is enabled

#Step:2

BOOT

  • Install your SD card or nvme ssd to the pi 5 and connect the power supply to boot into Raspberry pi OS lite

#Step:3

Use SSH

  • Since it is the lite version of pi OS it does not have a GUI or a desktop environment to make things easier we'll be using SSH to run commands and  install GNOME to pi OS lite
  • if a monitor or other display source is connected then the IP address will be displayed there otherwise use software like Angry IP scanner or other IP scanner software to obtain the IP address of the pi
  • if you are using windows then you'll be needing an SSH client like putty to use SSH
  • On linux you don't need a separate SSH client just open terminal and enter ssh <username>@<RaspberryPi_IP_Address>
                                                     example : ssh hal@192.168.1.44

#Step:4

Installing GNOME 

copy and paste the given commands to your terminal

  • Ensure your system is up to date and clean up unnecessary files

sudo apt update && sudo apt full-upgrade -y && sudo apt autoremove -y && sudo reboot

  • after the pi reboots copy and past the following commands
  • copy and paste the entire code at once 

sudo apt install -y \ gnome-core \ yaru-theme-{gnome-shell,gtk,icon,sound,unity} \ fonts-ubuntu fonts-ubuntu-{title,console} \ rpi-chromium-mods chromium-l10n \ celluloid rhythmbox \ gstreamer1.0-plugins-{base,good,bad,ugly} gstreamer1.0-{libav,tools,alsa,pulseaudio,x} \ libreoffice-{writer,calc,impress,gtk3,gnome,style-colibre} \ gnome-text-editor simple-scan hplip \ network-manager-openvpn-gnome \ gnome-tweaks gnome-calendar \ plymouth plymouth-themes \ dbus-x11 && sudo plymouth-set-default-theme bgrt -R && \ sudo cp /boot/firmware/cmdline.txt /boot/firmware/cmdline.txt.backup && sudo cp /usr/share/applications/chromium.desktop /usr/share/applications/chromium.desktop.desktop && \ sudo sed -i '/^Exec=.*chromium/ s/%U//' /usr/share/applications/chromium.desktop && \ sudo sed -i 's/^StartupNotify=true/StartupNotify=false/' /usr/share/applications/chromium.desktop && \ sudo sed -i '1 s/^/splash quiet plymouth.ignore-serial-consoles /' /boot/firmware/cmdline.txt && \ sudo apt remove -y firefox-esr totem mpv htop && \ sudo sed -i '/^logo=/ s/^/#/' /etc/gdm3/greeter.dconf-defaults && \ sudo systemctl set-default graphical.target

[Encountering the gdm.service is not active, cannot reload during installation is expected and does not affect the process.]

#Step:5

Final Cleanup

Perform a final cleanup to remove unnecessary packages and reboot to apply all changes, ensuring a clean start with the new settings.

sudo apt autoremove -y && sudo reboot

  • Well GNOME should be successfully installed by now but you can configure the GNOME install further using the
  • GNOME Shell Integration  

No comments:

GNOME on Raspberry pi OS

 So this will be my guide to install GNOME on raspberry pi OS  #Step:1 Install Raspberry  Pi OS lite Install Raspber...