SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2015-09-22 22:13:33

Teage
Member
From: New York State
Registered: 2012-09-24
Posts: 22

.tar .zip etc, right click menu help please [Solved]

Last edited by Teage (2015-09-23 17:15:39)

Offline

Help fund CrunchBang, donate to the project!

#2 2015-09-22 22:35:18

pingu
#! Junkie
Registered: 2014-12-05
Posts: 367

Re: .tar .zip etc, right click menu help please [Solved]

you can try xarchiver, it's much prettier with openbox than file-roller.


"We don't merge kernel code just because user space was written by a retarded monkey on crack."
Linus f****g Trovalds

Offline

#3 2015-09-22 22:40:07

Teage
Member
From: New York State
Registered: 2012-09-24
Posts: 22

Re: .tar .zip etc, right click menu help please [Solved]

Thats what I just now did. Looks much better. But I would still like to know how to do this with terminal. After some reading I found I would have to add my own command to custom actions. Will experemint .

Offline

#4 2015-09-22 23:19:34

Teage
Member
From: New York State
Registered: 2012-09-24
Posts: 22

Re: .tar .zip etc, right click menu help please [Solved]

Terminator is acting rude. For testing purpose i put this in thunar's custom actions , terminator -e bzip2 --help, and terminator opens for a split second and closes. Any Ideas why that would happen?

Offline

#5 2015-09-22 23:39:08

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: .tar .zip etc, right click menu help please [Solved]

Offline

#6 2015-09-22 23:46:38

Teage
Member
From: New York State
Registered: 2012-09-24
Posts: 22

Re: .tar .zip etc, right click menu help please [Solved]

** (terminator:8372): WARNING **: Binding '<Shift><Control>a' failed!
Unable to bind hide_window key, another instance/window has it.

Offline

#7 2015-09-23 09:50:58

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: .tar .zip etc, right click menu help please [Solved]

@OP   Do you have thunar-archive-plugin installed? That should deal with archives in the r-click context menu.

(I haven't found a solution for the terminator problem though...)

Offline

#8 2015-09-23 10:13:40

Teage
Member
From: New York State
Registered: 2012-09-24
Posts: 22

Re: .tar .zip etc, right click menu help please [Solved]

Yes I do. Im trying to add a custom right click action that will open the terminal and run gzip2 and extract a selected archive file. From what I have been reading it seems that the error I'm getting is specific to terminator. If I use urxvtcd I am able to achive what I want in my test. I really like terminator so I would like to stick with that. I'm still looking for a solution for terminator but so far to no avail.

Offline

#9 2015-09-23 10:55:05

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: .tar .zip etc, right click menu help please [Solved]

This terminal command works - the file is archived, but the terminator child window closes immediately.

$ ls
settings.cfg
$ terminator -e bzip2 settings.cfg 

** (terminator:3128): WARNING **: Binding '<Shift><Control>a' failed!
Unable to bind hide_window key, another instance/window has it.
$ ls
settings.cfg.bz2

Can you just use "bzip2 %f" as the custom command, or do you really need a terminal window open?

Offline

#10 2015-09-23 11:03:30

brontosaurusrex
#! Red Menace
Registered: 2012-06-15
Posts: 1,643

Re: .tar .zip etc, right click menu help please [Solved]

urxvt -e bash -c 'unp %F && (echo "ok"; sleep 1) || (echo "nope"; sleep 10)'

Last edited by brontosaurusrex (2015-09-23 19:08:50)

Offline

#11 2015-09-23 17:13:24

Teage
Member
From: New York State
Registered: 2012-09-24
Posts: 22

Re: .tar .zip etc, right click menu help please [Solved]

#! gimpbanger, That will work for me but it is nice to see it working. Thanks.  Im kind of taking a likeing to urxvt so I will be experimenting more with it.

I guess this is solved by not using terminator. I like the split window and resizing split window featurs in that program. What a shame.
I've played around with screen and byobu to get something simular but I'm not sure you are able to resize the windows inside the terminal.

#! Red Menace I really dig your theming.

Offline

#12 2015-09-23 17:20:06

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: .tar .zip etc, right click menu help please [Solved]

The terminal window closes when the command completes. I think this will be the same for most terminal apps.

BTW the name is "damo" tongue

Last edited by damo (2015-09-23 17:20:53)

Offline

#13 2015-09-23 17:49:40

pingu
#! Junkie
Registered: 2014-12-05
Posts: 367

Re: .tar .zip etc, right click menu help please [Solved]

I think terminator lets you keep it open though, in `Preferences > Profiles > Command > Hold the terminal open` (the default is `exit the terminal`)


"We don't merge kernel code just because user space was written by a retarded monkey on crack."
Linus f****g Trovalds

Offline

#14 2015-09-23 18:28:24

tknomanzr
#! Die Hard
From: Heavener, OK
Registered: 2014-12-09
Posts: 777

Re: .tar .zip etc, right click menu help please [Solved]

FWIW, xarchiver is merely a front-end for the various cli archiving utilities in Linux. If you expect it to have some functionality that is not there, best bet is to look at what archiving utilities you have installed.

Offline

#15 2015-09-23 18:48:08

brontosaurusrex
#! Red Menace
Registered: 2012-06-15
Posts: 1,643

Re: .tar .zip etc, right click menu help please [Solved]

Last edited by brontosaurusrex (2015-09-23 19:05:16)

Offline

#16 2015-09-23 23:13:26

Teage
Member
From: New York State
Registered: 2012-09-24
Posts: 22

Re: .tar .zip etc, right click menu help please [Solved]

#! Red Menace, Thats it!! Thank you thank you thank you.

Offline

#17 2015-09-23 23:17:55

Teage
Member
From: New York State
Registered: 2012-09-24
Posts: 22

Re: .tar .zip etc, right click menu help please [Solved]

terminator -e bzip2 --help , Seems that should have done the trick.
terminator -e bash -c 'bzip2 --help %F && (echo "ok"; sleep 1) || (echo "nope"; sleep 10)' , Does the what I had been trying to do.

Last edited by Teage (2015-09-23 23:18:17)

Offline

#18 2015-09-24 00:10:16

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: .tar .zip etc, right click menu help please [Solved]

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo