Cara Bikin Shortcut Scrcpy di KDE + Menu Wireless & Record Otomatis
Mirror HP Android ke Linux pake scrcpy emang paling enak. Tapi biar makin pro, kita bikin shortcut di KDE Plasma yang udah ada menu "Wireless" sama "Record Layar" langsung. Nggak perlu ketik perintah lagi.
Asumsi:
Kamu udah download scrcpy dan extract di /home/fi/scrcpy/. Kalau beda, ganti aja path-nya nanti.
Langkah-langkah:
- Pastikan file scrcpy executable
chmod +x /home/fi/scrcpy/scrcpy - Bikin file .desktop
nano ~/.local/share/applications/scrcpy.desktop - Paste kode sakti ini:
[Desktop Entry] Type=Application Version=1.0 Name=Scrcpy Comment=Mirror Android ke PC Icon=/home/fi/scrcpy/icon.png Exec=/home/fi/scrcpy/scrcpy Path=/home/fi/scrcpy Terminal=false Categories=Utility; StartupNotify=true Actions=wireless;record; [Desktop Action wireless] Name=Scrcpy Wireless Exec=/home/fi/scrcpy/scrcpy --tcpip Path=/home/fi/scrcpy [Desktop Action record] Name=Record Layar HP Exec=sh -c "/home/fi/scrcpy/scrcpy --record=/home/fi/Video/scrcpy-$(date +%Y%m%d-%H%M%S).mp4" Path=/home/fi/scrcpy - Bikin folder Video kalau belum ada + update database
mkdir -p /home/fi/Video chmod +x ~/.local/share/applications/scrcpy.desktop update-desktop-database ~/.local/share/applications/
Cara Pakainya:
Buka Kickoff Menu → Ketik "Scrcpy" → Klik Kanan icon Scrcpy. Muncul deh menunya:
- Scrcpy → Mirror biasa pake USB
- Scrcpy Wireless → Koneksi via WiFi, HP bebas kabel
- Record Layar HP → Langsung record + auto save ke folder Video dengan nama + tanggal
Shortcut Rahasia Pas Lagi Mirroring:
| Tombol | Fungsi |
|---|---|
| Ctrl+Shift+R | Mulai/Stop Record dadakan |
| Ctrl+O | Matikan layar HP biar hemat batre |
| Ctrl+F | Fullscreen |
| Ctrl+H | Tombol Home |
Dijamin workflow ngonten atau testing aplikasi Android kamu jadi 10x lebih cepet. Gas!
Tags: #Scrcpy #Android #KDE #Linux #Tutorial #Miroring

User Reviews & Discussion
Tidak ada komentar:
Posting Komentar