<?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>DEV Community: Azhar Khan</title>
    <description>The latest articles on DEV Community by Azhar Khan (@azhar22k).</description>
    <link>https://dev.to/azhar22k</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%2F450596%2Fd371a2a4-58c2-4630-9953-19c9a10df242.jpeg</url>
      <title>DEV Community: Azhar Khan</title>
      <link>https://dev.to/azhar22k</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/azhar22k"/>
    <language>en</language>
    <item>
      <title>Install Remastersys on Unbuntu 14.04 [Linux] with GUI support</title>
      <dc:creator>Azhar Khan</dc:creator>
      <pubDate>Tue, 18 Aug 2020 11:05:37 +0000</pubDate>
      <link>https://dev.to/azhar22k/install-remastersys-on-unbuntu-14-04-linux-with-gui-support-19fo</link>
      <guid>https://dev.to/azhar22k/install-remastersys-on-unbuntu-14-04-linux-with-gui-support-19fo</guid>
      <description>&lt;p&gt;All of you might want to backup your system into a bootable ISO file which can further be used to create your own Linux distro your backup of your system which can used to recover files in case your system crashes.&lt;/p&gt;

&lt;p&gt;OS geek like me very frequently shifts from one OS to another and every time we install an OS then we have to reinstall of all the packages and software. Well, there is a remedy to this problem for Ubuntu[Linux] users i.e &lt;code&gt;Remastersys&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Remastersys is a free and open-source program for Debian, Ubuntu-based, Linux Mint or derivative software systems that can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create a customized Live CD/Live USB (a remaster) of Debian and its derivatives.&lt;/li&gt;
&lt;li&gt;   Back up an entire system, including user data, to an installable Live CD/DVD.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can read further about remastersys here  : &lt;a href="https://en.wikipedia.org/wiki/Remastersys"&gt;https://en.wikipedia.org/wiki/Remastersys&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Well now it is hard to find remastersys for Ubuntu 14.04/Linux deb package&lt;br&gt;
But the solution shown below works.&lt;/p&gt;
&lt;h1&gt;
  
  
  Step 1:
&lt;/h1&gt;

&lt;p&gt;Go to &lt;a href="http://filewatcher.com/"&gt;http://filewatcher.com/&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;
  
  
  Step 2:
&lt;/h1&gt;

&lt;p&gt;Now search &lt;code&gt;remastersys&lt;/code&gt; in the search box&lt;/p&gt;
&lt;h1&gt;
  
  
  Step 3:
&lt;/h1&gt;

&lt;p&gt;Download the following two packages&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;1.&lt;/code&gt; remastersys 3.0.2-1 all.deb&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;or&lt;/p&gt;

&lt;p&gt;Click the following link &lt;a href="//ftp://ftp4.gwdg.de/pub/linux/easyvdr/mirror/remastersys/ubuntu/remastersys/remastersys_3.0.2-1_all.deb"&gt;remastersys 3.0.2-1.deb&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;2.&lt;/code&gt; &lt;a href="//ftp://ftp.gwdg.de/pub/linux/easyvdr/mirror/remastersys/ubuntu/remastersys-gui/remastersys-gui_3.0.2-1_amd64.deb"&gt;remastersys-gui 3.0.2-1 amd64.deb&lt;/a&gt;  (for 64 bit systems)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;or&lt;/p&gt;

&lt;p&gt;&lt;a href="//ftp://ftp.gwdg.de/pub/linux/easyvdr/mirror/remastersys/ubuntu/remastersys-gui/remastersys-gui_3.0.2-1_i386.deb"&gt;remastersys-gui 3.0.2-1 i386.deb&lt;/a&gt;    (for 32 bit systems) as per your system architecture&lt;/p&gt;

&lt;p&gt;You can also try other versions for .rpm files if you wish, but one listed here works well.&lt;/p&gt;
&lt;h1&gt;
  
  
  Step 4:
&lt;/h1&gt;

&lt;p&gt;Now before you proceed, you need to install &lt;code&gt;plymouth&lt;/code&gt; on your system, so open terminal and type the following command&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;apt-get &lt;span class="nb"&gt;install &lt;/span&gt;plymouth-x11
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;h1&gt;
  
  
  Step 5:
&lt;/h1&gt;

&lt;p&gt;And now install the above downloaded two packages by clicking on them and select &lt;code&gt;Open with Ubuntu Software center&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Congrats, you have successfully installed remastersys on your system, now you can backup your system anytime in a bootable iso file.&lt;/p&gt;

