-
Notifications
You must be signed in to change notification settings - Fork 2
Ranger
🚧 This is a New Page! So it's under construction. I've got so much stuff I want to try out with this.
Ranger is a console file manager with vi key bindings. It provides a minimalistic and nice curses interface with a view on the directory hierarchy. It ships with rifle, a file launcher that is good at automatically finding out which program to use for what file type.
Obviously, Python and Ncurses are required. To really get the most out of this, you should get urxvt.
You'll also want to install these packages
w3m w3m-img xsel atool toilet toilet-fonts libcaca0 libcaca-dev caca-utils less mediainfo jhead ffmpegthumbnailer highlight poppler-utils
The binary version that comes with Raspbian is 1.6.1-1. The current stable is 1.7.2.
$ cd ~/Software
$ git clone https://github.com/hut/ranger
$ cd ranger
$ sudo make install
Ranger is pretty easy to use. Scroll up or down to view the contents of an item. Folders will show what's inside them. Source and text files will show the first few lines of what they have. And images will use w3mimgdisplay included with w3m to draw images directly in urxvt.
Yes! You read that right! Image Previews. But urxvt, xterm, and st can do this. I just like urxvt more than those others.
-
Get one of those terminals I just mentioned.
-
Install
w3mwith the image drawing feature. Since Raspbian is a fork of Debian, installw3m-imgtoo. All that should have been installed back in the prerequirements section. -
In
~/.config/ranger/rc.confaddset preview_images true. If it is set tofalseor ifpreview_imagesis misspelled, the images will be rendered in ASCII-form using theimg2txt(part ofcaca-utils'). So you'll probablly want to havetolietandlibcaca0` installed. -
Install the config files in
~/.config/ranger/.
```
ranger --copy-config=all
```
- Restart
rangerand navigate to an image. Actually you don't need to restart you just need to run it as usually. Simply typingranger
> :warning: **Warning!** Things will get messy, espeically if `rifle` shows the full size image instead of a preview. Which this next step should fix.
Setup
- [Assemble the Hardware](Assemble the Hardware)
- [Install the Software](Install the Software)
- SD Card Formatting and Image Mounting
- ❤️ [TLDR version](Install the Software#tldr)
- 🆕 [Windows version](Install the Software#doing-this-in-windows)
- 🆙 [Setup your Raspberry Pi](Setup your Raspberry Pi)
- [Download the Missing Parts](Download the Missing Parts)
- Clone this repo
- 🆕 [Install these first](Install these first)
-
Python(It's taken care of) - 🆙 CMake
- 🆙 Node
- 🆕 Expect (Tcl/Tk is not dead!)
- 🆙 tmux and ncurses
- 🆙 htop
- 🆙 wavemon
- Vim
- 🆙 Ruby
- 🆙 weechat
- 🆕 urxvt 256 color terminal!
- 🆕 i3 A better window manager
- 🆕 Ranger
- 🆙 Qt5
- 🆕 Chromium
wicd-curses- 📻 Software Defined Radio
- 🎮 [Linux Toys](Linux Toys)
Typical Utilities
- [Downloading and extracting with curl and tar](curl and tar)
- [Browsing with ls and cat](ls and cat)
- [Searching with grep and find](grep and find)
- [Filtering with sed and awk](sed and awk)
- [Piping with less, pv, and tee](less, pv, and tee)
- Monitor your system with htop
- Multiplex with tmux