Skip to content

Instantly share code, notes, and snippets.

thiagesh fookingthg

View GitHub Profile
View gist:f004f22ea03d50a28cbd2d21535042b5
Edit /etc/dhcpcd.conf
interface wlan0
static ip_address=
static domain_name_servers=
static routers=
sudo systemctl restart dhcpcd.service
sudo reboot
fookingthg / test.desktop
Last active Dec 23, 2018
raspberry Pi : Start java apps on startup which required GUI
View test.desktop
create a file test.desktop in /home/pi/.config/autostart/ with the following content.
replace app.jar with your jar location. (tested in raspi stretch)
[Desktop Entry]
Exec=/usr/bin/java -jar /home/pi/Documents/app.jar
You can’t perform that action at this time.