Author Archives: arne
Reparasjon av toalett
Laste ned stasjonsliste for DAB radio
INstallasjon av scrcpy på Linux Mint
På Linux Mint:
sudo apt update
sudo apt install scrcpy adb
Eller last ned en nyere utgave i fra Github. Versjon 3 eller 4 av scrcpy.
På Android-telefonen:
- Gå til Innstillinger → Om telefonen
- Trykk 7 ganger på Build number / Byggnummer for å aktivere utvikleralternativer
- Gå til Utvikleralternativer
- Slå på USB debugging / USB-feilsøking
- Koble telefonen til PC-en med USB
- Godkjenn RSA/USB-feilsøking på telefonen
Trådløst etter første USB-oppsett:
adb tcpip 5555
adb shell ip route
Finn IP-adressen til telefonen, for eksempel 192.168.1.50, og kjør:
adb connect 192.168.1.50:5555
scrcpy
Bluetooth GPS fra Mobiltelefon
Sript for nyheter
google-chrome https://vg.no https://db.no https://aftenposten.no https://nrk.no/nyheter https://nrk.no/rogaland
Script for karttjenester
google-chrome https://www.google.com/maps https://www.norgeskart.no https://kart.finn.no
Script for værmelding
google-chrome https://www.yr.no/nb https://www.ventusky.com https://www.windy.com
Script for å starte 5 websider
google-chrome https://www.chatgpt.com https://copilot.microsoft.com https://gemini.google.com/app https://claude.ai https://chat.mistral.ai/chat
Lenovo Yoga og Linux Mint. Få touch screen screolling til å fungere.
- Quick Test: Open your terminal and run
env MOZ_USE_XINPUT2=1 firefox. Test if touch scrolling works. - Permanent Fix: Edit your Firefox desktop file so it always uses this flag by running
and changing the line that starts with
sudo nano /usr/share/applications/firefox.desktopExec=firefoxtoExec=env MOZ_USE_XINPUT2=1 firefox %u. - Browser Setting: You can also type
about:configinto your Firefox address bar, search fordom.w3c_touch_events.enabled, and set it to1. [1, 2]