<p>This must help you. </p>

<p>Open terminal:</p>

<pre><code>$ sudo su
# cd /var/lib/snapd/desktop/applications
# nano bitcoin-core_bitcoin-qt.desktop
</code></pre>

<p>and last line must look like that</p>

<pre><code>Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/bitcoin-core_bitcoin-qt.desktop /snap/bin/bitcoin-core.qt %U
</code></pre>

<p><code>Ctrl + X</code> will quit the editor and you will be asked if you want to save your changes. Press <code>Y</code> for Yes.</p>

<p>Now try launching the app.</p>

CC BY-SA 4.0
2019-08-06T08:56:58.703Z
2019-08-06T08:56:58.703Z
Liubomyr Mykhalchyshyn
<p>From the command line, I typed '/snap/bin/bitcoin-core.qt' and now Bitcoin Core is synchronizing with the network. Problem solved.</p>

<p>I still don't know how to repair the shortcut but that is because I'm a Linux newbie.</p>

CC BY-SA 4.0
2019-07-24T07:30:20.810Z
2019-07-24T07:30:20.810Z
rghollenbeck
<p>I used "sudo snap install bitcoin-core" and it appeared to install fine except I get the error: "Failed to launch 'Bitcoin Core' Desktop file didn't specify Exec 
Field."  Did I do something wrong?  Maybe I am not finished with the install?  </p>

<p>This is nearly a pristine installation of Ubuntu.  The only other thing I did was run updates and I installed Konsole prior to installing Bitcoin Core.  I ran the "sudo snap install..." command from Konsole.</p>

<p>Thanks to all.</p>

<bitcoin-core><ubuntu><installation>
Installation of Bitcoin Core 0.18.0 on Ubuntu 18.04.2 error
rghollenbeck
# Installation of Bitcoin Core 0.18.0 on Ubuntu 18.04.2 error

(Asked by: username_0 on 2019-07-24)

I used "sudo snap install bitcoin-core" and it appeared to install fine except I get the error: "Failed to launch 'Bitcoin Core' Desktop file didn't specify Exec
Field." Did I do something wrong? Maybe I am not finished with the install?

This is nearly a pristine installation of Ubuntu. The only other thing I did was run updates and I installed Konsole prior to installing Bitcoin Core. I ran the "sudo snap install..." command from Konsole.

Thanks to all.

**Tags:** bitcoin-core, ubuntu, installation


---

## 2 answers

### Answer by username_1 on 2019-08-06. Score: 0 | Accepted answer

This must help you.

Open terminal:

```
$ sudo su
# cd /var/lib/snapd/desktop/applications
# nano bitcoin-core_bitcoin-qt.desktop

```

and last line must look like that

```
Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/bitcoin-core_bitcoin-qt.desktop /snap/bin/bitcoin-core.qt %U

```

`Ctrl + X` will quit the editor and you will be asked if you want to save your changes. Press `Y` for Yes.

Now try launching the app.


---

### Answer by username_0 on 2019-07-24. Score: 0

From the command line, I typed '/snap/bin/bitcoin-core.qt' and now Bitcoin Core is synchronizing with the network. Problem solved.

I still don't know how to repair the shortcut but that is because I'm a Linux newbie.


---

