carpe
December 16, 2022, 10:39am
#1
One of my packages went missing from the start menu.
When I do pacman -Qs package it says that it is still on my system but since it is not in my start menu I cannot launch it.
How do I fix this and why did it happen in the first place?
Thank you for your answers.
NGr
December 16, 2022, 10:41am
#2
carpe:
How do I fix this
open:
kmenuedit
I donāt know, you have provided very little information
1 Like
we can find the āmenu entryā in package (if exists)
pamac list vlc --files | grep 'application.*desktop$'
1 Like
carpe
December 16, 2022, 10:33pm
#4
that is the thing, it cannot be found in kmenuedit
sweasyf
December 17, 2022, 2:32am
#5
papajoke showed you how to look up the entry for the vlc package, you havenāt told us anything about what package you are referring to, is it from stable/testing, is it an AUR package, If it is a main / community package that is part of the distro, you will get much help, if it is an unmaintained or largely unknown āpackageā that you are referring to - ??? More info as to what you have, where you got it, desired end state etc is necessary.
3 Likes
winnie
December 17, 2022, 3:04am
#6
Which ⦠application?
Did you try what was explained in the earlier post?
carpe
December 17, 2022, 12:42pm
#7
yes, it is in /usr/share/applications
but the file is completely empty
winnie:
Which ⦠application?
and this:
was only an example - your problen isnāt vlc
or is it?
carpe
December 17, 2022, 12:52pm
#9
no it is a different package and the file exists for that package in /usr/share/applications
The file is completely empty though
We pretty much knew that.
Why not just name the package?
⦠so that we (others) can have a look at what the actual problem might be which you canāt find?
strange strategy when asking for help ā¦
1 Like
zbe
December 17, 2022, 12:59pm
#12
Why do you even bother helping him? If you have to beg someone to give info so that YOU can help HIMā¦just close the thread, bye bye.
carpe
December 17, 2022, 1:09pm
#13
I will try to provide all the information you need.
there should be a file
/usr/share/applications/ledger-live-desktop.desktop
and it should not be empty
if it is - I donāt know why.
The file is in the appimage, thats for sure.
reinstall?
Iād also rather use this:
AUR (en) - ledger-live
(figure of speech - I actually wouldnāt do anything crypto currency)
1 Like
winnie
December 17, 2022, 1:31pm
#15
There should be a .desktop
file under /opt/
What are the contents of,
cat /opt/ledger-live/ledger-live-desktop.desktop
And also list the contents of the directory, since it should have a symlink that points to ā /usr/share/applications/ledger-live-desktop.desktop
ls -l /opt/ledger-live/
winnie
December 17, 2022, 1:52pm
#16
Looking at the AUR and the comments inside the PKGBUILD, as well as comparing it to the GitHub, this package is a messā¦
In fact, the PKGBUILD is pointing to a deleted tag from upstream.
Maybe the developers of Ledger Live arenāt using proper versioning etiquette, or just donāt care.
I didnāt read it, or did any testing on it.
But I did read the appimage one.
Iām not very familiar with interpreting the sed commands which alter the .desktop file ā¦
but it should be there in /opt
and a link to it in /usr/share/application
s
Iām out - canāt contribute any more.
carpe
December 17, 2022, 7:23pm
#18
contents of cat /opt/ledger-live/ledger-live-desktop.desktop :
[Desktop Entry]
Name=Ledger Live
Exec=ledger-live-desktop --no-sandbox %U
Terminal=false
Type=Application
Icon=ledger-live-desktop
StartupWMClass=Ledger Live
Comment=Ledger Live - Desktop
MimeType=x-scheme-handler/ledgerlive;
Categories=Finance;
contents of ls -l /opt/ledger-live/ :
-rw-r--r-- 1 root root 142599 2022-12-12 17:10 chrome_100_percent.pak
-rw-r--r-- 1 root root 209188 2022-12-12 17:10 chrome_200_percent.pak
-rwxr-xr-x 1 root root 1084808 2022-12-12 17:10 chrome_crashpad_handler
-rwxr-xr-x 1 root root 15088 2022-12-12 17:10 chrome-sandbox
-rw-r--r-- 1 root root 10215904 2022-12-12 17:10 icudtl.dat
-rwxr-xr-x 1 root root 145025616 2022-12-12 17:10 ledger-live-desktop
-rw-r--r-- 1 root root 246 2022-12-12 17:10 ledger-live-desktop.desktop
lrwxrwxrwx 1 root root 62 2022-12-12 17:10 ledger-live-desktop.png -> usr/share/icons/hicolor/1024x1024/apps/ledger-live-desktop.png
-rwxr-xr-x 1 root root 228008 2022-12-12 17:10 libEGL.so
-rwxr-xr-x 1 root root 2805104 2022-12-12 17:10 libffmpeg.so
-rwxr-xr-x 1 root root 6839048 2022-12-12 17:10 libGLESv2.so
-rwxr-xr-x 1 root root 3973680 2022-12-12 17:10 libvk_swiftshader.so
-rwxr-xr-x 1 root root 469064 2022-12-12 17:10 libvulkan.so.1
-rw-r--r-- 1 root root 1096 2022-12-12 17:10 LICENSE.electron.txt
-rw-r--r-- 1 root root 5440553 2022-12-12 17:10 LICENSES.chromium.html
drwxr-xr-x 2 root root 4096 2022-12-12 22:52 locales
drwxr-xr-x 2 root root 4096 2022-12-12 22:52 resources
-rw-r--r-- 1 root root 5864244 2022-12-12 17:10 resources.pak
-rw-r--r-- 1 root root 49272 2022-12-12 17:10 snapshot_blob.bin
drwxr-xr-x 2 root root 4096 2022-12-12 22:52 swiftshader
drwxr-xr-x 4 root root 4096 2022-09-17 22:34 usr
-rw-r--r-- 1 root root 164475 2022-12-12 17:10 v8_context_snapshot.bin
-rw-r--r-- 1 root root 107 2022-12-12 17:10 vk_swiftshader_icd.json
Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text
winnie
December 17, 2022, 7:28pm
#19
So it does exist, then can you post this output, to make sure itās properly pointing back to the original?
ls -l /usr/share/applications/ | grep -i ledger
carpe
December 17, 2022, 7:47pm
#20
lrwxrwxrwx 1 root root 33 2022-12-12 17:10 ledger-live-desktop.desktop -> /opt//ledger-live-desktop.desktop