Finding Dowloaded Application

Ive downloaded Ledger wallet and now need to create a .desktop file. My problem is i cant find the download in usr/share/applications. Hope someone can help.

Hi @TopNoob101, welcome to the Community!

In which VM did you download the application? Did you follow this guide?

I downloaded it in fedora (i know its not advised). Its so annoying because i know i need to create a .desktop file but cant find the application to make one.

what did you download exactly?

why do you expect something to be there?

why is it not advised? Did you download it directly in the template?

how did you install the program in the first place?

1.The way i downloaded was using the suso comand line.

2 I expect to find the application i downloaded. I can see the other apps downloaded in usr/share/applications.

3 Just really high opsec apparently.

4 Again i downloaded it using the sudo coomad line.

thanks

This is not a sufficiently detailed reply. What was the exact command?

This folder doesn’t contain downloaded apps but preinstalled apps. The correct installation instructions are linked above. Simple downloading of the app will not make it work.

The exact command line was sudo dnf install (package name).

I was under the impressions usr/share/applications was where i needed to go.

The guide you linked is the one i was following and because the app i downloaded hasn’t showing up the troubleshooting says i need to create a .desktop file for that app. Ive installed another app just fine. Sorry if none of this makes sense.

Do you know how to create a .desktop file ?

What was the package name that you’ve installed?
And what application did you want to install? Ledger Live?

1 Like

Yes I wanted to install ledger live and the exact command was sudo dnf install ledger. I did this in the fedora template.

The package called ledger in the Fedora repository is not related to Ledger Wallet. It’s a different software.
The official guide is telling you to download and use Ledger Live using AppImage:

https://download.live.ledger.com/latest/linux

2 Likes

Haha I thought that might be the problem. I’ll try and work out appimage. Also can you tell me how I can look at all the applications which will auto install after the sudo dnf line?

Thanks for the help.

You can see the list of files installed by the specific package with this command:

dnf repoquery -l packagename

If you want to see which application will show up in the qube Settings → Applications list in the Qubes OS then you can look which .desktop file will be installed by package:

dnf repoquery -l packagename | grep -F .desktop

The Applications list contains the list of .desktop files contained in the system.

Doesn’t work for me?
Here’s the output:

[user@personal ~]$ dnf repoquery -l packagename
Fedora 40 - x86_64                               12 MB/s |  75 MB     00:06    
Fedora 40 openh264 (From Cisco) - x86_64        678  B/s | 2.1 kB     00:03    
Fedora 40 - x86_64 - Updates                    7.4 MB/s |  39 MB     00:05    
Qubes OS Repository for VM (updates)            475  B/s | 833  B     00:01    
Qubes OS Repository for VM (updates)            2.3 MB/s | 2.4 kB     00:00    
Importing GPG key 0x8E34D89F:
 Userid     : "Qubes OS Release 4.2 Signing Key"
 Fingerprint: 9C88 4DF3 F810 64A5 69A4 A9FA E022 E58F 8E34 D89F
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-qubes-4.2-primary
Is this ok [y/N]: y
Qubes OS Repository for VM (updates)             52 kB/s | 164 kB     00:03    
[user@personal ~]$ dnf repoquery -l packagename
Last metadata expiration check: 0:00:12 ago on Sat Aug 31 12:38:17 2024.
[user@personal ~]$ dnf repoquery -l packagename|grep -F .desktop
Last metadata expiration check: 0:00:28 ago on Sat Aug 31 12:38:17 2024.

I installed electrum, gimp and vim on personal space.
Electrum

gpg --verify Electrum-4.5.5/run_electrum
gpg --verify electrum-4.5.5-x86_64.AppImage.asc
gpg --import ThomasV.asc
gpg --keyserver keys.gnupg.net --recv-keys 6694D8DE7BE8EE5631BED9502BD5824B7F9470E6
gpg --verify electrum-4.5.5-x86_64.AppImage.asc electrum-4.5.5-x86_64.AppImage
chmod -x electrum-4.5.5-x86_64.AppImage
./electrum-4.5.5-x86_64.AppImage

Gimp

sudo dnf install gimp

I don’t see any of these apps in:

  1. QubesOS → Open Qubes Application Menu → Qube → APPS → personal.

  2. QubesOS → Open Qubes Application Menu → Qube → APPS → personal → Settings → Applications → All available applications nor Applications shown in App Menu.

You need to replace packagename by the real package name, like gimp in order to get meaningful information.

If you install programs in a qube with dnf, it will not be persistent, use it in the template. See:

As for Electrum, it’s an AppImage file, so, you didn’t really install it because it’s an executable that doesn’t need installation. You need to create a .desktop file in ~/.local/share/applications in order to tell Qubes OS how to start it.

As a side note, consider using your crypto wallet and editing images in at least two qube.

1 Like

Press on a “Refresh applications” button in the Settings → Applications tab so that the newly installed apps will be displayed there.

1 Like