<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Hamdi Jr</title>
    <description>The latest articles on Forem by Hamdi Jr (@jrhamdi).</description>
    <link>https://forem.com/jrhamdi</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F524372%2F07b91233-0c8a-4159-99d0-04c08287730d.png</url>
      <title>Forem: Hamdi Jr</title>
      <link>https://forem.com/jrhamdi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/jrhamdi"/>
    <language>en</language>
    <item>
      <title>How to Live Boot Kali Linux</title>
      <dc:creator>Hamdi Jr</dc:creator>
      <pubDate>Thu, 17 Dec 2020 15:14:54 +0000</pubDate>
      <link>https://forem.com/jrhamdi/how-to-live-boot-kali-linux-15ia</link>
      <guid>https://forem.com/jrhamdi/how-to-live-boot-kali-linux-15ia</guid>
      <description>&lt;p&gt;We all find it difficult to use virtual machines or dual-booting Kali Linux just for testing purposes. In my case, I'm already dual booting and don't want to mess around with virtual machines and I have the perfect solution for it- &lt;strong&gt;Live Booting&lt;/strong&gt;. Before we begin, let's talk about live booting.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is live booting?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The concept of live booting is quite simple. You can install a live distro on your USB and boot from it without making any changes to your hard disk. Each time you boot from this live USB it will be a fresh distro with no data from previous use. But if you want to save your data then with a little bit of work you can add persistence which will act as storage.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fyumjjfm5ajoo0oj8fu89.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fyumjjfm5ajoo0oj8fu89.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Requirements for live booting:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A USB stick with a minimum of 8GB of memory&lt;/li&gt;
&lt;li&gt;Stable internet connection&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Advantages of dual-booting:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It makes no changes to the hard drive or installed OS, and to go back to normal operations, you simply remove the USB and restart the system.&lt;/li&gt;
&lt;li&gt;You can use all your system resources&lt;/li&gt;
&lt;li&gt;You can take your OS to any PC you use.&lt;/li&gt;
&lt;li&gt;You can either choose to start fresh after restarting or continue previous work by adding persistence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Let's start live booting&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We already talked about live booting and its advantages. Without wasting any more time let's start doing :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Downloading Kali live image&lt;/strong&gt; - The first step is to download the distro. We need the &lt;a href="https://cdimage.kali.org/kali-2020.4/kali-linux-2020.4-live-amd64.iso" rel="noopener noreferrer"&gt;Kali Linux(live)&lt;/a&gt; to flash our USB.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Flashing our USB stick&lt;/strong&gt; - Next we need to flash this USB stick with our kali live image. To do this, you need a tool called &lt;a href="https://www.balena.io/etcher/" rel="noopener noreferrer"&gt;balenaEtcher&lt;/a&gt;. Download this for the respective operating system you are using now.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;if you are using Linux, extract the downloaded file.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;Now open Etcher and select flash from file and choose            our downloaded kali live .iso file&lt;/li&gt;
&lt;li&gt;Click on select target and choose your USB stick &lt;/li&gt;
&lt;li&gt;Click on Flash.
After waiting for some time the flashing process will finish and you are ready to go.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fl7g849a1qo67sq19usyc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fl7g849a1qo67sq19usyc.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Setting up persistence&lt;/strong&gt; - If you don't want Kali to save any data and start fresh every time you restart, then this step is not needed. In this method, we are creating a partition called persistence which will act as a hard drive to store data.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This step is divided into two parts for Windows and Linux. For Windows, you need &lt;a href="https://www.partitionwizard.com/free-partition-manager.html" rel="noopener noreferrer"&gt;miniTool partition wizard&lt;/a&gt;. Let's begin:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Persistence for Windows - We are using minitool partition wizard for this step.

&lt;ul&gt;
&lt;li&gt;Launch the application, right-click on your application and click on &lt;strong&gt;Move/Resize&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fbgequlf1or3jxz31cik7.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fbgequlf1or3jxz31cik7.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Use the small black arrow keys to shrink the partition size and click &lt;strong&gt;OK&lt;/strong&gt;. A large new grey chunk of unallocated space appears This is the size of your persistence. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fl8wufwaf6hs0isfxslw2.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fl8wufwaf6hs0isfxslw2.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Right-click on the unallocated space and click on create. Now create the partition as &lt;strong&gt;primary&lt;/strong&gt;, File system: &lt;strong&gt;Ext4&lt;/strong&gt; and label: &lt;strong&gt;persistence&lt;/strong&gt;. Now click &lt;strong&gt;OK&lt;/strong&gt; and click on &lt;strong&gt;Apply&lt;/strong&gt; in the top left corner. It will take some time to finish.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fqyk0p6ttda9pumr641nk.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fqyk0p6ttda9pumr641nk.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Persistence for Linux - We don't have any tools for this step. You can use &lt;strong&gt;disk&lt;/strong&gt; which comes with the distro. You can also use GParted if you want.

