LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-03-2015, 02:18 AM   #1
brodo
Member
 
Registered: Jan 2004
Location: Poland, Poznan
Distribution: Slackware current 32 / 64
Posts: 406

Rep: Reputation: 30
How to associate Thunar with Ark ?


I compiled Thunar-1.6.10 using PV building script and thunar-archive-plugin-0.3.1 using SBo script.

But when I try to use a left-click option in Thunar like "create archive" all I get is the info "no suitable archive manager found".
Thunar-archive-plugin is said to be compatible with Ark that already exists on my curren Slackware installation.

Why is it so ?
 
Old 07-03-2015, 07:01 AM   #2
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
All I can tell you is thunar-archive-plugin works great with Xarchiver, also available at SBo.
 
Old 07-03-2015, 08:12 AM   #3
brodo
Member
 
Registered: Jan 2004
Location: Poland, Poznan
Distribution: Slackware current 32 / 64
Posts: 406

Original Poster
Rep: Reputation: 30
@ Kikinovak

I installed Xarchiver. Dealing with archives is OK with Thunar, but left-click action for a quick compressing of files diaappeared.
Do you have this feature ?
 
Old 07-03-2015, 08:21 AM   #4
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by brodo View Post
@ Kikinovak

I installed Xarchiver. Dealing with archives is OK with Thunar, but left-click action for a quick compressing of files diaappeared.
Do you have this feature ?
Yes, I have it. I don't know where you got your packages, but I would install Xarchiver first and then thunar-archive-plugin. I can't remember if the archive manager has to be recognized at compile time.
 
1 members found this post helpful.
Old 07-03-2015, 04:04 PM   #5
artificiosus
LQ Newbie
 
Registered: Mar 2010
Posts: 6

Rep: Reputation: 4
I make thunar-archive-plugin work with ark by using the following patch:

Code:
--- ./scripts/ark.tap.old       2009-09-22 15:29:56.000000000 -0400
+++ ./scripts/ark.tap   2012-10-20 11:40:57.276057633 -0400
@@ -1,8 +1,8 @@
 #!/bin/sh
 #
-# file-roller.tap - Wrapper script to create and extract archive files
-#                   in Thunar, via the thunar-archive-plugin, using the
-#                   KDE ark archive manager.
+# ark.tap - Wrapper script to create and extract archive files
+#           in Thunar, via the thunar-archive-plugin, using the
+#           KDE ark archive manager.
 #
 # $Id$
 #
@@ -30,16 +30,16 @@
 # check the action
 case $action in
 create)
-       exec ark --add "$@"
+       exec ark -cdp "$@"
        ;;
 
 extract-here)
-       exec ark --extract-to "$folder" "$@"
-       ;;
+       exec ark -bea "$@"
+       ;;
 
 extract-to)
-       exec ark --extract "$@"
-       ;;
+       exec ark -bed "$@"
+       ;;
 
 *)
        echo "Unsupported action '$action'" >&2
I apply it by adding the following to line 71 of the thunar-archive-plugin.Slackbuild

zcat $CWD/ark.tap.diff.gz | patch -p1 --verbose || exit 1
 
Old 07-05-2015, 02:51 AM   #6
brodo
Member
 
Registered: Jan 2004
Location: Poland, Poznan
Distribution: Slackware current 32 / 64
Posts: 406

Original Poster
Rep: Reputation: 30
Kikinovak

<<<< Yes, I have it. I don't know where you got your packages, but I would install Xarchiver first and then thunar-archive-plugin. I can't remember if the archive manager has to be recognized at compile time. >>>>

This worked for me, thanks !
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ark bong.mau Debian 1 03-20-2010 03:28 PM
Ark Linux ampfp@yahoo.com Linux - Distributions 4 08-18-2005 12:58 PM
Yoper and ark dual boot but ark wont boot?? wrat Linux - Newbie 0 01-31-2005 07:03 AM
ark paul62 Linux - Software 3 08-21-2004 11:39 PM
Ark AGilley007 Linux - Distributions 1 07-14-2004 11:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration