Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
8
rated 0 times [  8] [ 0]  / answers: 1 / hits: 1260  / 2 Years ago, sat, july 23, 2022, 7:40:56

When I right click an archive in Kubuntu 13.10 and select the extract option, not much happens. The taskbar launcher twirls around for a few seconds but nothing actually extracts. I suspect something is blowing up but there's no terminal output to try and work out what's going on.



I'd like to run the command that KDE is running manually so I can see what's wrong, and hopefully fix it. But where are the right-click options stored? Where can I find the command that KDE's trying to run?


More From » 13.10

 Answers
0

Service Menus



The 'Extract Archive Here' is a KDE Service Menu /1/



enter image description here



The system KDE service menu desktop files are at : /usr/share/kde4/services/ServiceMenus/



The ark_servicemenu.desktop /2/ has the 'Extract Archive Here' option. It is executing command:



ark --batch --autodestination %F


The %F /3/ is:




A list of files. Use for apps that can open several local files at
once. Each file is passed as a separate argument to the executable
program.




More of the Ark options can be get from with man:



man ark

ARK(1) KDE User's Manual ARK(1)

NAME
ark - KDE archiving tool

SYNOPSIS
ark [-b] [-a] [-e] [-c] [-f suffix] [-p] [-t file] [-d] [-o directory] [KDE Generic Options]
[Qt(TM) Generic Options]

DESCRIPTION
Ark is a program for managing various compressed file formats within KDE. Archives can be viewed, extracted,
created and modified with Ark. The program can handle various formats such as tar, gzip, bzip2, zip, rar (when
the appropriate libraries or command-line programs are installed).

OPERATION MODES
Ark can be used either as a stand-alone GUI program as well as a command-line program in order to perform some
specific tasks.

If invoked without the -b (--batch) or -c (--add) options, Ark is started as a normal GUI program.

When the -b (--batch) option is used, Ark can be used to extract the contents of one or more files directly
from the command-line, without launching its GUI.

When the -c (--add) option is used, Ark prompts for files that should be added to a new archive or to an
existing archive.

OPTIONS
...
Options for batch extraction
-b, --batch
Use the batch interface instead of the usual dialog. This option is implied if more than one url is
specified.

-e, --autodestination
The destination argument will be set to the path of the first file supplied.


Links




  1. http://techbase.kde.org/Development/Tutorials/Creating_Konqueror_Service_Menus

  2. http://standards.freedesktop.org/desktop-entry-spec/latest/

  3. http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s06.html


[#28339] Sunday, July 24, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eanda

Total Points: 439
Total Questions: 116
Total Answers: 105

Location: Armenia
Member since Sat, Dec 31, 2022
1 Year ago
eanda questions
Tue, Nov 22, 22, 15:24, 1 Year ago
Sat, Oct 16, 21, 23:48, 3 Years ago
Sun, Jul 3, 22, 09:38, 2 Years ago
Thu, Feb 3, 22, 14:33, 2 Years ago
;