&lt;ul&gt;
&lt;li&gt;Open the disk tool and select your USB disk. You can see there is a partition called free space. Select the free space and click on the &lt;strong&gt;+&lt;/strong&gt; button.&lt;/li&gt;
&lt;li&gt;Now click on next and name the partition as &lt;strong&gt;persistence&lt;/strong&gt; and type: &lt;strong&gt;Ext4&lt;/strong&gt;. Now click on create and wait for it to finish.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F49tpq7uqxsf8gwkjg5ar.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F49tpq7uqxsf8gwkjg5ar.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We have successfully created the partition and we are ready to move on.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Configuring the Partition&lt;/strong&gt; - We are at the final step now. Once the partition manager is finished, reboot your computer and boot it up from your USB drive. Choose the option "Live USB Persistence" and wait for the distro to boot up.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fzdd8mzfa3r5655yuhiqi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fzdd8mzfa3r5655yuhiqi.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now open the terminal and type in the following:&lt;br&gt;
     * &lt;code&gt;mkdir -p /mnt/my_usb&lt;/code&gt; - making a file system to mount&lt;br&gt;
     * &lt;code&gt;mount /dev/sdb2 /mnt/my_usb&lt;/code&gt;- mounting the filesystem&lt;br&gt;
     * &lt;code&gt;echo "/ union" &amp;gt; /mnt/my_usb/persistence.conf&lt;/code&gt; - adding the configuration file.&lt;br&gt;
     * &lt;code&gt;umount /dev/sdb2 &amp;amp;&amp;amp; reboot&lt;/code&gt; - unmounting and restarting&lt;br&gt;
Success!! We have added persistence and if you make any changes and restart you can still see the changes. You are now able to save stuff everywhere on your Linux filesystem, and every configuration you make locally will be available everywhere you plug it in &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt; - I hope this blog helped someone out there. I would recommend this for someone who is trying a new distro or for someone who is learning. If you find any difficulties or have any suggestions please mention them in the comment section. Hope you enjoyed the blog. &lt;/p&gt;

</description>
      <category>linux</category>
      <category>ubuntu</category>
      <category>tutorial</category>
      <category>watercooler</category>
    </item>
    <item>
      <title>How to Make Vim a Python IDE - Best IDE for Python.</title>
      <dc:creator>Hamdi Jr</dc:creator>
      <pubDate>Wed, 09 Dec 2020 15:47:00 +0000</pubDate>
      <link>https://forem.com/jrhamdi/how-to-make-vim-a-python-ide-best-ide-for-python-23e1</link>
      <guid>https://forem.com/jrhamdi/how-to-make-vim-a-python-ide-best-ide-for-python-23e1</guid>
      <description>&lt;p&gt;Hello everyone,&lt;br&gt;
I'm back with another Linux tutorial. We are going to talk about something which is also my personal favorite - &lt;strong&gt;VIM&lt;/strong&gt;.&lt;br&gt;
We are all fed up with iDE's and text editors which takes years to open up and setting up these things takes more time than writing the whole code. That's why I have come up with the best solution.&lt;/p&gt;
&lt;h4&gt;
  
  
  &lt;strong&gt;What's Vim?&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Before we go any further, let's talk about what vim is. Vim is a very lightweight text editor that can be customized however we want. It normally runs in the terminal and is very easy to learn.&lt;/p&gt;
&lt;h4&gt;
  
  
  &lt;strong&gt;Why Vim?&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;As I mentioned earlier, Vim is very fast and highly customizable. Also, who doesn't want to work on an IDE   which opens up within a second? Another reason to choose vim is because of its keyboard shortcuts. While using vim you don't need to touch the mouse. This will reduce your coding time by half. I'm sure by the end of the day, you will be a fan. Let's get started now.&lt;/p&gt;

