Announcement

Collapse
No announcement yet.

convert a ccx file to svg from within dolphin

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    convert a ccx file to svg from within dolphin

    Hello,
    I would like to be able to convert a ccx file to svg by just right-clicking it. I have a bash script to convert all files in a directory, but would like to be able to convert just one file.

    in konsole, I would do

    uniconvertor graphic.ccx graphic.svg

    If I right-click in dolphin and open graphic.ccx with this command

    uniconvertor %u %.svg

    the output is graphic.ccx.svg

    I would like to have graphic.svg as output.

    Any ideas? Thanks a lot in advance!

    #2
    KDE Service Menus:https://techbase.kde.org/Development..._Service_Menus
    The ability to select mimetype-specific actions from a KDE file manager's context menu is an often requested feature. The pleasant surprise is that this is already possible. The even more pleasant surprise is that you don't need to be a software developer to create new actions. This article details step-by-step how to quickly and easily add new actions to KDE file manager context menus.
    Try Me !

    Comment


      #3
      I do something similar in a servicemenu for audio files. This should work in a servicemenu:

      fn=`basename %u .ccx`; uniconvertor %u $fn.svg

      of course, only for .ccx files. The problem you run into when using bask commands in servicemenus is the variables %u, %f, etc., can't be used in quotes.

      Try it and see if it works for you.

      Please Read Me

      Comment

      Working...
      X