Set Default and Startup Applications in Ubuntu

Set Default and Startup Applications in Ubuntu

This blog will cover two basic things which can be done in Ubuntu. We don't even need to use terminal, this can be done with user interface only:

  • How to change the default applications of your system ?
  • How to add any application in startup ?

Change Default Applications

In order to change the default application, we can set change the default applications for Web Browser, Mail Calendar, Music player, Video Player and Photo Viewer. Applications to open these six types of applications can be set from the settings. To change the settings: 
  • Goto System Settings
  • Details
  • Default Appliation
    Here, on your right you can set the default applications and manipulate them as you want to.

Startup Appliations Preferences

Suppose you want your terminal application to open on startup(as your system
is on). Or you may want to enable you server right from the beginning ,or you may want to open the web browser. All those applications which run from the beginning are startup applications.You can set your desired application as a startup application. To do show:
  • On your dash screen type startup
  • Click Startup Applications
    This will lead you to the Startup Applications Preferences
  • Click Add
    Here we will add the application we want to run as startup
  • In Add Startup Program
  • Enter a name: say Guake Terminal
    Guake Terminal is also a terminal but customised. First you need to install this application. To install type sudo apt-get install guake in terminal.
  • Command Section
    In this section you will need to set the path of your application which you want to run. So you must know where the application is located. Either you can browse it(Generally most of the executables are stored in /usr/bin) or in terminal you can find the location of your application with which command. In terminal type which guake you will get the ouptut: /usr/bin/guake which is the path for executing your application. paste it in the command section.
  • Keep any description if you want and press enter
  • Next time you start your system your startup application is all set.

Best Mirror Server Selection for Ubuntu

Best Mirror Server Selection for Ubuntu

In Ubuntu every packages are installed on-line only. Installing packages off-line needs more exercise but installing packages off-line is also possible. As the community of Ubuntu is strong, there are its mirror servers in 83 countries. And all together there are hundreds of mirror servers from where we can download packages anytime.
In this blog, two general tips will be illustrated:
  1. How to change the server from main server to country  image server.
  2. How to select the best server for your region.
Generally the best mirror server for us will be the server available in our own country. In my country, Nepal its hosted by Nepal Telecommunications. So right after the installation I'll have to change the server from to Nepal. To do so:
  1. In System Settings
  2.  Software and Updates
  3.  Ubuntu Software : Download From
    Initially the download server is set to the main server. Here we will need to select our country server. To do so:
      Select Download from Other Now you can see all the 83 country servers(Mirror Servers). Select one server from your country. This will change the server and from now onwards your download speed will be fast.
Sometimes your country servers can have problems in downloading packages.  You will be facing unable to fetch some archives... error as shown below:

[email protected]:/home/techjhola# apt-get install guake
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
libglade2-0 libvte-common libvte9 python-glade2 python-vte
Suggested packages:
python-gtk2-doc
The following NEW packages will be installed:
guake libglade2-0 libvte-common libvte9 python-glade2 python-vte
0 upgraded, 6 newly installed, 0 to remove and 137 not upgraded.
Need to get 472 kB/643 kB of archives.
After this operation, 3,118 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err http://np.archive.ubuntu.com/ubuntu/ trusty/main libglade2-0 amd64 1:2.6.4-2
  403  Forbidden
Err http://np.archive.ubuntu.com/ubuntu/ trusty/main libvte-common all 1:0.28.2-5ubuntu1
  403  Forbidden
Err http://np.archive.ubuntu.com/ubuntu/ trusty/main libvte9 amd64 1:0.28.2-5ubuntu1
  403  Forbidden
Err http://np.archive.ubuntu.com/ubuntu/ trusty/main python-vte amd64 1:0.28.2-5ubuntu1
  403  Forbidden
Err http://np.archive.ubuntu.com/ubuntu/ trusty/main python-glade2 amd64 2.24.0-3ubuntu3
  403  Forbidden
E: Failed to fetch http://np.archive.ubuntu.com/ubuntu/pool/main/libg/libglade2/libglade2-0_2.6.4-2_amd64.deb  403  Forbidden

E: Failed to fetch http://np.archive.ubuntu.com/ubuntu/pool/main/v/vte/libvte-common_0.28.2-5ubuntu1_all.deb  403  Forbidden

E: Failed to fetch http://np.archive.ubuntu.com/ubuntu/pool/main/v/vte/libvte9_0.28.2-5ubuntu1_amd64.deb  403  Forbidden

E: Failed to fetch http://np.archive.ubuntu.com/ubuntu/pool/main/v/vte/python-vte_0.28.2-5ubuntu1_amd64.deb  403  Forbidden

E: Failed to fetch http://np.archive.ubuntu.com/ubuntu/pool/main/p/pygtk/python-glade2_2.24.0-3ubuntu3_amd64.deb  403  Forbidden

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?  

In such case you need to either try the last option displayed in the error panel:
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

If this doesn't work as well, you will need to select the best server for you. To do so, after you see the list of mirror server with country names . On its right top corner you can see:
  • Select Best Server This will run a short diagnostics and within a short time will find the best mirror server for you.
  • Select that server and keep downloading from that server.
You country server will again come to operation in a few days. In my case I had same error displayed above. I changed the server from country server to Best Server assigned by my system. And again after two days the downloading was okey. 
Linux Mint Website Hacked. ISO Compromised

Linux Mint Website Hacked. ISO Compromised

LINUX MINT WAS HACKED