&lt;p&gt;Click on Ubuntu dash and search &lt;code&gt;remastersys&lt;/code&gt; and click to open it.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--2AjZXgkj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/bxk0aizkayltb5emwcnv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--2AjZXgkj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/bxk0aizkayltb5emwcnv.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A working GUI of remastersys looks as follows:&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Iu41IiuO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/notnk0hcyeob6onlbl3c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Iu41IiuO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/notnk0hcyeob6onlbl3c.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--wbUXUN4d--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/vxyyk83qdwmwo552qegg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--wbUXUN4d--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/vxyyk83qdwmwo552qegg.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ubuntu</category>
      <category>linux</category>
    </item>
    <item>
      <title>Connect an android device using MTP on Linux Ubuntu 14.04 LTS</title>
      <dc:creator>Azhar Khan</dc:creator>
      <pubDate>Tue, 18 Aug 2020 10:53:31 +0000</pubDate>
      <link>https://dev.to/azhar22k/connect-an-android-device-using-mtp-on-linux-ubuntu-14-04-lts-ne</link>
      <guid>https://dev.to/azhar22k/connect-an-android-device-using-mtp-on-linux-ubuntu-14-04-lts-ne</guid>
      <description>&lt;p&gt;I recently moved to Linux[&lt;code&gt;Ubuntu 14.04&lt;/code&gt; ] from windows 8.1 because it hangs a lot on my lappy. Apart from the cool features of Ubuntu, one thing was annoying me that I was unable to connect my android phone [&lt;code&gt;Asus zenfone 4 TOOi&lt;/code&gt;] and thus was unable to transfer any files via USB using MTP. After searching a lot I finally got the working answer on ubuntuforums.org which I'm again explaining it here again as simply as possible.&lt;/p&gt;

&lt;p&gt;First of all you must have an active Internet connection.&lt;/p&gt;

&lt;h1&gt;
  
  
  Step 1
&lt;/h1&gt;

&lt;p&gt;First, we need to install some necessary tools for MTP detection in Linux[Ubuntu]&lt;/p&gt;

&lt;p&gt;open terminal and type the following command&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;apt-get &lt;span class="nb"&gt;install &lt;/span&gt;libmtp-common mtp-tools libmtp-dev libmtp-runtime libmtp9
&lt;span class="nb"&gt;sudo &lt;/span&gt;apt-get dist-upgrade
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--rZSqk3hK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/ta35396pxpl37hqwppix.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--rZSqk3hK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/ta35396pxpl37hqwppix.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Step 2
&lt;/h1&gt;

&lt;p&gt;Now we need to get vendor and product ID&lt;/p&gt;

&lt;p&gt;For that attach your android MTP device to your Linux system.&lt;/p&gt;

&lt;p&gt;Type following command in terminal&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight shell"&gt;&lt;code&gt;lsusb
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;My output was as follows&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight shell"&gt;&lt;code&gt;Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
&lt;span class="s1"&gt;'Bus 001 Device 026: ID 0b05:580f ASUSTek Computer, Inc.'&lt;/span&gt;
Bus 001 Device 025: ID 064e:c21c Suyin Corp.
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;The above one in yellow colour is my device with Its vendor and id(&lt;code&gt;0b05&lt;/code&gt; and &lt;code&gt;580f&lt;/code&gt;)&lt;/p&gt;

&lt;h1&gt;
  
  
  Step 3:
&lt;/h1&gt;

&lt;p&gt;Now we will amend the mtp udev rules as follows, from a terminal type&lt;/p&gt;

&lt;p&gt;Code:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;nano /lib/udev/rules.d/69-mtp.rules
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Now, add the following line of code&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Asus Zenfone 4 TOOi&lt;/span&gt;
ATTR&lt;span class="o"&gt;{&lt;/span&gt;idVendor&lt;span class="o"&gt;}==&lt;/span&gt;&lt;span class="s2"&gt;"0b05"&lt;/span&gt;, ATTR&lt;span class="o"&gt;{&lt;/span&gt;idProduct&lt;span class="o"&gt;}==&lt;/span&gt;&lt;span class="s2"&gt;"580f"&lt;/span&gt;, SYMLINK+&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"libmtp-%k"&lt;/span&gt;, ENV&lt;span class="o"&gt;{&lt;/span&gt;ID_MTP_DEVICE&lt;span class="o"&gt;}=&lt;/span&gt;&lt;span class="s2"&gt;"1"&lt;/span&gt;, ENV&lt;span class="o"&gt;{&lt;/span&gt;ID_MEDIA_PLAYER&lt;span class="o"&gt;}=&lt;/span&gt;&lt;span class="s2"&gt;"1"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; change the vendor and product id as of your device(In red colour in this post) and you can also change the device name after &lt;code&gt;#&lt;/code&gt; as per your wish but it is not necessary.&lt;/p&gt;

&lt;p&gt;When you are done editing, save the file(&lt;code&gt;Ctrl+c&lt;/code&gt;, then &lt;code&gt;Y&lt;/code&gt; and then enter)&lt;/p&gt;

&lt;h1&gt;
  
  
  Step 4:
&lt;/h1&gt;

&lt;p&gt;The next step would also be to add a line of code to the 51 android rules file, again from a terminal type&lt;/p&gt;

&lt;p&gt;Code:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;nano /etc/udev/rules.d/51-android.rules
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Then add the following line of code&lt;/p&gt;

