Skip to content

Create tooka #3493

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Create tooka #3493

wants to merge 13 commits into from

Conversation

Benji377
Copy link
Contributor

No description provided.

@Benji377
Copy link
Contributor Author

Hm... I guess CLI apps are not supported?

@probonopd
Copy link
Member

They are, if Terminal=true is set in the desktop file.

@probonopd
Copy link
Member

probonopd commented Jun 10, 2025

Looks like a permissions issue:
AppRun: Permission denied

Check AppRun (must be 0755) and the directory it is in (must also be 0755)

@Benji377
Copy link
Contributor Author

They are, if Terminal=true is set in the desktop file.

Thank you, I just fixed it and am now waiting for a new build. I will then update the release.

Looks like a permissions issue: AppRun: Permission denied

Check AppRun (must be 0755) and the directory it is in (must also be 0755)

I really hope it's not, because I have no idea how to fix that. I am using cargo-packager to create the AppImage and there is no configuration for that

@Benji377
Copy link
Contributor Author

I have now added three custom files to the AppImage:

And set their path using the cargo-packager config like so:

[package.metadata.packager.appimage.files]
"../data/io.github.benji377.tooka.desktop" = "usr/share/applications/io.github.benji377.tooka.desktop"
"../data/io.github.benji377.tooka.svg" = "usr/share/icons/hicolor/scalable/apps/io.github.benji377.tooka.svg"
"../data/io.github.benji377.tooka.metainfo.xml" = "usr/share/metainfo/io.github.benji377.tooka.metainfo.xml"

@Benji377
Copy link
Contributor Author

FATAL: No .desktop file or multiple desktop files present Did I name or structure my desktop file wrongly? If I mount it locally, I can see it inside usr/share/applications/

@probonopd
Copy link
Member

There must be (also) exactly 1 desktop file in the root directory.

@Benji377
Copy link
Contributor Author

Ok I think I found the issue, I had to rename my desktop file.

@Benji377
Copy link
Contributor Author

Looks like everything is working now, except for the image generation:
https://i.imgur.com/XEWYs8M.png

But I really don't know how to change the permissions of the AppRun folder since I am not packaging it by hand.

@Benji377
Copy link
Contributor Author

@probonopd I just tested my AppImage on different Linux devices, and it worked fine on all of them. I really have no idea why the permission error occurs, it didn't show up on any of my own tests.
Furthermore, when I set it manually, it made no difference. Could this be an issue with the test pipeline?

@Benji377 Benji377 mentioned this pull request Jun 15, 2025
10 tasks
@probonopd
Copy link
Member

Getting

image

Can you please chmod 0755 the AppRun file and the directory it is in?

@Benji377
Copy link
Contributor Author

ptFanSM
Even AppImage is affected by this 🙁. It's a known issue: tooka-org/tooka#25

@Benji377
Copy link
Contributor Author

Getting

image

Can you please chmod 0755 the AppRun file and the directory it is in?

Fixed! ✅

@Benji377
Copy link
Contributor Author

I am now getting a completely empty picture, which I guess is a good thing (?)

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants