This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Changing defaults on Ark's context menu entry in Dolphin

Tags: None
(comma "," separated)
User avatar
NginUS
Registered Member
Posts
58
Karma
0
I've installed Ark so that I can use the context menu entry in Dolphin to compress selected files to .tar.gz- but I want to change the defaults to -9 & --rsyncable.

I looked in /usr/share/kservices5/ServiceMenus/ark_addtoservicemenu.desktop & I don't see any commands explicitly defined there where I could just add the additional options.
This is the closest I see to what I'm referring to.
Code: Select all
[Desktop Action compressHereAsTar]
Name=Here (as TAR.GZ)

Does anyone know where/what I need to edit to do this?
User avatar
Rog131
Registered Member
Posts
828
Karma
10
Your Ark version ?

The Ark service menus has been ported to the KFileItemAction: https://cgit.kde.org/ark.git/commit/?id ... 1b4c86f66e

You could add your own servicemenu by adding the desktop file ( a template: https://cgit.kde.org/ark.git/diff/app/a ... 1b4c86f66e ) to the $HOME/.local/share/kservices5/ServiceMenus/.

Image

If you want to you could disable the official Ark servicemenu from the Dolphin settings:

Image
User avatar
NginUS
Registered Member
Posts
58
Karma
0
Rog131 wrote:Your Ark version ?


4:16.04.3a-0ubuntu2.1~ubuntu16.04~ppa1
User avatar
NginUS
Registered Member
Posts
58
Karma
0
Could someone tell me where in what file I can add the -9 & --rsyncable to the command that the "Compress > Here (As TAR>GZ)" menu item utilizes? I don't see anything resembling any sort of tar command in any of the aforementioned files.


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], Sogou [Bot]