Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
If you are using KDE... Right click the folder you want to change, click properties. You should see the current folder icon at the top left of the properties window. Click the icon--> select other icons--> click browse--> find the .png file--> select it--> click open--> click ok--> click ok again. You may have to press F5 to refresh the display.
If you are using KDE... Right click the folder you want to change, click properties. You should see the current folder icon at the top left of the properties window. Click the icon--> select other icons--> click browse--> find the .png file--> select it--> click open--> click ok--> click ok again. You may have to press F5 to refresh the display.
{BBI}Nexus{BBI}, actually, I'm using ubutu 7.10. Any ideas on how to change all folders in my system, not just one individual folder?
I'd look in /usr/share/icons first. Look for a folder that shares the same name as whatever icon theme you're using. Then "cp -r /usr/share/icons/themeyouwant ~" (assuming you find it there). Then you can change any icon you wish (a tedious chore if you're thorough, with 5 or 6 copies of each icon at different sizes). Edit the .desktop file inside the theme so that it doesn't have the same name as the original theme. In KDE it's then as simple as tarballing the edited folder, and going into Control Centre and installing the new theme. If you didn't change the name inside the .desktop file though, and the original theme you edited is still installed, you're asking for complications. I suspect it's a little different with GNOME but basically the same deal, find the folder, replace the icons, being careful to follow whatever standard for naming and directory trees is already in use, repack the folder, and install the theme.
I'd look in /usr/share/icons first. Look for a folder that shares the same name as whatever icon theme you're using. Then "cp -r /usr/share/icons/themeyouwant ~" (assuming you find it there). Then you can change any icon you wish (a tedious chore if you're thorough, with 5 or 6 copies of each icon at different sizes). Edit the .desktop file inside the theme so that it doesn't have the same name as the original theme. In KDE it's then as simple as tarballing the edited folder, and going into Control Centre and installing the new theme. If you didn't change the name inside the .desktop file though, and the original theme you edited is still installed, you're asking for complications. I suspect it's a little different with GNOME but basically the same deal, find the folder, replace the icons, being careful to follow whatever standard for naming and directory trees is already in use, repack the folder, and install the theme.
This sounds a bit complicated and risky. Is there any way I can change my folder icon without having to resort to the abve method? I'd appreciate it.
Or even this: http://www.gnome-look.org/ if you think lurkos' suggestion is complicated or risky. Installing themes is much easier if you're not comfortable with making manual changes.
Last edited by {BBI}Nexus{BBI}; 07-09-2008 at 05:26 PM.
Or even this: http://www.gnome-look.org/ if you think lurkos' suggestion is complicated or risky. Installing themes is much easier if you're not comfortable with making manual changes.
{BBI}Nexus{BBI}, gnome-look.org is the place where I got my folder icon from. And, I'm not installing a theme, I'm installing a folder icon, that's all. What should I do now?
{BBI}Nexus{BBI}, gnome-look.org is the place where I got my folder icon from. And, I'm not installing a theme, I'm installing a folder icon, that's all. What should I do now?
I understand that you are not installing a theme, I am just saying that is the easiest way to add custom folders to your system. Can you provide a link to the folder(s) that you downloaded so I can take a look?
I understand that you are not installing a theme, I am just saying that is the easiest way to add custom folders to your system. Can you provide a link to the folder(s) that you downloaded so I can take a look?
Sadly it looks as though lurkos' way is the correct and only way you will be able to assign the folder(s) you want globally with one click of the mouse. In other words you are going to have to make your own installable theme from these .png's along with an index.desktop file containing all the parameters. Something like this:
Code:
[KDE Icon Theme]
Name=Whatever you like
Comment=Icon Theme by your name here if you wish
DisplayDepth=32
Inherits=hicolor
Example=folder
LinkOverlay=link
LockOverlay=lockoverlay
ZipOverlay=lockoverlay
DesktopDefault=32
DesktopSizes=16,24,32,48,64,128
ToolbarDefault=24
ToolbarSizes=16,24,32,48
MainToolbarDefault=24
MainToolbarSizes=16,24,32,48
SmallDefault=16
SmallSizes=16,24
PanelDefault=32
PanelSizes=16,24,32,48,64,128
Directories=16x16/filesystems,32x32/filesystems,48x48/filesystems,64x64/filesystems,128x128/filesystems
[16x16/filesystems]
Size=16
Context=FileSystems
Type=Threshold
[32x32/filesystems]
Size=32
Context=FileSystems
Type=Threshold
[48x48/filesystems]
Size=48
Context=FileSystems
Type=Threshold
[64x64/filesystems]
Size=64
Context=FileSystems
Type=Threshold
[128x128/filesystems]
Size=128
Context=FileSystems
Type=Threshold
[48x48/filesystems]
Size=48
Context=FileSystems
Type=Threshold
[64x64/filesystems]
Size=64
Context=FileSystems
Type=Threshold
[128x128/apps]
Size=128
Context=Applications
Type=Threshold
[128x128/filesystems]
Size=128
Context=FileSystems
Type=Threshold
If you have the time and really want to have these folders, then edit an existing theme (unpack the .tar) and make the required changes, repack it and then install it.
{BBI}Nexus{BBI}, thanks for the comment and all your help. Actually, after reading your reply, I decided to install a theme from gnome-look.com. It looks quite good, actually,
I got 2 questions for you:
1) How can I change icons for .doc, .mp3, .zip., .tar.bz?..... Any ideas?
2) I recently added a launcher of a program to my panel. The reason is because before the only way to launch the program was to type code in terminal. This was tedious. My question is, how can I add this launcher to the menu? I don't like having this launcher on my panel.
{BBI}Nexus{BBI}, thanks for the comment and all your help. Actually, after reading your reply, I decided to install a theme from gnome-look.com. It looks quite good, actually,
I got a question for you:
How can I change icons for .doc, .mp3, .zip., .tar.bz?..... Any ideas?
Again, I appreciate your input and all your help.
I hope my posting that long code list didn't give you the shivers
I'm not sure how things work in Gnomeland, for me all I do is go to my KDE Control Centre--> KDE Components--> File associations and type say mp3 in the search box. I then select the entry and click the icon another window opens up, I then choose the icon I want for mp3, click ok and apply. The change is then made globally to every mp3 file.
There must or rather should be a similar facility in Ubuntu, where to find it I couldn't say. I'm sure someone more familiar with the Gnome desktop will respond with the answer.
I hope my posting that long code list didn't give you the shivers
I'm not sure how things work in Gnomeland, for me all I do is go to my KDE Control Centre--> KDE Components--> File associations and type say mp3 in the search box. I then select the entry and click the icon another window opens up, I then choose the icon I want for mp3, click ok and apply. The change is then made globally to every mp3 file.
There must or rather should be a similar facility in Ubuntu, where to find it I couldn't say. I'm sure someone more familiar with the Gnome desktop will respond with the answer.
{BBI}Nexus{BBI}, actually, it didn't give me the shivers... it almost gave me a heart attack. Lol... So, yeah, you're lucky that you're running KDE. Someone must know how to do this in Gnome.
Anyway {BBI}Nexus{BBI}, you've been GREATLY helpful. And, I didn't mean to drag you and the rest of the guys on this post through so much for just one icon.
One icon, ten icons it makes no difference, it's still a user with a problem. What you have shown me is, it's high time I installed the Gnome desktop if only to expand my usefullness.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.