Skip to content

launcher setting ignored in preferences.txt #247

Open
@processing-bot

Description

@processing-bot

In GitLab by @hamoid on Aug 12, 2021, 09:08

Description

Executing "Open Sketch Folder" on Arch Linux with i3wm and fish does not open the folder. I used to work around this by specifying a custom launcher setting. This worked in Processing 3.4, but not in later versions.

This affects very few people I guess (maybe 1?) but it would be nice if the launcher setting was enforced if present, as an override. The related lines are found here:

https://github.com/processing/processing4/blob/master/app/src/processing/app/platform/LinuxPlatform.java#L118

Expected Behavior

I can use Open Sketch Folder

Current Behavior

I can't use Open Sketch Folder. It opens a terminal window with text being printed forever in a loop.

Steps to Reproduce

Press Ctrl+K

Your Environment

  • Processing version: 4.0b
  • Operating System and OS version: up to date Arch Linux
  • Other information: using i3 window manager

Possible Causes / Solutions

I think a solution might be to tweak the order of the if statements: if a launcher is specified, use it, otherwise, try use the default approaches. But I don't know how messy touching any of that might be.

Old post about this issue:
https://discourse.processing.org/t/launcher-seems-to-be-ignored-in-the-preferences/10840/7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions