Tuesday, December 20, 2016

How to install Dropbox on Ubuntu 16.04


Dropbox is a file hosting service operated by Dropbox, Inc., headquartered in San Francisco,California, that offers cloud storage, file synchronization, personal cloud, and client software. Dropbox allows users to create a special folder on their computers, which Dropbox then synchronizes so that it appears to be the same folder regardless of which computer is used to view it. Files placed in this folder are also accessible via the Dropbox website and mobile apps.


Dropbox can be installed via the .deb file located here  :





Navigate to the folder where Dropbox has been downloaded , right click it > Open with > Gdebi Package Installer > Install (if you don't have gdebi installed open a terminal (ctrl+alt+t) and type in the following command sudo apt install gdebi) .





                           After the download is complete you will be prompted to enter your login information :


Once the installation is complete you will have to sign in into your account . A new folder will be created called "Dropbox".




   If you already have files uploaded to your account , Dropbox will automatically synchronize them to the newly created folder . 



Telegram - Instant Messaging Chat on Ubuntu 16.04

Telegram is an instant messaging system focusing on privacy and multi-platform availability. 
The messages which are sent using telegram are highly encrypted and self-destructive. 
Telegram clients exist for both mobile (Android, iOS, Windows Phone) and desktop systems (Windows, OS X, Linux).
Users can exchange messages encrypted end-to-end, self-destructing messages, along with photos, videos and files of any type up to 1.5GB in size.

Telegram claims it is more secure than some other messengers such as WhatsApp . Conversations are encrypted with AES-256 using the MTProto protocol developed by Telegram. Only two devices may use the secret chat simultaneously.
(An active phone number is required in order for Telgegram to work on your PC)
On Ubuntu 16.04 Telegram can be installed via ppa . To begin open a terminal (ctrl+alt+t) and type in the following commands :

sudo add-apt-repository ppa:atareao/telegram
sudo apt update 

sudo apt install telegram

After the installation is complete Telegram can be launched from Unity Dash .
It is recommended to enable the two step verification (located in the settings option) when configuring Telegram on your smartphone .







Stay up to date with the latest news , tutorials and reviews by joining "Everything Ubuntu" Telegram channel . 

Wednesday, December 7, 2016

How to install qTox on Ubuntu 16.04


Tox is a peer-to-peer instant messaging and video calling protocol that offers end-to-end encryption. The stated goal of the project is to provide secure yet easily accessible communication for everyone

The Tox Project

"Tox began a few years ago, in the wake of Edward Snowden's leaks regarding NSA spying activity. The idea was to create an instant messaging application that ran without any kind of central servers. The system would be distributed, peer-to-peer, and end-to-end encrypted, with no way to disable any of the encryption features; at the same time, the application would be easily usable by the layperson with no practical knowledge of cryptography or distributed systems. During the Summer of 2013 a small group of developers from all around the globe was formed and began working on a library implementing the Tox protocol. The library provides all of the messaging and encryption facilities, and is completely decoupled from any user-interface; for an end-user to make use of Tox, they need a Tox client. Fast-forward a few years to today, and there exist several independent Tox client projects, and the original Tox core library implementation is continues improving. Tox (both core library and clients) has thousands of users, hundreds of contributors, and the project shows no sign of slowing down.
Tox is a FOSS (Free and Open Source) project. All Tox code is open source and all development occurs in the open. Tox is developed by volunteer developers who spend their after work hours on it, believing in the idea of the project. Tox is not a company or any other legal organization. Currently we don't accept donations as a project, but you are welcome to reach out to developers individually."
(https://tox.chat/about.html)
"With the rise of government monitoring programs, qTox provides an easy to use application that allows you to connect with friends and family without anyone else listening in. While other big-name services require you to pay for features, qTox is totally free, and comes without advertising."
(https://qtox.github.io)
qTox can be installed via repository or .deb file . In this tutorial we will be installing it by downloading the binary package and running it with gdebi . 


Locate the .deb file right click it > Open With > Gdebi Package Installer (if you do not have gdebi installed open a terminal and type sudo apt install gdebi) . This is one of the easiest way to install .deb files hence the package installer pulling all the required dependencies .   

Once installed qTox can be accessed from the Dash :









Thursday, December 1, 2016

Unity Indicators for a better Ubuntu 16.04 experience


1.Install Cpufreq-utils and Indicator-cpufreq:

For better power management we will be installing a cpu frequency scaling indicator by using

these commands in terminal :

sudo apt-get install cpufrequtils

sudo apt-get install indicator-cpufreq

A logout after the installation is required . 





2.Install Indicator-Multiload:

Indicator Multiload is an apple to monitor system resources such as the use of the processor, memory, internet, memory, swap, etc. By default only one graph of the processor is displayed. If you are using a multi-core CPU, note that it graphically depicts the use on a "general" instead of each core. Clicking on this chart displays a menu with more detailed data on other aspects of your system, such as memory swapping, network usage.


Indicator-Multiload can be installed via terminal (ctrl+alt+t) with the following command :


sudo apt install indicator-multiload


Once installed the system monitor can be launched from Unity Dash : 






To configure the indicator right click > Preferences 







3.Install Caffeine Indicator:

Caffeine indicator allows user to temporary disable screensaver/sleep mode. It is available in the Ubuntu repositories and can be easily installed via terminal : 


sudo apt install caffeine 


Similar to the Multiload indicator Caffeine can be launched from Dash : 









Thursday, November 3, 2016

Clipboard Manager - CopyQ on Ubuntu 16.04


CopyQ is advanced clipboard manager with searchable and editable history with support for image formats, command line control and more.


Features:
  • Supports Windows, OS X and Linux.
  • Store text, HTML, images and any other custom format.
  • Customize tray menu.
  • Save items in new tabs (and groups).
  • Quickly browse through items 
  • Sort items, create new, remove, copy/paste to different tab.
  • Variety of system-wide shortcuts 
  • Immediately paste to focused window from tray or main       window.
  • Fully customizable appearance (colors, fonts, transparency).
  • Add notes to items.
  • Advanced command-line interface and scripting.
  • Ignore clipboard copied from some windows or containing some text.


The lastest versions is  2.9.1 and it can be downloaded from here


To install it simply download the .deb file , navigate to the folder where it is located right click > Open with > Gdebi Package Installer > Install (if you do not have gdebi installed you can install it with the following command - sudo apt install gdebi) . Once installed you can launch copy from Dash :





Tuesday, November 1, 2016

Redshift on Ubuntu 16.04

"Light at night is bad for your health, and exposure to blue light emitted by electronics and energy-efficient lightbulbs may be especially so."
Until the advent of artificial lighting, the sun was the major source of lighting, and people spent their evenings in (relative) darkness. Now, in much of the world, evenings are illuminated, and we take our easy access to all those lumens pretty much for granted.
But we may be paying a price for basking in all that light. At night, light throws the body’s biological clock—the circadian rhythm—out of whack. Sleep suffers. Worse, research shows that it may contribute to the causation of cancer, diabetes, heart disease, and obesity.


But not all colors of light have the same effect. Blue wavelengths—which are beneficial during daylight hours because they boost attention, reaction times, and mood—seem to be the most disruptive at night. And the proliferation of electronics with screens, as well as energy-efficient lighting, is increasing our exposure to blue wavelengths, especially after sundown." (http://www.health.harvard.edu/staying-healthy/blue-light-has-a-dark-side)

Redshift is an application that adjusts the computer display's color temperature based upon the time of day. The program is free software, inspired by the proprietary f.lux, and is intended to reduce eye strain as well as insomnia.

To install redshift on Ubuntu , open a terminal (ctlr+alt+t) and type in the following command : 

sudo apt install redshift redshift-gtk

             After the installation is complete close the terminal and lanch redshift from Dash . 


             Redshift can be enabled to start on boot by clicking on "Autostart" 


How to install Spotify on Ubuntu 16.04

Spotify is a commercial music streaming, podcast and video service that provides digital rights management-restricted content from record labels and media companies . Music can be browsed or searched by artist, album, genre, playlist, or record label. 

To install Spotify on Ubuntu type the following command into a terminal:

                           
sudo apt-add-repository -y "deb http://repository.spotify.com stable non-free" &&
 sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys  D2C19886 &&
 sudo apt-get update -qq &&sudo apt-get install spotify-client






Close the terminal once the installation is complete and launch Spotify from Unity Dash .




Thursday, May 12, 2016

How to speed up and tweak Ubuntu 16.04

1.Unity Tweak Tool:

Unity Tweak Tool is a settings manager for the Unity desktop. It provides users with a fast, simple and easy-to-use interface with which to access many useful and little known features and settings of the desktop environment that one may want to configure.


To install unity tweak tool copy paste the the following commands into your terminal 

(ctrl+alt+t) :

sudo apt install unity-tweak-tool


then


unity-tweak-tool


(Unity Tweak Tool can be opened by doing a Dash search as well )






To speed up Unity go to General  set texture quality to fast under hardware acceleration and turn off animations .


2.Install Compiz Config :

Compiz is a compositing window manager for the X Window System, using 3D graphics hardware to create fast compositing desktop effects for window management. Effects, such as a minimization animation or a cube workspace, are implemented as loadable plugins.

To install CompizConfig , open a terminal (ctrl+alt+t) :


sudo apt install compiz compizconfig-settings-manager 


After the installation is done you can open the settings-manager 


from Dash .


Go to Composite and uncheck Detect Refresh Rate:



Hit back and return to the main configuration window . Next click on OpenGL and uncheck
Sync to VBlank. (caution using compizconfig-settings-manager as it can break your system)


3.Moving Temporary Files to Memory (RAM):

Before starting this process it’s a good idea to backup the fstab file:


sudo cp /etc/fstab /etc/fstab.bak


The next step is to edit fstab:

sudo gedit /etc/fstab 


Add the following lines at the end of the file :


tmpfs /tmp tmpfs defaults,noatime,size=1G,mode=1777 0 0

tmpfs /var/tmp tmpfs defaults,noatime,mode=1777 0 0
tmpfs /var/log tmpfs defaults,noatime,mode=0755 0 0 
tmpfs /var/log/apt tmpfs defaults,noatime 0 0




The first line mounts /tmp in memory with a size limit of 1 gig. This may be larger than you need. If you exceed this limit the swap area will be used.
The second line mounts /var/tmp into memory. The third mounts the logfiles in /var/log–note this means that a reboot will clear your log files which may not be what you want. The fourth line mounts the temporary files associated with apt into memory.
The new mount points will become active on your next reboot.

4.Control Startup Applications:
Ubuntu hides most of the system’s default autostart entries from this dialog. To view them, run the following command in a terminal:

sudo sed -i "s/NoDisplay=true/NoDisplay=false/g" /etc/xdg/autostart/*desktop

Don’t disable an autostart entry unless you understand what it does.
5. Tune Swappiness

If you have alot of RAM this tweak is for you . The swappiness value controls the Linux kernel's tendency to swap - that means moving information out of RAM and onto the swap file on the disk. It accepts a value between 0 and 100. In order to change swappiness value we need to edit /etc/sysctl.conf :

sudo gedit /etc/sysctl.conf
Look for vm.swappiness in the file and change its value. If it doesn’t exist, add it to the end of the file on a new line.

vm.swappiness = 1 (1” is the minimum possible “active swapping” setting while “0” means disable swapping completely and only revert to when RAM is completely filled. Using these settings in low-spec systems of 2GB RAM or less may cause freezes and make the OS completely unresponsive)




Save the file after making the change.


Optional

6. Install Preload: 
Preload is an adaptive readahead daemon that prefetches files mapped by applications from the disk to reduce application startup time.

sudo apt-get install preload

7. Disable Ping Response:

sudo gedit /etc/sysctl.conf

and add the following line at the bottom page . Make sure there is no "#" ahead of the line as it will uncomment it :

net.ipv4.icmp_echo_ignore_all = 1


Other network tweaks  

In the same file you can also add :

net.core.somaxconn = 1000
net.core.netdev_max_backlog = 5000
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
net.ipv4.tcp_wmem = 4096 12582912 16777216
net.ipv4.tcp_rmem = 4096 12582912 16777216
net.ipv4.tcp_max_syn_backlog = 8096
net.ipv4.tcp_slow_start_after_idle = 0
net.ipv4.tcp_tw_reuse = 1
net.ipv4.ip_local_port_range = 10240 65535



Once you have completed editing the file save the file and close it.


Before network tweaks:



After: