I wanted it to auto-start with no need for keyboard and mouse. This, after all, was a fun trick and I would rather watch my gifs through the UI using all the modern image and video players.Great instructable - thanks! There were three changes I really wanted to make, and I've sorted two of them out so far. This script will automatically detect how many colors the current terminal uses and display the correct version.Īnd, this is how it looks when I play it in the Terminal through the following command: $ gif-for-cli sample.gifĬalling it “close enough” would be nothing short of exaggeration. Open the Terminal application and use the following syntax to play a gif: $ gif-for-cli filename.gif Animation and color support are performed using ANSI escape sequences. The gif for cli takes in a GIF, short video, or a query to the Tenor GIF API and converts it to animated ASCII art. Through the above dialog, you cannot launch the tool directly but you can Remove it immediately for whatever reason. Gif-for-cli will then be installed on your system and you will get the following message after a successful installation: After that, the installation process will begin, displaying a progress bar as follows: Enter your password and click the Authenticate button. Please note that only an authorized user can add/remove and configure software on Ubuntu. The following authentication dialog will appear for you to provide your authentication details as only an authorized user can install software on Ubuntu. Click on this search entry to open the following view:Ĭlick the Install button to begin the installation process. The gif-for-cli entry listed here is the one maintained by the Snap store. The search results will list the relevant entries as follows: On your Ubuntu desktop Activities toolbar/dock, click the Ubuntu Software icon.Ĭlick the search icon and enter ‘gif-for-cli’ in the search bar. Please follow these steps in order to install the Gif for CLI tool, available on the Snap store, through the Ubuntu UI: If you ever want to remove Gif for CLI installed through this method, you can use the following command in the Terminal: $ sudo snap remove gif-for-cliĪdvertisement Installing GIF-for-CLI through the Ubuntu UIįor a person who does not want to open the Command Line much, installing a software through the UI is very simple. The similar output as I got will indicate the completion of the installation and will also print the Gif for CLI version installed on your system. Now type in the following command in order to install Gif for CLI to your Ubuntu: $ sudo snap install -edge gif-for-cli If you are using an older version, you can use the following command to install the daemon: $ sudo apt-get install snapd Since the Snap daemon comes by default in the latest versions of Ubuntu, we do not need to install it. Enter the following command in order to refresh the list of available packages: $ sudo apt-get update Open your Ubuntu Terminal either through the Application Launcher search or by using the Ctrl+Alt+T shortcut. You can install the Gif for CLI tool via the Snap store through the Ubuntu command line. Installing GIF-for-CLI through the Command Line We have run the commands and procedures mentioned in this article on a Ubuntu 18.04 LTS system. The command-line tools do not use too many resources and thus form great alternatives to the widely used graphical applications, especially if you are stuck up with older hardware. So, why should gif viewing be any different! Using the Terminal makes certain tasks more efficient and, even faster. There is always a way to do almost all of our stuff right inside the Terminal. If you are a Terminal-savvy person, you wouldn’t want to leave the comfort of the command line and go somewhere else to do any of your daily technical activities. In this article, we will explain how you can install the GIF for CLI tool on your Ubuntu and watch gifs through it inside the Terminal. Thus this trick is not what you can rely on but try once in a while just for fun. I tried the trick with various gifs and came to the conclusion that only some animated cartoon gifs could be watched and fairly interpreted in the Linux command line. It is the GIF-for-CLI application he had used to do so which only plays gifs in ASCII format-obviously they seem very low resolution and barely watchable. If he had said ‘through’ the Terminal, it was not a big deal, but how he played them inside the Terminal is what intrigued us. A friend mentioned that he has played gifs “in” the Terminal. It boiled down to what is the most geekiest or Terminal-savvy thing we have ever done with our command line. So yesterday, me and some geeky friends were sitting and discussing the power of the Linux Terminal application.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |