From c43fafdc61e4e96501bf9f01f4ae403c5f55588e Mon Sep 17 00:00:00 2001 From: langolierz Date: Fri, 27 Apr 2018 14:01:33 +1200 Subject: [PATCH] Update preparing_image.md --- dotfiles/preparing_image.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/dotfiles/preparing_image.md b/dotfiles/preparing_image.md index 7027322..b467e97 100644 --- a/dotfiles/preparing_image.md +++ b/dotfiles/preparing_image.md @@ -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` +