Update preparing_image.md

This commit is contained in:
langolierz
2018-04-27 14:01:33 +12:00
committed by GitHub
parent d3f246c4ae
commit c43fafdc61

View File

@@ -1,6 +1,6 @@
# documenting the exact steps to creating the r_e_c_u_r raspbian image
- downloaded the latest (~~2017-11-29~~ 2018-04-18) raspbian-raspbian-lite image from offical site.
- downloaded the latest (2017-11-29 ~~2018-04-18~~) raspbian-raspbian-lite image from offical site.
- flashed it to my sd using etcher
@@ -34,20 +34,29 @@ then `sudo apt update` and `sudo apt upgrade` , sudo reboot
- used `sudo nano ~/.config/lxsession/LXDE-pi/autostart` to add these lines :
```
@unclutter -display :0 -d -idle 3 -root -noevents
@unclutter -display :0 -idle 0 -root -noevents
@xset s off
@xset s noblank
@xset -dpms
@bash /home/pi/r_e_c_u_r/dotfiles/launcher.sh
```
and remove the line `@point-rpi`
(im not sure exactly what each part does and if it works but is suppose to stop screensaver / hide cursor / remove on screen power warnings etc)
- i then went into pi item -> Preferences and set a black background , small task bar , no screensaver and went into the file explorer -> Edit -> Preferences -> Volume Managment -> unchecked 'show available options for removable media ...'
and made taskbar auto hide...
creating internal storage folder in ~/Videos
splash screen : can set a custom splash screen by setting an image at `/usr/share/plymouth/themes/pix/splash.png` , i made a copy of the original : `sudo cp /usr/share/plymouth/theme/pix/splash-old.png` and then copied my own from a flash stick...
## flashing
first remove my wifi connection !
i am trying to flash the device using the unix command `dd` on a raspberry pi.
- i want my image to not contain empty space so it can fit on smaller sd cards (4gigs)
@@ -61,4 +70,8 @@ couldnt figure out how to not take entire card (including empty space) , so deci
- `dd if=/dev/mmcblk0 of=/media/pi/FLASH DRIVE/recur.img`
- `gzip -k recur.img` (to keep original)
going to copy and zip in one (with larger byte size) :
`sudo dd bs=4M if=/dev/mmcblk0 | gzip > /media/pi/FLASH DRIVE/r_e_c_u_r.img.gz`