Skip to content

Fedora/KDE: Application only works when launched from terminal due to missing shell environment variables #294

@Eispala

Description

@Eispala

Hello,
i am using Nobara (Fedora) with KDE Plasma.
The program was compiled from source.

It only works if i launch it from the terminal.
To make it work from the Application Menu i changed the Exec line from this:

Exec=/usr/local/bin/oversteer

To this:
Exec=bash -c 'source ~/.bashrc && /usr/local/bin/oversteer

For me the complete working ApplicationMenu-File looks like this:

[Desktop Entry]
Categories=Game;Utility;
Comment=Steering Wheel Manager
Exec=bash -c 'source ~/.bashrc && /usr/local/bin/oversteer'
Icon=io.github.berarma.Oversteer
Keywords=game;racing;cars;wheels
Name=Oversteer
NoDisplay=false
Path=
PrefersNonDefaultGPU=false
StartupNotify=false
StartupWMClass=oversteer
Terminal=false
TerminalOptions=
Type=Application
X-KDE-SubstituteUID=false
X-KDE-Username=

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions