cant open any files or folders

Asked by Roger Warburton

upgraded to ubuntu 11.10 from 11.04 and no program will open a file or folder,when opened only figures appear and no words or text

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu nautilus Edit question
Assignee:
No assignee Edit question
Solved by:
Sam_
Solved:
Last query:
Last reply:
Revision history for this message
Derek Pockrandt (derekpock) said :
#1

Is there any more information you can give us? Its hard to work off something like this with that little of info. Does it seem to be that the computer lags when opening a program, can it open another program easily while the specific document is open?

Revision history for this message
Roger Warburton (r-j-warby) said :
#2

Thanks for your answer.No file can be opened by the computer at all when it opens none of the paper wording is visible
I have tried every program available but nothing works,so all the files that have been previously saved are u.s.
The folder lists the content files but cannot get the content inside,by opening.

Revision history for this message
Sam_ (and-sam) said :
#3

Please provide which session you're running, Unity, Unity-2d, Gnome-classic (fallback)?

If possible open a terminal: ctrl+alt+t
Update the system:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get -f install

Please post output of:
/usr/lib/nux/unity_support_test -p

If it isn't possible to open a terminal switch to virtual console (text mode only): ctrl+alt+f1
login with username and password and update from there.
When finished reboot:
sudo reboot

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

If you rightclick a file and select 'open with other application', then select the appropriate app and tell the OS to remember the association, does it open ok from then on....

Revision history for this message
Derek Pockrandt (derekpock) said :
#5

Are you sure the file you are trying to open is secured? It is possible a virus could cause your OS to fail.
If you are still having trouble trying to get the document opened, try reinstalling your entire OS. I would move (if possible) all of your personal data to an external storage, or if needed, a side by partion on your hardrive.

To do this simply open terminal if possible, (or virtual console), and type the following:

sudo apt-get install gparted -y
 (wait for process to finish)
gparted

Now shrink your partion (sda1 or whichever one says UBUNTU) so there is at lease 3 gigs free, unless your personal data takes even more space, now create a partion that fills up the space and format it as NTFS or FAT32 or FAT. (you can also create a name called backup or something)

Simply then go to your home folder, then click and drag all files to the partion, (may take a while to copy).

Then if possible on another computer, download, burn, and create an iso disk for ubuntu, then reinstall, just when you get to installing, make sure to click advanced and place it over your old ubuntu, NOT THE BACKUP!!!

Remember this is only if all else failed, so don't go straight to this right at first.

Revision history for this message
Roger Warburton (r-j-warby) said :
#6

To Sam,result as follows
roger@roger-Inspiron-1525:~$
roger@roger-Inspiron-1525:~$ /usr/lib/nux/unity_support_test -p
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) 965GM x86/MMX/SSE2
OpenGL version string: 2.1 Mesa 7.11

Not software rendered: yes
Not blacklisted: yes
GLX fbconfig: yes
GLX texture from pixmap: yes
GL npot or rect textures: yes
GL vertex program: yes
GL fragment program: yes
GL vertex buffer object: yes
GL framebuffer object: yes
GL version is 1.4+: yes

Unity 3D supported: yes
roger@roger-Inspiron-1525:~$

Revision history for this message
Sam_ (and-sam) said :
#7

Roger, output looks good. Did you try update & uprade yet?

Revision history for this message
Roger Warburton (r-j-warby) said :
#8

Thanks again,

Yes carried out all the updates and upgrade with no success when your click
on the file it just opens what looks like sheets of paper without
displaying them

On 3 December 2011 15:00, Sam_ <email address hidden> wrote:

> Your question #180774 on nautilus in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/nautilus/+question/180774
>
> Status: Open => Needs information
>
> Sam_ requested more information:
> Roger, output looks good. Did you try update & uprade yet?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/nautilus/+question/180774
>
> You received this question notification because you asked the question.
>

Revision history for this message
Sam_ (and-sam) said :
#9

Try:
sudo apt-get install ubuntu-desktop
and reboot.
Then also note which session you're logged in.

Which file type is it, text, image?
Does filemanager Nautilus open at all?

Investigate via terminal.
Run Nautilus, open the preferred file and post terminal output:
nautilus

Or to open a text file:
gedit <name_of_file>

libreoffice:
libreoffice -o <name_of_file>

pdf:
evince <name_of_file>

image:
eog <name_of_file>

Rename mimeapps.list and logout-in.
mv ~/.local/share/applications/mimeapps.list ~/.local/share/applications/mimeapps.list-old

Revision history for this message
Roger Warburton (r-j-warby) said :
#10

Thanks again for your help I have run the install ubuntu-desktop no difference and have tried gedit on the text file when it opens it gives lines of print in colours but does not become the document saved.
I will need further instruction to do the other checks.
Thanks again

Revision history for this message
Sam_ (and-sam) said :
#11

Roger, we need terminal outputs to get an opinion what's wrong.
Open gedit in a terminal, type anything in a new document, try to save the file and post all terminal output, thanks.

Please also post the content from .xsession-errors.
gedit ~/.xsession-errors

Revision history for this message
Roger Warburton (r-j-warby) said :
#12