&lt;p&gt;After this tutorial, our vim will look like :&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Ffnkqpo9g63fa7xgsit5b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Ffnkqpo9g63fa7xgsit5b.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h4&gt;
  
  
  &lt;strong&gt;Installing Vim&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Vim installation is a very easy step. For now, I'm going to focus on Linux installation but I'll provide the links for other operating systems.&lt;br&gt;
&lt;strong&gt;Windows&lt;/strong&gt; - &lt;a href="https://www.freecodecamp.org/news/vim-windows-install-powershell/" rel="noopener noreferrer"&gt;Vim in windows&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Mac&lt;/strong&gt; - We are going to install vim using &lt;a href="https://brew.sh/" rel="noopener noreferrer"&gt;Homebrew&lt;/a&gt;. Open your terminal and type:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ brew update
$ brew install vim
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will install vim on your machine.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Linux&lt;/strong&gt; - Installing vim in Linux is very easy. Open your terminal and type:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;For Debian based distros:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ apt-get remove vim-tiny
$ apt-get update
$ apt-get install vim
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;For Arch based distros:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;pacman -S vim
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;For fedora:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;dnf install vim-enhanced
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  &lt;strong&gt;Installing Plugin Manager&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Vim comes with a native plugin manager but we have something better than that. We are going to install &lt;strong&gt;Vundle&lt;/strong&gt;. It makes installing and updating packages trivial.&lt;br&gt;
Let's install vundle:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Open your terminal and type :
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;This will clone the vundle repository in your machine.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Next step is the vim configuration file(vimrc). You will need this file throughout the tutorial. Do the following in your terminal:
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ cd ~
$ touch ~/.vimrc
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;ul&gt;
&lt;li&gt;Add vundle to your vim configuration. Go to your terminal and type:
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ nano ~/.vimrc
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;this will open the vimrc file. Now copy the code below and paste it there.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;filetype off                  " required

" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()

" let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim'

" All of your Plugins must be added before the following line
call vundle#end()
filetype plugin indent on
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now &lt;code&gt;ctrl+o&lt;/code&gt; to write the file then press &lt;code&gt;Enter&lt;/code&gt; and finally &lt;code&gt;ctrl+x&lt;/code&gt; to exit the editor.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Now let's install vundle plugin inside vim. fire up your terminal and type &lt;code&gt;vim&lt;/code&gt; and now vim will load up. Now type &lt;code&gt;:PluginInstall&lt;/code&gt; and press &lt;code&gt;Enter&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Making Vim an IDE&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Now comes the best part - Installing all plugins to make vim an IDE. This step is very easy, we are going to add a line in our vimrc and go to vim and install it. Dont worry this may look a bit confusing but it's very easy. Let's get started :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Open your terminal type &lt;code&gt;sudo nano ~/.vimrc&lt;/code&gt; and clear everything there and then paste the code:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;set nocompatible              " required
filetype off                  " required
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'

" All Plugins

Plugin 'mhartington/oceanic-next'
Plugin 'tmhedberg/SimpylFold'
Plugin 'vim-scripts/indentpython.vim'
Plugin 'vim-syntastic/syntastic'
Plugin 'nvie/vim-flake8'
Plugin 'scrooloose/nerdtree'
Plugin 'jistr/vim-nerdtree-tabs'
Plugin 'kien/ctrlp.vim'
Plugin 'tpope/vim-fugitive'
Plugin 'zxqfl/tabnine-vim'
Plugin 'frazrepo/vim-rainbow'
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
Plugin 'davidhalter/jedi-vim'
Plugin 'ycm-core/YouCompleteMe'


call vundle#end()            " required
filetype plugin indent on    " required


" setting horizontal and vertical splits
set splitbelow
set splitright

"split navigations
nnoremap &amp;lt;C-J&amp;gt; &amp;lt;C-W&amp;gt;&amp;lt;C-J&amp;gt;
nnoremap &amp;lt;C-K&amp;gt; &amp;lt;C-W&amp;gt;&amp;lt;C-K&amp;gt;
nnoremap &amp;lt;C-L&amp;gt; &amp;lt;C-W&amp;gt;&amp;lt;C-L&amp;gt;
nnoremap &amp;lt;C-H&amp;gt; &amp;lt;C-W&amp;gt;&amp;lt;C-H&amp;gt;

" Enable folding
set foldmethod=indent
set foldlevel=99

