Skip to content

Instantly share code, notes, and snippets.

View EkoAdiWijayanto's full-sized avatar

Eko Adi Wijayanto EkoAdiWijayanto

View GitHub Profile
sudo pacman -S nautilus-open-terminal terminator
sudo pacman -R gnome-terminal
sudo ln -s /usr/bin/terminator /usr/bin/gnome-terminal
@EkoAdiWijayanto
EkoAdiWijayanto / Orange Pi - OTG g_ether
Last active April 10, 2020 19:37
Orange Pi - OTG g_ether
https://forum.armbian.com/index.php?/topic/1417-g_ether-driver-h3-device-as-ethernet-dongle/
@EkoAdiWijayanto
EkoAdiWijayanto / how-to
Created August 20, 2017 14:31
RTC ds3231
#/boot/config.txt
dtoverlay=i2c-rtc,ds3231
# terminal
$ sudo apt-get purge fake-hwclock
$ sudo reboot
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
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
mount -o remount,size=4G,noatime /tmp
mount -o remount,size=4G,noatime /tmp
(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)
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
file: /etc/systemd/system/suspend-lock.service
[Unit]
Description=i3lock on suspend
Before=sleep.target
[Service]
User=work
Type=forking
Environment=DISPLAY=:0