/etc/gdm/Xsession: Beginning session setup...
Setting IM through im-switch for locale=en_GB.
Start IM through /etc/X11/xinit/xinput.d/all_ALL linked to /etc/X11/xinit/xinput.d/default.
gnome-session[6114]: WARNING: Unable to find provider 'gnome-wm' of required component 'windowmanager'
Checking for Xgl: not present.
Detected PCI ID for VGA:
Checking for texture_from_pixmap: not present.
Trying again with indirect rendering:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (1280x800) to maximum 3D texture size (2048): Passed.
Checking for Software Rasterizer: Not present.
Checking for nVidia: not present.
Checking for FBConfig: present.
Checking for Xgl: not present.
/usr/bin/compiz.real (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format
Starting gtk-window-decorator
gnome-session[6114]: WARNING: Application 'gnome-wm.desktop' failed to register before timeout
ALSA lib pcm_pulse.c:625:(pulse_prepare) PulseAudio: Unable to create stream: Invalid argument

Failed to play sound: IO error
seahorse nautilus module initialized
Initializing nautilus-share extension

** (nautilus:6282): WARNING **: Unable to add monitor: Not supported

** (nautilus:6282): WARNING **: Unable to add monitor: Not supported
gnome-session[6114]: WARNING: Application 'libcanberra-login-sound.desktop' failed to register before timeout

Tracker version 0.6.6 Copyright (c) 2005-2007 by Jamie McCracken (<email address hidden>)

This program is free software and comes without any warranty.
It is licensed under version 2 or later of the General Public License which can be viewed at http://www.gnu.org/licenses/gpl.txt

Initialising tracker...
Failure: Module initalization failed
Could not set idle IO priority...attempting best effort 7 priority
starting HAL detection for ac adaptors...found /org/freedesktop/Hal/devices/acpi_AC
Throttle level is 11

** (nm-applet:6321): WARNING **: (applet.c:916):applet_open_mbca: code should not be reached

** (nm-applet:6321): WARNING **: (applet.c:921):applet_open_mbca: code should not be reached

** (nm-applet:6321): WARNING **: (applet.c:926):applet_open_mbca: code should not be reached

** (nm-applet:6321): WARNING **: (applet.c:931):applet_open_mbca: code should not be reached

** (nm-applet:6321): WARNING **: (applet.c:936):applet_open_mbca: code should not be reached

** (nm-applet:6321): WARNING **: (applet.c:941):applet_open_mbca: code should not be reached
  PID TTY TIME CMD
6281
gnome-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"

      after 83426 requests (83403 known processed) with 0 events remaining.

gtk-window-decorator: Fatal IO error 104 (Connection reset by peer) on X server :0.0.
update-notifier: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
nautilus: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
nm-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
tracker-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
bluetooth-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
firefox: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
hp-systray: Fatal IO error: client killed
gcalctool: Fatal IO error 104 (Connection reset by peer) on X server :0.0.
applet.py: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
gnome-panel: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
DBus connection has been lost, trackerd will now shutdown
Window manager error: Unable to open X display :0.0

HP Linux Imaging and Printing System (ver. 2.8.7)
System Tray Status Service ver. 0.1

Copyright (c) 2001-8 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Revision history for this message
Roger Warburton (r-j-warby) said :
#13

Hi again Sam this is from the terminal
roger@roger-Inspiron-1525:~$ 'gedit'

(gedit:2511): Gtk-WARNING **: Unable to retrieve the file info for `file:///home/roger/doc3': Error stating file '/home/roger/doc3': No such file or directory

Revision history for this message
Sam_ (and-sam) said :
#14

Xserver crashes.
Please post output of:
sudo lshw -C video
xrandr
lsb_release -r

Since you're on gnome-session you could try this:
metacity --replace

Revision history for this message
Roger Warburton (r-j-warby) said :
#15

 *-display:0
       description: VGA compatible controller
       product: Mobile GM965/GL960 Integrated Graphics Controller (primary)
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 0c
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:45 memory:fea00000-feafffff memory:e0000000-efffffff ioport:eff8(size=8)
  *-display:1 UNCLAIMED
       description: Display controller
       product: Mobile GM965/GL960 Integrated Graphics Controller (secondary)
       vendor: Intel Corporation
       physical id: 2.1
       bus info: pci@0000:00:02.1
       version: 0c
       width: 64 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list
       configuration: latency=0
       resources: memory:feb00000-febfffff
roger@roger-Inspiron-1525:~$

Revision history for this message
Roger Warburton (r-j-warby) said :
#16

Hi Sam,

Tried the following metacity --replace no difference at all

Cheers

On 4 December 2011 00:31, Sam_ <email address hidden> wrote:

> Your question #180774 on nautilus in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/nautilus/+question/180774
>
> Status: Open => Answered
>
> Sam_ proposed the following answer:
> Xserver crashes.
> Please post output of:
> sudo lshw -C video
> xrandr
> lsb_release -r
>
>
> Since you're on gnome-session you could try this:
> metacity --replace
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/nautilus/+question/180774/+confirm?answer_id=13
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/nautilus/+question/180774
>
> You received this question notification because you asked the question.
>

Revision history for this message
Sam_ (and-sam) said :
#17

Test other login sessions Unity and Unity-2d
In case report a bug via terminal:
ubuntu-bug xserver-xorg-video-intel

Revision history for this message
Roger Warburton (r-j-warby) said :
#18

bug reported via terminal how do I log on using session unity and unity-2d.

Thanks again for your time and patience

Revision history for this message
Sam_ (and-sam) said :
#19

From #14, please post output of:
xrandr
lsb_release -r

Revision history for this message
Roger Warburton (r-j-warby) said :
#20

as requested
roger@roger-Inspiron-1525:~$ xrandr
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 8192 x 8192
LVDS1 connected 1280x800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
   1280x800 60.0*+
   1024x768 60.0
   800x600 60.3 56.2
   640x480 59.9
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
TV1 disconnected (normal left inverted right x axis y axis)
roger@roger-Inspiron-1525:~$ lsb_release -r
Release: 11.10
roger@roger-Inspiron-1525:~$
roger@roger-Inspiron-1525:~$

Revision history for this message
Sam_ (and-sam) said :
#21

Choose a different login session by clicking on the small sys tool icon beside the user name.
https://lh3.googleusercontent.com/-3xzQq082Q9s/Th1sbbqEZPI/AAAAAAAAFYY/dAfhFMNxpOc/lightdm-unity-greeter.png

Revision history for this message
Roger Warburton (r-j-warby) said :
#22

Tried that went to Ubuntu 2 no difference but when I went back to normal it seemed to crash and go strange.

Revision history for this message
Roger Warburton (r-j-warby) said :
#23

After more tests the files are being classed as a directory,so gedit is saying cant open files because they are a directory what program opens a directory.??

Revision history for this message
Sam_ (and-sam) said :
#24

Recall #9, please try this via terminal (rather copy&paste):
mv ~/.local/share/applications/mimeapps.list ~/.local/share/applications/mimeapps.list-old

Then logout-in or reboot.

Revision history for this message
Roger Warburton (r-j-warby) said :
#25

roger@roger-Inspiron-1525:~$ mv ~/.local/share/applications/mimeapps.list ~/.local/share/applications/mimeapps.list-old
mv: cannot stat `/home/roger/.local/share/applications/mimeapps.list': No such file or directory
r

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#26

Ok, what is the output of:

sudo find $HOME | grep -i mime

Thanks

Revision history for this message
Roger Warburton (r-j-warby) said :
#27

/home/roger/Gallery/roger/.local/share/applications/mimeapps.list
/home/roger/Gallery/roger/.local/share/applications/mimeinfo.cache
/home/roger/.local/share/applications/mimeapps.list-old
/home/roger/.thunderbird/0u4rmagq.default/mimeTypes.rdf
/home/roger/.mozilla/firefox/str1wqmh.default/mimeTypes.rdf
/home/roger/.kde/share/mimelnk
/home/roger/.gconf/apps/banshee-1/nereid/track_view_columns/_music_library_source_-_library/mime_type
/home/roger/.gconf/apps/banshee-1/nereid/track_view_columns/_music_library_source_-_library/mime_type/%gconf.xml
ro

Revision history for this message
Sam_ (and-sam) said :
#28

Please post output of:
stat /home/roger/.local/share/applications/mimeapps.list-old

and open the file:
gedit /home/roger/.local/share/applications/mimeapps.list-old

and post content here. Thanks.

Revision history for this message
Roger Warburton (r-j-warby) said :
#29

 File: `/home/roger/.local/share/applications/mimeapps.list-old'
  Size: 901 Blocks: 8 IO Block: 4096 regular file
Device: 801h/2049d Inode: 6686400 Links: 1
Access: (0664/-rw-rw-r--) Uid: ( 1000/ roger) Gid: ( 1000/ roger)
Access: 2011-12-06 12:11:19.643260111 +0000
Modify: 2011-12-06 12:11:19.407258941 +0000
Change: 2011-12-06 21:47:04.338271672 +0000

Revision history for this message
Roger Warburton (r-j-warby) said :
#30

[Added Associations]
application/x-sqlite3=firefox.desktop;
image/x-xcf=shotwell-viewer.desktop;eog.desktop;
x-content/blank-dvd=brasero.desktop;
inode/directory=kde4-dolphin.desktop;gedit.desktop;pcmanfm.desktop;nautilus-browser.desktop;nautilus-autorun-software.desktop;firefox.desktop;gconf-editor.desktop;
x-scheme-handler/mailto=thunderbird.desktop;
application/x-ms-dos-executable=ubuntu-software-center.desktop;nautilus-autorun-software.desktop;firefox.desktop;
application/pdf=libreoffice-startcenter.desktop;evince.desktop;
application/vnd.oasis.opendocument.database=libreoffice-base.desktop;
application/javascript=firefox.desktop;gedit.desktop;evince.desktop;
image/gif=kde4-gwenview.desktop;

[Default Applications]
inode/directory=nautilus-folder-handler.desktop
x-scheme-handler/mailto=thunderbird.desktop
application/x-ms-dos-executable=firefox.desktop
application/pdf=evince.desktop

Revision history for this message
Sam_ (and-sam) said :
#31

Robert, did you logout or reboot yet, it should create a new mimeapps.list in
/home/roger/.local/share/applications.

Login back to Unity (Ubuntu session).
Open Nautilus in a terminal:
nautilus

and test if it opens a folder as expected.
Verify if there is a newly created mimeapps.list in
/home/roger/.local/share/applications.

> went to Ubuntu 2 no difference but when I went back to normal it seemed to crash

Please describe in more detail 'seemed to crash'. Thanks.
If 'back to normal' means the Unity (Ubuntu session) and if it's possible to open a terminal, then please try:
unity --reset

Revision history for this message
Roger Warburton (r-j-warby) said :
#32

Sam
Thanks
roger@roger-Inspiron-1525:~$ /home/roger/.local/share/applications.
bash: /home/roger/.local/share/applications.: No such file or directory
roger@roger-Inspiron-1525:~$

It didn't create a new folder

When returned from session it was un responsive and screen was dim

Revision history for this message
Roger Warburton (r-j-warby) said :
#33

roger@roger-Inspiron-1525:~$ unity --reset
WARNING: Unity currently default profile, so switching to metacity while resetting the values
Checking if settings need to be migrated ...no
Checking if internal files need to be migrated ...no
Backend : gconf
Integration : true
Profile : unity
Adding plugins
Skipping upgrade com.canonical.unity.unity.01.upgrade
Skipping upgrade com.canonical.unity.unity.02.upgrade
Initializing core options...done
Initializing bailer options...done
Initializing detection options...done
Initializing composite options...done
Initializing opengl options...done
Initializing decor options...done
Initializing mousepoll options...done
Initializing vpswitch options...done
Initializing animation options...done
Initializing snap options...done
compiz (expo) - Warn: failed to bind image to texture
Initializing expo options...done
Initializing move options...done
Initializing place options...done
Initializing grid options...done
Initializing gnomecompat options...done
Initializing wall options...done
Initializing ezoom options...done
Initializing workarounds options...done
Initializing resize options...done
Initializing fade options...done
Initializing unitymtgrabhandles options...done
Initializing scale options...done
Initializing session options...done

Screen geometry changed:
   0x0x1280x800

unity-panel-service: no process found
Initializing unityshell options...done
DEBUG 2011-12-08 20:36:18 glib <unknown>:0 Setting to primary screen rect: x=0 y=0 w=1280 h=800
WARN 2011-12-08 20:36:18 glib <unknown>:0 Failed to fetch view type at /org/ayatana/bamf/window62916130: Method "ViewType" with signature "" on interface "org.ayatana.bamf.view" doesn't exist

WARN 2011-12-08 20:36:18 glib <unknown>:0 Failed to fetch view type at /org/ayatana/bamf/window62916144: Method "ViewType" with signature "" on interface "org.ayatana.bamf.view" doesn't exist

Initializing annotate options...done
Initializing blur options...done
Initializing clone options...done
Initializing colorfilter options...done
Initializing commands options...done
Initializing cube options...done
Initializing debugspew options...done
Initializing imgjpeg options...done
Initializing kdecompat options...done
Initializing mag options...done
Initializing neg options...done
Initializing obs options...done
Initializing opacify options...done
Initializing put options...done
Initializing resizeinfo options...done
Initializing ring options...done
Initializing rotate options...done
Initializing scaleaddon options...done
Initializing screenshot options...done
Initializing shift options...done
Initializing staticswitcher options...done
Initializing switcher options...done
Initializing thumbnail options...done
Initializing water options...done
Initializing winrules options...done
Initializing wobbly options...done
Initializing zoom options...done
Setting Update "main_menu_key"
Setting Update "run_key"
WARN 2011-12-08 20:36:47 unity.glib.dbusproxy GLibDBusProxy.cpp:255 Cannot call method InfoRequest proxy /com/canonical/unity/lens/commands does not exist
WARN 2011-12-08 20:36:47 unity.glib.dbusproxy GLibDBusProxy.cpp:255 Cannot call method SetActive proxy /com/canonical/unity/lens/commands does not exist
WARN 2011-12-08 20:36:47 unity.glib.dbusproxy GLibDBusProxy.cpp:255 Cannot call method InfoRequest proxy /com/canonical/unity/lens/applications does not exist
WARN 2011-12-08 20:36:47 unity.glib.dbusproxy GLibDBusProxy.cpp:255 Cannot call method SetActive proxy /com/canonical/unity/lens/applications does not exist
WARN 2011-12-08 20:36:47 unity.glib.dbusproxy GLibDBusProxy.cpp:255 Cannot call method InfoRequest proxy /com/canonical/unity/lens/files does not exist
WARN 2011-12-08 20:36:47 unity.glib.dbusproxy GLibDBusProxy.cpp:255 Cannot call method SetActive proxy /com/canonical/unity/lens/files does not exist
WARN 2011-12-08 20:36:47 unity.glib.dbusproxy GLibDBusProxy.cpp:255 Cannot call method InfoRequest proxy /com/canonical/unity/lens/music does not exist
WARN 2011-12-08 20:36:47 unity.glib.dbusproxy GLibDBusProxy.cpp:255 Cannot call method SetActive proxy /com/canonical/unity/lens/music does not exist
WARN 2011-12-08 20:36:48 unity.iconloader IconLoader.cpp:509 Unable to load contents of file:///usr/share/icons/unity-icon-theme/places/svg/category-installed.svg: Error opening file: No such file or directory
WARN 2011-12-08 20:36:48 unity.iconloader IconLoader.cpp:509 Unable to load contents of file:///usr/share/icons/unity-icon-theme/places/svg/category-available.svg: Error opening file: No such file or directory

Revision history for this message
Sam_ (and-sam) said :
#34

#33 isn't dramatic.
#32 didn't say to create a new folder, it asked to verify if a new mimeapps.list is *in* the folder after a reboot.

Please enter in a terminal:
cat /home/roger/.local/share/applications/mimeapps.list

and post output.

Revision history for this message
Roger Warburton (r-j-warby) said :
#35

roger@roger-Inspiron-1525:~$ cat /home/roger/.local/share/applications/mimeapps.list

[Added Associations]
inode/directory=gedit.desktop;
roger@roger-Inspiron-1525:~$

Revision history for this message
Roger Warburton (r-j-warby) said :
#36

Just a thought any folders which contain photo's are opening normally its only the folders/files that contain documents that are effected

Revision history for this message
Sam_ (and-sam) said :
#37

Thank you.
The line for inode/directories should look like this:
inode/directory=nautilus.desktop;nautilus-folder-handler.desktop;

To edit the file try to open it with gedit in a terminal:
gedit /home/roger/.local/share/applications/mimeapps.list

If the file doesn't open with gedit, try 'nano':
nano /home/roger/.local/share/applications/mimeapps.list

When finished save the file: ctrl+o and exit: ctrl+x
https://help.ubuntu.com/community/Nano

Then reboot.

Revision history for this message
Roger Warburton (r-j-warby) said :
#38

1,gedit /home/roger/.local/share/applications/mimeapps.list

Revision history for this message
Roger Warburton (r-j-warby) said :
#39

sorry Sam that doesn't seem to have worked

Revision history for this message
Roger Warburton (r-j-warby) said :
#40

nano came out as

[Added Associations]
inode/directory=gedit.desktop;

Revision history for this message
Sam_ (and-sam) said :
#41

Ok, then use 'nano' to edit the file.
Make the content look like this:
[Added Associations]
inode/directory=nautilus.desktop;nautilus-folder-handler.desktop;
text/plain=gedit.desktop;

Revision history for this message
Roger Warburton (r-j-warby) said :
#42

Sam having difficulty doing this how do I make sure its running in nano

Revision history for this message
Sam_ (and-sam) said :
#43

Roger, as in comment #40 you've opened it already with 'nano'.
Nano is able to run in a terminal window or virtual console, without GUI.
http://www.nano-editor.org/docs.php

Revision history for this message
Roger Warburton (r-j-warby) said :
#44

Added: command not found
roger@roger-Inspiron-1525:~$ inode/directory=nautilus.desktop;nautilus-folder-handler.desktop;
bash: inode/directory=nautilus.desktop: No such file or directory
nautilus-folder-handler.desktop: command not found
roger@roger-Inspiron-1525:~$ text/plain=gedit.desktop;
bash: text/plain=gedit.desktop: No such file or directory
roger@roger-Inspiron-1525:~$
roger@roger-Inspiron-1525:~$

Revision history for this message
Roger Warburton (r-j-warby) said :
#45

oger@roger-Inspiron-1525:~$ inode/directory=nautilus.desktop;nautilus-folder-handler.desktop;
bash: inode/directory=nautilus.desktop: No such file or directory
nautilus-folder-handler.desktop: command not found
roger@roger-Inspiron-1525:~$ text/plain=gedit.desktop;
bash: text/plain=gedit.desktop: No such file or directory
roger@roger-Inspiron-1525:~$
roger@roger-Inspiron-1525:~$

Revision history for this message
Sam_ (and-sam) said :
#46

Roger, those are no terminal commands, they need to be added to the file mimeapps.list.
Open the file with nano, enter in a terminal:
nano /home/roger/.local/share/applications/mimeapps.list

Then change the content of the file as suggested in comment #41.
When finished save the file: ctrl+o and exit: ctrl+x
If uncertain learn from the posted links how to work with nano.

Revision history for this message
Roger Warburton (r-j-warby) said :
#47

Ok carried out that change as suggested when home is opened no colour is visable in the folders and the files inside still dont open in text only look like sheets of paper lined up on the screen and bits of info are listed

Revision history for this message
Roger Warburton (r-j-warby) said :
#48

[Added Associations]
inode/directory=nautilus.desktop;nautilus-folder-handler.desktop;text/plain=ged$

This is from the terminal it looks ok their but will not change the end when it goes to the second line

Revision history for this message
Sam_ (and-sam) said :
#49

> inode/directory=nautilus.desktop;nautilus-folder-handler.desktop;text/plain=ged

Is wrong.
Roger, as in comment #41, the content has three lines exactly:
[Added Associations]
inode/directory=nautilus.desktop;nautilus-folder-handler.desktop;
text/plain=gedit.desktop;

Missing colours are reported, workaround is to kill Nautilus and logout-in.
https://answers.launchpad.net/ubuntu/+source/nautilus/+question/180181

Regarding icons, an update of icon-cache may help.
Depends which icon theme you're using.
From manpage:
It expects to be given the path to a icon theme directory containing an index.theme.

Examples:
sudo gtk-update-icon-cache -f /usr/share/icons/hicolor
sudo gtk-update-icon-cache -f /usr/share/icons/ubuntu-mono-dark
sudo gtk-update-icon-cache -f /usr/share/icons/ubuntu-mono-light
sudo gtk-update-icon-cache -f /usr/share/icons/unity-icon-theme

Revision history for this message
Roger Warburton (r-j-warby) said :
#50

done that it seems to have made no difference
[Added Associations]
inode/directory=nautilus.desktop;nautilus-folder-handler.desktop;
text/plain=gedit.desktop;

Updated icons as described

Revision history for this message
Roger Warburton (r-j-warby) said :
#51

Gedit is still reporting the files as a directory.

Revision history for this message
Sam_ (and-sam) said :
#52

Did you restart?
In case try to assign the proper application through right click, context menu 'Open with...', then select the preferred application to open the file.

Revision history for this message
Roger Warburton (r-j-warby) said :
#53

Yes did a restart checked the terminal again all seems well.Still wont open properly still comes up with what looks like single sheets of paper within the file.
Used the right click with differing applications still no change.?

Revision history for this message
Sam_ (and-sam) said :
#54

Recall #9, can you tell what kind of file it is you're trying to open and which application you're trying to use.
Does Nautilus in the meantime open properly?

Revision history for this message
Roger Warburton (r-j-warby) said :
#55

Sam,

I only use the machine to save correspondence or receipts from things bought

Choose file and save as ........ which goes in to the home folder.When the file is double clicked it opens,or used to.
I never took an interest to which opened it it just did up until the upgrade from 11.04.

I dont know if Nautilus opens properly

Revision history for this message
Sam_ (and-sam) said :
#56

> I dont know if Nautilus opens properly

You can open Nautilus from the launcher on the left side of the desktop, it's the first one below the ubuntu-button.

Or try to open Nautilus in a terminal:
nautilus

Regarding the file, lets say the name of the file you'd like to open is 'myfile.odt' or whatever extension or it can have no extension at all since it's recognized by the appropiate application anyway.
Please enter the path to the file in a terminal like this example and post the output:
stat /home/roger/documents/myfile.odt

## Replace the path and name of the file according to the real path on your system.

Revision history for this message
Roger Warburton (r-j-warby) said :
#57

roger@roger-Inspiron-1525:~$ stat /home/roger/documents/pasttimesfiles
stat: cannot stat `/home/roger/documents/pasttimesfiles': No such file or directory
roger@roger-Inspiron-1525:~$

Revision history for this message
Roger Warburton (r-j-warby) said :
#58

roger@roger-Inspiron-1525:~$ stat /home/roger/documents/flowers2011file.odt
stat: cannot stat `/home/roger/documents/flowers2011file.odt': No such file or directory
roger@roger-Inspiron-1525:~$

Revision history for this message
Sam_ (and-sam) said :
#59

Roger it doesn't recognize the files, please verify the path, remember case sensitives.
e.g.
stat /home/roger/Documents/flowers2011file.odt

Or change to the directory and list the files.
e.g.
cd /home/roger/Documents

ls -al

When the directory is correct open the file:
libreoffice -o flowers2011file.odt

Or with complete path e.g.:
libreoffice -o /home/roger/Documents/flowers2011file.odt

Revision history for this message
Roger Warburton (r-j-warby) said :
#60

Hi Sam thanks for all your help in this matter its obvious that the program is not recognizing my files since the upgrade but for me to fix it myself you will need to guide me through it step by step.
I struggle when its try this and try that as i'm far from being computer literate
I rechecked the last and verified it was correct

Revision history for this message
Sam_ (and-sam) said :
#61

> I rechecked the last and verified it was correct

Roger, what was 'the last'?

Please verify if libreoffice is installed and post output of:
dpkg -l libreoffice* | grep ii

Revision history for this message
Roger Warburton (r-j-warby) said :
#62

roger@roger-Inspiron-1525:~$ dpkg -l libreoffice* | grep ii
ii libreoffice 1:3.4.4-0ubuntu1 office productivity suite
ii libreoffice-base 1:3.4.4-0ubuntu1 office productivity suite -- database
ii libreoffice-base-core 1:3.4.4-0ubuntu1 office productivity suite -- shared library
ii libreoffice-calc 1:3.4.4-0ubuntu1 office productivity suite -- spreadsheet
ii libreoffice-common 1:3.4.4-0ubuntu1 office productivity suite -- arch-independent files
ii libreoffice-core 1:3.4.4-0ubuntu1 office productivity suite -- arch-dependent files
ii libreoffice-draw 1:3.4.4-0ubuntu1 office productivity suite -- drawing
ii libreoffice-emailmerge 1:3.4.4-0ubuntu1 office productivity suite -- email mail merge
ii libreoffice-filter-binfilter 1:3.4.4-0ubuntu1 office productivity suite -- legacy filters (e.g. StarOffice 5.2)
ii libreoffice-filter-mobiledev 1:3.4.4-0ubuntu1 office productivity suite -- mobile devices filters
ii libreoffice-gnome 1:3.4.4-0ubuntu1 office productivity suite -- GNOME integration
ii libreoffice-gtk 1:3.4.4-0ubuntu1 office productivity suite -- GTK+ integration
ii libreoffice-help-en-us 1:3.4.4-0ubuntu1 office productivity suite -- English_american help
ii libreoffice-impress 1:3.4.4-0ubuntu1 office productivity suite -- presentation
ii libreoffice-java-common 1:3.4.4-0ubuntu1 office productivity suite -- arch-independent Java support files
ii libreoffice-math 1:3.4.4-0ubuntu1 office productivity suite -- equation editor
ii libreoffice-officebean 1:3.4.4-0ubuntu1 office productivity suite -- Java bean
ii libreoffice-pdfimport 1.0.5+LibO3.4.4-0ubuntu1 LibreOffice extension for importing PDF documents
ii libreoffice-report-builder-bin 1:3.4.4-0ubuntu1 LibreOffice extension for building database reports -- libraries
ii libreoffice-style-human 1:3.4.4-0ubuntu1 office productivity suite -- Crystal symbol style
ii libreoffice-writer 1:3.4.4-0ubuntu1 office productivity suite -- word processor
roger@roger-Inspiron-1525:~$

Revision history for this message
Roger Warburton (r-j-warby) said :
#63

Roger it doesn't recognize the files, please verify the path, remember case sensitives.
e.g.
stat /home/roger/Documents/flowers2011file.odt
Verified

Revision history for this message
Sam_ (and-sam) said :
#64

Ok, great, if you don't mind could you please post the output, thanks.

If you right click on the file (in Nautilus file manager), does it offer to open it with libreoffice?
Lets try this to get some clues, open Nautilus in a terminal:
nautilus

Go to your file flowers2011file.odt, right click and try to open it with libreoffice from context menu.
Then please post complete terminal output beginning from the start of Nautilus. Thanks.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#65

If you make a new user, is it ok?

Revision history for this message
Roger Warburton (r-j-warby) said :
#66

Opened terminal,put in NAUTILUS which opened went to file tried to open file as requested file opened as before no change.
Nothing more came into terminal at all so nothing to post

Revision history for this message
Roger Warburton (r-j-warby) said :
#67

made a new user,typed a short letter in libreoffice and it opened as normal in letter form.

Revision history for this message
Sam_ (and-sam) said :
#68

Obviously user misconfiguration, but actually not sure where to begin with reset.
Can you try to remember which changes you've made?
Maybe copy mimeapps.list from guest-account to user account.

Revision history for this message
Roger Warburton (r-j-warby) said :
#69

As far as I know Sam I have made no changes to the system I have been trying out UBUNTU ONE AND THATS THE ONLY THING THAT I have playing with.
My only thought is that I was using Open Office which has now changed to libreoffice could that change be to blame.
Every time I upgrade I have experienced problems and have asked for help when problems occur.??

Revision history for this message
Sam_ (and-sam) said :
#70

Standard file association obviously ok in guest-account but not in user account, so worth it to copy the file from guest to user account.
If uncertain login to guest-account or your test-user account and paste it's content here.

Please also post output of:
dpkg -l openoffice* | grep ii

Thanks.

Revision history for this message
Roger Warburton (r-j-warby) said :
#71

roger@roger-Inspiron-1525:~$ dpkg -l openoffice* | grep ii
ii openoffice.org 1:3.3.0-7ubuntu4 office productivity suite
ii openoffice.org-calc 1:3.3.0-7ubuntu4 office productivity suite -- spreadsheet
ii openoffice.org-common 1:3.3.0-7ubuntu4 office productivity suite -- arch-independent files
ii openoffice.org-draw 1:3.3.0-7ubuntu4 office productivity suite -- drawing
ii openoffice.org-emailmerge 1:3.3.0-7ubuntu4 office productivity suite -- email mail merge
ii openoffice.org-gnome 1:3.3.0-7ubuntu4 office productivity suite -- GNOME integration
ii openoffice.org-gtk 1:3.3.0-7ubuntu4 office productivity suite -- GTK+ integration
ii openoffice.org-help-en-us 1:3.3.0-7ubuntu4 office productivity suite -- English_american help
ii openoffice.org-impress 1:3.3.0-7ubuntu4 office productivity suite -- presentation
ii openoffice.org-math 1:3.3.0-7ubuntu4 office productivity suite -- equation editor
ii openoffice.org-writer 1:3.3.0-7ubuntu4 office productivity suite -- word processor
roger@roger-Inspiron-1525:~$
Sam I dont know how to copy from guest to user using the terminal

Revision history for this message
Sam_ (and-sam) said :
#72

Apply this in a terminal:
sudo apt-get purge openoffice.org
sudo apt-get autoremove

Then logout-in and test if the file flowers2011file.odt now opens properly in your regular account.

To copy mimeapps.list from guest to user simply open the file for example with gedit and paste the content here.
To open the file via terminal:
gedit ~/.local/share/applications/mimeapps.list

Revision history for this message
Roger Warburton (r-j-warby) said :
#73

Applied change attempted to open file with gedit as requested message came back cant open file as its a directory

Revision history for this message
Roger Warburton (r-j-warby) said :
#74

[Added Associations]
inode/directory=gedit.desktop;libreoffice-startcenter.desktop;nautilus-autorun-software.desktop;file-roller.desktop;evince.desktop;firefox.desktop;nautilus.desktop;nautilus-folder-handler.desktop;
text/plain=gedit.desktop;
text/html=libreoffice-writer.desktop;

Revision history for this message
Sam_ (and-sam) said :
#75

After purging openoffice did you try to open the file flowers2011file.odt with libreoffice?

Revision history for this message
Roger Warburton (r-j-warby) said :
#76

Yes I did it only showed the same view of the contents but not as one.
I have tried opening files from firefox and have noticed that a lot of files are listed as HTML after the file

Revision history for this message
Sam_ (and-sam) said :
#77

Try this content of mimeapps.list.

[Added Associations]
inode/directory=nautilus.desktop;nautilus-folder-handler.desktop;
text/plain=gedit.desktop;
text/html=firefox.desktop

Revision history for this message
Roger Warburton (r-j-warby) said :
#78

roger@roger-Inspiron-1525:~$ sudo apt-get install ubuntu-desktop
[sudo] password for roger:
Reading package lists... Done
Building dependency tree
Reading state information... Done
ubuntu-desktop is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 30 not upgraded.
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ oneiric/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_oneiric_partner_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
roger@roger-Inspiron-1525:~$

roger@roger-Inspiron-1525:~$ apt-get update
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
roger@roger-Inspiron-1525:~$

Sam I also noted this from the terminal,this may be the problem any ideas.?

Revision history for this message
Roger Warburton (r-j-warby) said :
#79

from terminal Added Associations]
inode/directory=nautilus.desktop;nautilus-folder-handler.desktop;
text/plain=gedit.desktop;
text/html=firefox.desktop;

Revision history for this message
Sam_ (and-sam) said :
#80

Please open the file mimeapps.list via terminal:
gedit /home/roger/.local/share/applications/mimeapps.list

Clear the file.
Copy and paste the content exactly as displayed from there:
http://paste.ubuntu.com/772489/

Save the file and close it.
Open your file flowers2011.odt via terminal:
libreoffice -o /home/roger/Documents/flowers2011file.odt

## Assumed the file is still in the Documents folder.

The update warning isn't dramatic, since in the past days we try to solve the mimetype issue there've have been some updates available. We'll resolve it when the mimetype issue is fixed.

Revision history for this message
Roger Warburton (r-j-warby) said :
#81

I have finally figured out how to do that and its done,
Used the terminal but it said the file doesn’t exist,this is contained within a folder in home not documents so we are opening a folder with this contained within.
Tried to change it by dropping the word documents but it didn't work,tried other ways but still came back with the answer its a DIRECTORY that was using gedit and others.

Revision history for this message
Sam_ (and-sam) said :
#82

> Used the terminal but it said the file doesn’t exist

Roger, please be more specific, which file, mimeapps.list, flowers2011.odt?

In order to get a picture what exactly you're proceeding please get used to post the commands applied and the results. Thanks.

Please post output of:
cat /home/roger/.local/share/applications/mimeapps.list

Update the database:
sudo updatedb

Please post output of:
locate flowers2011file.odt

Revision history for this message
Roger Warburton (r-j-warby) said :
#83

[Added Associations]
inode/directory=libreoffice-writer.desktop;evince.desktop;gedit.desktop;firefox.desktop;libreoffice-startcenter.desktop;nautilus.desktop;nautilus-folder-handler.desktop;
text/plain=gedit.desktop;
text/html=firefox.desktop
roger@roger-Inspiron-1525:~$

Revision history for this message
Roger Warburton (r-j-warby) said :
#84

Sam, will not except sudo updateb asks for my password but then flashes with white flashes but stops working.tried locateflowers nothing happens in the terminal

Revision history for this message
Sam_ (and-sam) said :
#85

Roger, while typing the password there'll be no feedback, like stars or something, but it'll still be recognized, so just concentrate while typing it and afterwards press [Enter] key.

> sudo updateb

This is wrong. Please take note from written commands.
It's:
sudo updatedb

> tried locateflowers nothing happens in the terminal

Same mistake there.
It's:
locate flowers2011file.odt

The output of mimeapps.list in comment #83 isn't the content posted in comment #80
Please explain the problem to clear the content and pasting another. Thanks.

Revision history for this message
Roger Warburton (r-j-warby) said :
#86

[Added Associations]
inode/directory=nautilus.desktop;nautilus-folder-handler.desktop;
text/plain=gedit.desktop;
text/html=firefox.desktop

sudo updatedb done

no result from locate flowers2011file.odt

Revision history for this message
Sam_ (and-sam) said :
#87

Assume you've saved the file mimeapps.list now with the content from comment #86.

Please open Nautilus and try open a file with ending .odt either via double click on the file or via context menu and select libreoffice writer.

> no result from locate flowers2011file.odt

Please verify if it isn't in the directory where it was before.
Enter in a terminal:
cd /home/roger/Documents
ls -al

Does it appear there?

Or did you actually remove it? If yes try another .odt file as suggested above.

Revision history for this message
Roger Warburton (r-j-warby) said :
#88

roger@roger-Inspiron-1525:~$ cd /home/roger/Documents
bash: cd: /home/roger/Documents: No such file or directory
roger@roger-Inspiron-1525:~$ ls -al
total 228720
drwxr-xr-x 74 roger roger 12288 2011-12-18 11:50 .
drwxr-xr-x 4 root root 4096 2011-12-14 12:12 ..
drwx------ 2 roger roger 4096 2011-12-02 00:02 .AbiSuite
drwx------ 5 roger roger 4096 2011-10-30 01:01 .adobe
-rw-r--r-- 1 roger roger 614 2011-05-08 23:27 backup
-rw------- 1 roger roger 6501 2011-12-17 17:19 .bash_history
-rw-r--r-- 1 roger roger 220 2010-12-03 18:39 .bash_logout
-rw-r--r-- 1 roger roger 3353 2010-12-03 18:39 .bashrc
-rw-r--r-- 1 roger roger 256148 2010-12-28 17:38 bleachbit_0.8.4-1_all_ubuntu1010.deb
-rw-r--r-- 1 roger roger 240781 2010-12-28 17:47 bleachbit-0.8.4.tar.bz2
-rw-r--r-- 1 roger roger 7469 2011-05-07 14:40 brasero-session.log
lrwxrwxrwx 1 roger roger 30 2011-05-08 23:31 .byobu -> /home/roger/.local/share/byobu
drwxrwxr-x 23 roger roger 4096 2011-12-12 23:37 .cache
drwxr-xr-x 7 roger roger 4096 2011-05-09 00:16 .clamtk
-rw-r--r-- 1 roger roger 272418 2011-03-29 13:30 clamtk_4.31-1_all.deb
-rw-r--r-- 1 roger roger 35876 2010-12-21 12:47 community
drwxrwxr-x 3 roger roger 4096 2011-10-28 12:07 .compiz-1
drwx------ 41 roger roger 4096 2011-12-12 23:36 .config
-rw-rw-r-- 1 roger roger 91525 2011-12-15 18:53 ConfirmOrder.aspx
drwx------ 2 roger roger 4096 2011-10-31 14:40 .cups
-rw-r--r-- 1 roger roger 16046 2011-09-15 14:59 currency .html
drwx------ 3 roger roger 4096 2010-12-03 18:43 .dbus
drwxr-xr-x 3 roger roger 4096 2011-12-11 15:36 Desktop
-rw-rw-r-- 1 roger roger 93 2011-12-18 11:50 .dmrc
-rw-rw-r-- 1 roger roger 24 2011-12-03 23:12 doc3
drwxr-xr-x 2 roger roger 4096 2011-12-04 00:10 dogs
drwxr-xr-x 6 roger roger 4096 2011-12-05 20:01 Downloads
-rw------- 1 roger roger 16 2010-12-03 18:43 .esd_auth
-rw-r--r-- 1 roger roger 179 2010-12-03 18:39 examples.desktop
drwxr-xr-x 3 roger roger 4096 2011-12-12 08:24 flowers 2011_files
-rw-rw-r-- 1 roger roger 21427 2011-12-12 08:27 flowers 2011.html
drwxr-xr-x 2 roger roger 4096 2011-12-03 18:13 .fontconfig
drwxr-xr-x 7 roger roger 4096 2011-12-14 13:04 Gallery
drwx------ 5 roger roger 4096 2011-12-18 11:50 .gconf
drwx------ 2 roger roger 4096 2011-10-28 12:05 .gconfd
drwx------ 4 roger roger 4096 2011-08-04 15:53 .gegl-0.0
drwxr-xr-x 22 roger roger 4096 2011-09-14 11:43 .gimp-2.6
-rw-r----- 1 roger roger 0 2011-12-15 01:14 .gksu.lock
drwx------ 10 roger roger 4096 2011-12-15 22:54 .gnome2
drwx------ 2 roger roger 4096 2010-12-03 18:45 .gnome2_private
drwx------ 3 roger roger 4096 2011-02-05 12:20 .gnome-commander
drwx------ 2 roger roger 4096 2010-12-22 22:18 .gnupg
drwxr-xr-x 5 roger roger 4096 2011-07-04 12:30 Google Mail - Soviet Watches - Order Confirmation - SW1294417688 - r.j.warby@googlemail.com_files
-rw-r--r-- 1 roger roger 284451 2011-07-04 12:30 Google Mail - Soviet Watches - Order Confirmation - SW1294417688 - <email address hidden>
-rw-r--r-- 1 roger roger 10561 2009-06-26 01:31 google-repo-setup.sh
drwxr-xr-x 2 roger roger 4096 2011-12-05 12:33 .gstreamer-0.10
-rw-r--r-- 1 roger roger 258 2011-12-12 22:36 .gtk-bookmarks
dr-x------ 2 roger roger 0 2011-12-18 11:50 .gvfs
drwxr----- 2 roger roger 4096 2011-12-17 21:35 .hplip
-rw-rw-r-- 1 roger roger 80356 2011-10-30 22:21 hs_err_pid2247.log
-rw------- 1 roger roger 131350 2011-12-18 11:50 .ICEauthority
drwxr-xr-x 5 roger roger 4096 2011-08-27 22:40 .icedtea
drwxr-xr-x 2 roger roger 4096 2010-12-03 22:38 .icons
-rw-r--r-- 1 roger roger 1574635 2010-04-07 14:38 img_0158.jpg
-rw-rw-r-- 1 roger roger 2446 2011-12-01 12:31 img_0158.jpg.pp3
-rw-r--r-- 1 roger roger 1827203 2010-04-07 14:38 img_0161.jpg
-rw-r--r-- 1 roger roger 1549327 2010-04-07 14:38 img_0162.jpg
-rw-r--r-- 1 roger roger 2152727 2010-04-07 14:38 img_0163.jpg
-rw-r--r-- 1 roger roger 1646804 2010-04-07 14:38 img_0164.jpg
-rw-r--r-- 1 roger roger 1822905 2010-04-07 14:38 img_0165.jpg
-rw-r--r-- 1 roger roger 2962570 2010-04-07 14:38 img_0168.jpg
-rw-r--r-- 1 roger roger 3123041 2010-04-07 14:38 img_0169.jpg
-rw-r--r-- 1 roger roger 2453990 2010-04-07 14:38 img_0170.jpg
-rw-r--r-- 1 roger roger 2522804 2010-04-07 14:38 img_0171.jpg
-rw-r--r-- 1 roger roger 1426328 2010-04-07 14:38 img_0172.jpg
-rw-r--r-- 1 roger roger 1332228 2010-04-07 14:38 img_0175.jpg
-rw-r--r-- 1 roger roger 1354025 2010-04-07 14:38 img_0176.jpg
-rw-r--r-- 1 roger roger 2063442 2010-04-07 14:38 img_0179.jpg
-rw-r--r-- 1 roger roger 2098729 2010-04-07 14:38 img_0180.jpg
-rw-r--r-- 1 roger roger 2408445 2010-04-07 14:38 img_0181.jpg
-rw-r--r-- 1 roger roger 1911368 2010-04-07 14:38 img_0186.jpg
-rw-r--r-- 1 roger roger 2067458 2010-04-07 14:38 img_0187.jpg
-rw-r--r-- 1 roger roger 1436875 2010-04-07 14:38 img_0188.jpg
-rw-r--r-- 1 roger roger 1674889 2010-04-07 14:38 img_0189.jpg
-rw-r--r-- 1 roger roger 1509860 2010-04-07 14:38 img_0192.jpg
-rw-r--r-- 1 roger roger 1653639 2010-04-07 14:38 img_0194.jpg
-rw-r--r-- 1 roger roger 1708034 2010-04-07 14:38 img_0195.jpg
-rw-r--r-- 1 roger roger 1713365 2010-04-07 14:38 img_0196.jpg
-rw-r--r-- 1 roger roger 1828099 2010-04-07 14:38 img_0197.jpg
-rw-r--r-- 1 roger roger 1771621 2010-04-07 14:38 img_0198.jpg
-rw-r--r-- 1 roger roger 1299714 2010-04-07 14:38 img_0199.jpg
-rw-r--r-- 1 roger roger 1411195 2010-04-07 14:38 img_0203.jpg
-rw-r--r-- 1 roger roger 1684181 2010-04-07 14:38 img_0204.jpg
-rw-r--r-- 1 roger roger 1332871 2010-04-07 14:38 img_0205.jpg
-rw-r--r-- 1 roger roger 1866318 2010-04-07 14:38 img_0206.jpg
-rw-r--r-- 1 roger roger 1972726 2010-04-07 14:38 img_0207.jpg
-rw-r--r-- 1 roger roger 1647780 2010-04-07 14:38 img_0208.jpg
-rw-r--r-- 1 roger roger 2452379 2010-04-07 14:38 img_0209.jpg
-rw-r--r-- 1 roger roger 2433382 2010-04-07 14:38 img_0210.jpg
-rw-r--r-- 1 roger roger 2402029 2010-04-07 14:38 img_0211.jpg
-rw-r--r-- 1 roger roger 1941891 2010-04-07 14:38 img_0212.jpg
-rw-r--r-- 1 roger roger 2130103 2010-04-07 14:38 img_0213.jpg
-rw-r--r-- 1 roger roger 1735710 2010-04-07 14:38 img_0214.jpg
-rw-r--r-- 1 roger roger 1863160 2010-04-07 14:38 img_0215.jpg
-rw-r--r-- 1 roger roger 1394548 2010-04-07 14:38 img_0216.jpg
-rw-r--r-- 1 roger roger 2209669 2010-04-07 14:38 img_0217.jpg
-rw-r--r-- 1 roger roger 1991077 2010-04-07 14:38 img_0218.jpg
-rw-r--r-- 1 roger roger 1795391 2010-04-07 14:38 img_0219.jpg
-rw-r--r-- 1 roger roger 2213468 2010-04-07 14:38 img_0220.jpg
-rw-r--r-- 1 roger roger 1548470 2010-04-07 14:38 img_0221.jpg
-rw-r--r-- 1 roger roger 1690249 2010-04-07 14:38 img_0222.jpg
-rw-r--r-- 1 roger roger 2019728 2010-04-07 14:38 img_0224.jpg
-rw-r--r-- 1 roger roger 1808995 2010-04-07 14:38 img_0225.jpg
-rw-r--r-- 1 roger roger 2216569 2010-04-07 14:38 img_0226.jpg
-rw-r--r-- 1 roger roger 1996042 2010-04-07 14:38 img_0227.jpg
-rw-r--r-- 1 roger roger 2069228 2010-04-07 14:38 img_0228.jpg
-rw-r--r-- 1 roger roger 1697738 2010-04-07 14:38 img_0229.jpg
-rw-r--r-- 1 roger roger 2830046 2010-04-07 14:38 img_0231.jpg
-rw-r--r-- 1 roger roger 2151108 2010-04-07 14:38 img_0232.jpg
-rw-r--r-- 1 roger roger 2278345 2010-04-07 14:38 img_0234.jpg
-rw-r--r-- 1 roger roger 2178566 2010-04-07 14:38 img_0236.jpg
-rw-r--r-- 1 roger roger 3476504 2010-04-07 14:38 img_0237.jpg
-rw-r--r-- 1 roger roger 2065204 2010-04-07 14:38 img_0238.jpg
-rw-r--r-- 1 roger roger 1413373 2010-04-07 14:38 img_0240.jpg
-rw-r--r-- 1 roger roger 1914865 2010-04-07 14:38 img_0241.jpg
-rw-r--r-- 1 roger roger 1522981 2010-04-07 14:38 img_0242.jpg
-rw-r--r-- 1 roger roger 1503311 2010-04-07 14:38 img_0243.jpg
-rw-r--r-- 1 roger roger 2044098 2010-04-07 14:38 img_0244.jpg
-rw-r--r-- 1 roger roger 1253649 2010-04-07 14:38 img_0249.jpg
-rw-r--r-- 1 roger roger 1300659 2010-04-07 14:38 img_0250.jpg
-rw-r--r-- 1 roger roger 1448750 2010-04-07 14:38 img_0251.jpg
-rw-r--r-- 1 roger roger 1421584 2010-04-07 14:38 img_0252.jpg
-rw-r--r-- 1 roger roger 1727119 2010-04-07 14:38 img_0253.jpg
-rw-r--r-- 1 roger roger 1580604 2010-04-07 14:38 img_0254.jpg
-rw-r--r-- 1 roger roger 1266729 2010-04-07 14:38 img_0255.jpg
-rw-r--r-- 1 roger roger 1743016 2010-04-07 14:38 img_0256.jpg
-rw-r--r-- 1 roger roger 1703723 2010-04-07 14:38 img_0257.jpg
-rw-r--r-- 1 roger roger 1527365 2010-04-07 14:38 img_0258.jpg
-rw-r--r-- 1 roger roger 1997950 2010-04-07 14:38 img_0259.jpg
-rw-r--r-- 1 roger roger 1409906 2010-04-07 14:38 img_0260.jpg
-rw-r--r-- 1 roger roger 1205355 2010-04-07 14:38 img_0261.jpg
-rw-r--r-- 1 roger roger 1644512 2010-04-07 14:38 img_0262.jpg
-rw-r--r-- 1 roger roger 1504280 2010-04-07 14:38 img_0263.jpg
-rw-r--r-- 1 roger roger 1573953 2010-04-07 14:38 img_0264.jpg
-rw-r--r-- 1 roger roger 2153396 2010-04-07 14:38 img_0268.jpg
-rw-r--r-- 1 roger roger 2004092 2010-04-07 14:38 img_0270.jpg
-rw-r--r-- 1 roger roger 987713 2010-04-07 14:38 img_0271.jpg
-rw-r--r-- 1 roger roger 2306297 2010-04-07 14:38 img_0274.jpg
-rw-r--r-- 1 roger roger 2309973 2010-04-07 14:38 img_0275.jpg
-rw-r--r-- 1 roger roger 2800161 2010-04-07 14:38 img_0276.jpg
-rw-r--r-- 1 roger roger 1845862 2010-04-07 14:38 img_0277.jpg
-rw-r--r-- 1 roger roger 1924569 2010-04-07 14:38 img_0278.jpg
-rw-r--r-- 1 roger roger 1967208 2010-04-07 14:38 img_0279.jpg
-rw-r--r-- 1 roger roger 1914308 2010-04-07 14:38 img_0280.jpg
-rw-r--r-- 1 roger roger 2122911 2010-04-07 14:38 img_0281.jpg
-rw-r--r-- 1 roger roger 2713866 2010-04-07 14:38 img_0282.jpg
-rw-r--r-- 1 roger roger 2686643 2010-04-07 14:38 img_0283.jpg
-rw-r--r-- 1 roger roger 2233994 2010-04-07 14:38 img_0284.jpg
-rw-r--r-- 1 roger roger 2105138 2010-04-07 14:38 img_0285.jpg
-rw-r--r-- 1 roger roger 2556153 2010-04-07 14:38 img_0286.jpg
-rw-r--r-- 1 roger roger 2557290 2010-04-07 14:38 img_0287.jpg
-rw-r--r-- 1 roger roger 2462505 2010-04-07 14:38 img_0288.jpg
-rw-r--r-- 1 roger roger 1908288 2010-04-07 14:38 img_0289.jpg
-rw-r--r-- 1 roger roger 2031942 2010-04-07 14:38 img_0290.jpg
-rw-r--r-- 1 roger roger 1165824 2010-04-07 14:38 img_0291.jpg
-rw-r--r-- 1 roger roger 1192140 2010-04-07 14:42 img_0292.jpg
-rw-r--r-- 1 roger roger 1482111 2010-04-07 14:38 img_0293.jpg
-rw-r--r-- 1 roger roger 1601559 2010-04-07 14:38 img_0294.jpg
-rw-r--r-- 1 roger roger 2368155 2010-04-07 14:38 img_0295.jpg
-rw-r--r-- 1 roger roger 2421444 2010-04-07 14:38 img_0296.jpg
-rw-r--r-- 1 roger roger 2330885 2010-04-07 14:38 img_0297.jpg
-rw-r--r-- 1 roger roger 2147503 2010-04-07 14:38 img_0299.jpg
-rw-r--r-- 1 roger roger 2321249 2010-04-07 14:38 img_0300.jpg
-rw-r--r-- 1 roger roger 2212504 2010-04-07 14:38 img_0301.jpg
-rw-r--r-- 1 roger roger 2483455 2010-04-07 14:38 img_0302.jpg
-rw-r--r-- 1 roger roger 1973772 2010-04-07 14:38 img_0303.jpg
-rw-r--r-- 1 roger roger 1973335 2010-04-07 14:38 img_0304.jpg
-rw-r--r-- 1 roger roger 1972734 2010-04-07 14:38 img_0306.jpg
-rw-r--r-- 1 roger roger 1875687 2010-04-07 14:38 img_0307.jpg
-rw-r--r-- 1 roger roger 1934300 2010-04-07 14:38 img_0308.jpg
-rw-r--r-- 1 roger roger 1911422 2010-04-07 14:39 img_0311.jpg
-rw-r--r-- 1 roger roger 1801927 2010-04-07 14:39 img_0313.jpg
-rw-r--r-- 1 roger roger 1946220 2010-04-07 14:39 img_0314.jpg
-rw-rw-r-- 1 roger roger 10927 2011-11-27 15:45 jaycots nov.html
drwx------ 3 roger roger 4096 2011-04-02 23:32 .kde
drwxr-xr-x 3 roger roger 4096 2011-12-16 18:12 .lastpass
drwx------ 3 roger roger 4096 2011-12-05 16:35 .launchpadlib
-rw-r--r-- 1 roger roger 1570816 2011-04-18 22:51 lazarus-backup(2).sqlite
-rw-r--r-- 1 roger roger 16383 2011-03-26 23:44 lazarus-backup.sqlite
drwxr-xr-x 3 roger roger 4096 2011-05-08 16:16 .libreoffice
-rw-r--r-- 1 roger roger 1745 2010-12-03 22:58 linux_signing_key.pub
drwxr-xr-x 3 roger roger 4096 2010-12-03 18:43 .local
drwx------ 3 roger roger 4096 2010-12-03 18:54 .macromedia
-rw-r--r-- 1 roger roger 196 2011-08-01 14:53 middle.png
drwxr-xr-x 4 roger roger 4096 2011-06-09 16:56 .miro
drwx------ 3 roger roger 4096 2011-11-29 00:38 .mission-control
drwx------ 4 roger roger 4096 2011-05-08 15:46 .mozilla
drwxr-xr-x 3 roger roger 4096 2011-08-26 15:40 m&s 26\8\11_files
-rw-r--r-- 1 roger roger 84887 2011-08-26 15:40 m&s 26\8\11.html
drwxr-xr-x 2 roger roger 4096 2010-12-03 18:43 Music
drwxr-xr-x 2 roger roger 4096 2011-11-29 22:31 needleworld_files
-rw-r--r-- 1 roger roger 6986 2011-09-03 13:27 needleworld.html
drwxr-xr-x 2 roger roger 4096 2011-12-05 07:27 needleworld order_files
-rw-r--r-- 1 roger roger 7010 2011-09-03 13:29 needleworld order.html
drwxr-xr-x 2 roger roger 4096 2011-07-01 00:37 nigelsecostore_files
-rw-r--r-- 1 roger roger 17318 2011-07-01 00:37 nigelsecostore.html
drwxr-xr-x 3 roger roger 4096 2010-12-03 19:53 .openoffice.org
-rw-r--r-- 1 roger roger 69183 2011-08-03 15:19 ORDER NUMBER 2213749 RACHEL
-rw-rw-r-- 1 roger roger 1517 2011-11-17 01:23 PANASONIC.html
drwxr-xr-x 2 roger roger 4096 2011-01-06 20:03 PAST TIMES_files
-rw-r--r-- 1 roger roger 43194 2011-01-06 20:04 PAST TIMES.html
drwxr-xr-x 4 roger roger 4096 2011-11-29 15:17 Pictures
drwx------ 3 roger roger 4096 2010-12-03 20:15 .pki
-rw-r--r-- 1 roger roger 37 2010-12-07 22:48 .printer-groups.xml
-rw-r--r-- 1 roger roger 675 2010-12-03 18:39 .profile
-rw-r--r-- 1 roger roger 144633 2011-01-06 20:04 .ps
drwx------ 2 roger roger 4096 2011-12-18 11:50 .pulse
-rw------- 1 roger roger 256 2010-12-03 18:43 .pulse-cookie
drwxr-xr-x 3 roger roger 4096 2011-05-10 23:57 .pybackpack
drwxr-xr-x 2 roger roger 4096 2011-04-02 23:32 .qt
drwxr-xr-x 2 roger roger 4096 2011-09-03 18:28 qvc,kneck massage_files
-rw-r--r-- 1 roger roger 26366 2011-09-03 18:28 qvc,kneck massage.html
drwxr-xr-x 2 roger roger 4096 2011-12-01 16:21 rachel galley payment_files
-rw-rw-r-- 1 roger roger 25346 2011-12-01 16:21 rachel galley payment.html
drwxr-xr-x 2 roger roger 4096 2011-09-10 12:16 RACHEL GALLY_files
-rw-r--r-- 1 roger roger 75809 2011-09-10 12:16 RACHEL GALLY.html
-rw-rw-r-- 1 roger roger 11828 2011-11-10 22:59 RACING DAY 2011.html
drwxr-xr-x 3 roger roger 4096 2011-10-28 20:06 Receipt.CHUMS aspx_files
-rw-rw-r-- 1 roger roger 76075 2011-10-28 20:06 Receipt.CHUMS aspx.html
-rw------- 1 roger roger 432161 2011-09-14 11:56 returnsA-1.pdf
drwxr-xr-x 50 roger roger 4096 2011-12-14 12:57 roger
-rw-r--r-- 1 roger roger 0 2011-05-08 23:31 .screenrc
drwx------ 17 roger roger 4096 2011-12-04 00:23 secondary file
-rw-r--r-- 1 roger roger 35854 2011-08-11 13:49 SECOND SUNGLASSES
drwxr-xr-x 2 roger roger 4096 2011-12-06 12:12 SHIELAS WHEELS_files
-rw-r--r-- 1 roger roger 41417 2011-07-04 16:10 SHIELAS WHEELS.html
drwxr-xr-x 4 roger roger 4096 2011-11-08 23:39 .shotwell
drwxr-xr-x 3 roger roger 4096 2011-01-07 22:40 SONY DVD RECORDERorder-confirmation_files
-rw-r--r-- 1 roger roger 64255 2011-01-07 22:40 SONY DVD RECORDERorder-confirmation.html
drwx------ 4 roger roger 4096 2011-07-15 11:27 .speech-dispatcher
drwx------ 2 roger roger 4096 2010-12-22 22:18 .ssh
drwxr-xr-x 2 roger roger 4096 2011-07-14 16:03 STRAWBERRY CHARM_files
-rw-r--r-- 1 roger roger 66416 2011-07-14 16:03 STRAWBERRY CHARM.html
drwxr-xr-x 2 roger roger 4096 2011-02-05 22:40 submission.xml_files
-rw-r--r-- 1 roger roger 264612 2011-02-05 22:40 submission.xml.html
-rw-r--r-- 1 roger roger 0 2010-12-03 18:49 .sudo_as_admin_successful
drwxr-xr-x 2 roger roger 4096 2011-08-23 20:03 suttons seeds_files
-rw-r--r-- 1 roger roger 55934 2011-08-23 20:03 suttons seeds.html
drwxr-xr-x 2 roger roger 4096 2011-07-13 16:09 Swalec Electricity_files
-rw-r--r-- 1 roger roger 28609 2011-07-13 16:09 Swalec Electricity.html
drwxr-xr-x 2 roger roger 4096 2010-12-03 18:43 Templates
drwxr-xr-x 2 roger roger 4096 2010-12-04 14:44 .themes
drwx------ 5 roger roger 4096 2011-02-05 11:30 .thumbnails
drwx------ 4 roger roger 4096 2011-05-08 17:29 .thunderbird
-rw-r--r-- 1 roger roger 3 2011-08-05 17:01 .thunderbird.last-version
drwx------ 3 roger roger 4096 2011-05-10 15:10 .tsclient
drwxr-xr-x 3 roger roger 4096 2011-03-12 15:40 TV Licensing - Your TV Licence_files
-rw-r--r-- 1 roger roger 23215 2011-03-12 15:40 TV Licensing - Your TV Licence.html
drwxrwxr-x 2 roger roger 4096 2011-12-14 13:13 Ubuntu One
-rw-rw-r-- 1 roger roger 1163 2011-12-16 18:59 Ubuntu Pastebin.html
-rw-r--r-- 1 roger roger 585 2011-02-07 22:06 usb backup
drwxr-xr-x 4 roger roger 4096 2011-11-29 22:04 Videos
-rw------- 1 roger roger 64 2011-12-18 11:50 .Xauthority
-rw-r--r-- 1 roger roger 774 2010-12-05 00:47 .xscreensaver-getimage.cache
-rw------- 1 roger roger 11035 2011-12-18 11:51 .xsession-errors
roger@roger-Inspiron-1525:~$
It appears to be there.

Revision history for this message
Roger Warburton (r-j-warby) said :
#89

Ok,tried to open this file using both of the methods,both opened it into individual bits.
Also tried firefox which opened it into a list of the contents

Revision history for this message
Best Sam_ (and-sam) said :
#90

The documents folder obiously doesn't exist, although it's a standard folder in Ubuntu.
Anyway, as from your comment #76
> have noticed that a lot of files are listed as HTML

the files you're trying to open have been saved as a completely .html, please have a look at the output yourself.
This happens when you save a web page within web browser via the menu
file -> save page as ...
The dialog window options are e.g. to save it only as .html or as web page completely, if you select completely it creates a folder and within the folder is the web page.

For example
## this is a folder
drwxr-xr-x 3 roger roger 4096 2011-12-12 08:24 flowers 2011_files
## this is a file
-rw-rw-r-- 1 roger roger 21427 2011-12-12 08:27 flowers 2011.html

Same there
## is a folder
drwxr-xr-x 2 roger roger 4096 2011-01-06 20:03 PAST TIMES_files
## is a file
-rw-r--r-- 1 roger roger 43194 2011-01-06 20:04 PAST TIMES.html

If you open a file via terminal for example like this:
firefox PAST TIMES.html

it's displayed in Firefox.

Libreoffice can open the file, but of course it'll display the html code too, that's why you see frames and other features.
libreoffice -o PAST TIMES.html

If you look in libreoffice menu 'view' you'll see that it's displayed as 'weblayout'.

Another example from the output is this.
-rw-rw-r-- 1 roger roger 24 2011-12-03 23:12 doc3

which you can try to open with:
libreoffice -o doc3

If it's a textfile it'll be displayed properly.

If you actually don't know what kind of file it is, you can either try the GUI way, open Nautilus file manager, right click on the file to display it's properties or select in context menu the application suggested or select 'open with another application...'.
## Usually the latter isn't necessary since mimetypes are properly recognized and offer the standard applications, selecting a different application will write a new entry to mimeapps.list.

Or you can diagnose the mimetype via terminal:
mimetype -a doc3

Revision history for this message
Roger Warburton (r-j-warby) said :
#91

Sam,thank you for your assistance

Revision history for this message
Roger Warburton (r-j-warby) said :
#92

Thanks Sam_, that solved my question.