Now, to make this appear when right-clicking. Any idea how I can achieve that?

  • QuazarOmega@lemy.lol
    link
    fedilink
    arrow-up
    10
    ·
    5 months ago

    Don’t most desktop environments already have this?

    An environment agnostic tool isn’t a bad thing though, it already exists as PinApp, though I’m guessing OP is doing this more as a learning project

    • MrOzwaldMan@lemmy.mlOP
      link
      fedilink
      arrow-up
      4
      ·
      5 months ago

      Damn, i didn’t know this existed. Welp, at least I know how to manipulate the system from code.

      • QuazarOmega@lemy.lol
        link
        fedilink
        arrow-up
        5
        ·
        5 months ago

        Don’t be discouraged, doing something from scratch is always a great learning opportunity and even if this isn’t the first iteration of such a tool there is room improvement, for instance, I don’t think any of the tools that allow creation .desktop shortcuts interface with any context menu as yours would do in the future, so that could be a cool feature to show off!