Storage Medium Icons Show Up After a Mounting/Unmounting Operation

Bug #172395 reported by Victor B. Gonzalez on 2007-11-27
2
Affects Status Importance Assigned to Milestone
kdebase (Ubuntu)
Undecided
Unassigned

Bug Description

The Storage Media Applet shows everything just fine. I have "show un/mounted removable medium" enabled in kcontrol > Desktop > Behavior > Device Icons. My removable medium never shows up until at least one is mounted OR if if I run sudo umount -a "not recommended". This is a very tiny issue but a very apparent bug none-the-less. Storage media attached to the system does not show up unless a mounting/unmounting operation takes place. It just helps make the system feel that less perfect :(

Victor B. Gonzalez (vbgunz) wrote :

Original report is in regards to Kubuntu 7.10.

Victor B. Gonzalez (vbgunz) wrote :

I have just discovered a workaround to this issue in case anyone else is experiencing it and is also interested.

1. sudo apt-get install pmount
2. create a desktopStorageIcons.sh file in the /home/<user>/.kde/Autostart directory.
3. put the following without quotes into that file: 'pumount /media/cdrom &'
4. chmod +x /home/<user>/.kde/Autostart/desktopStorageIcons.sh
5. log the user out and log back in...
6. your media icons should automatically showup on the desktop.

feel free to pmount or pumount any device you feel you need to get this working. I chose the cdrom as it should always be the same and I chose to pumount as it makes more sense.

Victor B. Gonzalez (vbgunz) wrote :

the above workaround works on a single user system without a problem. I am on a multiuser system so it doesn't work as it should. I've come up with another workaround that still involves pmount and the executable file from above.

1. change the contents of "desktopStorageIcons.sh"
    FROM -> "pumount /media/cdrom &"
    TO -> "pumount /dev/scd0 || pmount -r /dev/scd0 && pumount /dev/scd0 &"

NOTE: /dev/scd0 should point to your cd/dvd device

2. edit fstab and change the cd/dvd option "user" to "users".

I hope this helps someone

Jonathan Carter (jonathan) wrote :

Does this problem persist in Kubuntu 8.04?

Harald Sitter (apachelogger) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in kdebase:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers