this post was submitted on 21 Dec 2024
9 points (90.9% liked)

Linux

48665 readers
1167 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.

top 4 comments
sorted by: hot top controversial new old
[–] Aiwendil@lemmy.ml 10 points 12 hours ago* (last edited 12 hours ago) (2 children)

Try adding a PATH=/home/werecat/Grayjay line to your .desktop file. Without it the application will run with your home directory as your working-directory...and there the data files are missing (Why you need to copy them to your home). The path entry makes the program work in /home/werecat/Grayjay where the data directories actually are.

Edit: That is assuming when you started it manually you did a cd Grayjay and a ./Grayjay or similar. So you changed your working directory there first before starting it. If that is not the case ignore my post ;)

[–] WereCat@lemmy.world 1 points 2 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.

[–] BananaTrifleViolin@lemmy.world 3 points 11 hours ago (1 children)

Yeah this looks right. The program is launching other tools, in this case when it gets to CEF (chromium embedded framework) it is looking in the default path it's picked up when the .desktop file is launching it. So it's essentially looking directly under /home/werecat/ instead of where the /Greyjay programme is running from.

So if you specify the path in the .desktop file it should fix the problem.

An alternative route of that doesn't fix it might be to edit any config files (if it has them) to ensure they explicitly point to the correct Grayjay directory.

[–] WereCat@lemmy.world 1 points 2 hours ago* (last edited 2 hours ago)

Yeah, I've tried finding the config file to edit the path as the first thing but I could not find it. Adding the Path as was suggested worked after removing TryExec.