Changing weather from Fahrenheit to Centigrade in gnome

Changing weather from Fahrenheit to Centigrade in gnome

By default gnome came with Fahrenheit as the unit for weather app , Fahrenheit was used as the official temperature scale only in the United States (including its unincorporated territories), its freely associated states in the western Pacific (Palau, the Federated States of Micronesia and the Marshall Islands), the Bahamas, Belize, and the Cayman Island. All other countries in the world now use the Celsius scale.

 

I am using Fedora and gnome as DE to change Fahrenheit to Celsius in gnome weather app you need  to open terminal then type following command line

 

gsettings set org.gnome.GWeather temperature-unit "'centigrade'"

Now open gnome weather app again, by now the temperature unit scale will be changed from Fahrenheit to Centigrade .

to change Centigrade to Fahrenheit use this command line

gsettings set org.gnome.GWeather temperature-unit "'fahrenheit'"

I hope you find this article useful, please like our facebook page and share.

Using the HP Cloud Recovery Media

Using the HP Cloud Recovery Media

If you have lost your HP recovery media which came with HP Laptop or Desktop and you need to reinstall the OS you may required to purchase the original recovery media from hp by giving a nominal fee + shipping charge , but i don’t think some of you may notice that ,by late 2016 hp release a service called “HP Cloud Recovery Media” , The HP Cloud Recovery Download Tool allows you to download recovery software to a USB drive. The recovery software works for HP PCs with Windows 10 Professional (64-bit) and Windows 7 Professional (64-bit).

What you need:

  • A blank USB drive with a minimum of 16 GB
  • An HP computer with Windows 10 Professional (64-bit) or Windows 7 Professional (64-bit)

Downloading Recovery Software:

 This software recovery solution is only for specific supported computer models with Win 7 Pro (64-bit) or Win 10 Pro (64-bit). Refer to the list of supported models to verify that your computer is supported before proceeding with this recovery solution. The speed at which the recovery software downloads depends on the quality and speed of the Internet connection.

HP Cloud Recovery Client click this link to download the client , then save and run the file , now insert your blank 16 Gb USB drive (Minimum) , read instructions carefully , clicking next will format and wipe all data from your usb drive .

Figure1: HP Cloud Recovery Download Tool Welcome screen

  • if you are downloading in a secure network then you may enter your proxy detail in the next screen , i am skipping this procedure because , i dont use any proxy , Click Next

When the Cloud Recovery tool detects the information for your device, click Next. OR

If you are downloading the recovery media on a different computer than the computer to be recovered, check the I need to enter the serial number for my HP system box to manually type in the information for the affected system.

Figure2: System Information Page

  • Use the drop-down menus to select the Recovery Options, Region, and Download Server, and then click Next.

For a better download experience, select a Download Server for your particular location.

Figure3 : Recovery Options, Region, and Download Server drop-down menus

  • Select your USB drive from the drop-down menu, and then click Next.

Figure4 : USB Preparation Page

Carefully read the confirmation message (which states that any information on the USB drive is deleted during this process), and then click OK.

Figure 5: Confirmation message

  • When the download completes, click OK.

Figure6 : Download complete

Click next .

Figure7 : Finish the download

  • To finish the download and close the program, click Finish.

The recovery download is now complete and ready for use on your HP PC with Windows 10 Professional (64-bit) or Windows 7 Professional (64-bit).

Supported Models

For a list of products that support the HP Cloud Recovery Download Tool, go to HP Cloud Recovery Supported Platforms.

Frequently Asked Questions

Review these frequently asked questions for information about using the HP Cloud Recovery Download Tool.

What should I do if an 'Invalid Serial Number' error message displays?
If an Invalid Serial Number message displays, re-enter the correct serial number.
What if a 'Model not found' error message displays?
If a Model not found error message displays, perform the following steps.
  1. Check that your device is included in the list of supported models.
  2. Re-enter the correct serial number.