" Enable folding with the spacebar
nnoremap &amp;lt;space&amp;gt; za


" Setting up indendation

au BufNewFile, BufRead *.py
    \ set tabstop=4 |
    \ set softtabstop=4 |
    \ set shiftwidth=4 |
    \ set textwidth=79 |
    \ set expandtab |
    \ set autoindent |
    \ set fileformat=unix

au BufNewFile, BufRead *.js, *.html, *.css
    \ set tabstop=2 |
    \ set softtabstop=2 |
    \ set shiftwidth=2

highlight BadWhitespace ctermbg=red guibg=darkred
au BufRead,BufNewFile *.py,*.pyw,*.c,*.h match BadWhitespace /\s\+$/

let g:ycm_autoclose_preview_window_after_completion=1
map &amp;lt;leader&amp;gt;g  :YcmCompleter GoToDefinitionElseDeclaration&amp;lt;CR&amp;gt;

" setting up pyflakes

let python_highlight_all=1
syntax on

" nerd tree settings
let NERDTreeIgnore=['\.pyc$', '\~$'] "ignore files in NERDTree

" setting up line numbering
set nu

" Rainbow bracket settings
let g:rainbow_active = 1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Just like we did before press &lt;code&gt;ctrl+o&lt;/code&gt; to write and &lt;code&gt;Enter&lt;/code&gt; to save. Then press &lt;code&gt;Ctrl+x&lt;/code&gt; to exit.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;The next step is to install everything using the plugin manager. Open the terminal and type &lt;code&gt;vim&lt;/code&gt;. Now, install the plugin by typing &lt;code&gt;:PluginInstall&lt;/code&gt;. This will take some time but it will install all the plugins.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The ycmserver error - when you open vim you may encounter some errors but don't worry, it's very easy to fix it. open your terminal and type:&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ pip install cmake
$ cd ~/.vim/bundle/YouCompleteMe
$ ./install.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Let's set up a color scheme for our IDE. We are going to install the oceanic theme for now. fire up your terminal and type:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ git clone https://github.com/mhartington/oceanic-next.git
$ cd oceanic-next
$ cp colors/OceanicNext.vim ~/.vim/colors
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now open your vimrc and add the color schemes. To do this open your terminal and type :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ nano ~/.vimrc
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;this will open your vimrc file. Now paste the code below there:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;" Theme
 syntax enable
" for vim 7
 set t_Co=256

" for vim 8
 if (has("termguicolors"))
  set termguicolors
 endif

