Showing posts with label issues. Show all posts
Showing posts with label issues. Show all posts

Saturday, December 30, 2017

How To Solve Sublime Text Not Showing In Optional Application List Of Open With Menu On Right Click

How To Solve Sublime Text Not Showing In Optional Application List Of Open With Menu On Right Click

I just installed sublime text in my new Linux box.. And tried to open text file with it instead of default editor.. So I clicked on 'Open With' option in Right Click menu.... But I couldn't see sublime-text in application list shown on clicking 'Open With'...

So I just googled for solution... It's easy to fix... We just need to copy desktop entry to local list of desktop entries list...

Just Run The Following Lines.. To Make Things Work...

Step 1 :

Just Copy the contents of /usr/share/applications/sublime_text.desktop to ~/.local/share/applications/sublime_text.desktop

cp /usr/share/applications/sublime_text.desktop ~/.local/share/applications/sublime_text.desktop

Step 2 :

Now Just update the index of desktop entries... sudo update-desktop-database

sudo update-desktop-database

That's It Now It will appear at menu list of 'Open With'...

Just check the video... Friends... Don't Forget To Subscribe...


Monday, July 18, 2016

How To Fix "Failed To Start Session" Error At Ubuntu Login

How To Fix
"Failed To Start Session"
Error At Ubuntu Login



Failed start to start session in Login - Ubuntu 16.04, Ubuntu 15.04, Ubuntu 14.04 or Ubuntu 14.10. Here's how to fix "failed to start session" at login in Ubuntu Systems:

I have installed Ubuntu 16.04 LTS in one of my friends Laptop and installed/removed certain things after that as usual rebooted the system... Entered my password and it shows "failed to start session" error in Login screen.. even , I can't able to login to guest session. So, Little bit, I have googled about this issue and found the reason for this issue.. It's because Ubuntu's Unity desktop got broken in some way..

There are two methods available to fix this problem... If first method fails ... use second one..

Method 1 : Installing/Reinstalling Ubuntu Desktop

Step 1:

Switch to command-line (Press CTRL+ALT+F1) and type your user name and password... Then, run the following command to install Unity desktop again..

sudo apt-get update && sudo apt-get install ubuntu-desktop

If it's already installed try to reinstall it..

sudo apt-get install --reinstall ubuntu-desktop

Once the installation finished reboot the system..

sudo reboot

Now try to login.. You should be able to login to your system.. But .. if you still get "Failed to start session error" try alternate method (METHOD 2) shown below..

Method 2: Reconfigure Installed Packages and Install Gnome DESKTOP :

After reinstalling Ubuntu Desktop.. if you still get "Failed to start session".. try to reconfigure all installed packages.. This may solve the problem..

sudo dpkg-reconfigure -a

If you still not able to login, install gnome-desktop... so that you can simply login through that one...
Install Gnome DESKTOP with following command..

sudo apt-get update && sudo apt-get install gnome-shell ubuntu-gnome-desktop

After successful installation, issue following command to reboot your system..

sudo reboot

Finally, This will solve your problem to log into the system.. and you should be able to log into your system successfully..


Thursday, March 31, 2016

Fix 'Failed To Fetch' Error With Google Chrome On Ubuntu And It's Derivatives

Fix 'Failed To Fetch' Error With Google Chrome On Ubuntu And It's Derivatives


'Failed To Fetch' Error With Google Chrome

Recently, while updating your Ubuntu or Ubuntu based systems, you might have come across an update error that says:

Fetched 65.9 kB in 5min 48s (188 B/s) W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file) E: Some index files failed to download. They have been ignored, or old ones used instead.

error while updating google chrome on ubuntu 14.04

Don't feel alone. This is a common issue faced by many after Google Chrome has ended support for 32 bit Linux system. We already know about it. This change was supposed to impact only 32 bit Linux systems but it seems that even users running Ubuntu 14.04 or higher on a 64 bit systems are also affected by this change.
While this error is tiny, trivial, it is highly annoying. Good news is that it is really easy to get rid of this pain-in-neck error.

Fix Failed to fetch issue :

The problem here is that in the sources list entry, by default, it is expecting the 32 bit package. This sound weird but it's true.What we need to do here is to change the sources.list entry for Google Chrome and explicitly instruct it to get

What we need to do here is to change the sources.list entry for Google Chrome and explicitly instruct it to get 64 bit package. How to modify the sources.list, you may ask.

Well, it's quite easy to do that. It can be done entirely in command line itself, but keeping beginners in mind, I'll show you how to do it with a graphical text editor.


step 1

Open a terminal and use the command below:

sudo gedit /etc/apt/sources.list.d/google-chrome.list

This will open Gedit text editor and you'll see a file like this:



Step 2:

In here, all we need to do is to replace
" deb http://dl.google.com/linux/chrome/deb/ stable main " with the following line:

deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main

It should look like this now:



Step 3:

Save and close the file. Now run the update again using the command below:

sudo apt-get update

That's it.. You won't see the error again. Enjoy error-free updates now



It's open source ....
     Love It ...!
          Share It...!
                  &
                    Enjoy It Guys...!