File Manager, Browser and Shell

This is the post 3 of 3 in the series: My Working Environment

Introduction

As you might have guessed from the last two posts in this series here and here, I love doing stuff the command line way. So this post will describe my file manager, browser, shell and it’s extensions.

zsh

I use zsh as my shell. I love the toppings we can add with zsh. Especially Oh My Zsh. Oh My Zsh has visual appeal as well as quite a lot of functionality. This is my zsh config file – zshrc

If you also install fortune, boxes, you will see random messages like these every time you invoke the shell.

 ______________________________________________
/\                                             \
\_| Excellent time to become a missing person. |
 |                                             |
 |  ___________________________________________|_
 \_/___________________________________________/
mbtamuli@techfreak ~ »

ranger

Ranger is the file manager I prefer using with i3. This is another command line based application. This is a fairly intuitive application for browsing around your file system using just the arrow keys. Obviously the arrow keys are not the only keys you can use. Also you can use commands like :mkdir dirname it also works.

Google Chrome

This is something I can’t stop using no matter what is said about Chrome being RAM hungry and other such stuff. I use extensions such as OneTab, AdBlock, Pocket, Pushbullet, and last but not the least Vimium.

Media Tools

This is the post 2 of 3 in the series: My Working Environment

Introduction

Okay, this post deals with tools I use to deal with my media files, namely, image, video and audio.

These are all very lightweight applications and run very fast. I will just just mention how to get started with these applications as lots of documentation as well as easy to read articles are present which explain their use better than I can explain. But if you have any doubts, you can still post a comment.

Feh

Starting with feh, use feh filename, to just view a file.

and to browse a directory,
feh -g 640x480 -d -S filename /path/to/directory

  • The -g flag forces the images to appear no larger than 640×480
  • The -d flag draws the file name
  • The -S filename flag sorts the images by file name

cmus

Now, with cmus, there are a lot of things you can do like with GUI music players like create libraries and playlist. I will mention some basic functionality.

enter(return key) – start playback
c – pause playback
v – stop playback
b – next track
z – previous track
s – toggle shuffle
x – restart track
i – jump view to the currently playing track (handy when in shuffle mode)
– reduce the volume by 10%
+ – increase the volume by 10%

mplayer

Well, I use this more than the other two tools. I also use this to play audio files sometimes. This is my config file for mplayer – config

For controlling the player,

Left and Right – Seek backward/forward 10 seconds.
Up and Down – Seek forward/backward 1 minute.
Page Up and Page Down – Seek forward/backward 10 minutes.
< and > – Go backward/forward in the playlist.
space – pause (pressing again unpauses).
q – stop playing and quit.
f – toggle fullscreen
v – toggle subtitle visibility.
x and z – adjust subtitle delay by +/- 0.1 seconds.

That’s it for this post. I’ll talk about the browser, file manager, shell and terminal I use next.

Ubuntu and i3

This is the post 1 of 3 in the series: My Working Environment

Introduction

I am using Ubuntu 16.04 desktop edition as my operating system. I have set up i3 as my Window Manager, and I must say, I am in love with i3. It is very easy to use and you can configure it to your heart’s joy!

There are some pretty cool stuff one can do.

To install i3 on Ubuntu, follow these steps – Install latest i3

Using i3

I find it very easy to use and it is light (on resources) and thus loads faster. You’ll appreciate this if you have a slow computer. As i3 is fully keyboard based, you’ll not find a conventional menu with icons. It does have a menu, dmenu, where you can type an executable’s name and it will launch it.
You can also specify applications to launch at startup in the i3 config file. You can find mine at – i3config

Here are some default keyboard shortcuts. In these, $mod means Windows key. It is something you can set, after installing i3 when you login the first time, it asks which key do you want to set as the MOD key, it gives the option of Alt or Super(Windows) key.

$mod+Return – Opens up the terminal
$mod+Shift+q – quit

Move Focus

$mod+Left – Focus window on the left
$mod+Down – Focus lower window
$mod+Up – Focus upper window
$mod+Right – Focus window on the left

Move Window

$mod+Shift+Left – Focus window on the left
$mod+Shift+Down – Focus lower window
$mod+Shift+Up – Focus upper window
$mod+Shift+Right – Focus window on the left

You can refer to more shortcuts here in this image – i3 reference

This is all for Ubuntu and i3. More posts to follow. Stay Tuned 🙂