Community-edition: XDG_DATA_DIRS is missing when starting AppImage on Fedora 24

Created on 30 Aug 2016  路  8Comments  路  Source: ramboxapp/community-edition

Seems to be a similar issue than this one : https://github.com/electron-userland/electron-builder/issues/682

Steps to reproduce

  1. Download Rambox-0.4.1-x64.AppImage
  2. chmod +x Rambox-0.4.1-x64.AppImage
  3. ./Rambox-0.4.1-x64.AppImage

    Expected behavior

Launch Rambox AppImage

Actual behavior

No launch with this error :

/tmp/.mount_zq9Niy
$XDG_DATA_DIRS is missing. Please run /tmp/.mount_zq9Niy/AppRun from within an AppImage.

ENVIRONMENT

Rambox: v0.4.1-x64

OS: Fedora 24 - 4.6.6-300.fc24.x86_64

Arch: x64

bug investigate linux

Most helpful comment

AppImage of version 0.4.2 works great, thanks!

All 8 comments

I can confirm, same issue with Fedora 24.

Ok, I will take a look ASAP.

Should be solved in the latest electron-builder.
https://github.com/electron-userland/electron-builder/issues/682

In the meantime, you can still launch it with one of these commands:

export XDG_DATA_DIRS="/usr/local/share"
./Rambox-0.4.1-x64.AppImage

or

XDG_DATA_DIRS="/usr/local/share" ./Rambox-0.4.1-x64.AppImage

Here is the specification made by freedesktop.org. It says:

If $XDG_DATA_DIRS is either not set or empty, a value equal to /usr/local/share/:/usr/share/ should be used.

I am not sure if this is a rambox bug or an external application bug (AppImage, or referred electron).

It is a bug in older versions of electron-builder. Should be solved in the latest electron-builder.
electron-userland/electron-builder#682

AppImage of version 0.4.2 works great, thanks!

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andrii-riabchun picture andrii-riabchun  路  3Comments

leif picture leif  路  4Comments

Tseberechts picture Tseberechts  路  4Comments

arnauldb picture arnauldb  路  4Comments

mforcer picture mforcer  路  3Comments