When Contour is started from a desktop integration (e.g. right click -> open with -> contour), unfortunately the integration only fires contour [... directory path ...]. This causes contour to crash because a directory cannot be started as a program image.
The solution would either be:
- Implement desktop integrations that work with the right-click menu. This might be problematic due to the absolute plethora of desktop environments to support.
- "Hotwire" Contour so if it is spawned with only a directory as the first argument, interpret it as "start with the default profile but spawn the configured shell in that directory".
For example, Konsole does not crash (at least...), but is also rather buggy: when opening, from Dolphin, Konsole in ~/foo/bar as the "Open with..." action, it spawns the default shell in ~/foo.
When Contour is started from a desktop integration (e.g. right click -> open with -> contour), unfortunately the integration only fires
contour [... directory path ...]. This causes contour to crash because a directory cannot be started as a program image.The solution would either be:
For example, Konsole does not crash (at least...), but is also rather buggy: when opening, from Dolphin, Konsole in
~/foo/baras the "Open with..." action, it spawns the default shell in~/foo.