You are only browsing one thread in the discussion! All comments are available on the post page.

Return

premavansmuuf ,

alias inkscape=“flatpak run org.inkscape.Inkscape” into your .bashrc.

cyberwolfie OP ,

Yeah, I tried this, and it works from my session, but I still got the same error from trying to run the program. I figured it was because it is called outside the bash session so the run commands have not been run, but is that perhaps not true?

ForynGilnith ,

If that’s the case, it’s a bit of an ugly hack but you could make a wrapper script placed in /usr/local/bin/inkscape like this:


<span style="color:#323232;">#!/bin/bash
</span><span style="color:#323232;">
</span><span style="color:#323232;">flatpack run org.inkscape.Inkscape ${*}
</span>

(the ${*} will pass along all the arguments that the wrapper script was called with)

cyberwolfie OP ,

Thanks! I was trying to implement this, and was trying to figure out how to pass all the arguments! This worked for me! I got some other errors, but they don’t seem related to this, so now to find out what they are all about 😅

cybersandwich ,

This is a great little hack.

jsh ,

Saving this for later, that’s genius.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • random
  • All magazines