-
Download Armbian using this torent
-
Extract file
-
Burn Armbian_5.38_Orangepizero_Debian_stretch_next_4.14.14.img to MicroSD using Etcher
-
Open GParted
-
Resize partition to 2GB (armbian OS)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git init --bare $HOME/.cfg | |
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME' | |
config config --local status.showUntrackedFiles no | |
echo "alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'" >> $HOME/.zshrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
file: /etc/systemd/system/suspend-lock.service | |
[Unit] | |
Description=i3lock on suspend | |
Before=sleep.target | |
[Service] | |
User=work | |
Type=forking | |
Environment=DISPLAY=:0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo nano /etc/X11/xorg.conf.d/40-libinput.conf | |
Section "InputClass" | |
Identifier "libinput pointer catchall" | |
MatchIsPointer "on" | |
MatchDevicePath "/dev/input/event*" | |
Driver "libinput" | |
Option "NaturalScrolling" "true" | |
EndSection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require 'package) | |
(custom-set-variables | |
;; custom-set-variables was added by Custom. | |
;; If you edit it by hand, you could mess it up, so be careful. | |
;; Your init file should contain only one such instance. | |
;; If there is more than one, they won't work right. | |
'(auto-save-default nil) | |
'(backup-inhibited t t) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mount -o remount,size=4G,noatime /tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mount -o remount,size=4G,noatime /tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source https://forum.antergos.com/topic/4203/grub-uefi-repair/8 | |
mount /dev/*sdaROOT* /mnt | |
mount /dev/*sdaEFI* /mnt/boot/efi | |
arch-chroot /mnt | |
pacman -S efibootmgr | |
grub-mkconfig -o /boot/grub/grub.cfg | |
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo nano /etc/locale.gen | |
sudo locale-gen | |
sudo pacman -Rcns lightdm | |
sudo pacman -S gdm | |
sudo systemctl enable gdm | |
sudo rm -rf /etc/systemd/system/display-manager.service | |
sudo systemctl enable gdm | |
sudo pacman -S mongodb mongodb-tools inkscape gimp geany geany-plugins filezilla tilix emacs zsh eclipse python2-nautilus copyq chrome-gnome-shell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/boot/config.txt | |
dtoverlay=i2c-rtc,ds3231 | |
# terminal | |
$ sudo apt-get purge fake-hwclock | |
$ sudo reboot |
NewerOlder