LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-12-2011, 04:18 AM   #1
masuch
Member
 
Registered: Sep 2011
Location: /dev/null
Distribution: ubuntu 64bits
Posts: 135

Rep: Reputation: 1
Question gnome 2 kate The file "could not be opened: it is not a normal file, it is a folder"


Hi,

When I try to open folder/directory by clicking on Plases -> Desktop/Documents/Music/Pictures/Videos/Downloads/UbuntuOne in gnome version 2.3 I have got always message:

The file 'file:///home/username/directory' could not be opened: it is not a normal file, it is a folder.

It is always trying to open Kate editor (version 3.6.2) except for folder "Computer".

I have checked File Associations - System Settings -> inode -> directory but there is no association with Kate.

Could you help me what else should I checked to find where is the problem ?

thank you
(OS: ubuntu 64 bit 11.04)
 
Old 09-12-2011, 08:07 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Navigate to the folder in Nautilus.

Right-click and select Open with-->Other Application. When the select application dialog opens, choose Nautilus (it might show as "File Browser"--that's how it shows in Debian), making sure to check the "Remember application" box at the bottom of the dialog.

This should straighten out the file associations.
 
Old 09-25-2011, 04:23 AM   #3
masuch
Member
 
Registered: Sep 2011
Location: /dev/null
Distribution: ubuntu 64bits
Posts: 135

Original Poster
Rep: Reputation: 1
Thank you, but it does not work and remember checkbox is not there. I have run out of ideas so I switched to thunar.
 
Old 09-25-2011, 07:38 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Sorry it didn't work. If you ever figure out why it didn't work, please let me know.
 
Old 09-25-2011, 07:47 PM   #5
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Hello,

Can you post the contents of your ~/.local/share/applications/mimeapps.list for me?

Cheers,

Josh
 
Old 09-28-2011, 03:44 PM   #6
masuch
Member
 
Registered: Sep 2011
Location: /dev/null
Distribution: ubuntu 64bits
Posts: 135

Original Poster
Rep: Reputation: 1
Hi,
Sorry for late reply,

[Added Associations]
application/x-zerosize=kde4-kate.desktop;
inode/directory=kde4-dolphin.desktop;kde4-kfmclient_dir.desktop;Thunar-folder-handler.desktop;pcmanfm.desktop;qgit.desktop;kde4-cervisia.desktop;kde4-kdesvn.desktop;nautilus-browser.desktop;nautilus-folder-handler.desktop;kde4-kfind.desktop;
text/plain=kde4-kate.desktop;virtualbox.desktop;
x-scheme-handler/file=exo-file-manager.desktop
x-scheme-handler/trash=exo-file-manager.desktop
x-scheme-handler/mailto=thunderbird.desktop;

[Default Applications]
inode/directory=nautilus-folder-handler.desktop
x-scheme-handler/mailto=thunderbird.desktop

Last edited by masuch; 09-28-2011 at 04:10 PM.
 
Old 09-28-2011, 05:49 PM   #7
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Try removing "application/x-zerosize=kde4-kate.desktop;" and see if it helps.
 
Old 09-29-2011, 05:06 AM   #8
masuch
Member
 
Registered: Sep 2011
Location: /dev/null
Distribution: ubuntu 64bits
Posts: 135

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by corp769 View Post
Try removing "application/x-zerosize=kde4-kate.desktop;" and see if it helps.
No, It did not help.
 
Old 09-29-2011, 07:40 AM   #9
masuch
Member
 
Registered: Sep 2011
Location: /dev/null
Distribution: ubuntu 64bits
Posts: 135

Original Poster
Rep: Reputation: 1
Smile Solved

Hi,

Thanks to all, who tried to help me.
I solved problem by command:
exo-preferred-applications -c
and switched to nautilus (I uninstalled Kate , which was not necessary)
taken advice from: http://askubuntu.com/questions/42682...t-output-error

regards,
 
Old 09-29-2011, 05:41 PM   #10
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Ahh, that's where that's located at Thanks for the link, too!

Cheers,

Josh
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] cannot open Places>Home Folder --- getting " error, file not found " uriri Linux - Newbie 1 01-13-2011 06:59 AM
Getting error : "The file or folder /mnt/win_c does not exist" JeetNayan Mandriva 5 01-19-2010 09:41 PM
Hostname defined in file "network" changes after change to file "hosts" qwkfish Linux - Networking 2 10-14-2009 04:07 PM
File and folder names containing "Ğ ğ – Ü ü – İ – ı – Ö ö – Ş ş" ? sertmusluman Slackware 38 12-22-2008 04:24 PM
How to issue "ls" command start with the largest file size in a folder? fjkum Linux - Newbie 5 07-27-2006 03:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration