Skip to content

donghoonpark/odroid-go-linux-desktop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Odroid Go Linux Desktop

This repository is setup guide and image for linux desktop of odroid go super hardware. Please be aware that the purpose of the script is to run QT gui application on linux desktop.

This script is not fully tested. If there is problem, please raise a issue.

If you just want to the complete setup, use release image. It will bring you to the end of step.

Prerequisite

  • Ubuntu 18.04 bionic image
    • You can get it from hardkernel website : OGS image
  • Install it to the device
  • Connect wifi and login ssh
    • Emulation station → Configuration → Wifi → Plus button
    • Default id/password is odroid

Setup Procedure

⚠️ This step will disable the game emulation launcher which is built-in gui interface of Odroid-Go. If you are not friendly with linux cli, Do not use the.

1. Remove default gui emulation station

sudo systemctl disable emulationstation
# sudo systemctl disable go4.service #OGU
sudo systemctl enable getty@tty1
# sudo apt remove emulationstation-go2 emulators-64bit-go2 emulators-32bit-go2

2. Update the package manager

sudo apt update
sudo apt upgrade

3. Reboot

sudo reboot

4. Update ubuntu to 20.04 focal LTS

During installation, you need to give select on the windows below.

  • Service restart
    • Allow restart during upgrade
  • Samba server and utilities
    • keep the local version currently installed
  • Remove obsolete package
    • yes
  • Restart
    • yes
sudo apt install update-manager-core -y
sudo do-release-upgrade 
# Upgrade to 20.04 focal fosa
# You need to enter & y several times during the upgrade. Please make sure your eyes are on it.

5. Setup X11 xorg.conf and lightdm setting

⚠️ IMPORTANT! : At the "Configure lightdm" screen, choose "lightdm", NOT "gdm3" This procedure installs xfce desktop but you can use lxde or mate as an alternative by your preference

sudo apt install lightdm xfce4 xfce4-power-manager git nano
cd ~
git clone https://github.com/DongHoonPark/odroid-go-linux-desktop
cd odroid-go-linux-desktop
sudo cp xorg.ogs.conf /etc/X11/xorg.conf
sudo cp lightdm.conf /etc/lightdm/lightdm.conf
sudo systemctl start lightdm

6. Install antimicrox, onboard to enable joystick input and virtual keyboard

You can use antimicro which is exist in apt repo but it is not maintained now so I compiled antimicrox as alternative which is descendent of antimicro. If there was a setting used in antimicro, It could be loaded in antimicrox as well. (maybe, not tested.)

cd ~
wget https://github.com/DongHoonPark/antimicrox/releases/download/v3.3.4-aarch64/antimicrox-3.3.4-focal-aarch64.deb
sudo apt install qt5-default #execution dependency
sudo dpkg -i antimicrox-3.3.4-focal-aarch64.deb
rm antimicrox-3.3.4-focal-aarch64.deb
sudo apt install onboard -y # virtual keyboard
cd odroid-go-linux-desktop
# copy settings
sudo cp -r odroid/.config/ ../ 
sudo cp -r odroid/.local/ ../ 
cd ..
rm -rf odroid-go-linux-desktop

7. Install remote desktop

sudo apt install xrdp -y    # remote desktop
echo xfce4-session > ~/.xsession
sudo service xrdp restart 

8. Install alternative booting process logo

I followed instructions for debian in HERE. You can apply any booting animation you prefer!

The script below is an example for a blockchain theme which in pack_1

sudo apt install plymouth-themes -y
cd ~
git clone https://github.com/adi1090x/plymouth-themes
cd plymouth-themes/pack_1
sudo cp -r blockchain /usr/share/plymouth/themes/
cd ~
sudo update-alternatives --install /usr/share/plymouth/themes/default.plymouth default.plymouth /usr/share/plymouth/themes/blockchain/blockchain.plymouth 100
sudo update-alternatives --config default.plymouth
sudo update-initramfs -u

9. Install pip and setup env

sudo apt install python3-pip -y
sudo apt install python-is-python3 -y

10. Install PySide2

sudo apt install libpyside2-dev python3-pyside2.* -y

11. Disable unnecessary service: speed up booting

sudo systemctl disable smbd.service
sudo systemctl disable nmbd.service
sudo systemctl disable NetworkManager-wait-online.service

12. Finalizing install

sudo reboot

About

Odroid go super linux desktop setup script

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages