quickemu-project / quickemu

Quickly create and run optimised Windows, macOS and Linux virtual machines
MIT License
10.81k stars 474 forks source link

quickemu --shortcut fails in less than clear way when ~/.local/applications doesn't exist #189

Closed dwvisser closed 3 years ago

dwvisser commented 3 years ago

Expected behaviour

If I haven't yet created ~/local/applications, quickemu --shortcut should tell me to do so, or do it for me.

Actual behaviour

Quickemu tells me that the shortcut it was supposed to create doesn't exist, then that it created it‽ I find no shortcut in my start menu, and realize that the folder to contain it doesn't exist.

Steps to reproduce the behaviour

Outline the step to reproduce the issue you've encountered.

Quickemu output

➜  quickemu --vm macos-monterey.conf --shortcut
/usr/bin/quickemu: line 937: /home/dale/.local/share/applications/macos-monterey.desktop: No such file or directory
Created macos-monterey.desktop file

➜  ls ~/.local/share/applications
ls: cannot access '/home/dale/.local/share/applications': No such file or directory

✗  mkdir ~/.local/share/applications

➜  quickemu --vm macos-monterey.conf --shortcut
Created macos-monterey.desktop file

Linux Distribution & Kernel

Run the following and paste the output.

➜  lsb_release --all
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 21.10
Release:    21.10
Codename:   impish

~ took 8s 
➜  uname -a
Linux octavia 5.13.0-20-generic #20-Ubuntu SMP Fri Oct 15 14:21:35 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
github-actions[bot] commented 3 years ago

Hello there 👋 Thanks for submitting your first issue to the Quickemu project 🐛 We'll try and take a look at your issue soon ⏲

In the meantime you might want to join the Wimpys World Discord 🗣 where we have a large community of Linux 🐧 enthusiasts and passionate open source developers 🧑‍💻

You might also be interested in following Wimpys World Twitch 📡 channel where Wimpy streams let's code video, including this project, several times a week. A back catalog of past live stream and other Linux related content is available on Wimpys World YouTube 📺 channel.

dwvisser commented 3 years ago

A little extra context:

➜  quickemu --version
2.3.0