This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How to change an icon?

Tags: None
(comma "," separated)
User avatar
QueenZ
Registered Member
Posts
78
Karma
0
OS

How to change an icon?

Fri Feb 20, 2009 6:31 am
So i have made a link to firefox on my desktop and i would like to change it's icon.. i couldn't find how to do it.. :(

looks like this..

http://i39.tinypic.com/2ch89le.png


User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: How to change an icon?

Fri Feb 20, 2009 9:34 am
That is a shell script. You are not able to change the icon of a shell script.

Instead, you should place that script in ~/bin, then create a link to it from New > Link to Application from any file manager. You will then be able to change all aspects. The new menu is available by Right Clicking in any File Manager ( incl. Folder View )


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
QueenZ
Registered Member
Posts
78
Karma
0
OS

RE: How to change an icon?

Fri Feb 20, 2009 12:21 pm
That's a link to a shell script.. can't i change icons for my desktop shortcuts?


User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: How to change an icon?

Fri Feb 20, 2009 12:38 pm
You cannot change the icons for Symbolic Links. They have to be links created through the New > Link to Application since they are *.desktop files.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
QueenZ
Registered Member
Posts
78
Karma
0
OS

RE: How to change an icon?

Fri Feb 20, 2009 12:40 pm
bcooksley wrote:You cannot change the icons for Symbolic Links. They have to be links created through the New > Link to Application since they are *.desktop files.


oh... in that case..

What's a Symbolic Link?
What's a .desktop file?


User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: How to change an icon?

Fri Feb 20, 2009 12:51 pm
Symbolic links are usually created in a terminal, with "ln". They are file system level.
Desktop files are used to find plugins, applications, mimetypes, plugin types, etc. These have the most flexibility.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS

RE: How to change an icon?

Fri Feb 20, 2009 1:57 pm
If you drag applications from Kickoff etc., you can choose "Copy here" instead of "Link here", because the "applications" in the application menu are actually .desktop files.

Please correct me if I'm wrong.


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
Necrobard
Registered Member
Posts
1
Karma
0

Still cannot change an icon.

Mon May 18, 2009 11:05 am
I've created a link via the menu on my KDE 4.2 desktop. In the properties page, the icon button is clickable, and I can browse the "system" (known to system) icons available in my system for assignment - but after pressing OK, the "?" icon remains on it's place. Is it another bug of KDE 4.2? Yes, I'm able to fix the .desktop file manually or browse through catalogues to /usr/share/icons/hicolor/48x48/apps/ for example, but it definitely is not the way it should work.

Is there any way to fix the icon assignment capability? The machine I've installed my Mandriva 2009.1 with KDE 4.2 is targeted for a unqualified user, used to windows ease-of-use, and I'd prefer this small matter to be solved beforetimes.

Last edited by Necrobard on Mon May 18, 2009 11:13 am, edited 1 time in total.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: How to change an icon?

Tue May 19, 2009 4:32 am
It worked for me on my KDE Trunk system. Please ensure ~/.local/ is writable.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]