Monday, 14 August 2017

Modifying the path variable in linux machine

Hello all, we often need to modify the environment path setting to access our most used programs easily or to make them available to run from anywhere in the system so that dependent components can make use of them.

Usually, in a Windows machine, you have the comfort of setting the PATH by going into the System Properties -> Environment Variables and adding in a new entry, making your life easier.

But when people are changing from Windows to Linux environments, they find it difficult at least new comers to modify / tweak the path setting. So, I am writing this post to show you how to add your favourite programs to path in a Linux Machine.

In the Linux Machine Home(/home/username) directory, you have 2 files .bashrc and .profile. These 2 files manage the path entries in linux system. You can see these files in a file explorer by enabling hidden files. Press Ctrl + H in a folder to show your hidden files in the file explorer.

You can open the above files in your favorite file editor. You need to make an entry in the PATH variable which usually present at the end or somewhere in the file. In Windows, each path entry is separated with a ; In linux, each entry is separated by a colon :

Suppose you have an executable in a folder, copy the path to the folder and append it to the existing path. After adding the entry, you need to logout and login into the PC.

So, what is the catch in editing .bashrc and .profile both? The programs in the .bashrc are available only in the command line or terminal. Suppose if you want to run the program from a GUI like run prompt you see in windows, Alt + F2 in ubuntu, you have to make the change in .profile

If you want to make the program to be accessible only in Terminal mode, make entry in .bashrc
If you want to make the program to be accessible in both Terminal and GUI, make entry in .profile


I hope this post makes some sense and helps some one. Thanks :)

If you want to help me run this blog, please purchase products from Flipkart using my referral link

Saturday, 7 May 2016

Changing the lock screen wallpaper on CM12 or CM13

CYANOGENMOD provides a cool feature to apply themes system wide. But these themes have option to change the lock screen wallpaper too. After applying the theme, there is no way to revert back to the original lock screen wallpaper if it is deleted or applying another theme unless the new theme supports changing lock screen wallpaper.

The inbuilt theme doesn't have option to apply lock screen wallpaper, it uses the home screen wallpaper as lock screen wallpaper.

If you installed a theme and it had changed your lock screen wallpaper and you want to restore it, follow the simple steps below.



1. Go to Settings -> About Phone, tap build number continuously and enable developer options.
2. Go to Developer Options and enable the inbuilt terminal in the developer options.
3. You also need to have root access enabled in the developer options.
4. Open the terminal application visible in the launcher.



Type the below commands in the terminal application to restore the wallpaper.

1. su (This will prompt for root access or super user permission, give root access to terminal)
2. cd /data/system/users/0
3. rm keyguard_wallpaper
4. ln -s wallpaper keyguard_wallpaper
5. chown -h wallpaper keyguard_wallpaper

BOOM..!! Now you have set your current wallpaper to lock screen wallpaper, now enjoy your CYANOGENMOD like you were using previously.

This thing works not only on CM12 or CM13, it should work on any Android Phone with any version, but all you need is Root access in your phone.

Thanks :)

Sunday, 4 October 2015

Google Keyboard tip

Hello guys most of the people use Google Keyboard for typing in their Android Smart Phone's. Many do a lot of texting and some people write articles, journals right from mobile or their tablets.

So here is an excellent tip for people : You can use shift key in Google Keyboard to toggle between Lower Case, Camel Case and Upper Case letters by selecting the text and pressing shift key.

This becomes a lot of useful where while you are typing don't need to purposefully toggle to type in Caps while writing articles or whatever.

Check below Image for Visual



Download Google Keyboard for Android

Thanks for checking out, Share the article if it helped you. It also may help some other people.

Thanks :)

Thursday, 6 August 2015

Get ScreenShot of entire webpage whatever is the length through Firefox browser

We often come across situations where we wanted to take screenshot of entire webpage so that we can keep it for future reference. Also we may not know when the website will be down or the article you liked may get removed after some days.

