mirror of
https://github.com/cyberboy666/r_e_c_u_r.git
synced 2025-12-12 19:30:11 +01:00
Update preparing_image.md
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# documenting the exact steps to creating the r_e_c_u_r raspbian image
|
# 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
|
- 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 :
|
- 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 off
|
||||||
@xset s noblank
|
@xset s noblank
|
||||||
@xset -dpms
|
@xset -dpms
|
||||||
@bash /home/pi/r_e_c_u_r/dotfiles/launcher.sh
|
@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)
|
(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 ...'
|
- 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...
|
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
|
## flashing
|
||||||
|
|
||||||
|
first remove my wifi connection !
|
||||||
|
|
||||||
i am trying to flash the device using the unix command `dd` on a raspberry pi.
|
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)
|
- 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`
|
- `dd if=/dev/mmcblk0 of=/media/pi/FLASH DRIVE/recur.img`
|
||||||
- `gzip -k recur.img` (to keep original)
|
- `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`
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user