Ranger: Potential issue with Ubuntu 18 LTS? Image Preview not working

Created on 25 Jun 2018  路  2Comments  路  Source: ranger/ranger

Runtime Environment

  • Operating system and version: Ubuntu 16 vs 18.04 LTS
  • Terminal emulator and version: Tested on gnome-terminal, urxvt and st
  • Python version: 2.7.15rc1
  • Ranger version/commit: stable 1.8.1

Current Behavior

Image preview not showing on Ubuntu 18 LTS (w3m & feh installed).
config:

set preview_images true
set preview_images_method w3m
set open_all_images true

Works as expected on another machine running Ubuntu 16 with the same config

Most helpful comment

I had the same problem recently. As I found out, the newer version of ranger on ubuntu 18.04 have some breaking changes in scope.sh file. Therefore, i recommend you to do something like

mv ~/.config/ranger/scope.sh{,.bak}
ranger --copy-config=scope

to get it working.

All 2 comments

I had the same problem recently. As I found out, the newer version of ranger on ubuntu 18.04 have some breaking changes in scope.sh file. Therefore, i recommend you to do something like

mv ~/.config/ranger/scope.sh{,.bak}
ranger --copy-config=scope

to get it working.

Thank you that fixed it for me as well

Was this page helpful?
0 / 5 - 0 ratings