colorscheme OceanicNext
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now &lt;code&gt;Ctrl+o&lt;/code&gt; to write and press &lt;code&gt;Enter&lt;/code&gt; to save it. Press &lt;code&gt;Ctrl+x&lt;/code&gt; to exit.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Flt2ansjad8v8ejvlhfu8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Flt2ansjad8v8ejvlhfu8.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fiks9fprso4wxdmgf2e7k.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fiks9fprso4wxdmgf2e7k.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F2e0j4h15qhmcbz71sede.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F2e0j4h15qhmcbz71sede.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Nicely done guys. We made vim a powerful yet lightweight ide.&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Features of our new Vim IDE&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;We did so many things but I did not explain what we were doing or what features we added to our Vim-Ide. Trust me, you guys are going to be surprised when you hear the features of your new ide. Let's get into it now.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Split layout&lt;/strong&gt; - If you open a file with :sp , you split the layout vertically (opening the new file below the current file). If you reverse the keys to :vs , you get a horizontal split (opening the new file to the right of your current file).Key combos: &lt;code&gt;Ctrl&lt;/code&gt; + &lt;code&gt;j&lt;/code&gt;  move to the split below, &lt;code&gt;Ctrl&lt;/code&gt; + &lt;code&gt;k&lt;/code&gt;move to the split above, 
&lt;code&gt;Ctrl&lt;/code&gt; + &lt;code&gt;l&lt;/code&gt; move to the split to the right,&lt;code&gt;Ctrl&lt;/code&gt; + &lt;code&gt;h&lt;/code&gt; move to the split to the left.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F3dgx4u0z3wu2nzyv7r06.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F3dgx4u0z3wu2nzyv7r06.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Code Folding&lt;/strong&gt; - Modern IDEs can fold the codes at functions and import statements, by showing the first line only. You can also do it here by pressing the &lt;code&gt;Space&lt;/code&gt; key.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F0eu4jisa8s1pit2525g6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F0eu4jisa8s1pit2525g6.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Autocomplete&lt;/strong&gt; - Just like any other IDE, vim can predict what you are going to do next.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Frimb656db0nq5xfn0itg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Frimb656db0nq5xfn0itg.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Super Searching&lt;/strong&gt; - You can navigate to any file or any tag just by pressing &lt;code&gt;Ctrl&lt;/code&gt; + &lt;code&gt;p&lt;/code&gt;. This is one of my favorite features of vim.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F217rs2zqpfe3ho4hnck2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F217rs2zqpfe3ho4hnck2.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Syntax Checking/Highlighting&lt;/strong&gt; - After you write the code in vim. Our flake-8 and syntastic plugin will highlight all the errors in your code and also tell you how to fix it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F8v7qpqmpnyxpu68x2ku4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F8v7qpqmpnyxpu68x2ku4.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We have added almost every feature of ide to our vim. You can now code in a feature-rich ide without having to wait an hour to open up.&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Small Intro to Vim&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;I believe some of you have experience using vim. It's okay even if you don't have any, I will give you a small intro of the basics.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Modes&lt;/strong&gt; - Vim is usually opened in command mode, this means that you can write anything but you do all other commands here like we installed the plugins. Commands usually start with &lt;code&gt;:&lt;/code&gt;.  In order to change from command mode to writing mode press &lt;code&gt;i&lt;/code&gt;. You are now in insert mode, you can write everything here and go back to command mode by pressing &lt;code&gt;Esc&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Writing, saving, and exiting&lt;/strong&gt; -  When we change to insert mode from command mode(&lt;code&gt;i&lt;/code&gt;) we can edit the code. After we finish, we need to save this and exit, but how?&lt;br&gt;
To do this, you need to go back to command mode by pressing &lt;code&gt;Esc&lt;/code&gt; and press &lt;code&gt;:w&lt;/code&gt; to write everything. you can exit the editor by using the command &lt;code&gt;:q&lt;/code&gt;. If we need to exit without saving, use the command &lt;code&gt;:q!&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Additional resource&lt;/strong&gt; - If you need to learn more about vim and its features, go to &lt;a href="http://vimcasts.org/" rel="noopener noreferrer"&gt;vimcasts&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Conclusion&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Vim is something every programmer should try at least once. I hope this blog helped someone or encouraged someone to try it out. There are tons of plugins out there, go find yours and try them out. If you find any difficulties, please let me know in the comments. That's it for today and I will be back with another tutorial soon.&lt;/p&gt;

</description>
      <category>vim</category>
      <category>python</category>
      <category>linux</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>How To Install Pop Shell Window Tiling Extension On Ubuntu 20.04 Or 20.10, Fedora, Debian, And Arch Linux Or Manjaro</title>
      <dc:creator>Hamdi Jr</dc:creator>
      <pubDate>Fri, 04 Dec 2020 15:43:59 +0000</pubDate>
      <link>https://forem.com/jrhamdi/how-to-install-pop-shell-window-tiling-extension-on-ubuntu-20-04-or-20-10-fedora-debian-and-arch-linux-or-manjaro-47fj</link>
      <guid>https://forem.com/jrhamdi/how-to-install-pop-shell-window-tiling-extension-on-ubuntu-20-04-or-20-10-fedora-debian-and-arch-linux-or-manjaro-47fj</guid>
      <description>&lt;p&gt;Ever wondered how these linux power users customize their desktop.The beauty is that in Linux, it is easy to become a power user because everything is customizable. So you can become one too. In this blog we are going to talk about tiling window managers. Ever get tired of using your mouse to open a minimized window or copy pasting code from your browser to editor. This step will take some of your precious time because you either need to close or minimize the first window. This is where the tiling window manager comes in.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;What is tiling window manager?&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;When you install linux there is a lot of software that comes with it, A window manager is one among these software. Usually the window manager that comes built-in is a stacking window manager. This means windows are stacked on top of each other. Other than this, there is another window manager called &lt;strong&gt;Tiling Window Manager&lt;/strong&gt; . In this window manager, they position windows in tiles or grids (like in a phone’s gallery application) and stacks or floating layouts etc. A tiling window manager is a graphical application that helps you organize your desktop windows and gives you the extra feature of controlling your desktop with only your keyboard.&lt;/p&gt;