I am experiencing long delays after clicking 'Next' on the welcome page of the application. What should I do?
If you experience long delays after clicking Next on the Welcome page, perform the following steps.
  1. Check your network connectivity.
  2. Restart the Cloud Recovery app and try again.
I am trying to use the recovery tool on a secure network, but it keeps failing. What should I do?

If your attempts to use the recovery tool on a secure network fail, contact the network administrator to get your proxy server, port information, and login credentials.

What if my download attempts keep failing?
If your download attempts keep failing, check for the following items.
  • Check your Internet connection.
  • Check that the system date and time are set correctly.
What if a 'Requested resource is not available' error message displays?

If you get a Requested resource is not available error message, check your network connectivity and restart the process.

What should I do if my downloads keep timing out, even after several tries?

If your downloads keep timing out, check your network connectivity. A strong Internet connection is required to complete the download.

I am getting an error message 'Disk not selectable.' What should I do?

If you get a Disk not selectable error message, make sure your USB drive has 16 GB of free space to use.

What if the process fails during the USB format?
If the download process fails during the USB formatting, check for the following items.
  1. Make sure the USB device has a minimum of 16 GB.
  2. Make sure the USB device is properly inserted into the USB port.
What should I do if the process fails when applying the file to USB?
If the download process fails when applying the file to the USB device, check for the following items.
  1. Make sure the USB device is 16 GB or more.
  2. Make sure the USB device is properly inserted into the USB port.
The USB device is not included in the list of boot devices. What should I do? (Windows 10) "Open below corresponding tab for the details"
It might be necessary to disable secure boot in the BIOS in order to start the computer using recovery media.
Use one of the following methods to open the Computer Setup Utility, and then choose your device type below for steps to disable secure boot.
  • Turn on the computer and immediately press the F10 key repeatedly, about once every second, until the Computer Setup Utility opens.
  • Turn on the computer and immediately press the Escape key repeatedly, about once every second, until the Startup menu opens. Press F10.
To navigate the Computer Setup Utility, choose menu screens by pressing the left or right arrow keys. Use the up or down arrow keys to move through the list of items on the menu screen. Press the Enter key to select an item and open a submenu. Then use the left and right arrow keys to modify the settings. Press the F10 key to save the changes and exit from a submenu, or press the Escape key to exit from a submenu without
Notebooks
Disable secure boot on notebook computers.
  1. Use the right arrow key to choose the System Configuration menu, use the down arrow key to select Boot Options, and then press Enter.
    Figure 8: System configuration

    Figure 9: Boot options

  2. Use the down arrow key to select Secure Boot, and then press Enter.
  3. Use the down arrow key to modify the setting to Disable, and then press Enter.
  4. Use the arrow keys to select Legacy Support, and then press Enter.
  5. Use the arrow keys to modify the setting to Enable, and then press Enter.
  6. Press F10 to accept the changes and exit or use the left arrow key to select the Exit, use the down arrow key to select Exit Saving Changes and then press Enter to select Yes.
  7. The Computer Setup Utility closes, and the Operating System Boot Mode Change screen displays, prompting you to confirm the Boot Options change. Type the code shown on the screen, and then press Enter to confirm the change.
    The Computer Setup Utility closes, and the computer restarts.
  8. Turn the computer off.
You can now boot from the recovery media.
Desktops
Disable secure boot on desktop computers.
  1. Use the right arrow key to choose the Security menu, use the down arrow key to select Secure Boot Configuration, and then press Enter.
    Figure 10: Security menu

  2. Press F10 when the Secure Boot Configuration window displays.
    Figure 11: Secure Boot Configuration

  3. Use the down arrow key to select Secure Boot, and then press the left or right arrow keys to modify the setting to Disable.
  4. Use the up arrow key to select Legacy Support, and then press the left or right arrow key to modify the setting to Disable.
    Figure 12: Disabling Secure Boot

  5. Press F10 to accept the changes and exit. Then press Enter or use the left arrow key to select File, use the down arrow key to select Exit Saving Changes, and then press Enter to select Yes.
  6. The Computer Setup Utility closes and the Operating System Boot Mode Change screen is displayed, prompting you to confirm the Boot Options change.
    Type the code shown on the screen, and then press Enter to confirm the changes.
    The Computer Setup Utility closes, and the computer restarts.
  7. Turn the computer off.
    You can now boot from the recovery media.