So we may preserve the webpage in the form of image or for any other purpose. Also Images occupy less space than printing the webpage and saving them as PDF.

Always we may not find the solution of how to take screenshot of entire webpage and we might end up scrolling up to different parts of webpage, take screenshot of them keep all images in a folder or we might end up attaching each webpage at the end of another.

Firefox Browser has come up with option of command line tools that lets developers do many tasks. One of which lets the developers or anyone take screenshot of the entire webpage into a .png image


Open Developer Command line tools by pressing Shift + F2 in Firefox Browser.





Type screenshot --fullpage and hit enter your full length webpage screenshot is ready. Ready Steady Go on saving your favorite webpages without headache. :)

Download Firefox Browser

I have saved all my blog articles containing 43 posts into just 6 images. You can find them here. You can view those images by opening them normally in your webbrowser or a photo viewer.

If you have any suggestions, please comment below the post. You can suggest me any new softwares you know of for making this and I appreciate it :)

Thanks :) Share the article if you like it :)

Wednesday, 5 August 2015

Manage multiple windows opened in Explorer or Finder easily

Often when you're working on a project at your office or programming your own project, you will be going to open multiple windows related to your projects, or music, videos, movies, downloads etc..

Often you may have to open command prompt by going down to long paths in explorer so you end up creating shortcuts for them on your desktop creating too much clutter.

CLOVER is the software which acts as an extension to the default windows explorer by giving it the ability to open New Folders as New Tabs.

You can also bookmark any folder you want by simply pressing CTRL + D like you do in Google Chrome.

Double Click any tab to close the tab and scroll the mouse at the tab to switch between tabs easily like you do in Linux.

Right Click and open in new window opens the Folder you want in a new tab.

Ctrl + Shift + B shows or hides the bookmarks bar in explorer like Google Chrome.




One Plus two Quick Grab without Invite
If you are on Mac and want tabs like feature to Finder, XtraFinder is the one which adds features same like Windows Explorer and there are more additional features.








So from now you can happily do Multi-Tasking.

Thanks :) Share it if you like it :)

Thursday, 9 July 2015

Download 3D, 4K and 1080p resolution Videos and PlayLists with subtitles from YouTube easily

Hi, In one of my previous blog posts I have shown how to download videos from YouTube without any softwares or plugins.

But that method has a limitation of downloading 200MB videos or upto 720p video resolution only.
So far, there is no method to download HD 1080p videos online and also for playlists you have to click download button for each video.

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Have you ever wished to watch HD Videos in your HD TV and found them on YouTube or Some other websites but found it difficult to download them and watch on your HD TV or iPad?

Ever wanted to download a complete playlist of songs of your favorite music director and found it difficult to download them?

Now to fulfill the requirements of people where 4K Videos are trending on YouTube and to watch HD Videos on 4K resolution, a software called 4K Video Downloader has come to assist us in downloading them from YouTube.




4K Video downloader features : 
  • The best part is that you can download videos along with subtitles from YouTube.
  • Download entire playlists and channels from YouTube and save them in MP4, MKV, M4A, MP3, FLV, 3G, generate .m3u file for playlists.
  • Download video in HD 1080pHD 720p or 4K quality and enjoy high dimension video on your HD TV, iPad or other devices.
  • Advanced subtitles download, select if you would like to have .srt file or embedd subtitles in video file to watch it on your Mac for example.
  • Activate “Smart Mode” in order to apply the selected settings to all your downloads, easy and fast.
  • Download video in 3D format, you will find a small special icon among available formats after video parsing. It’s really impressive to watch live shows and cartoons in 3D.
  • Download embedded YouTube videos from any web pages, just copy/paste link and the program will find the source of download.
  • Download video and audio from VimeoSoundCloudFlickrFacebook and DailyMotion.
  • Use 4K Video Downloader on your PCMac or Linux, doesn’t matter what OS you prefer.

The software is completely FREE to use and it contains no malware adware and no toolbars.
This software is better than Internet Download Manager.

Thanks :)
Happy Downloading :)