&lt;p&gt;This is what a tiling window manager looks like:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Ffgdg81fha3xvc68hu7md.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Ffgdg81fha3xvc68hu7md.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Now let's talk about the advantages of tiling window managers:&lt;/strong&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;With a tiling window manager, you get a window manager that positions your windows for you as you open them, and all you get to do is control the layouts in which you want your windows to be placed.&lt;/li&gt;
&lt;li&gt;Also the tiling window manager has its keyboard configurations. This means you can control the entire desktop with keyboard shortcuts. &lt;/li&gt;
&lt;li&gt;Within a week you will learn to use this window manager and your fingers will develop muscle memory of the keyboard shortcuts. Therefore switching between windows feels like an automatic process.&lt;/li&gt;
&lt;li&gt;This will definitely improve your workflow and save your time. &lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Popular tiling window managers&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;There are many tiling window managers but among them there are a few popular wm. Some of these well known tiling window managers are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Awesome WM&lt;/li&gt;
&lt;li&gt;i3wm&lt;/li&gt;
&lt;li&gt;bwspm&lt;/li&gt;
&lt;li&gt;Pop Shell&lt;/li&gt;
&lt;li&gt;Xmonad&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We are going to install &lt;strong&gt;Pop shell&lt;/strong&gt; as it is convenient and easy. Another reason I chose Pop Shell is because it comes as an extension and you can always return to your stacking window mode within a second.Also we don't need to change our desktop environment either. In case you have doubts about this, I recommend installing this and trying it once.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Without further ado, let's get it into it&lt;/strong&gt;
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;The distro I'm using is Ubuntu 20.10 but it works with all debian based distros.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Pop Shell was introduced by system76 for pop os but they made it available for linux distros . Compared to other display managers, the installation step is very easy. As I said earlier, we are installing it as an extension, therefore you need to enable extensions in your tweaks tool. Now let's start the installation process:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Install all the dependencies&lt;/strong&gt; - We need to install some dependencies in order to install and run this extension. To do that, open your terminal and type in the following command
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo apt install node-typescript make
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Cloning shell repository&lt;/strong&gt; - After doing that, the next step is to clone the official github repository. So once again go to your terminal and type
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git clone https://github.com/pop-os/shell
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Installing the extension&lt;/strong&gt; - The next step is to install this extension. So on your terminal type :
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cd shell
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will move you to the shell folder and you can now type this code in your terminal:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;make local-install
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fih617s5rm4u05whfeue8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fih617s5rm4u05whfeue8.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Last step will install the extension in most distros. But in my case, I faced an error :&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;make: *** [Makefile:61: enable] Error 2&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Don't worry, this error is very easy to solve. You just &lt;br&gt;
  need to reboot your system and the error will be &lt;br&gt;
  resolved.Now repeat the second step and it will be &lt;br&gt;
  installed without any trouble. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Restart your device&lt;/strong&gt; - After successfully completing all the steps mentioned above, you just need to restart your device and everything is done&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  &lt;strong&gt;Using Pop shell&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Using the pop shell is very easy. You will find a new icon at the topbar. Click there and toggle tile windows option. The windows will be tilled now. In case you want to go back to stack window mode, click the extension again and turn it off.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F611n3cxwgcl7up7fxrh1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F611n3cxwgcl7up7fxrh1.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  &lt;strong&gt;Uninstalling Pop Sell&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;In case you did not like the pop shell or you want to remove it for another reason, follow these steps:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Open your terminal and type in the following:
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cd shell
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;this will move you to the shell folder and now type the following:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;make uninstall
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This step will remove the extension from your device.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Some useful links :&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;If you have successfully installed the pop shell and are going to continue with it, I'll be providing you with some links that may prove useful to you:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/pop-os/shell" rel="noopener noreferrer"&gt;official pop shell repo&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://support.system76.com/articles/pop-keyboard-shortcuts/" rel="noopener noreferrer"&gt;pop shell keyboard shortcuts&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Conclusion&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Tiling window managers are awesome. But this is not for everyone, so I recommend trying this out once and you can always go back if you are having trouble.If you are someone who needs to improve workflow then this is for you. But if you are someone who would like to stick to the basics and doesn't want to ruin the existing workflow then I suggest you use this. Anyway, it's up to you whether you want to continue or not.&lt;/p&gt;

