LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 01-18-2020, 08:59 AM   #1
mgruber
LQ Newbie
 
Registered: Jan 2020
Posts: 4

Rep: Reputation: Disabled
GUI for 7z archives similar to 7-Zip


I'm having a hard time to find a GUI for 7z archives which is similar to 7-Zip on Windows.
I need the ability to change compression strength and set a password. xarchiver and File-Roller both don't seem to be able to change compression strength.

Any ideas aside from running 7-Zip thru Wine, which I'd prefer to avoid?
 
Old 01-18-2020, 01:39 PM   #2
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by mgruber View Post
I'm having a hard time to find a GUI for 7z archives which is similar to 7-Zip on Windows.
I never heard of one.
There is p7zip (ported 7zip, see p7zip.sourceforge.net), but that's commandline only, no GUI. From that site
Quote:
p7zip is a port of 7za.exe for POSIX systems like Unix (Linux, Solaris, OpenBSD, FreeBSD, Cygwin, AIX, ...), MacOS X and also for BeOS and Amiga.

7za.exe is the command line version of 7-zip
So it's a port of the command line version of 7-zip.
 
Old 01-18-2020, 09:57 PM   #3
walker
Member
 
Registered: Nov 2003
Distribution: antiX-17.4.1_x64 base Custom
Posts: 193

Rep: Reputation: 38
Quote:
Originally Posted by mgruber View Post
I'm having a hard time to find a GUI for 7z archives which is similar to 7-Zip on Windows.
I need the ability to change compression strength and set a password. xarchiver and File-Roller both don't seem to be able to change compression strength.

Any ideas aside from running 7-Zip thru Wine, which I'd prefer to avoid?
In the screenshot it's file-roller.
What's weird?
Clicking on the icon on top left you have a drop down menu which let you choose to create a new archive or open an existing one plus some more options.
And it works also with 7zip files if 7z is installed.

Unfortunately to have the same identical thing you have in windows you have no other way than keep using windows or expand your mind.
Attached Thumbnails
Click image for larger version

Name:	FileRoller.png
Views:	578
Size:	17.6 KB
ID:	32343  

Last edited by walker; 01-18-2020 at 10:04 PM. Reason: Mistyping
 
Old 01-18-2020, 10:11 PM   #4
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,005
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
Ark gives a nice pretty gui to manage archives, although if you're not running KDE it also brings in an awful lot of KDE & QT libraries in order to work, which may make it undesirable.
 
Old 01-19-2020, 02:04 AM   #5
mgruber
LQ Newbie
 
Registered: Jan 2020
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by walker View Post
In the screenshot it's file-roller.
What's weird?
The inability to change the compression ratio without fiddling around with config files every time you want to do so.
See also this post from Askubuntu from 5 years ago:
https://askubuntu.com/questions/5624...-gui-in-ubuntu
Nothing has changed since that time.

