Posts marked with "Linux" in categories

How to take a screenshot in Ubuntu/Linux

You can take screenshots of your desktop in Linux. For taking screenshots you can use Take Screenshot application. Use shortcut keys To take a screenshot, use the following shortcut keys: Default Shortcut Keys <td width="50%"> <b>Function</b> </td> </tr> <tr valign="TOP"> <td width="50%"> Print Screen </td> <td width="50%"> Takes a screenshot of the entire screen. </td> </tr> <tr valign="TOP"> <td width="50%"> Alt+Print Screen </td> <td width="50%"> Takes a screenshot of the window which is active.... [READ MORE]

Know/Check Ram Type in Linux

If you want to know what type is your RAM. This command will help you in Linux. sudo dmidecode –type 17 Type your password and press Enter. The details of your ram will be shown. You can now see the DDR of your Ram as shown in the picture above. ... [READ MORE]

Can’t boot into Ubuntu after upgrading.

When you upgrade to any new version of Ubuntu you will not be able to open Ubuntu. There might be a number of reasons. This post will help you to solve the problem of not completing the  installation of new packages. To solve this, boot in to Ubuntu. You will be stuck in the Ubuntu Logo. In there press ALT + CTRL + F1. You will get a terminal. Login to your account there in the terminal by typing your username first and password second.... [READ MORE]

Block a site on all browsers in Linux

This tutorial will help you to block a site in all browsers on Linux Open Terminal (ALT+F2). Type sudo -i in the input field as shown in the picture above. Check the Run in terminal option. Finally click Run button. Type your password if necessary and press enter. Then enter the following commands. gedit /etc/hosts You will get Gedit Text Editor window. For Example we need to block Facebook add the following lines just after 127.... [READ MORE]

Can’t Boot Ubuntu after installing Nvidia Driver Fix 2

A lot of people has trouble booting in to Ubuntu after installation of Nvidia Driver.Here is the second solution if first solution didn’t wok. Since you get a terminal when you boot in to Ubuntu. Login to your account in the terminal Then run the command. sudo -i and save a new Nvidia Config File by running this command. nvidia-xconfig Your new config file has been created! Reboot your computer and boot in to your Ubuntu now.... [READ MORE]

How to remove an item from GRUB boot menu

When you upgrade from old Ubuntu to new Ubuntu. Your GRUB menu will contain more than one Ubuntu. To remove unwanted Ubuntu from GRUB you need to edit the GRUB configuration file. Follow these steps. Backup your GRUB configuration file which is in /boot/grub/grub.cfg which we will need if something goes wrong. Open Terminal (Applications -> Accessories -> Terminal). You need to be the root. For that : sudo -i  Now we want to edit the file.... [READ MORE]

How to Repair/Restore/Reinstall GRUB Using Ubuntu Live CD

GRUB is the default bootloader of Linux. It is installed on your Hard Disk, but it’s not accessible as a drive. GRUB is installed on your Hard Disk when you install a Linux Operating System. Without GRUB, you can’t boot in to OSs. Windows, Mac and other OS have their own bootloader. Linux too have different bootloaders. GRUB, BURG are examples. When you install Windows after you install Ubuntu, Windows replaces the GRUB in the Hard Disk to Windows’ boot loader which won’t identify Linux systems (Damn you Windows !... [READ MORE]

How to make a transparent background/selection on an image using GIMP

Open your image in GIMP. Select the area you want to make transparent.Select the appropriate selection tool from the Tool window or the Tools – Selection Tools menu on the Layer window.  I usually use the magic wand/fuzzy select (Select contiguous region) tool or the Select regions by color tool. Click in the region you want selected.  Use shift-click to add more regions/colors. Tip: It’s easier if you zoom in (View – Zoom menu) to see finer details of exactly what you’re selecting.... [READ MORE]

Upload more than 1 MB file in PHP.

Some may have problem with uploading file more than 1 MB or 2 MB. You can fix this by editing the configuration file of PHP. To fix this follow the steps. Open Root Terminal (Applications -> System Tools -> Root Terminal). Type  sudo gedit /etc/php5/apache2/php.ini  and press enter key. You will get gedit application with the php.in file. Search for the words post_max_size & upload_max_filesize. If you found the words you will see a = after the word post_max_size & upload_max_filesize.... [READ MORE]

How To Create A Localhost Web Site In Linux Using Apache Web Server

Localhost is a hosting place in your own computer. There are a vast number of Localhost servers you can use. The most used and popular of them is Apache. Localhost enables you to test your work on your computer itself, instead of testing on a live server on the web. If you are creating a project, Localhost is the best place to test that project. In this tutorial I will show you how to create a localhost site running on Apache Server in any Linux Distribution.... [READ MORE]

Follow/Subscribe

Telegram 

Mastodon  Twitter

GitHub GitLab

Subdomains

Demos  Lab

Past

This blog was once on WordPress. Now a static site. See source code on

GitLab