&lt;p&gt;I hope this blog proved useful to you. This is the result of my continuous research and hardwork. If you face any trouble, feel free to contact me at &lt;a href="mailto:neoblaze24@gmail.com"&gt;neoblaze24@gmail.com&lt;/a&gt; .I would be glad to help you out.&lt;br&gt;
Bye for now.&lt;/p&gt;

</description>
      <category>linux</category>
      <category>tutorial</category>
      <category>ubuntu</category>
      <category>watercooler</category>
    </item>
    <item>
      <title>Minimalist Ubuntu 20.04/20.10, Linux mint, debian Customization</title>
      <dc:creator>Hamdi Jr</dc:creator>
      <pubDate>Thu, 03 Dec 2020 18:31:39 +0000</pubDate>
      <link>https://forem.com/jrhamdi/minimalist-ubuntu-20-04-20-10-linux-mint-debian-customization-he9</link>
      <guid>https://forem.com/jrhamdi/minimalist-ubuntu-20-04-20-10-linux-mint-debian-customization-he9</guid>
      <description>&lt;h2&gt;
  
  
  Hello World!!,
&lt;/h2&gt;

&lt;p&gt;Everyone want their desktop to look cool or elegant.This not only improves the look of your desktop but also improves your workflow and creates an interest to work more on it. This were linux comes in, in my case its &lt;strong&gt;Ubuntu 20.10&lt;/strong&gt;. But the same steps can be used on any debian based disto. Linux gives its user full control over his machine. We can customize linux however we want and its okay to mess up too, because you can always fix it or go back to previous.&lt;/p&gt;

&lt;p&gt;I will give you screenshot of desktop after customization so that you can understand what we are doing.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F2q4925b4eoa6nbpttgeh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F2q4925b4eoa6nbpttgeh.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This how a basic ubuntu 20.10 looks like:&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fbhzqfmbywx02xz29r38z.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fbhzqfmbywx02xz29r38z.jpeg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;So without further due lets get into it!&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We need to install &lt;strong&gt;gnome tweak tools&lt;/strong&gt; which allows us to customize our desktop. This very a very easy as well as important step. &lt;br&gt;
In order to install this:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Open your terminal and paste this code into it
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo apt install gnome-tweaks
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fsf0s20lai2na9uiydfwn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fsf0s20lai2na9uiydfwn.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The next step is to install themes and icon packs into our desktop. You can install the same themes, If you want to replicate my desktop. You have to do some things at first before installing themes.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;First step to enable user themes from gnome extensions.&lt;br&gt;
for that you need to got to: &lt;br&gt;
&lt;a href="https://extensions.gnome.org/extension/19/user-themes/" rel="noopener noreferrer"&gt;User themes&lt;/a&gt;.Turn on the this extension and now you are ready to move to next step. If you have trouble with installing gnome extension, refer this &lt;a href="https://itsfoss.com/gnome-shell-extensions/" rel="noopener noreferrer"&gt;extensions&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The next step is to install ocs url which allows ypu to install themes easily. For that you need to go the this link&lt;br&gt;
&lt;a href="https://www.opendesktop.org/p/1136805" rel="noopener noreferrer"&gt;ocs url&lt;/a&gt;. Now click on download button and select debian package. If you have another distro like arch or fedora then click on the respective links. Next Step is to install the ocs url. For that you need to open terminal in the location where you have downloaded it, in my case its Downloads folder. After opening terminal type in:&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo dpkg -i ocs-url_3.1.0-0ubuntu1_amd64.deb
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fooxd6enufdi4cyyexpxe.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fooxd6enufdi4cyyexpxe.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;We are all set to install themes now.First theme we are going to install is &lt;a href="https://www.gnome-look.org/p/1267246/" rel="noopener noreferrer"&gt;Nordic&lt;/a&gt;. The installation step is quite simple, click on &lt;code&gt;install&lt;/code&gt; button select &lt;strong&gt;nord bluish accent&lt;/strong&gt; and now the ocs url will pop up and click on the install button.&lt;br&gt;
The second step is to install &lt;a href="https://www.gnome-look.org/p/1357889/" rel="noopener noreferrer"&gt;orchis&lt;/a&gt;. The installation step is similar but this time you need to install &lt;strong&gt;orchis compact&lt;/strong&gt;. Now we have to install an icon pack.For that we are going to install &lt;a href="https://www.gnome-look.org/p/1359276/" rel="noopener noreferrer"&gt;tela circle icon&lt;/a&gt;. Install it using the same method mentioned above. I installed &lt;strong&gt;tela circle blue&lt;/strong&gt; but you can choose any from there.Install the cursor pack from &lt;a href="https://www.gnome-look.org/p/1365214/" rel="noopener noreferrer"&gt;layan&lt;/a&gt; and you can choose any variant. Now you need to select a wallpaper. You can either chose your own wallpaper or use mine.Link to my wallpaper is &lt;a href="https://www.deviantart.com/insanitykitsune/art/Rin-Shelter-Wallpaper-647774231" rel="noopener noreferrer"&gt;Wallpaper&lt;/a&gt;.If you Finish all these steps then you are ready to move on to next step.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Now we need to set these thing on our device using gnome tweak tools. Open &lt;strong&gt;tweaks&lt;/strong&gt; from your application menu. &lt;br&gt;
&lt;em&gt;note: if you opened tweaks before installing themes you &lt;br&gt;
need to close it and reopen again in order to show our &lt;br&gt;
themes&lt;/em&gt;.&lt;br&gt;
After opening tweaks go to appearance tab and change the following option:&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Application -&amp;gt; Nordish-bluish-accent&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Icons -&amp;gt; Tela-circle-icons&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Shell -&amp;gt; Orchis-compact&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Cursor -&amp;gt; Layan&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Wallpaper -&amp;gt; choose the file from Downloads&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fneqsl31dhcilm9jw9edi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fneqsl31dhcilm9jw9edi.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The second step is over finally and hope you guys didn't have any trouble with it. Without further due lets move on to third step&amp;gt;&lt;/p&gt;

