IMPORTANT - Forgot to mention WIFI setup, mine was plugged into ethernet sorry!!
I made this public, but I hope you will become a Patreon supporter to help my projects.
Creating an Amiga Hybrid on 64 bit Manjaro
This is aimed at very mildly technical people but involves setting up so you can compile latest version of AmiBerry, if you do not want to type a couple of lines of text in a command line then this is not for you :-)
I use Manjaro and these instructions are for that distro, although most parts are the same there are a couple of specific parts that relate only to Manjaro.
Further support on AmiBerry is from here but I have instructions you need below.
https://github.com/midwan/amiberry/blob/master/docs/README.md
You also need this command https://github.com/midwan/host-run
Goto https://manjaro.org/download/, select the Editions menu, then Arm, then Raspberry Pi4, then XFCE version as it is lighter weight OS, do not pick Plasma version
Once downloaded, extract the image file and write Image to your SDcard, look on google for instructions.
Plug into the Pi4 and boot
Choose Keyboard Layout - I use “uk” layout
Choose a username - “hybrid” lower case only, if you want a different name a lot of things need changing lower down where this name is used
Skip the group section
Full name needed - “Amiga Hybrid”
Enter password - “Amiga85” (I assume you know why :-)
Then confirm it.
Enter root password - “Amiga85” yes I know it is bad so you choose something different but this is a demo setup
Next choose time zone - I use “Europe/London”
Next Locale - “en_GB” for me
Next choose a host name - “AmigaHybrid”
System will now set itself up with these details and expand partition to the size of you high speed SD Card
Login as Amiga Hybrid user
I suggest set resolution to 1920x1080 or leave as is. Use settings/display
Open a terminal and run these commands
This first one updates the system to the latest packages after a basic install, this takes a while
sudo pacman -Syu
This one sets the system ready to be able to compile AmiBerry
sudo pacman -S base-devel sdl2 sdl2_ttf sdl2_image libxml2 flac mpg123 libmpeg2
Select default install I.e. all, and confirm.
Now type these three separate lines
cd ~
git clone https://github.com/midwan/amiberry
cd amiberry
This will create a copy of the project locally, make sure you entered the last CD amiberry command or next will fail
make -j2 PLATFORM=pi64
That makes the 64 bit AmiBerry application and folder structure
Later when you want to get updates use the pull command and then recompile from within the amiberry folder
git pull
make -j2 PLATFORM=pi64
This will take 5 to 10 minutes
As this is a great media player, install this
sudo pacman -S vlc
Setting up the Amiberry shared library as a desktop icon, compile as shared library hence this step.
This is the file I create I have created user “hybrid”
Open a terminal and type
sudo nano /usr/share/applications/amiberry.desktop
Enter password Amiga85
In that file type this
[Desktop Entry]
Type=Application
Version=1.0
Name=Amiberry
Comment=Amiga Emulator for ARM
Path=/home/hybrid/amiberry
Exec=/home/hybrid/amiberry/amiberry
Icon=/home/hybrid/amiberry/data/amiberry.png
Terminal=false
Now press Ctrl + O (not zero), Return key for yes
Then press ctrl X to close
You now have Amiberry installed, if you go to the /usr/share/applications/ folder you will see it and you can copy and paste to the desktop.
Try running, note that you need to press the button marking as executable
Install Amiga
Amiga Files - hopefully sourced from Amiga Forever CDRom
Now copy your Kickstart rom A1200 version is best, to the /home/hybrid/amiberry/kickstarts/ folder including the rom.key file if needed.
Make a folder in the /home/hybrid/amiberry/ folder called AmigaDrives or something else, remember Linux is case sensitive for file and folder names
Copy the System and Work folders to the AmigaDrives folder
Set up Amiberry config the way you want, I assume you know how to do this
Goto this link https://github.com/midwan/host-run/releases
Documentation here https://github.com/midwan/host-run/blob/master/README.md
Download the latest version of host-run and drop into your System:C folder, basically in your C: drawer in Amiga.
Now when you type in an Amiga shell for example c:host-run vlc, this will run VLC from Linux
If you install AmiKit and want Icons for the Linux apps, then to create Rabbit Hole icons do this.
Search google for a transparent png icon for the app you want to use that is 64x64 pixels. Copy to Amiga and rename application.png to application.info. Then click on the icon and in the menu select Icon Information. It will be set to project. Choose default tool to be c:iconx. Then create a text file called application and type the command into it. Job done.
So now you have an Amiga emulation running on Manjaro 64 bit at very high speed, now for the final tweaks if you want to go the whole way and try and hide the Linux until needed.
I suggest you use Linux/Audacious to play music while you work, whilst it is very cool to use the Amiga emulator to do this, the Amiga will use around 30% of CPU to do it and Linux around 5% :-)
Hiding the Linux task bar
In Linux, goto Settings/Panel, where is says “Automatically Hide the Panel” select always. Now it will be gone unless you move button to where the bar is.
In the desktop settings, I select style to none, which hides the default backdrops in the bottom right and have a black background. You are free to do what you want :-)
Terminal to add group membership
Sudo groupadd -r autologin
sudo gpasswd -a hybrid autologin
Sudo groupadd -r nopasswdlogin. (May already exist)
Sudo gpasswd -a hybrid nopasswdlogin
Auto login user account information or follow below - https://wiki.archlinux.org/index.php/LightDM#Enabling_autologin
Sudo nano /etc/lightdm/lightdm.conf
Search for where [Seat:*] does not have a hash in front of it
Then uncomment and change the line below
[Seat:*]
autologin-user=hybrid
Ctrl o saves, ctrl x quits
In settings, load Manjaro Settings manager
Select User accounts
Select hybrid account
Choose account type (will probably say administrator)
Tick show groups
Make sure autologin and nopasswdlogin groups are ticked.
It should boot straight in now, fingers crossed
Auto starting Amiberry from boot
In amiberry folder, create a file called launch-amiberry with the contents
cd amiberry
./amiberry
shutdown now (Only use this if you want Linux to shutdown too)
In terminal and in same folder as launch-amiberry
chmod +x launch-amiberry
You can now run this command with ./launch-amiberry
Then save, however you may not want Linux to shutdown as soon as Amiga shuts down so you can put a hash before shutdown now. However, this will not work unless you give normal users permission to use shutdown without sudo. To do that read this https://wiki.archlinux.org/index.php/Allow_users_to_shutdown
In Setting, Session and Startup, select the “Application Autostart” tab
Press the +Add button
Name=Amiberry startup
Command=sh /home/hybrid/amiberry/launch-amiberry
Trigger=on login
Once happy I suggest you do this which will ensure a clean linux desktop on boot.
Close all applications, then open settings, then session and startup.
Goto saved session tab and then press Clear Save Sessions
Close settings and all apps.
Now using start bar, select reset. This will boot with a clean session, (in theory) every time :-)
In video I will show about modifying audio output between hdmi and headphones