Well you can trust no one, as everything is vulnerable although it seems safe from the outside. One of the best Linux Based Distribution Linux Mint was hacked, as mentioned by the Linux Mint Blog.

How was it hacked?

Blog mentions that hackers built a customized ISO of Linux Mint which had a bug within it and managed to hack Linux Mint Official Website through the backdoor they prepared.

What was affected?

The Linux Mint 17.3 Cinnamon was affected so far. Server of Linux Mint is recently down, for monitoring. SO all other ISO are still safe.

Does that harm you?

If you have downloaded any ISO except Cinnamon version, then you are not affected. You are not affected even you have downloaded them from torrents or from HTTP link.

Who did the atack ?

Those ISOs which got hacked were hosted on  5.104.175.212 and the hosted ISO leads to this website absentvodka,com through the backdoor. This connectd from country Bulgaria.Name of three people were available in the webiste. The motivation behind the hack is still unknown.

How to be safe?

To check if you are harmed check the valid MD5 signatures  of unaffected Cinnamon version below:


6e7f7e03500747c6c3bfece2c9c8394f linuxmint-17.3-cinnamon-32bit.iso
e71a2aad8b58605e906dbea444dc4983 linuxmint-17.3-cinnamon-64bit.iso
30fef1aa1134c5f3778c77c4417f7238 linuxmint-17.3-cinnamon-nocodecs-32bit.iso
3406350a87c201cdca0927b1bc7c2ccd linuxmint-17.3-cinnamon-nocodecs-64bit.iso
df38af96e99726bb0a1ef3e5cd47563d linuxmint-17.3-cinnamon-oem-64bit.iso

If your signature is different, Delete the ISO and use another one. This makes you safe.

The information of this attack was received from Official Blog Linux Mint. For further information and inquiry follow the RSS link available in the Linux Mint Blog

Make your Data, Applications safe in Ubuntu Live Boot

Wouldn't it be fantastic if you could install your necessary applications in a Live Boot and use it wherever you get a computer. Well you can do it. This blog will somehow try to provide a way to store all your data and applications from Live Boot.
Generally running an operating system from an external device like USB is like using guest session. While running the system we have root privileges to download any application and install them. Also we can browse the Internet and download files, make files, folder, etc. But all the data will be erased and your system will be fresh for next time you boot it.

In order to store files, folders and installed applications in your live boot you need to:
  1. Create a user.
  2. Provide that user administrative privilege.
  3. Reboot
Creating a user in Ubuntu is an easy task. There is a GUI "User Accounts" in your dashboard.
 In Dash Menu type: Users. 
  • There you will see one application User Accounts.
  • Add a Account:

    Set the account type to administrator. Enter full name: "test".
    Then you will see the details about the new user.

    Now click the password : Account disabled section , set a password and reboot your system. This type even though you are running your system from live boot you will get a login panel with user name test, login. After login you can add folders and install some applications save them. And reboot the system again. Now you can see the changes all your data is safe. Now you have a portable operating system all the time which you can operate anywhere.
How to resolve Infinite Login Loop in Ubuntu?

How to resolve Infinite Login Loop in Ubuntu?

What is a Infinite Login Loop Error?

Trying to login in your account from login panel of Ubuntu, you are again redirected to the same login interface after you enter your password. Again after you enter your password, same screen will be displayed again and again infinitely. We call this error as Infinite Login Loop Error.

There are few possible reasons for causing this Infinite Login Loop. They are:

  • Possible damage of some packages.
    Infinite Login Loop can occur if the last operation you performed in your system was updating various packages, but they got interrupted while downloading. There are some steps which can fix the infinite login loop.
    • Go to runlevel 1: Ctl Alt F1
    • login with user-name and password.
    • Run updates "sudo apt-get update"
    • Check all applications "sudo apt-get upgrade"
    • Check all packages "sudo apt-get -f install"
    • Update grub "sudo update-grub"
    • Remove all old applications and packages "sudo apt-get autoremove"
    • Reboot "sudo reboot" 

  • .Xauthority file chown (change owner) error.
    Sometimes if there are different users in your system and your system assigns the .Xauthority file to root users ( By default the permission is allowed to root only ) then  the users except root may face this Infinite Login Loop Error. .Xauthority file saves cookies and information realted to the login session and various applications after the user is logged in. So now in order to get rid of this error you need to change the owner of the system to your username.
    1. At the login screen enter runlevel 3 by pressing CTRL+ALT+F3
    2.  type ls -lah to look for the .Xauthority file and its privileges.
      You will see thir kind of ourput in the list:
      -rw------- 1 root root 53 Nov 29 10:19 .Xauthority
    3. then type sudo chown 'username':'username' .Xauthority, replacing the username with your username. Now you are able to access the .Xauthority file and all your login information after you login to your system will be stored in this file.
    4. Then reboot your system.
      sudo reboot

GOOGLE GIVES AWAY 2GB STORAGE ON SAFER INTERNET DAY

Like previous year, Google is giving away 2GB Storage to celebrate Safer Internet Day. Annually Google offers free storage to all of its users. All you need to do is update your security settings. Click here to update your Security Settings.
Google Security Update consists of four security checks:
  • Recovery information
  • Connected dveices
  • Access for less secure apps
  • Account permissions
Updating these checks you will get 2GB of free Drive Storage.The offer has not ended yet. I got 2GB free space on third day.
GRAB YOUR FREE SPACE NOW


Safer Internet Day (SID) is organised by Insafe in February of each year to promote safer and more responsible use of online technology and mobile phones, especially among children and young people across the world. This year SID was celebrated on 7th of