LinuxQuestions.org
Review your favorite Linux distribution.
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, 05: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, 09:07 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,871
Blog Entries: 18

Rep: Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340
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, 05: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, 08:38 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,871
Blog Entries: 18

Rep: Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340
Sorry it didn't work. If you ever figure out why it didn't work, please let me know.
 
Old 09-25-2011, 08:47 PM   #5
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Hello,

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

Cheers,

Josh
 
Old 09-28-2011, 04: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 05:10 PM.
 
Old 09-28-2011, 06:49 PM   #7
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Try removing "application/x-zerosize=kde4-kate.desktop;" and see if it helps.
 
Old 09-29-2011, 06: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, 08: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, 06:41 PM   #10
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

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

Cheers,

Josh
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 07:59 AM
Getting error : "The file or folder /mnt/win_c does not exist" JeetNayan Mandriva 5 01-19-2010 10:41 PM
Hostname defined in file "network" changes after change to file "hosts" qwkfish Linux - Networking 2 10-14-2009 05:07 PM
File and folder names containing "Ğ ğ İ ı Ş ş" ? sertmusluman Slackware 38 12-22-2008 05:24 PM
How to issue "ls" command start with the largest file size in a folder? fjkum Linux - Newbie 5 07-27-2006 04:28 AM

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

All times are GMT -5. The time now is 08:25 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration