<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"
     xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Discord on Ivon的部落格</title>
    <link>https://ivonblog.com/tags/discord/</link>
    <description>Recent content in Discord on Ivon的部落格</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-TW</language>
    <managingEditor>infoivonblog.nkfjt@aleeas.com (Ivon Huang)</managingEditor>
    <webMaster>infoivonblog.nkfjt@aleeas.com (Ivon Huang)</webMaster>
    <copyright>歡迎分享Ivon的部落格(ivonblog.com)的文章，引用請註明來源文章網址。本站不鼓勵全文轉載，允許合理使用。文章內容授權皆是 CC BY-SA 4.0 創用CC 姓名標示-相同方式分享 4.0 授權條款，除非另有說明。如需商業使用請來信告之。</copyright>
    <lastBuildDate>Thu, 04 Jun 2026 15:00:00 +0800</lastBuildDate><atom:link href="https://ivonblog.com/tags/discord/index.xml" rel="self" type="application/rss+xml" />
    <follow_challenge>
      <feedId>56005902658351104</feedId>
      <userId>1132431067563556864</userId>
    </follow_challenge>
    
    
    <item>
      <title>在Linux使用Discord的經驗分享</title>
      <link>https://ivonblog.com/posts/installl-discord-on-linux/</link>
      <pubDate>Thu, 04 Jun 2026 15:00:00 +0800</pubDate>
      <author>infoivonblog.nkfjt@aleeas.com (Ivon Huang)</author>
      <guid>https://ivonblog.com/posts/installl-discord-on-linux/</guid>
      
      <description>&lt;p&gt;Discord是美國Discord公司推出的跨平臺通訊軟體，提供遊戲玩家一個群聊的空間，並有低延遲的語音通話功能。&lt;/p&gt;&#xA;&lt;p&gt;在Linux使用Discord卡簡單，不過有一些眉角愛注意！&#xA;&lt;figure&gt;&#xA;  &lt;img&#xA;    class=&#34;my-0 rounded-md&#34;&#xA;    loading=&#34;lazy&#34;&#xA;    decoding=&#34;async&#34;&#xA;    fetchpriority=&#34;low&#34;&#xA;    alt=&#34;rpc.webp&#34;&#xA;    src=&#34;https://ivonblog.com/posts/installl-discord-on-linux/images/d.webp&#34;&#xA;    onerror=&#34;this.onerror=null;this.src=&#39;https://ivonblog.com/images/unable-to-load-the-image-pepe.webp&#39;&#34;&#xA;    width=&#34;1920&#34;&#xA;      height=&#34;1080&#34;&gt;&lt;/figure&gt;&#xA;&lt;/p&gt;&#xA;&#xA;&lt;h2 class=&#34;relative group&#34;&gt;1. 官方客戶端與第三方客戶端？&#xA;    &lt;div id=&#34;1-官方客戶端與第三方客戶端&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#1-%e5%ae%98%e6%96%b9%e5%ae%a2%e6%88%b6%e7%ab%af%e8%88%87%e7%ac%ac%e4%b8%89%e6%96%b9%e5%ae%a2%e6%88%b6%e7%ab%af&#34; aria-label=&#34;定位點&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h2&gt;&#xA;&lt;p&gt;Discord是跨平臺軟體，官方客戶端是用Electron寫的專有軟體，因此不可避免的臃腫。&#xA;&lt;figure&gt;&#xA;  &lt;img&#xA;    class=&#34;my-0 rounded-md&#34;&#xA;    loading=&#34;lazy&#34;&#xA;    decoding=&#34;async&#34;&#xA;    fetchpriority=&#34;low&#34;&#xA;    alt=&#34;&#34;&#xA;    src=&#34;https://ivonblog.com/posts/installl-discord-on-linux/images/discord.webp&#34;&#xA;    onerror=&#34;this.onerror=null;this.src=&#39;https://ivonblog.com/images/unable-to-load-the-image-pepe.webp&#39;&#34;&#xA;    width=&#34;1920&#34;&#xA;      height=&#34;1080&#34;&gt;&lt;/figure&gt;&#xA;&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;Discord是美國Discord公司推出的跨平臺通訊軟體，提供遊戲玩家一個群聊的空間，並有低延遲的語音通話功能。&lt;/p&gt;&#xA;&lt;p&gt;在Linux使用Discord卡簡單，不過有一些眉角愛注意！&#xA;&lt;figure&gt;&#xA;  &lt;img&#xA;    class=&#34;my-0 rounded-md&#34;&#xA;    loading=&#34;lazy&#34;&#xA;    decoding=&#34;async&#34;&#xA;    fetchpriority=&#34;low&#34;&#xA;    alt=&#34;rpc.webp&#34;&#xA;    src=&#34;https://ivonblog.com/posts/installl-discord-on-linux/images/d.webp&#34;&#xA;    onerror=&#34;this.onerror=null;this.src=&#39;https://ivonblog.com/images/unable-to-load-the-image-pepe.webp&#39;&#34;&#xA;    width=&#34;1920&#34;&#xA;      height=&#34;1080&#34;&gt;&lt;/figure&gt;&#xA;&lt;/p&gt;&#xA;&#xA;&lt;h2 class=&#34;relative group&#34;&gt;1. 官方客戶端與第三方客戶端？&#xA;    &lt;div id=&#34;1-官方客戶端與第三方客戶端&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#1-%e5%ae%98%e6%96%b9%e5%ae%a2%e6%88%b6%e7%ab%af%e8%88%87%e7%ac%ac%e4%b8%89%e6%96%b9%e5%ae%a2%e6%88%b6%e7%ab%af&#34; aria-label=&#34;定位點&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h2&gt;&#xA;&lt;p&gt;Discord是跨平臺軟體，官方客戶端是用Electron寫的專有軟體，因此不可避免的臃腫。&#xA;&lt;figure&gt;&#xA;  &lt;img&#xA;    class=&#34;my-0 rounded-md&#34;&#xA;    loading=&#34;lazy&#34;&#xA;    decoding=&#34;async&#34;&#xA;    fetchpriority=&#34;low&#34;&#xA;    alt=&#34;&#34;&#xA;    src=&#34;https://ivonblog.com/posts/installl-discord-on-linux/images/discord.webp&#34;&#xA;    onerror=&#34;this.onerror=null;this.src=&#39;https://ivonblog.com/images/unable-to-load-the-image-pepe.webp&#39;&#34;&#xA;    width=&#34;1920&#34;&#xA;      height=&#34;1080&#34;&gt;&lt;/figure&gt;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;如果只是要文字聊天，打開瀏覽器用Discord網頁版（&lt;a href=&#34;https://discord.com/app&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;https://discord.com/app&lt;/a&gt;）就好了。&lt;/p&gt;&#xA;&lt;p&gt;除非要使用Rich Presence，也就是偵測你目前在聽的音樂，或是正在玩的遊戲並顯示在Discord給大家知道，才要安裝Discord客戶端。&lt;/p&gt;&#xA;&lt;p&gt;像是&lt;a href=&#34;https://ivonblog.com/posts/install-steam-on-linux/&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;在Linux安裝Steam&lt;/a&gt;之後，你目前遊玩的遊戲Discord會同步顯示。&#xA;&lt;figure&gt;&#xA;  &lt;img&#xA;    class=&#34;my-0 rounded-md&#34;&#xA;    loading=&#34;lazy&#34;&#xA;    decoding=&#34;async&#34;&#xA;    fetchpriority=&#34;low&#34;&#xA;    alt=&#34;rpc.webp&#34;&#xA;    src=&#34;https://ivonblog.com/posts/installl-discord-on-linux/images/rpc.webp&#34;&#xA;    onerror=&#34;this.onerror=null;this.src=&#39;https://ivonblog.com/images/unable-to-load-the-image-pepe.webp&#39;&#34;&#xA;    width=&#34;1438&#34;&#xA;      height=&#34;808&#34;&gt;&lt;/figure&gt;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;聆聽的音樂，Discord也能顯示。&#xA;&lt;figure&gt;&#xA;  &lt;img&#xA;    class=&#34;my-0 rounded-md&#34;&#xA;    loading=&#34;lazy&#34;&#xA;    decoding=&#34;async&#34;&#xA;    fetchpriority=&#34;low&#34;&#xA;    alt=&#34;m.webp&#34;&#xA;    src=&#34;https://ivonblog.com/posts/installl-discord-on-linux/images/m.webp&#34;&#xA;    onerror=&#34;this.onerror=null;this.src=&#39;https://ivonblog.com/images/unable-to-load-the-image-pepe.webp&#39;&#34;&#xA;    width=&#34;1920&#34;&#xA;      height=&#34;1080&#34;&gt;&lt;/figure&gt;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;Discord客戶端分為官方推出的，與開源社群魔改過的。&lt;/p&gt;&#xA;&lt;p&gt;Discord官方客戶端比較無腦，偵測的到大部分遊戲。&lt;/p&gt;&#xA;&lt;p&gt;第三方客戶端有Vesktop、Legcord、Better Discord等等，提供各種界面修改。因為使用arRPC的開源實作來偵測使用者活動，更大的機率需要手動填寫遊戲名稱，無法自動偵測活動。&lt;/p&gt;&#xA;&lt;p&gt;以前玩家用Vedsktop最大的動機是Wayland，因為Dicsord官方不支援Wayland分享畫面，第三方客戶端搶先啟用Electron的這項實驗性功能。現在則沒有這個必要了。除非你是追求更多自定義化、需要ARM架構版本的Discord才考慮用第三方。&lt;/p&gt;&#xA;&#xA;&lt;h2 class=&#34;relative group&#34;&gt;2. 安裝Discord客戶端&#xA;    &lt;div id=&#34;2-安裝discord客戶端&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#2-%e5%ae%89%e8%a3%9ddiscord%e5%ae%a2%e6%88%b6%e7%ab%af&#34; aria-label=&#34;定位點&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h2&gt;&#xA;&lt;p&gt;Discord官方打包的版本是.deb版本。也有Arch Linux的.pkg.tar.xz。要.rpm的話就用Fedora的RPMFusion套件庫提供的版本。&lt;/p&gt;&#xA;&lt;p&gt;Ubuntu和Debian，到&lt;a href=&#34;https://discord.com/download&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;Discord官方網站&lt;/a&gt;下載，在檔案管理器點兩下安裝.deb套件。或者用指令安裝：&lt;/p&gt;&#xA;&lt;div class=&#34;highlight-wrapper&#34;&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sudo apt install ./discord-*.deb&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;p&gt;不論是X11或Wayland桌面都不影響，現在Wayland桌面也可以分享畫面給Discord了。確保你的桌面環境有安裝Pipewire和XDG Desktop Portal服務（GNOME和KDE Plasma應該都有裝了）才能分享畫面。&lt;/p&gt;&#xA;&lt;p&gt;Discord公司為Linux用戶設計了自我下載更新的機制而不用訂閱套件庫更新，每次開啟會自動下載更新，但我實在不喜歡太久沒開Discord還要等更新下載完成才能用。&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;p&gt;另外還有官方與社群一起維護的&lt;a href=&#34;https://flathub.org/en/apps/com.discordapp.Discord&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;Flatpak版Discord&lt;/a&gt;。但是不要用。呵呵，如果你不想被Discord群友知道你在玩什麼遊戲，務必下載Flatpak版的（笑）———— 這樣它永遠都只會顯示container裡面的的bash。Bash？是的！我可是很認真在終端機工作的呢！&lt;/p&gt;&#xA;&lt;p&gt;若要讓Flatpak版Discord自動偵測Steam遊戲活動 (Rich Presence) ，它需要偵測你電腦上所有執行的程式，所以得用一些詭異的方式解決。參考&lt;a href=&#34;https://wiki.archlinux.org/title/Discord&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;Arch Wiki&lt;/a&gt;建立systemd-tmpfiles：&lt;/p&gt;&#xA;&lt;div class=&#34;highlight-wrapper&#34;&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;mkdir -p ~/.config/user-tmpfiles.d/&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;echo&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;L %t/discord-ipc-0 - - - - app/com.discordapp.Discord/discord-ipc-0&amp;#34;&lt;/span&gt; &amp;gt;&amp;gt; ~/.config/user-tmpfiles.d/discord-flatpak.conf&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;ln -sf &lt;span class=&#34;nv&#34;&gt;$XDG_RUNTIME_DIR&lt;/span&gt;/&lt;span class=&#34;o&#34;&gt;{&lt;/span&gt;app/com.discordapp.Discord,&lt;span class=&#34;o&#34;&gt;}&lt;/span&gt;/discord-ipc-0&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;p&gt;不想這麼麻煩就安裝原生套件，也就是.deb版。&lt;/p&gt;&#xA;&#xA;&lt;h2 class=&#34;relative group&#34;&gt;3. 設定Rich Presence偵測活動&#xA;    &lt;div id=&#34;3-設定rich-presence偵測活動&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#3-%e8%a8%ad%e5%ae%9arich-presence%e5%81%b5%e6%b8%ac%e6%b4%bb%e5%8b%95&#34; aria-label=&#34;定位點&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h2&gt;&#xA;&lt;p&gt;Discord的Rich Presence (RPC) 會嘗試偵測你現在在幹嘛，並顯示在個人資料旁邊。&lt;/p&gt;&#xA;&lt;p&gt;僅限開著Discord客戶端的時候會偵測。&lt;/p&gt;&#xA;&lt;p&gt;有很多第三方程式能向RPC Server傳送資訊，例如使用IPC。&lt;/p&gt;&#xA;&#xA;&lt;h3 class=&#34;relative group&#34;&gt;遊戲&#xA;    &lt;div id=&#34;遊戲&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#%e9%81%8a%e6%88%b2&#34; aria-label=&#34;定位點&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h3&gt;&#xA;&lt;p&gt;Steam遊戲應該是開箱即用。&lt;/p&gt;&#xA;&lt;p&gt;至於其他遊戲嗎，偵測不到就開啟Discord設定 → 活動 → 已註冊遊戲，新增該遊戲的行程或視窗名稱。&lt;/p&gt;&#xA;&lt;p&gt;順帶一提，VS Code有插件&lt;a href=&#34;https://marketplace.visualstudio.com/items?itemName=LeonardSSH.vscord&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;Discord Rich Presence&lt;/a&gt;能讓Discord偵測為遊戲。&lt;/p&gt;&#xA;&#xA;&lt;h3 class=&#34;relative group&#34;&gt;音樂&#xA;    &lt;div id=&#34;音樂&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#%e9%9f%b3%e6%a8%82&#34; aria-label=&#34;定位點&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h3&gt;&#xA;&lt;p&gt;Discord顯示Spotify聆聽歌曲的方式應該是透過API訪問的，只要在Discord設定把你的Spotify帳號與Discord連接就好，它不用偵測Linux桌面的活動也能顯示播放進度。&lt;/p&gt;&#xA;&lt;p&gt;如果是用其他播放器所播放的音樂或影片，可以安裝這個：&lt;a href=&#34;https://github.com/ungive/discord-music-presence&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;discord-music-presence&lt;/a&gt; Discord便會顯示更多音樂。&lt;/p&gt;&#xA;&#xA;&lt;h2 class=&#34;relative group&#34;&gt;4. 語音通話時軟體降噪&#xA;    &lt;div id=&#34;4-語音通話時軟體降噪&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#4-%e8%aa%9e%e9%9f%b3%e9%80%9a%e8%a9%b1%e6%99%82%e8%bb%9f%e9%ab%94%e9%99%8d%e5%99%aa&#34; aria-label=&#34;定位點&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h2&gt;&#xA;&lt;p&gt;如果麥克風太爛容易出現電流聲音，除了用Discord本身的Krisp雜訊抑制之外，可以用&lt;a href=&#34;https://ivonblog.com/posts/linux-easyeffects/&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;EasyEffects&lt;/a&gt;介入調整。&lt;/p&gt;&#xA;&#xA;&lt;h2 class=&#34;relative group&#34;&gt;5. 使用Discord Overlay顯示通話面板&#xA;    &lt;div id=&#34;5-使用discord-overlay顯示通話面板&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#5-%e4%bd%bf%e7%94%a8discord-overlay%e9%a1%af%e7%a4%ba%e9%80%9a%e8%a9%b1%e9%9d%a2%e6%9d%bf&#34; aria-label=&#34;定位點&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h2&gt;&#xA;&lt;p&gt;在群組通話的時候，在遊戲畫面上顯示誰在講話的面板。&lt;/p&gt;&#xA;&lt;p&gt;Linux版Discord客戶端尚未提供這個功能，要安裝&lt;a href=&#34;https://github.com/trigg/Discover&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;Discover-Overlay&lt;/a&gt;達成。&lt;/p&gt;&#xA;</content:encoded>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://ivonblog.com/posts/installl-discord-on-linux/featured.webp" />
    </item>
    
  </channel>
</rss>
