#How to remove old entries from start menu kde plasma on arch linux? (Solved)

82 messages · Page 1 of 1 (latest)

stone sedge
#

Can you post a screenshot of this menu?

#

Would you like to send your desktop entries?

tar -zc ~/.local/share/applications | curl -F 'f:1=<-' ix.io   
#

The rick website is a file server

#

Do not try to open this url as its a binary file, instead can you post the url here?

#

This site uses plain text HTTP by design, please do not be alarmed

#

Do you want to remove only steam entries or all wine entries?

#

You can then consider removing all desktop entries under ~/.local/share/applications/wine

rm -rf ~/.local/share/applications/wine
  • Please proceed with caution. I provide this information as-is in good faith without warranty or liability.
#

Then all you need to do is remove ~/.local/share/applications/wine/Programs/Steam.

night raven
#

damn bro how is this thread so long it's all literally in one directory 💀

stone sedge
#

You may need to restart your desktop environment.

night raven
#

if you wanna remove specific apps, go to ~/.local/share/applications and search for the names of the applications in the file manager

#

then just delete any .desktop files associated with the application

#

like bro said you'll have to restart Plasma

#

for as long as I've known, Plasma has always been weird with desktop files

#

it should but it isn't necessary to reboot the whole computer

#

alt+f2 > r should do the trick

#

or logging out and logging back in

#

maybe check /usr/share/applications too and search for the offending applications

#

yes :joyyy:

stone sedge
night raven
#

yes

#

I know

#

no? just delete anything you don't want showing up in the Application Menu

stone sedge
#

The following command can be used to check for stray files

pacman -Qo /usr/share/applications/* 
night raven
#

this is literally all a .desktop file contains

stone sedge
#
pacman -Qo /usr/share/applications/* | grep -v 'owned'
night raven
#

it's in ~/.local/share/applications/wine

stone sedge
#

This means that the directory is all korrect.

night raven
#

list of file types

#

and associating them with applications

#

unix alternative to file extensiosn

#

you should leave it alone lul

#

it's not really relevant to deleting the steam desktop entry regardless

#

wouldn't affect anything

#

change title

#

damn I can't type

#

restart plasma

stone sedge
#
tar -zc ~/.local/share/applications | curl -F 'f:1=<-' ix.io   
night raven
#

what does that even do

#

are you sure you deleted every .desktop file associated with Steam in the wine folder?

#

either Proton has it's own .desktop file directory, or Plasma is just keeping it in the entries for some reason

#

I've had the latter happen to me before back when I was on Plasma so I wouldn't be surprised about that

stone sedge
#
 [[ -d ~/.desktop ]] && ls -R ~/.desktop 
#

ls - list directory contents

#
   -R, --recursive
          list subdirectories recursively
night raven
#

wait

#

wouldn't that remove every .desktop file

#

oh nvm

stone sedge
#

Forgive the uncivilness in my language, however this statement is cognitively challenged.

night raven
stone sedge
#

Please see the man page of ls

night raven
#

wait what

#

I've seen you in this server for a while

#

how are you new

#

oh

stone sedge
#

The `.desktop' directory is a legacy path for desktop files.

#

Sorry for the confusion, I would like you to send us the output of the previous command

#
[[ -d ~/.desktop ]] && ls -R ~/.desktop 
night raven
#

try this cd ~/.local/share/applications && ls -R | grep steam

#

if nothing comes up try capitalizing the S in steam

stone sedge
night raven
#

no

#

that's in /usr/share/applications

#

and that command doesn't remove anything

#

it's just searching for anything for anything with steam in the name

#

yeah that's probably a Plasma moment

stone sedge
#

Please run the following command and post the outupt

ls -R ~/.desktop
night raven
#

I've literally never even heard of ~/.desktop being a thing before this thread

#

must've been depreciated 30 bajillion years ago

stone sedge
#

Please run the following command and post the output

find -name "*.desktop" -print0 | xargs -0 -P0 grep '[Ss]team' | curl -F 'f:1=<-' ix.io
#

grep -R '[Ss]team' /usr/local/share/applications

#

Can you post a screenshot of the said menu entry?

#

Sorry for the confusion, can you post the screenshot of the said KDE menu entry

#

Just as you have done here

#

What application does this menu belong to?

#
ls -R ~/Desktop
#

Can you post the output of

 python -c 'from gi.repository import Gio; all_apps = Gio.AppInfo.get_all(); [print(f"{app.get_display_name():20}: {app.get_executable()}") for app in all_apps]' |  curl -F 'f:1=<-' ix.io 
#
from gi.repository import Gio

all_apps = Gio.AppInfo.get_all(); 

for app in all_apps:
    try:
        print(f"{app.get_display_name():20}: {app.get_icon().get_names()}")
    except:
        print(f"{app.get_display_name()}")

Please save the above script as list_icons.py, then run

python list_icons.py |  curl -F 'f:1=<-' ix.io
#

There is nothing more I can do except suggesting a cleanup of ~/.cache.

livid veldt
#

How to remove old entries from start menu kde plasma on arch linux? (Solved)