&lt;p&gt;We are going to customize our dock in third step. This is a easy step and wont take much time. Lets get into it now:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;For this you need to install an extension called &lt;strong&gt;Dash to dock&lt;/strong&gt; &lt;a href="https://extensions.gnome.org/extension/307/dash-to-dock/" rel="noopener noreferrer"&gt;dash-to-dock&lt;/a&gt; and turn it on.&lt;/li&gt;
&lt;li&gt;Now open your tweaks. &lt;em&gt;if you already opened it before then close it and open again&lt;/em&gt;. Go to extensions tab and find dash to dock and now click on settings. Now do the following changes:

&lt;ul&gt;
&lt;li&gt;change position on screen to bottom&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fyof116s8ahr54e4vtq9z.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fyof116s8ahr54e4vtq9z.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  * Go to Launchers tab and turn off *show trash* can 
     and select *show application button at beginning of 
     dock*
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fmwwhc6tzlqzfqs7poxdq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fmwwhc6tzlqzfqs7poxdq.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;   * Now go to appearance and select *use built-in theme*
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Foemqqeqboy0lkjtelhev.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Foemqqeqboy0lkjtelhev.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Well done! you have successfully completed step 3&lt;/p&gt;

&lt;p&gt;We are almost finished now and the final step is to tweak the terminal. We are slightly going to customize our terminal. But don't worry because i'm going to post a tutorial on customizing terminal soon. Lets get into it now:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;We need to install something called screenfetch for this step. So open your terminal and type in the following :
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo apt-get install screenfetch
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;After it is installed type in :
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo nano ~/.bashrc
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;now go to the bottom and type &amp;gt; screenfetch 
now press &lt;code&gt;ctrl+x&lt;/code&gt; and press y. Close your terminal and 
reopen it. You can see your pc specs and os logo in there.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F0sox1sdmx9dh5ohkru1m.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F0sox1sdmx9dh5ohkru1m.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Your terminal now look like this:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fqus5btce016ifw72m2hf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fqus5btce016ifw72m2hf.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That's all for now guys. This was my first blog, please forgive me if there is any mistake. Hope you enjoyed and found my tutorial helpful. This was a beginner friendly tutorial and I'll post another advanced tutorial on customization. In case you had any issue with this, feel free to contact me on &lt;a href="mailto:neoblaze24@gmail.com"&gt;neoblaze24@gmail.com&lt;/a&gt;. I will happy to help you out.Once again thank you for reading my blog. &lt;br&gt;
Bye!!&lt;/p&gt;

</description>
      <category>ubuntu</category>
      <category>linux</category>
      <category>customization</category>
      <category>desktop</category>
    </item>
  </channel>
</rss>
