Results 1 to 2 of 2

Thread: How to add command line command to KDE context menu?

  1. #1
    Join Date
    Sep 2009
    Posts
    41

    Default How to add command line command to KDE context menu?

    Well, I'm not sure how to formulate my question.

    The problem is I need from time to time run a command to compress a jpg image:

    Code:
    $magick convert -quality 55 image.jpg image.jpg
    I use Krusader and I'd like to run the command at any file quickly. Is there any way to do so?

  2. #2
    Join Date
    Sep 2009
    Posts
    41

    Default Re: How to add command line command to KDE context menu?

    I've solved the problem for Krusader.

    I've added to Useractions an action with the following command:

    Code:
    convert -quality 50 %aCurrent% %aCurrent%
    and assigned it to a shortcut. Now I can compress a jpg only by a shortcut.

    Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •