..
Announcement
Collapse
No announcement yet.
Desktop Icon Paths
Collapse
This topic is closed.
X
X
-
Desktop Icon Paths
Last edited by anonprivate; Mar 03, 2017, 08:57 AM.kubuntu version: 16.04.5 LTS
Laptop: Toshiba-Satellite-L350 -
When I check the desktop icons paths they indicate a...local/share/applications folder, but this is not the folder to which I linked the icons, and the images are different.
The "icon picker" opens at the system default icons for the mimetype the .desktop file (or .directory file if your messing with a folder icon) is referring to. So if you attempt to change the icon on a program, you'll get "Application" icons, if you attempt to change the icon on a folder you get the "Places" icons, etc. You can then pick a new icon from the system icons or select "Other" and navigate to another icon of your choosing.
I can't explain why the developer did it this way, but I can guess that the assumption is if you're bothering to click on the Icon image you want to change it, so there no use in leading you to the one that already selected.
- Top
- Bottom
-
..Last edited by anonprivate; Mar 03, 2017, 08:57 AM.kubuntu version: 16.04.5 LTS
Laptop: Toshiba-Satellite-L350
- Top
- Bottom
Comment
-
Originally posted by anonprivate View PostI will give an example.
On the desktop, I click an icon - icon settings, location /.../.local/share/applications. This is not where the icon is located.
The icon is in /.../Home/Pictures/icons
- Top
- Bottom
Comment
-
..Last edited by anonprivate; Mar 03, 2017, 08:57 AM.kubuntu version: 16.04.5 LTS
Laptop: Toshiba-Satellite-L350
- Top
- Bottom
Comment
-
Originally posted by anonprivate View PostIt just seems odd to me that the icon path does not indicate the Pictures/icons file where the icon is located, It seems to give the original path used at install which is now invalid!
The path you are seeing when you click on the icon isn't the actual path to the icon you are using if it is different than the default. That said, the fact that you are using an icon from other than the default location, the path to your chosen icon is saved elsewhere.
Someone please correct me if I am totally off base with this.Windows no longer obstructs my view.
Using Kubuntu Linux since March 23, 2007.
"It is a capital mistake to theorize before one has data." - Sherlock Holmes
- Top
- Bottom
Comment
-
..Last edited by anonprivate; Mar 03, 2017, 08:58 AM.kubuntu version: 16.04.5 LTS
Laptop: Toshiba-Satellite-L350
- Top
- Bottom
Comment
-
Originally posted by anonprivate View PostSo the path that I see is the original default path. The system does not change it to the new path.Windows no longer obstructs my view.
Using Kubuntu Linux since March 23, 2007.
"It is a capital mistake to theorize before one has data." - Sherlock Holmes
- Top
- Bottom
Comment
-
..Last edited by anonprivate; Mar 03, 2017, 08:58 AM.kubuntu version: 16.04.5 LTS
Laptop: Toshiba-Satellite-L350
- Top
- Bottom
Comment
-
I thought I said this already, but to expand slightly: The icon location for folders is in the .directory file stored within any given folder. A desktop icon location would be with the <PROGRAM NAME>.desktop file where ever it's located. Icon locations chosen within Kmenu are stored in the menu definition for that menu item.
If the icon itself is within one of the system icon default locations, the will be no path included in the icon definition as the system will find it without one. If you select "browse" and choose an icon from somewhere other than a default icon location, the full path to the icon will be stored.
This is simple enough to understand and illustrate:Open your home folder in dolphin.
Display hidden files.
Open the .directory file.
Unless you have modified it, you will not see an "icon=" line.
Close the .directory file.
Go up one directory and right-click on your home folder and change the icon, selecting one with the "System Icons" (I chose "user-home-symbolic" on my system).
Then go back to the .directory file and open it.
Observe this is now included in the file:Code:[Desktop Entry]Icon=user-home-symbolic
Close the directory file.Again, go up one directory and right-click on your home folder and change the icon, this time select one in your home somewhere.
Then go back to the .directory file and open it.
Observe this is now included in the file:Code:[Desktop Entry]Icon=/home/<USERNAME>/<ICONPATH>/ICONNAME
- Top
- Bottom
Comment
-
are not such things as this ,,,,,,stored in ~/.cache so even if the icon is deleted it would still get displayed (it's displayed from the ~/.cache I think) until reseting it or kbuildsycoca5 is called...?
VINNYi7 4core HT 8MB L3 2.9GHz
16GB RAM
Nvidia GTX 860M 4GB RAM 1152 cuda cores
- Top
- Bottom
Comment
-
AFAIK icon-cache.kcache is not a text file. Copies of icons are kept in it to speed up display. Icon locations are only stored in it so the system can reference which icon is which. It's not a file you can go check or edit and it's updated (or supposed to be) when you make icon changes.
I believe the OP wanted to know where icon paths were kept. They're not stored in icon.cache.kcache, but they are "echoed" there.
- Top
- Bottom
Comment
-
Originally posted by oshunluvr View PostI thought I said this already, but to expand slightly: The icon location for folders is in the .directory file stored within any given folder. A desktop icon location would be with the <PROGRAM NAME>.desktop file where ever it's located. Icon locations chosen within Kmenu are stored in the menu definition for that menu item.
If the icon itself is within one of the system icon default locations, the will be no path included in the icon definition as the system will find it without one. If you select "browse" and choose an icon from somewhere other than a default icon location, the full path to the icon will be stored.
This is simple enough to understand and illustrate:Open your home folder in dolphin.
Display hidden files.
Open the .directory file.
Unless you have modified it, you will not see an "icon=" line.
Close the .directory file.
Go up one directory and right-click on your home folder and change the icon, selecting one with the "System Icons" (I chose "user-home-symbolic" on my system).
Then go back to the .directory file and open it.
Observe this is now included in the file:Code:[Desktop Entry]Icon=user-home-symbolic
Close the directory file.Again, go up one directory and right-click on your home folder and change the icon, this time select one in your home somewhere.
Then go back to the .directory file and open it.
Observe this is now included in the file:Code:[Desktop Entry]Icon=/home/<USERNAME>/<ICONPATH>/ICONNAME
I am using kubuntu 14.04 - if that is importantkubuntu version: 16.04.5 LTS
Laptop: Toshiba-Satellite-L350
- Top
- Bottom
Comment
-
The icon location for folders is in the .directory file stored within any given folder.
- Top
- Bottom
Comment
-
..Last edited by anonprivate; Mar 03, 2017, 09:00 AM.kubuntu version: 16.04.5 LTS
Laptop: Toshiba-Satellite-L350
- Top
- Bottom
Comment
Comment