How to install Adobe flashplayer on Ubuntu

How to install Adobe flashplayer on Ubuntu

For many years adobe has abandoned its project for Linux platform , some time it gave me frustration to find a new flash player like adobe flash, eg pepper flash etc.

First you should enable Canonical Partner Repository,The Canonical Partner repository offers few proprietary apps that are free to use but not open-source.

  • open “Software & updates”
  • open “Other Software” tab
  • Check the “Canonical Parter repository”
  • Refresh your software sources when prompted , this may take some time depends on your Internet connection !

now open your terminal and type following command line to install adobe flashplayer , or you can use “ubuntu software” and just search for “adobe flash” and install it ,

sudo apt install adobe-flashplugin

Now restart your browser so that it detects your flash,

open ubuntu unity launcher and type adobe , now you can find adobe preferences. installation done  , enjoy

How to install Intel Dual Band Wireless-AC 3168 driver in Linux

How to install Intel Dual Band Wireless-AC 3168 driver in Linux

To install driver you need these things

  • Driver
  • Updated kernel above 4.6 in my case i have already updated to 4.10
  • basic linux skills
  • internet to download

 

download driver from above link, then open terminal login as admin by typing sudo su

 

extract driver to that folder

 

navigate to that driver folder by typing

cd iwlwifi-3168-ucode-22.361476.0

To install firmware:

  1. Copy the files into the distribution-specific firmware directory, /lib/firmware.
  2. If the directory does not work, consult your distribution documentation.
  3. If you configure the kernel yourself, make sure firmware loading is enabled.

 

type following command in the terminal

mv * /lib/firmware/
reboot your system , your wifi will be working by now
Internet Protocol version 6 (IPv6) | Adding a Temporary IPv6 Address on Linux.

Internet Protocol version 6 (IPv6) | Adding a Temporary IPv6 Address on Linux.

IPv6 [Internet Protocol version 6]

Introduction.

Internet Protocol Version 6 (IPv6) is a network layer protocol that enables data communications over a packet switched network.

Packet switching involves the sending and receiving of data in packets between two nodes in a network. The working standard for the IPv6 protocol was published by the Internet Engineering Task Force (IETF) in 1998.

The IETF specification for IPv6 is RFC 2460. IPv6 was intended to replace the widely used Internet Protocol Version 4 (IPv4) that is considered the backbone of the modern Internet.

IPv4 currently supports a maximum of approximately 4.3 billion unique IP addresses. IPv6 supports a theoretical maximum of 2128 addresses (340,282,366,920,938,463,463,374,607,431,768,211,456 to be exact!).

IPv6 and IPv4 share a similar architecture. The majority of transport layer protocols that function with IPv4 will also function with the IPv6 protocol. Most application layer protocols are expected to be interoperable with IPv6 as well, with the notable exception of File Transfer Protocol (FTP)

An IPv6 address consists of eight groups of four hexadecimal digits. If a group consists of four zeros, the notation can be shortened using a colon to replace the zeros.

A main advantage of IPv6 is increased address space. The 128-bit length of IPv6 addresses is a significant gain over the 32-bit length of IPv4 addresses, allowing for an almost limitless number of unique IP addresses.

 

 

IPv6 features
—————-

* Supports source and destination addresses that are 128 bits (16 bytes) long.

* Requires IPSec support.

* Uses Flow Label field to identify packet flow for QoS handling by router.

* Allows the host to send fragments packets but not routers.

* Doesn’t include a checksum in the header.

* Uses a link-local scope all-nodes multicast address.

* Does not require manual configuration or DHCP.

* Uses host address (AAAA) resource records in DNS to map host names to IPv6 addresses.

* Uses pointer (PTR) resource records in the IP6.ARPA DNS domain to map IPv6 addresses to host names.

