Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract does not work #692

Open
lucmp opened this issue Oct 16, 2017 · 3 comments
Open

Extract does not work #692

lucmp opened this issue Oct 16, 2017 · 3 comments
Milestone

Comments

@lucmp
Copy link

lucmp commented Oct 16, 2017

I used to be able to right-click a zip file, select Extract and have the archive extracted. I just upgraded from Debian Jessie to Stretch, which brings a newer version of spacefm (1.0.5), and the Extract operation doesn't work anymore. The screen blinks, and nothing else happens.

@ncmprhnsbl
Copy link

you may need to set the archive handler:
rightclick>open>archive defaults>archive handlers

@lucmp
Copy link
Author

lucmp commented Oct 16, 2017

I've checked that, and everything seems ok. Running spacefm from a terminal, I can capture some output:

Archive Handler Selected: Zip

TASK_COMMAND(0x560a0d835150)=fm_handle_err() {
    fm_err=$?
    if [ $fm_err -ne 0 ]; then
       echo; echo -n '[ Finished With Errors ]  Press Enter to close: '
       read
       exit $fm_err
    fi
}

cd '/home/luc' || fm_handle_err
mkdir -p '/home/luc/Archive' || fm_handle_err
cd '/home/luc/Archive' || fm_handle_err
unzip '/home/luc/Archive.zip'
[[ $? -eq 0 ]] || fm_handle_err

SPAWN=/usr/bin/lxterminal  -e  fish  -e  /bin/bash  /tmp/spacefm-root-537ac386.tmp/435d6d91-tmp.sh  run
    pid = 2245
async child finished  pid=2245

@IgnorantGuru
Copy link
Owner

I would try a different terminal besides lxterminal in SpaceFM's Preferences. eg compare with something simple like xterm.

SpaceFM requires a terminal emulator which doesn't run multiple windows of itself from the same instance (or which supports an option for same). Otherwise SpaceFM may think the terminal has exited and it will appear to do nothing when running commands in it. It could be the new version of lxterminal violates this rule - they are forever breaking terminal options.

@IgnorantGuru IgnorantGuru added this to the waiting milestone Jan 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants