You are not logged in.
I have a common issue with Discord that is described in the wiki, which can be solved by using this command to launch discord:
discord --ignore-gpu-blocklist --disable-features=UseOzonePlatform --enable-features=VaapiVideoDecoder --use-gl=desktop --enable-gpu-rasterization --enable-zero-copy
https://wiki.archlinux.org/title/Discor … our_guilds
Opening this in Konsole, it works for me, so I want to add it to Discord's .desktop file so I can launch discord without the lag from scrolling guilds right within KDE. I've tried various things, but KDE seems to ignore the extra parameters that I've added in the .desktop file.
I have tried editing the desktop file with nano, and this is what discord.desktop in .local/share/applications/discord.desktop looks like:
[Desktop Entry]
Name=Discord
StartupWMClass=discord
Comment=All-in-one voice and text chat for gamers that's free, secure, and works on both your desktop and phone.
GenericName=Internet Messenger
Exec=/usr/bin/discord --ignore-gpu-blocklist --disable-features=UseOzonePlatform --enable-features=VaapiVideoDecoder --use-gl=desktop --enable-gpu-rasterization --enable-zero-copy
Icon=discord
Type=Application
Categories=Network;InstantMessaging;
Path=/usr/bin
I tried replacing /usr/bin/discord with /opt/discord/discord since the bin is an alias but that dosen't seem to work either. Other advice I found online was that double dashes doesn't work -- , but replacing them with single dashes and this hasn't helped me either. Any idea on what to do next?
Last edited by alfrednewman (2022-10-04 06:16:43)
Offline
Did you refresh the desktop file cache with https://wiki.archlinux.org/title/Deskto … op_entries ?
FWIW KDE has a menu editor when right clicking the application launcher that will appropriately do this for you.
Offline
Refreshing with the command worked for me, really sorry that I have not come across this article earlier! Sounds like something KDE should fix after clicking the save button.
update-desktop-database ~/.local/share/applications/
I marked this as solved
Offline
The KDE launcher should update the entry on save, but you didn't indicate you were using that.
Offline