* Supports a 1280-byte packet size (without fragmentation).

* Moves optional data to IPv6 extension headers.

* Uses Multicast Neighbor Solicitation messages to resolve IP addresses to link-layer addresses.

* Uses Multicast Listener Discovery (MLD) messages to manage membership in local subnet groups.

* Uses ICMPv6 Router Solicitation and Router Advertisement messages to determine the IP address of the best default gateway.

 

Adding a Temporary IPv6 Address on Linux.
=================================

Using “IP”
———-

/sbin/ip -6 addr add <ipv6address>/<prefixlength> dev <interface>

eg: /sbin/ip -6 addr add 2001:49f0:2920::a2/64 dev eth0

 

Using “ifconfig”
——————

/sbin/ifconfig <interface> inet6 add <ipv6address>/<prefixlength>

eg: /sbin/ifconfig eth0 inet6 add 2001:49f0:2920::a2/64

 

Add an IPv6 route through a gateway
============================

Using “ip”
———–

/sbin/ip -6 route add <ipv6network>/<prefixlength> via <ipv6address>
¬ [dev <device>]

eg: /sbin/ip -6 route add default via 2001:49f0:2920::1

 

Using “route”
—————

/sbin/route -A inet6 add <ipv6network>/<prefixlength> gw
¬ <ipv6address> [dev <device>]

eg: /sbin/route -A inet6 add default gw 2001:49f0:2920::1

 

Removing an IPv6 address
====================

Using “ip”
————

/sbin/ip -6 addr del <ipv6address>/<prefixlength> dev <interface>

eg: /sbin/ip -6 addr del 2001:49f0:2920::a2/64 dev eth0

 

Using “ifconfig”
——————

/sbin/ifconfig <interface> inet6 del <ipv6address>/<prefixlength>

eg: /sbin/ifconfig eth0 inet6 del 2001:49f0:2920::a2/64

 

How to manually install Nvidia Driver and cuda in ubuntu linux

How to manually install Nvidia Driver and cuda in ubuntu linux

Go to nvidia website and download driver, for this tutorial i am using .run file copy the file to your desktop , after that simply right click and select properties > select permissions > tick Execute : allow executing file as program ,

click this link to learn how to make file executable using terminal

after that you need to black list nouveau for that type following command in the terminal

 

sudo nano /etc/modprobe.d/blacklist-nouveau.conf

then copy following text in the nano editor in terminal then save it

blacklist nouveau
blacklist lbm-nouveau
options nouveau modeset=0
alias nouveau off
alias lbm-nouveau off

then type following command in the terminal

sudo update-initramfs -u

reboot your system after this procedure , now you can find your system resolution is changed from recommended to minimal,once login screen appear press Ctrl + Alt +F1 this will switch your interface from GUI to CLI then login by typing your username and password after that you should stop your Desktop Manager, by default ubuntu using lightdm you type following command in the terminal to stop lightdm

sudo service lightdm stop

this will stop gui service running in background then you should navigate to your nvidia driver location by typing cd /Destkop

if you type ls you can find driver which you have copied earlier

after that you need to execute driver installation file for that type following command in the terminal

sudo ./NVIDIA-Linux-x86_64-375.66.run

Please note the driver version which you are using may vary

then follow the instructions !

after installation reboot your system

in my system i have two cards one is Nvidia quadro K2200 & Tesla k40c

so i am going to install cuda to install cuda type follwing command line in the terminal , offline installation is also available i will include that tutorial in the future blog post if you want to download offline cuda package you can download it from https://developer.nvidia.com/cuda-downloads

sudo apt-get install nvidia-cuda-toolkit

this package is around 750 mb , installation speed is depend on your internet connecton, after installation reboot your system, to confirm whether both graphics card is detected in your system you can use inxi utility for that install inxi package in your system by typing

sudo apt-get install inxi

after the installation , open terminal and type

 

inxi -G

congratulations you have successfully install both nvidia driver and cuda

Pin It on Pinterest