You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

5ER

Beginner

  • "5ER" started this thread

Posts: 7

Location: Bohinj, Slovenia

  • Send private message

1

Wednesday, December 26th 2007, 9:47pm

Device icons

Is there any way to change what icon to use for what device?
The icon for my cell phone is an usb key, the icon for my usb key is an mp3 player and so on...
So, is it possible to change that?
5er@jabber.org

2

Wednesday, January 2nd 2008, 2:10am

--
Edited -

The things you plug into a usb port will be identified on the desktop with a usb device on/off icon or other random icon based upon what the system determines a class of device to be. Because USB devices may be hotswapped, there is no way I know of to link a specific icon to a specific device that may not be present at the next boot. I originally gave instructions on how to change icons for on/off devices but that would disable the existing USB icon in favor of another. Not a good plan.

There may be a config file which links specific devices to specific icons but I don't know where to find it. Sorry.

--

If you alter an on/off icon by the properties method it won't behave correctly - see Messed up trash icon

This post has been edited 2 times, last edit by "mikie" (Jan 2nd 2008, 4:18am)


3

Wednesday, January 2nd 2008, 5:22am

Here is one way to do it without messing anything up.

Right-click anywhere on the desktop.
Select Create New... Link to Location (URL)...

A box will open:

File Name: [enter what you want to name the link]
Enter Link to location (URL): [browse to where your device is located] ie: /media/FAT32 is where my USB hard-drive mounts when I plug it in.
Select 'OK'

A file folder type link to your device will appear on the desktop.

Right-click the link, select Properties.

Click the icon box and browse the sets of icons until you find one you like, then click on it. The Properties box reappears, select OK.

This link will stay on the desktop even when the device is removed and will be active when the device is present.

--

If the link doesn't become active in the presence of your device, the device may not have mounted. You can mount the device using Kdiskfree. (KDE Menu, Run Command: kdiskfree) Then rt-click the device location shown on the graph and select "mount"

You can also permanently mount the device if it doesn't mount by itself by editing /etc/fstab but I will defer to a more experienced user for that "howto" advice.

toad

Trainee

Posts: 66

Location: capital of beer

  • Send private message

4

Thursday, January 3rd 2008, 12:09pm

any feedback, 5er?
running on Debian Etch

5

Wednesday, January 9th 2008, 7:32pm

it person

well its a difficult question...a person of it related field can better tell you

cat portraits

5ER

Beginner

  • "5ER" started this thread

Posts: 7

Location: Bohinj, Slovenia

  • Send private message

6

Wednesday, January 9th 2008, 7:57pm

sorry for the late response

Is it possible to make icons on the desktop disappear when things aren't in the usb?
And is it possible to change the icons of a device globally (so no need for any shortcuts). I don't know, it should be possible to implement by leaving a file on the device.
5er@jabber.org

7

Thursday, January 10th 2008, 12:05am

You can turn off all system generated device icons by doing the following:

K Menu > Personal Settings (Configure Desktop) > Desktop > Behavior

On the Device Icons tab, uncheck the box in front of "Show device icons" then click Apply

---

If you want to globally change the icon that represents a specific USB device, you will have to first locate the icon library you are using by going to:

K Menu > Personal Settings (Configure Desktop) > Appearance & Themes

The icon theme will be the highlighted one. Then go to the library for that theme in / (root). For example, in SUSE 10.3, I use Crystalsvg.

32x32 Device icons for this theme are located in:

/opt/kde3/share/icons/crystalsvg/32x32/devices
(other distro's may not use /opt/kde3 so you might check /usr/share/icons and look there)

You would need to be in ROOT to insert (paste) your new custom icons into the icon library for this theme. First rename the old icons you are replacing by adding a "bkp" suffix, then rename the new ones exactly as the originals.

Device icons have 2 forms, _mount and _unmount and several sizes (16, 22, 32, 48, 64, 128 ) You would have to make sets for all versions and sizes. It is quite an undertaking but can be done with persistence. I've done it for the trash icon successfully.

After modifying the libraries, you would then have to go back to K Menu > Personal Settings (Configure Desktop) > Appearance & Themes and just click on any other theme to activate the "Apply" button. Then click back on the installed theme (the one you modified) and click "Apply. This will refresh the theme with your new custom icons.

Whew!
---

If you want a brand new theme that contains icons you like better, select it here in the Themes tab and click Apply to try it out. You can also download new complete themes to add to your choices from KDE Look
http://www.kde-look.org/index.php?xconte…x12x13x14x15x16
or other sources within your distribution repositories.

seekyou

Unregistered

8

Friday, August 29th 2008, 8:44am

there is no way I know of to link a specific icon to a specific device that may not be present at the next boot.

9

Wednesday, October 30th 2013, 2:55pm

here is a great selection of icons http://megaicons.net/