SteamOS: Unpinning Uninstalled Discord App from Start Menu Favorites

Abstract: Remove uninstalled Discord shortcuts from SteamOS favorites by deleting the corresponding .desktop file in ~/.local/share/applications.

Created: 2026-08-14 by
To remove an uninstalled Discord entry from the SteamOS favorites, you must delete the corresponding desktop file from your local applications directory. This action clears the shortcut without affecting system files or requiring root privileges. The process involves locating the specific .desktop file and removing it via the terminal or file manager.

Understanding the SteamOS Desktop Environment

SteamOS 3 is built on Arch Linux and utilizes KDE Plasma as its graphical interface. However, unlike standard Debian-based distributions where kquitapp5 might be used to manage sessions, SteamOS handles desktop entries differently. The favorites bar in the Steam Big Picture mode or the KDE taskbar reads directly from user-specific configuration directories. When an application like Discord is uninstalled via a package manager, the binary is removed, but the desktop entry often remains if it was pinned manually or created by a flatpak installation.

It is crucial to distinguish between system-wide applications located in /usr/share/applications and user-local applications stored in ~/.local/share/applications. Most third-party apps installed on SteamOS, including Discord when installed via Flatpak or manual download, create their shortcuts in the user-local directory. Modifying files in the system directory requires root access and can break system updates, so we focus exclusively on the user-level files.

Locating the Discord Desktop File

The first step is to identify the exact name of the desktop file that is causing the ghost icon to appear. These files typically end with the extension .desktop and contain metadata about the application, such as its name, icon path, and execution command. You can find these files using the terminal or a graphical file manager.

  1. Open the terminal on your Steam Deck or PC running SteamOS.
  2. Navigate to the local applications directory by typing:
    cd ~/.local/share/applications
  3. List all files containing "discord" in their name by executing:
    ls -la *discord*

This command will return any files matching the pattern. Common names include com.discordapp.Discord.desktop for Flatpak installations or discord.desktop for native installs. If you do not see any results, check the system-wide directory by running ls /usr/share/applications | grep discord, though this is less common for user-pinned items.

Removing the Shortcut

Once you have identified the correct file, you can remove it. Since this file resides in your home directory, you do not need sudo permissions. Deleting the file immediately removes the shortcut from the favorites list because the launcher re-reads the directory upon the next refresh.

To delete the file, use the rm command followed by the filename you found in the previous step. For example, if the file is named com.discordapp.Discord.desktop, run:

rm com.discordapp.Discord.desktop

If you prefer using a graphical interface, you can open the Files application (Dolphin), enable viewing hidden files by pressing Ctrl+H, navigate to .local/share/applications, and delete the file manually. This method is often safer for users uncomfortable with the command line, as it provides visual confirmation of the file being removed.

Refreshing the Favorites List

In some cases, the SteamOS interface may cache the favorites list, meaning the icon might persist briefly after deletion. To force the UI to update, you can restart the shell or simply log out and log back in. On SteamOS, restarting the display server is generally not required for simple desktop file removal, but if the icon remains, try switching to Game Mode and back to Desktop Mode, or restarting the session.

For persistent issues where the icon returns after a reboot, ensure that no other processes are recreating the desktop file. If you previously installed Discord via Flatpak, uninstalling the app via the Discover software center should also clean up associated desktop entries. If the issue persists, consider checking for residual configuration files in ~/.config/flatpak.

Alternative Cleanup Methods

If you frequently install and uninstall applications, keeping your desktop clean is important. You can automate the cleanup of unused desktop files by periodically scanning the ~/.local/share/applications directory. Tools like freedesktop.org compliant managers can help, but manual removal is often the most reliable method for single-item cleanup.

Additionally, if you are managing multiple systems, syncing your desktop configurations can lead to inconsistencies. Always verify the target machine's OS version before applying scripts designed for other Linux distributions. For more information on managing Discord across different Linux environments, you might find Update Discord on Debian/Ubuntu with a Simple Command useful, although the desktop file management principles remain similar.

Frequently Asked Questions

Why does the Discord icon reappear after I delete it?

The icon likely reappears because another process, such as a Flatpak daemon or a startup script, is regenerating the desktop file. Ensure that Discord is fully uninstalled via your package manager before deleting the file. If it returns, check for residual Flatpak instances.

Can I edit the desktop file instead of deleting it?

You can edit the file to change its properties, but editing is risky if you are unfamiliar with the format. It is safer to delete the file entirely. Editing may cause the launcher to fail to find the icon or executable, leading to broken links rather than a clean removal.

Does this affect my ability to reinstall Discord later?

No, deleting the desktop file has no impact on your ability to reinstall Discord. The actual application data and settings are stored separately in ~/.var/app/com.discordapp.Discord for Flatpak or in ~/.config/discord for native installs. Reinstalling will recreate the necessary desktop entry automatically.

What if I cannot find the file in .local/share/applications?

If the file is not in the local directory, it may be in the system-wide /usr/share/applications folder. In this case, you will need sudo privileges to delete it. Use sudo rm /usr/share/applications/discord.desktop carefully, as modifying system files can affect other users on the same machine.

Is there a way to clear all unused desktop files at once?

There is no built-in one-click solution in SteamOS to clear all unused desktop files. You would need to write a custom script to compare installed binaries against existing desktop entries. For most users, manually removing specific unwanted icons is the most efficient approach.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More