The only tool I came around now that offers a GUI to access the advanced settings is PeaZip.
But it comes with other quirks (e.g. only available as alien'ated .deb) and it tends to crash on my stock Mint 19.10, which might be the reason that it's not it any Debian based repository.

@Timothy Miller: Yeah, I'm on Xfce, but I wouldn't mind to install the required KDE/QT libs if it would offer ratio settings in the GUI. Does it?
 
Old 01-19-2020, 04:16 AM   #6
walker
Member
 
Registered: Nov 2003
Distribution: antiX-17.4.1_x64 base Custom
Posts: 193

Rep: Reputation: 38
Quote:
Originally Posted by mgruber View Post
The inability to change the compression ratio without fiddling around with config files every time you want to do so.
See also this post from Askubuntu from 5 years ago:
https://askubuntu.com/questions/5624...-gui-in-ubuntu
Nothing has changed since that time.
Nothing has changed cause GNU/Linux != Windows and maybe GNU/Linux users don't feel such needs.

I use GNU/Linux only since 18 years and I have a Mechanic Degree nothing to do with IT, the think I love mostly of GNU/Linux?
If you have to chenge something it's enough to edit a plain text file.
Keep in mind that GNU/Linux has a different root from Windows.
Windows was created to sell computer to everyone, also to whom doesn't really need it, leaving the control to Microsoft.
GNU/Linux was created to give back the complete control of pc to the owner.
That's why you don't have click click program on GNU/Linux.

Quote:
Originally Posted by mgruber View Post
The only tool I came around now that offers a GUI to access the advanced settings is PeaZip.
But it comes with other quirks (e.g. only available as alien'ated .deb) and it tends to crash on my stock Mint 19.10, which might be the reason that it's not it any Debian based repository.

@Timothy Miller: Yeah, I'm on Xfce, but I wouldn't mind to install the required KDE/QT libs if it would offer ratio settings in the GUI. Does it?
I completely forgot the existence of peazip.

Why don't you use the portable?
It's enougn to create a link to peazip executable in the menu and you are done without messing the system.

Neither ark suggested by Timothy looking at the GUI has what you are looking for but I won't install it only to check.
I said before why.
Who use GNU/Linux think GNU/Linux and the evidence are the five years without changes compared to the thread you linked.

Last edited by walker; 01-19-2020 at 04:19 AM.
 
Old 01-19-2020, 06:49 AM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Nothing wrong with using the command line.
But for those who insist:
q7z or j7z - http://q7z.xavion.name/
p7zip-gui - http://p7zip.sourceforge.net
k7z - https://sourceforge.net/projects/k7z/
 
1 members found this post helpful.
Old 01-19-2020, 09:24 AM   #8
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,005
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
Quote:
Originally Posted by mgruber View Post
The inability to change the compression ratio without fiddling around with config files every time you want to do so.
See also this post from Askubuntu from 5 years ago:
https://askubuntu.com/questions/5624...-gui-in-ubuntu
Nothing has changed since that time.

The only tool I came around now that offers a GUI to access the advanced settings is PeaZip.
But it comes with other quirks (e.g. only available as alien'ated .deb) and it tends to crash on my stock Mint 19.10, which might be the reason that it's not it any Debian based repository.

@Timothy Miller: Yeah, I'm on Xfce, but I wouldn't mind to install the required KDE/QT libs if it would offer ratio settings in the GUI. Does it?
It does. It doesn't tell you WHAT the settings are, just a slider though:


https://i.ibb.co/Z6xFZxy/ark.png
 
1 members found this post helpful.
Old 01-19-2020, 09:46 AM   #9
walker
Member
 
Registered: Nov 2003
Distribution: antiX-17.4.1_x64 base Custom
Posts: 193

Rep: Reputation: 38
Quote:
Originally Posted by ondoho View Post
Nothing wrong with using the command line.
But for those who insist:
q7z or j7z - http://q7z.xavion.name/
There are tarballs with the source code.
Not sure for who wants to avoid the command line.
And I'm not sure that they bring really a GUI which does what the OP asks for.

Quote:
Originally Posted by ondoho View Post
Maybe I'm dummy but where's the GUI in the linked page?
It's a really old page.
The link to unofficial debian (who could interest the OP who uses Mint) package are:
The first a broken link
The second to the official debian p7zip which is the command line utility.

There are tarball with the source code.
Not sure for who wants avoid the command line.


Quote:
Originally Posted by ondoho View Post
Same developer of q7z and j7z same source code, not sure for newbie.

If distros don't include such packages maybe there's a reason.

If you want to do everything with a GUI stay with Windows or go with Mac and it's not me it's the reality and emerged clear by this thread.

The only thing is to decompress peazip portable in /usr/share and create a link in the menu in addition to add /usr/share/pzipexecutable to thunar to associate it to archive.
As already suggested.
The quickest and smartest way, the only way I fear.

Last edited by walker; 01-19-2020 at 09:47 AM.
 
Old 01-19-2020, 12:23 PM   #10
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by mgruber View Post
The only tool I came around now that offers a GUI to access the advanced settings is PeaZip.
But it comes with other quirks (e.g. only available as alien'ated .deb)
There is a portable (tar.gz) version too at this site:
http://osdn.net/dl/peazip/peazip_por...64.GTK2.tar.gz

I never used it, so I do not know if it covers your needs.
 
1 members found this post helpful.
Old 01-20-2020, 02:48 PM   #11
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
oops, got sidetracked by a thread hijacker.

Last edited by ondoho; 01-20-2020 at 02:49 PM.
 
Old 01-20-2020, 07:54 PM   #12
Geist
Member
 
Registered: Jul 2013
Distribution: Slackware 14 / current
Posts: 442

Rep: Reputation: 196Reputation: 196
A piece of documentation and a terminal is a GUI that is merely split into two independent panes.

A documentional panel (like a browser with the docs) = the labels on buttons and sliders.
Terminal = instead of buttons you click with the mouse, you type what the labels tell you it into the textbox.

...
What?
It's true.

No, really.
It's really true, it's just a different flavor, and I'm not just being a 'smart a..leck'.
GUIs aren't the panacea anyway, there's plenty of awful GUIs out there, confusing and awkward, why not talk to the program directly?
You're literally doing the same thing in this case, only more awkwardly. You open the 7z gui, you scan it with your eyes completely until they have eventually found the label you are interested in.
Then you fiddle with those labels until they show you some options that you like, by, again, reading their GUI elements, dropdown lists, radio buttons, etcs.

Why not instead of searching for those labels, you type them in (since you have to know them to accurately use them in the GUI)?
Why instead of dragging your mouse around some widget to set a value (which you know, or you wouldn't be setting it), just type it in?
Because it's different?

Yeah, better.
Vastly superior. (at least in this case)
If you can read GUI labels and manipulate widgets to show values and whatever, then you can probably read and write them as an argument list. Faster too, unless you type really slowly.
It's the same thing, the same reading, it's the same reading if you want the entire range of functionality.
(If a GUI showed all the available options 7z has, with all of its permutations, then simply by logic, it would be mirroring the documentation at least in some way.)

If you prefer it 'slimmed down' and don't know the command line switches then you will be locked out of as much of the functionality as the GUI doesn't provide.

Code:
7z a -tzip -mx9 -mmt   /tmp/example.zip /tmp/example_file
7z, archive, type zip, compression method switch x = 9 (compression level 9), compression method multithread, output archive, input file(s)

Code:
7z x -ooutput_dir input_archive.7z
7z, extract, ouput destination, input archive

Code:
7z a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on archive.7z dir1
7z, archive, type 7z, compression method switch 0 = lzma, compression method switch x = 9 (compression level 9), compression method switch fb (fast bytes), compression method switch d (dictionary size), compression method switch s (solid mode), output archive, input files

Password is -p

Here is the documentation.
Command line switches
Since the compression method -m, relies on the type of compression -t , you can make it easier for your mind to put -t first.

Anyway, it's simple.
You think of the type you want to use.
Then you go to the method switch part and follow the link of the type you chose.
Then you look at the parameters and Bob's your uncle.
They're -m + the parameter.

I know this is not the answer you seek, but it should be the approach you should seek. In this case, the GUI is a marginal boon at best, and an outright detriment if you ever want to automate anything with 7z.
Write yourself a sheet cheat and use it. You might be tempted to think that that is overkill or not, but it's really not.
Even if you don't use it often.

If you really really really need a GUI then you'll have to either make do with what's available, use wine, or worse, ditch Linux, etc, or write a GUI or hope that someone writes it for you, or sponsor the writing of a GUI.

But I would say it's better to embrace the TUI in this case and collect support based on it.
Which people actually have an easier time giving since the 'language' is the same and nobody needs your exact GUI frontend while giving you awkward instructions where to click or where a widget shoul be or what it says.

Last edited by Geist; 01-20-2020 at 08:01 PM.
 
1 members found this post helpful.
Old 01-21-2020, 11:31 AM   #13
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,005
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
In this case (creating compressed files), I will say I would only use a GUI as well whenever possible. Rarely do I want to compress and entire folder. I want to compress some (and only some) of the files in that folder. It's *SIGNIFICANTLY* easier to click on all the files and drag them into a window than try to remember what those files names are, and have to type them, WITHOUT ERRORS, into a list. Triply if said files don't follow a naming scheme, but are completely randomly named.

I use the command line for a lot of things, and in fact I do create compressed files in the command line (getting logs from my servers), but for day-to-day creation of compressed files, it's far, far, far superior to use a GUI to the CLI.
 
Old 01-21-2020, 04:48 PM   #14
Geist
Member
 
Registered: Jul 2013
Distribution: Slackware 14 / current
Posts: 442

Rep: Reputation: 196Reputation: 196
Quote:
Originally Posted by Timothy Miller View Post
In this case (creating compressed files), I will say I would only use a GUI as well whenever possible. Rarely do I want to compress and entire folder. I want to compress some (and only some) of the files in that folder. It's *SIGNIFICANTLY* easier to click on all the files and drag them into a window than try to remember what those files names are, and have to type them, WITHOUT ERRORS, into a list. Triply if said files don't follow a naming scheme, but are completely randomly named.
I agree, that can be a pain, but is a file manager issue, really, or a lack of another command line tool.

After all, even if the files are randomly named, you still know at least some of the pattern, and if there truly is no pattern and you have a list of files you have to pick out of there, well, then you have a list of files you have to read or remember, so you could theoretically just write them down too.
Or...set the thing that generates these completely random files to put them into a named directory so you don't have to separete the pepper from the fly droppings, so to speak.
(As in, if those completely random names are inside a directory with more descriptive names, then you'd have to pick them bit by bit, or at least by inverting the selection of the sane files)

But, let's say that it's not a complete randomfest and you know what you're looking for, in that case a little utility that simply returns a list of files based on arguments, interpreting all arguments as wildcarded, and piping those into 7z would be better.

I mean, why scan the directory with your own eyes when you know what you're looking for (or you wouldn't click on the file when you see it) doing the work for the computer instead of the other way around, when you can tell the computer to do your work.

This is reminiscent of the "minimap" from the Sublime Text editor, one of the worst inventions ever devised that has set humanity back by putting the donkey in the carriage and the human in the front.

And worse, this eventually came full circle. People realized that having a tiny, nondescript matrix of dots was inferior to a clearly labeled outliner, sick of having to scrub through the dots to manually scan, they then used ASCII ART! To create more legible entries in the minimap so they could jump there...

Talk about feeding the dog through its butt.

Knowing what you look for, using a minimap to scan the 'visualized structure' of the file until your eyes spot the thing, getting sick of that, creating ascii art to 'make the minimap usable' and then using that as an outliner..to still click and drag instead of ...you know, named marks one could perhaps go to with a command, like :qmark foo_foo.


In fact, talking to the computer is so awesome, yet so 'forgotten' (or should I say exorcised by awful OS and thought paradigms) that shrewd businesses are now feeding the dog through the butt again by selling Alexas, Hey Googles and co.
Granted, they are cancerous blights of spyware, but their functionality is literally that of a shell.

Alexa find all files containing barbar!
grep -ir barbar ./*

It's crazy to me, people are paying money for something that was there all along, for someting computing basically STARTED with but simply didn't get to explore because terminal stuff kept being touted as "autismal ricer stuff only turbonerds/insufferable hipsters use", when ANYONE should use it, baby should use it, meemaw should use it.

It's not the end all be all, things graphical in nature should be interacted with graphically, not even I would want to set individual pixels via the command line, but it should also not be seen as the last resort.
It should be seen as the first resort and only if it's truly truly truly truly, millions times truly that awful or simply required, then use a TUI and then a GUI.
Okay, THAT is hyperbole, but ...yeah, for reals... the terminal needs to be vindicated more, imho anyway.
 
Old 01-21-2020, 05:30 PM   #15
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,005
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
Quote:
Originally Posted by Geist View Post
I agree, that can be a pain, but is a file manager issue, really, or a lack of another command line tool.

After all, even if the files are randomly named, you still know at least some of the pattern, and if there truly is no pattern and you have a list of files you have to pick out of there, well, then you have a list of files you have to read or remember, so you could theoretically just write them down too.
Or...set the thing that generates these completely random files to put them into a named directory so you don't have to separete the pepper from the fly droppings, so to speak.
(As in, if those completely random names are inside a directory with more descriptive names, then you'd have to pick them bit by bit, or at least by inverting the selection of the sane files)

But, let's say that it's not a complete randomfest and you know what you're looking for, in that case a little utility that simply returns a list of files based on arguments, interpreting all arguments as wildcarded, and piping those into 7z would be better.

I mean, why scan the directory with your own eyes when you know what you're looking for (or you wouldn't click on the file when you see it) doing the work for the computer instead of the other way around, when you can tell the computer to do your work.

This is reminiscent of the "minimap" from the Sublime Text editor, one of the worst inventions ever devised that has set humanity back by putting the donkey in the carriage and the human in the front.

And worse, this eventually came full circle. People realized that having a tiny, nondescript matrix of dots was inferior to a clearly labeled outliner, sick of having to scrub through the dots to manually scan, they then used ASCII ART! To create more legible entries in the minimap so they could jump there...

Talk about feeding the dog through its butt.

Knowing what you look for, using a minimap to scan the 'visualized structure' of the file until your eyes spot the thing, getting sick of that, creating ascii art to 'make the minimap usable' and then using that as an outliner..to still click and drag instead of ...you know, named marks one could perhaps go to with a command, like :qmark foo_foo.


In fact, talking to the computer is so awesome, yet so 'forgotten' (or should I say exorcised by awful OS and thought paradigms) that shrewd businesses are now feeding the dog through the butt again by selling Alexas, Hey Googles and co.
Granted, they are cancerous blights of spyware, but their functionality is literally that of a shell.

Alexa find all files containing barbar!
grep -ir barbar ./*

It's crazy to me, people are paying money for something that was there all along, for someting computing basically STARTED with but simply didn't get to explore because terminal stuff kept being touted as "autismal ricer stuff only turbonerds/insufferable hipsters use", when ANYONE should use it, baby should use it, meemaw should use it.

It's not the end all be all, things graphical in nature should be interacted with graphically, not even I would want to set individual pixels via the command line, but it should also not be seen as the last resort.
It should be seen as the first resort and only if it's truly truly truly truly, millions times truly that awful or simply required, then use a TUI and then a GUI.
Okay, THAT is hyperbole, but ...yeah, for reals... the terminal needs to be vindicated more, imho anyway.
I gotta totally disagree. When you're just zipping 5 or 6 files for someone, but only need those few out of about a dozen (this is literally 99.99999999999999% of my compressing files), nothing, NOTHING is quicker and easier than using a gui.
 
2 members found this post helpful.
  


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
[SOLVED] How can I have zip -d file.zip "__MACOSX*" work on all zip files in directory? thomwblair Linux - Newbie 10 10-08-2018 02:30 PM
Segmenting archives into a variety of smaller archives. ktek Linux - Software 4 09-25-2008 04:47 AM
LXer: Handling RAR and 7-Zip archives in Linux LXer Syndicated Linux News 0 02-02-2007 07:21 AM
Zip/Gzip "split" archives? Megamieuwsel Linux - General 2 01-10-2004 09:59 AM
FYI: Antivirus scanner DoS with zip archives unSpawn Linux - Security 0 08-14-2001 07:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 07:18 PM.

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