Just rebooted my box (switched keyboards, and since it's a PS/2 keyboard, it needs to be done at poweroff) and when it came back up, (almost) all the desktop icons I've created (as distinct from the ones that came with the system) now don't display correctly.
Instead of the graphic assigned to each, it's just a picture of a blank sheet of paper with the corner folded over, and the icon text is the name of the .desktop file that defines the particular item.
worse, when I click one, they don't work... I get a popup window containing this text (when attempting to fire up a local rebuild of Audacity, or the appropriate name when attempting to use one of the other ones):
The filename "Audacity (local build).desktop" indicates that this file is of type "desktop document". The contents of the file indicate that the file is of type "desktop configuration file". If you open this file, the file might present a security risk to your system.
Do not open the file unless you created the file yourself, or received the file from a trusted source. To open the file, rename the file to the correct extension for "desktop configuration file", then open the file normally. Alternatively, use the Open With menu to choose a specific application for the file.
I don't really know what settings could have changed, but the ownership and permissions look reasonable to me: the files in my ~/Desktop folder look like this:
$ ls -l total 88 -rw-rw-r-- 1 fredex fredex 305 Jul 9 16:15 Audacity (local build).desktop -rw-r--r-- 1 fredex fredex 859 May 22 16:24 bar-008d741c23.desktop -rw-rw-r-- 1 fredex fredex 376 Nov 11 09:16 Firefox-4.desktop -rw-rw-r-- 1 fredex fredex 311 Nov 10 14:00 fred's desktop on cibf-fred1pc.desktop -rw-r--r-- 1 fredex fredex 442 May 27 19:53 gegl-00efc0b78f.desktop -rw-r--r-- 1 fredex fredex 981 Oct 30 2009 greasy-00f830171b.desktop -rw-rw-r-- 1 fredex fredex 288 Jun 25 2010 Osmos.desktop -rw-rw-r-- 1 fredex fredex 369 Jul 10 23:14 Pysol-FC.desktop -rw-rw-r-- 1 fredex fredex 378 Feb 22 2011 quadra.desktop drwxrwxr-x 2 fredex fredex 4096 Jan 27 2011 radio stations -rw-rw-r-- 1 fredex fredex 359 May 24 21:14 razorsql.desktop
and the Desktop folder's permissions are:
$ ls -ld Desktop drwxr-xr-x 3 fredex fredex 4096 Oct 25 15:03 Desktop
note that the Desktop folder contains a subdirectory named "radio stations", and that its representation on the desktop looks correct. but when I click on it to open up that folder, all its contents are also broken in the same way.
Anybody got any clues?
Vreme: 11/15/2011 03:25 AM, fred smith piše:
note that the Desktop folder contains a subdirectory named "radio stations", and that its representation on the desktop looks correct. but when I click on it to open up that folder, all its contents are also broken in the same way.
Anybody got any clues?
First remove all spaces from folder(s) and desktop files.
Next, there was some trick when you create your own desktop files, I was receiving similar warning, but I am not sure (at the moment) what was the solution. While you change names, I will later on look for a solution.
On Tue, Nov 15, 2011 at 11:22:32AM +0100, Ljubomir Ljubojevic wrote:
Vreme: 11/15/2011 03:25 AM, fred smith piše:
note that the Desktop folder contains a subdirectory named "radio stations", and that its representation on the desktop looks correct. but when I click on it to open up that folder, all its contents are also broken in the same way.
Anybody got any clues?
First remove all spaces from folder(s) and desktop files.
Next, there was some trick when you create your own desktop files, I was receiving similar warning, but I am not sure (at the moment) what was the solution. While you change names, I will later on look for a solution.
Tried removing spaces. makes no difference.
did a reboot with forced fsck, on the off-chance that would fix something. no such luck.
created a whole new user, who CAN create working desktop launchers. which tells me it's something in my own login environment that's messing me up. Wonder what that might be....
On Tue, Nov 15, 2011 at 08:45:48PM -0500, fred smith wrote:
On Tue, Nov 15, 2011 at 11:22:32AM +0100, Ljubomir Ljubojevic wrote:
Vreme: 11/15/2011 03:25 AM, fred smith piše:
note that the Desktop folder contains a subdirectory named "radio stations", and that its representation on the desktop looks correct. but when I click on it to open up that folder, all its contents are also broken in the same way.
Anybody got any clues?
First remove all spaces from folder(s) and desktop files.
Next, there was some trick when you create your own desktop files, I was receiving similar warning, but I am not sure (at the moment) what was the solution. While you change names, I will later on look for a solution.
Tried removing spaces. makes no difference.
did a reboot with forced fsck, on the off-chance that would fix something. no such luck.
created a whole new user, who CAN create working desktop launchers. which tells me it's something in my own login environment that's messing me up. Wonder what that might be....
Well, it's fixed. I know the solution, if not the cause: in my home directory, cd to .local/share/mime, delete (or rename) the "globs" file. log off, log on. voila.
I note that the globs file in that location is not the same size as the one in /usr/share/mime globs, which is also no the same size as the one in /usr/local/share/mime/globs. I have no CLUE how it gets generated (unless update-mime-database does it, but I don't know when or by what agency it gets run.) but after rebooting it has not been regenerated, but at least my desktop launchers now work. I note that /usr/share/mime/globs contains:
application/x-desktop:*.desktop
and that the globs file I renamed in ~/.local/share/mime does not contain such a line. without doing further spelunking, I can only guess that it is the absence of that line that broke my desktop.
Wonder how the file could have become broken/corrupted? is there a more correct method of "fixing" it?
thanks all!
Fred
new info, see below...
On Wed, Nov 16, 2011 at 08:31:17PM -0500, fred smith wrote:
On Tue, Nov 15, 2011 at 08:45:48PM -0500, fred smith wrote:
On Tue, Nov 15, 2011 at 11:22:32AM +0100, Ljubomir Ljubojevic wrote:
Vreme: 11/15/2011 03:25 AM, fred smith piše:
note that the Desktop folder contains a subdirectory named "radio stations", and that its representation on the desktop looks correct. but when I click on it to open up that folder, all its contents are also broken in the same way.
Anybody got any clues?
First remove all spaces from folder(s) and desktop files.
Next, there was some trick when you create your own desktop files, I was receiving similar warning, but I am not sure (at the moment) what was the solution. While you change names, I will later on look for a solution.
Tried removing spaces. makes no difference.
did a reboot with forced fsck, on the off-chance that would fix something. no such luck.
created a whole new user, who CAN create working desktop launchers. which tells me it's something in my own login environment that's messing me up. Wonder what that might be....
Well, it's fixed. I know the solution, if not the cause: in my home directory, cd to .local/share/mime, delete (or rename) the "globs" file. log off, log on. voila.
I note that the globs file in that location is not the same size as the one in /usr/share/mime globs, which is also no the same size as the one in /usr/local/share/mime/globs. I have no CLUE how it gets generated (unless update-mime-database does it, but I don't know when or by what agency it gets run.) but after rebooting it has not been regenerated, but at least my desktop launchers now work. I note that /usr/share/mime/globs contains:
application/x-desktop:*.desktop
and that the globs file I renamed in ~/.local/share/mime does not contain such a line. without doing further spelunking, I can only guess that it is the absence of that line that broke my desktop.
Wonder how the file could have become broken/corrupted? is there a more correct method of "fixing" it?
So, this afternoon a single update came down, a new selinux policy file. after installing that update, the problem (described above) recurred. So, it's some kind of selinux(-related) issue.
If any of you have any further thoughts on this I'd like to hear them.
thanks!
Fred
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 02/09/2012 05:06 PM, fred smith wrote:
new info, see below...
On Wed, Nov 16, 2011 at 08:31:17PM -0500, fred smith wrote:
On Tue, Nov 15, 2011 at 08:45:48PM -0500, fred smith wrote:
On Tue, Nov 15, 2011 at 11:22:32AM +0100, Ljubomir Ljubojevic wrote:
Vreme: 11/15/2011 03:25 AM, fred smith piše:
note that the Desktop folder contains a subdirectory named "radio stations", and that its representation on the desktop looks correct. but when I click on it to open up that folder, all its contents are also broken in the same way.
Anybody got any clues?
First remove all spaces from folder(s) and desktop files.
Next, there was some trick when you create your own desktop files, I was receiving similar warning, but I am not sure (at the moment) what was the solution. While you change names, I will later on look for a solution.
Tried removing spaces. makes no difference.
did a reboot with forced fsck, on the off-chance that would fix something. no such luck.
created a whole new user, who CAN create working desktop launchers. which tells me it's something in my own login environment that's messing me up. Wonder what that might be....
Well, it's fixed. I know the solution, if not the cause: in my home directory, cd to .local/share/mime, delete (or rename) the "globs" file. log off, log on. voila.
I note that the globs file in that location is not the same size as the one in /usr/share/mime globs, which is also no the same size as the one in /usr/local/share/mime/globs. I have no CLUE how it gets generated (unless update-mime-database does it, but I don't know when or by what agency it gets run.) but after rebooting it has not been regenerated, but at least my desktop launchers now work. I note that /usr/share/mime/globs contains:
application/x-desktop:*.desktop
and that the globs file I renamed in ~/.local/share/mime does not contain such a line. without doing further spelunking, I can only guess that it is the absence of that line that broke my desktop.
Wonder how the file could have become broken/corrupted? is there a more correct method of "fixing" it?
So, this afternoon a single update came down, a new selinux policy file. after installing that update, the problem (described above) recurred. So, it's some kind of selinux(-related) issue.
If any of you have any further thoughts on this I'd like to hear them.
thanks!
Fred
I would relabel your system
touch /.autorelabel; reboot
And I would bet that fixes your problem.
On Fri, Feb 10, 2012 at 09:40:13AM -0500, Daniel J Walsh wrote:
On 02/09/2012 05:06 PM, fred smith wrote:
new info, see below...
On Wed, Nov 16, 2011 at 08:31:17PM -0500, fred smith wrote:
On Tue, Nov 15, 2011 at 08:45:48PM -0500, fred smith wrote:
On Tue, Nov 15, 2011 at 11:22:32AM +0100, Ljubomir Ljubojevic wrote:
Vreme: 11/15/2011 03:25 AM, fred smith piše:
note that the Desktop folder contains a subdirectory named "radio stations", and that its representation on the desktop looks correct. but when I click on it to open up that folder, all its contents are also broken in the same way.
Anybody got any clues?
First remove all spaces from folder(s) and desktop files.
Next, there was some trick when you create your own desktop files, I was receiving similar warning, but I am not sure (at the moment) what was the solution. While you change names, I will later on look for a solution.
Tried removing spaces. makes no difference.
did a reboot with forced fsck, on the off-chance that would fix something. no such luck.
created a whole new user, who CAN create working desktop launchers. which tells me it's something in my own login environment that's messing me up. Wonder what that might be....
Well, it's fixed. I know the solution, if not the cause: in my home directory, cd to .local/share/mime, delete (or rename) the "globs" file. log off, log on. voila.
I note that the globs file in that location is not the same size as the one in /usr/share/mime globs, which is also no the same size as the one in /usr/local/share/mime/globs. I have no CLUE how it gets generated (unless update-mime-database does it, but I don't know when or by what agency it gets run.) but after rebooting it has not been regenerated, but at least my desktop launchers now work. I note that /usr/share/mime/globs contains:
application/x-desktop:*.desktop
and that the globs file I renamed in ~/.local/share/mime does not contain such a line. without doing further spelunking, I can only guess that it is the absence of that line that broke my desktop.
Wonder how the file could have become broken/corrupted? is there a more correct method of "fixing" it?
So, this afternoon a single update came down, a new selinux policy file. after installing that update, the problem (described above) recurred. So, it's some kind of selinux(-related) issue.
If any of you have any further thoughts on this I'd like to hear them.
thanks!
Fred
I would relabel your system
touch /.autorelabel; reboot
And I would bet that fixes your problem.
I'm not sure that it did. I did what you suggest. rebooted then reinserted the glob file (I'd saved it under a different name). it immediately seemed to be still working, but the next day the problem started occurring again, without having installed any other updates.
Fred
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 02/15/2012 11:40 AM, fred smith wrote:
On Fri, Feb 10, 2012 at 09:40:13AM -0500, Daniel J Walsh wrote:
On 02/09/2012 05:06 PM, fred smith wrote:
new info, see below...
On Wed, Nov 16, 2011 at 08:31:17PM -0500, fred smith wrote:
On Tue, Nov 15, 2011 at 08:45:48PM -0500, fred smith wrote:
On Tue, Nov 15, 2011 at 11:22:32AM +0100, Ljubomir Ljubojevic wrote:
Vreme: 11/15/2011 03:25 AM, fred smith piše:
> note that the Desktop folder contains a subdirectory > named "radio stations", and that its representation on > the desktop looks correct. but when I click on it to > open up that folder, all its contents are also broken > in the same way. > > Anybody got any clues? >
First remove all spaces from folder(s) and desktop files.
Next, there was some trick when you create your own desktop files, I was receiving similar warning, but I am not sure (at the moment) what was the solution. While you change names, I will later on look for a solution.
Tried removing spaces. makes no difference.
did a reboot with forced fsck, on the off-chance that would fix something. no such luck.
created a whole new user, who CAN create working desktop launchers. which tells me it's something in my own login environment that's messing me up. Wonder what that might be....
Well, it's fixed. I know the solution, if not the cause: in my home directory, cd to .local/share/mime, delete (or rename) the "globs" file. log off, log on. voila.
I note that the globs file in that location is not the same size as the one in /usr/share/mime globs, which is also no the same size as the one in /usr/local/share/mime/globs. I have no CLUE how it gets generated (unless update-mime-database does it, but I don't know when or by what agency it gets run.) but after rebooting it has not been regenerated, but at least my desktop launchers now work. I note that /usr/share/mime/globs contains:
application/x-desktop:*.desktop
and that the globs file I renamed in ~/.local/share/mime does not contain such a line. without doing further spelunking, I can only guess that it is the absence of that line that broke my desktop.
Wonder how the file could have become broken/corrupted? is there a more correct method of "fixing" it?
So, this afternoon a single update came down, a new selinux policy file. after installing that update, the problem (described above) recurred. So, it's some kind of selinux(-related) issue.
If any of you have any further thoughts on this I'd like to hear them.
thanks!
Fred
I would relabel your system
touch /.autorelabel; reboot
And I would bet that fixes your problem.
I'm not sure that it did. I did what you suggest. rebooted then reinserted the glob file (I'd saved it under a different name). it immediately seemed to be still working, but the next day the problem started occurring again, without having installed any other updates.
Fred
Well you can check if SELinux is involved, by executing
# ausearch -m avc -ts recent
If this returns output it could still be SELinux.
On Wed, Feb 15, 2012 at 11:40 AM, Daniel J Walsh dwalsh@redhat.com wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 02/15/2012 11:40 AM, fred smith wrote:
On Fri, Feb 10, 2012 at 09:40:13AM -0500, Daniel J Walsh wrote:
On 02/09/2012 05:06 PM, fred smith wrote:
new info, see below...
On Wed, Nov 16, 2011 at 08:31:17PM -0500, fred smith wrote:
On Tue, Nov 15, 2011 at 08:45:48PM -0500, fred smith wrote:
On Tue, Nov 15, 2011 at 11:22:32AM +0100, Ljubomir Ljubojevic wrote: > Vreme: 11/15/2011 03:25 AM, fred smith piše: > >> note that the Desktop folder contains a subdirectory >> named "radio stations", and that its representation on >> the desktop looks correct. but when I click on it to >> open up that folder, all its contents are also broken >> in the same way. >> >> Anybody got any clues? >> > > First remove all spaces from folder(s) and desktop > files. > > Next, there was some trick when you create your own > desktop files, I was receiving similar warning, but I am > not sure (at the moment) what was the solution. While you > change names, I will later on look for a solution.
Tried removing spaces. makes no difference.
did a reboot with forced fsck, on the off-chance that would fix something. no such luck.
created a whole new user, who CAN create working desktop launchers. which tells me it's something in my own login environment that's messing me up. Wonder what that might be....
Well, it's fixed. I know the solution, if not the cause: in my home directory, cd to .local/share/mime, delete (or rename) the "globs" file. log off, log on. voila.
I note that the globs file in that location is not the same size as the one in /usr/share/mime globs, which is also no the same size as the one in /usr/local/share/mime/globs. I have no CLUE how it gets generated (unless update-mime-database does it, but I don't know when or by what agency it gets run.) but after rebooting it has not been regenerated, but at least my desktop launchers now work. I note that /usr/share/mime/globs contains:
application/x-desktop:*.desktop
and that the globs file I renamed in ~/.local/share/mime does not contain such a line. without doing further spelunking, I can only guess that it is the absence of that line that broke my desktop.
Wonder how the file could have become broken/corrupted? is there a more correct method of "fixing" it?
So, this afternoon a single update came down, a new selinux policy file. after installing that update, the problem (described above) recurred. So, it's some kind of selinux(-related) issue.
If any of you have any further thoughts on this I'd like to hear them.
thanks!
Fred
I would relabel your system
touch /.autorelabel; reboot
And I would bet that fixes your problem.
I'm not sure that it did. I did what you suggest. rebooted then reinserted the glob file (I'd saved it under a different name). it immediately seemed to be still working, but the next day the problem started occurring again, without having installed any other updates.
Fred
Well you can check if SELinux is involved, by executing
# ausearch -m avc -ts recent
If this returns output it could still be SELinux.
Just cat /selinux/enforce - if that has a 1 in it, then selinux is enabled.