nuttyartist / notes

Fast and beautiful note-taking app written in C++. Write down your thoughts.
https://www.get-notes.com
Mozilla Public License 2.0
3.68k stars 319 forks source link

Autostart feature doesn't work with the official AppImage #565

Open guihkx opened 1 year ago

guihkx commented 1 year ago

... Because the generated desktop file has the wrong path for the Exec key (it uses a temporary path where the AppImage is mounted, instead of the real path to the AppImage):

~/.config/autostart/Notes.desktop:

[Desktop Entry]
Exec=/tmp/.mount_Notes_dbWHJQ/usr/bin/notes --autostart
Type=Application

Steps to reproduce:

  1. Run the official AppImage
  2. Click on the three-dots menu (meatball menu)
  3. Enable "Start automatically"
  4. Open ~/.config/autostart/Notes.desktop with a text editor
  5. Notice the broken Exec key

But even we fixed this problem, in my opinion this feature does not make much sense with AppImages, considering that they're portable and can be moved around by the user. 🤷

nuttyartist commented 1 year ago

I used some sort of manager to install AppImages so they behave like an installed application (it grows in popularity, it seems).

guihkx commented 1 year ago

Didn't know that was a thing... Nice.