Skip to content

Pass Environment Variables to "Custom Command" #51

@73

Description

@73

Hi,

I am new to Workspaces but I like it. Thank you very much!
When I try to run a custom command like:

 /usr/bin/evince /home/user/Documents/file.pdf

I starts my pdf viewer just fine. However, when I want to pass an environment variable on like this:

GTK_THEME=Adwaita:dark  /usr/bin/evince /home/user/Documents/file.pdf

Evince does not start any more.

It there a (correct) way to pass environment variables to the custom command?

Thank you very much!

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