正在解除安裝 Whatsapp

正在解除安裝 Whatsapp

我已按照以下步驟安裝了 WhatsApp:

  1. sudo -H gedit /usr/share/applications/whatsapp-webapp.desktop在終端機中輸入。

  2. 將以下文字複製到開啟的畫面:

    #!/usr/bin/env xdg-open
    [Desktop Entry]
    Name=WhatsApp
    GenericName=WhatsApp
    Comment=WhatsApp desktop webapp
    #Exec=webapp-container --store-session-cookies --webappUrlPatterns=https?://*.whatsapp.com/* --user-agent-string='Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36' https://web.whatsapp.com %u
    Exec=/opt/google/chrome/google-chrome --app=https://web.whatsapp.com/
    Terminal=false
    Type=Application
    StartupNotify=true
    MimeType=text/plain;
    # If you want icon, type path of icon
    # Icon=
    Categories=Network;Application;
    Keywords=WhatsApp;webapp;
    X-Ubuntu-Gettext-Domain=WhatsApp
    StartupWMClass=web.whatsapp.com
    
  3. 最後,對於打開它的鍵盤快捷鍵,創建:

    bash -c "wmctrl -xa web.whatsapp.com || /opt/google/chrome/google-chrome --app=https://web.whatsapp.com/"
    

現在我想要解除安裝這個應用程式。執行卸載的步驟是什麼?

答案1

/usr/share/applications/whatsapp-webapp.desktop使用以下命令刪除該檔案:

cd /usr/share/applications/
sudo rm /whatsapp-webapp.desktop

Whatsdesk 是一個適用於 Linux 的非官方 WhatsApp 用戶端,可以使用以下命令進行安裝:

sudo snap install whatdesk  

要在您的電腦上使用 WhatsApp:

  1. 在手機上開啟 WhatsApp。

  2. 點選選單或設定 ⚙️ 並選擇 WhatsApp 網頁版。

  3. 將手機指向二維碼影像。

相關內容