Hi, I’m trying the desktop Grayjay app and it seems to work fine.

I just have to keep locating the app in folder whenever I want to launch it so I found out how to make it appear in the GNOME Apps and launch it there.

However it requires me to copy 2 folders (cef,wwwroot) from the app folder into my “/home/werecat” folder and I don’t understand why when it can launch just fine from the executable without me having to do that.

Any idea on what I’m missing or doing wrong? The main goal is to add the app to my Dash to Dock.

  • WereCat@lemmy.worldOP
    link
    fedilink
    arrow-up
    4
    ·
    20 hours ago

    Thanks, that actually worked even though it did not at first.

    I’ve tried to also do export PATH=/home/werecat/Grayjay:$PATH but that did not work either. And finally I had to remove the TryExec for some reason for the Path to start working.

    It launches now with Terminal even though I’ve set it to ‘false’ but at least it runs.

    • Aiwendil
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      18 hours ago

      Just to make this clear (Sorry if it’s unnecessary, but maybe still useful info for others)…Path= lines in .desktop files are not related at all to the $PATH environment variables. They do something completely different (And yes, picking Path as key was a terrible choice in my view). Path= lines in .desktop files change the current working directory…they do about the same as a cd <directory> in a shell.

      They do not change where a .desktop file looks for executables…only indirectly if a executable runs another file relative to the current directory or looks for images/icons/audio/other data relative to the current working directory.

      And I have no clue why it doesn’t work with TryExec…the desktop file spec doesn’t mention anything about that :( ( https://specifications.freedesktop.org/desktop-entry-spec/latest/recognized-keys.html )