Ledger Live went missing from the start menu

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.

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

that is the thing, it cannot be found in kmenuedit

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

Which… application?


Did you try what was explained in the earlier post?

yes, it is in /usr/share/applications

but the file is completely empty

and this:

was only an example - your problen isn’t vlc
or is it?

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 … :man_shrugging:

1 Like

ledger-live-bin

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. :smiley:

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. :man_shrugging:
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

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/

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/applications

I’m out - can’t contribute any more.

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

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
lrwxrwxrwx 1 root root    33 2022-12-12 17:10 ledger-live-desktop.desktop -> /opt//ledger-live-desktop.desktop