LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (http://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   FC19 (from FC17) + KDE: changing launcher icon: can't write (http://www.linuxquestions.org/questions/linux-desktop-74/fc19-from-fc17-kde-changing-launcher-icon-cant-write-4175484141/)

kaza 11-10-2013 04:54 PM

FC19 (from FC17) + KDE: changing launcher icon: can't write
 
Hello,

When I went from FC17 to FC19 (both under KDE), my desktop
launchers lost their icon (which had been replaced
by a question mark). When I attempt to right-click on
a launcher, select "properties", click on the icon,
select the icon and select "OK" I get a popup window
telling me that I don't have sufficient access to write
the "<launcher name>.desktop" file. I checked the files
permissions - they're OK, I can open the file with a text editor
and write it, if only I knew what to write.
Currently, the contents of the launcher of a "konsole"
named "Terminal 150x50.desktop" are:

Code:

[Desktop Entry]
Comment[en_US]=
Comment=
Encoding=UTF-8
Exec=/usr/bin/konsole -profile KONSOLE
GenericName[en_US]=
GenericName=
Icon[en_US]=gnome-panel-launcher
Icon=utilities-terminal
MimeType=
Name[en_US]=Terminal 150x50
Name=Terminal 150x50
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
Version=1.0
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=

Interestingly, the value of the "Icon" entry
is what I selected, that is: this file got updated when I selected
the icon of "utilities-terminal". So why the popup window and why
the launcher icon is still a question mark?

TIA for ideas,
kaza.

John VV 11-11-2013 01:22 PM

i take it this was a in place "upgrade" from 17 to 19
using ? what ?
the fedora 19 DVD ?
fedup ?
or what ?

skipping a version has NEVER been supported in fedora
a in place upgrade skipping a version is not supported

it might ? mostly work mostly well ? but .......


recreate all of your launcher icons and pray that that is the only thing wrong
-- that will not be the only thing busted


a new install has always been recommended for skipping a version .

the "launchers" on the desktop ARE links to /use/share/Applications/???.desktop

you must be root to edit them

BUT
with a upgrade the meta data is for the OLD os and not 19


so delete all the desktop launchers from fedora 17
and replace them with the 19 versions

-- recreate all of the desktop launchers

kaza 11-11-2013 02:26 PM

Hi John VV,

thanks for the reply.

I used "fedup" to go from FC17 to FC19.
If it isn't supported, why the "fedup" allows
such thing at all instead of forsing only
a single version increase each time?

What is the indication that the "*.desktop" files are links?
In "ls" output they don't look like logical links:

Code:

<localhost>.../Desktop>\ls -l *.desktop
-rwxr-xr-x. 1 user user 219 Jun  7  2011 Google Earth.desktop
-rwxr--r--. 1 user user 334 Nov 11 21:55 KA_LOG.desktop
-rwxr-xr-x. 1 user user 422 Jun  9  2012 Terminal 100x30.desktop
-rwxr-xr-x. 1 user user 412 Nov 11 00:59 Terminal 150x50.desktop

How can I know if a file is a hard link?

Wait, now using your mentioning of the directory
/usr/share/applications
I found a way to fix the icon (at least for now,
at least for "nedit" lauchers):
after doing "ls" in that directory and finding,
for example

/usr/share/applications/nedit.desktop

I changed the "Icon" key value to "nedit"
and the icon has changed.

Thanks (yes, I remember that troubles are waiting
but currently I have more urgent things than PC),

kaza.


All times are GMT -5. The time now is 01:16 PM.