&lt;p&gt;Code:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight shell"&gt;&lt;code&gt;ATTR&lt;span class="o"&gt;{&lt;/span&gt;idVendor&lt;span class="o"&gt;}==&lt;/span&gt;&lt;span class="s2"&gt;"0b05"&lt;/span&gt;, ATTR&lt;span class="o"&gt;{&lt;/span&gt;idProduct&lt;span class="o"&gt;}==&lt;/span&gt;&lt;span class="s2"&gt;"580f"&lt;/span&gt;, &lt;span class="nv"&gt;MODE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"0666"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Remember to change the vendor id and product id as per your system(shown in yellow colour)&lt;/p&gt;

&lt;p&gt;When you have done, save the file.&lt;/p&gt;

&lt;h1&gt;
  
  
  Step 5:
&lt;/h1&gt;

&lt;p&gt;Type the following code in terminal&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;service udev restart
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;after this, save all your work because we will reboot your system&lt;/p&gt;

&lt;h1&gt;
  
  
  Step 6:
&lt;/h1&gt;

&lt;p&gt;Type following command to reboot your system&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;reboot
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--E9dCqQim--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/ivji6aea4twp403qjy5o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--E9dCqQim--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/ivji6aea4twp403qjy5o.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Additional Optional work:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you want to work with nice GUI with your MTP device rather than using default file explorer of Ubuntu/Linux&lt;/p&gt;

&lt;p&gt;try the following command&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;apt-get &lt;span class="nb"&gt;install &lt;/span&gt;gmtp
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;or you can also download this from the software centre.&lt;/p&gt;

</description>
      <category>linux</category>
      <category>ubuntu</category>
      <category>android</category>
    </item>
    <item>
      <title>[Which is better] Ubuntu Gnome vs Ubuntu (unity)</title>
      <dc:creator>Azhar Khan</dc:creator>
      <pubDate>Tue, 18 Aug 2020 08:44:16 +0000</pubDate>
      <link>https://dev.to/azhar22k/which-is-better-ubuntu-gnome-vs-ubuntu-unity-1m51</link>
      <guid>https://dev.to/azhar22k/which-is-better-ubuntu-gnome-vs-ubuntu-unity-1m51</guid>
      <description>&lt;p&gt;Hello everyone, well it's been a long time, I didn't write any blog. The reason for the same is that I was messing up with my laptop in try new Operating systems.&lt;/p&gt;

&lt;p&gt;I'm a person who really doesn't like windows ( except in terms of Visual Studio because it is the best IDE I have ever used.)&lt;/p&gt;

&lt;p&gt;I'm a Linux lover especially Ubuntu. I have tried several Linux distros in recent years including Ubuntu, Linux Mint, Red Hat, BOSS, Kali and many more.&lt;/p&gt;

&lt;p&gt;Recently I installed Ubuntu Gnome 15.10 on my laptop instead of regular Ubuntu 15.10 with unity desktop and experienced a great difference in terms of performance and usage.&lt;/p&gt;

&lt;p&gt;Before Proceeding I will like to tell you that I'm running &lt;code&gt;Ubuntu Gnome 15.10 64 bit&lt;/code&gt; in dual boot with Windows 7 Ultimate SP 1 64 bit on &lt;code&gt;Acer Emachines E732Z&lt;/code&gt; with&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;2 GB RAM&lt;/li&gt;
&lt;li&gt;320 GB Hard disk&lt;/li&gt;
&lt;li&gt;780 MB graphics memory&lt;/li&gt;
&lt;li&gt;Intel HD graphics&lt;/li&gt;
&lt;li&gt;Intel Pentium P6200
Let's discuss on several points

&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Look and feel
&lt;/h1&gt;

&lt;p&gt;For people who still think Linux a dark world must try this. Ubuntu Gnome comes with Gnome 3.16.4 give an even better look than windows 8.1 and 10&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--0Vm5gNpl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/86d20kft9k6r87l1r5fy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--0Vm5gNpl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/86d20kft9k6r87l1r5fy.png" alt="Alt Text" width="320" height="180"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You will get a mixed feeling of running windows 8.1 and MAC book. UNLIKE Ubuntu Unity desktop you will get the option to choose different wallpaper on desktop and lock screen.&lt;/p&gt;

&lt;p&gt;Gnome has a different style of notifications and you can even see them afterwords by pressing Windows+v.&lt;br&gt;
Gnome comes with a great expendable library of extensions and can be downloaded and installed by one click from &lt;a href="https://extensions.gnome.org/"&gt;https://extensions.gnome.org/&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;h1&gt;
  
  
  Performance
&lt;/h1&gt;

&lt;p&gt;As per my personal experience, Gnome runs more smoothly as compared to unity and even consumes less RAM.&lt;br&gt;
When I used Unity, average ram usage was 1.2GB whereas with GNOME it is 800 MBs&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--DVr9u0zr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/telvgryro29862ac45r7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--DVr9u0zr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/telvgryro29862ac45r7.png" alt="Alt Text" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ubuntu</category>
      <category>linux</category>
      <category>gnome</category>
      <category>unity3d</category>
    </item>
  </channel>
</rss>
