Developer Hub

Bikin Shortcut Scrcpy + Menu Wireless & Record di KDE

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:

  1. Pastikan file scrcpy executable
    chmod +x /home/fi/scrcpy/scrcpy
  2. Bikin file .desktop
    nano ~/.local/share/applications/scrcpy.desktop
  3. 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
  4. 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:

TombolFungsi
Ctrl+Shift+RMulai/Stop Record dadakan
Ctrl+OMatikan layar HP biar hemat batre
Ctrl+FFullscreen
Ctrl+HTombol Home

Dijamin workflow ngonten atau testing aplikasi Android kamu jadi 10x lebih cepet. Gas!

Tags: #Scrcpy #Android #KDE #Linux #Tutorial #Miroring

Developer
Roffi
Tutorial Linux & tempat download Aplikasi Android open-source premium. Deployed via Nero Engine.

User Reviews & Discussion

Tidak ada komentar:

Posting Komentar