Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8228 - Removable device icons don't open konqueror when clicked
Summary: Removable device icons don't open konqueror when clicked
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-22 15:26 UTC by Peter Ruskin
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Ruskin 2002-09-22 15:26:45 UTC
This happens with DVD-ROM, CDROM and floppy devices.  It mounts OK, then icon 
appears on taskbar "kfmclient %u" but konqueror never appears.  If I open
konqueror manually and navigate to /mnt/cdrom, /mnt/cdrw or /mnt/floppy, the
contents are displayed.

[21:08 peter@penguin: ~]
$ kfmclient openURL /mnt/cdrom
Mutex destroy failure: Device or resource busy
...but konqueror then opens

DVD-ROM.desktop:
[Desktop Action Eject]
Exec=kdeeject %v
Name=Eject

[Desktop Entry]
Actions=Eject
Dev=/dev/scsi/host0/bus0/target1/lun0/cd
FSType=auto
Icon=dvd_mount
MountPoint=/mnt/cdrom
ReadOnly=false
Type=FSDevice
UnmountIcon=dvd_unmount

KDE-3.0.3, Gentoo-1.4beta, gcc-3.2
Comment 1 Peter Ruskin 2002-09-22 17:03:58 UTC
If I alter DVD-ROM.desktop as follows, I can open konqueror by right-clicking,
but I would expect to mount and show with a single left-click like in previous
versions.

[Desktop Action Eject]
Exec=kdeeject %v
Name=Eject

[Desktop Action Show]
Exec=kfmclient openURL /mnt/cdrom
Name=Show

[Desktop Entry]
Actions=Eject
Actions=Show
Dev=/dev/scsi/host0/bus0/target1/lun0/cd
FSType=auto
Icon=dvd_mount
MountPoint=/mnt/cdrom
ReadOnly=false
Type=FSDevice
UnmountIcon=dvd_unmount
Comment 2 Peter Ruskin 2002-09-22 17:08:58 UTC
[Desktop Entry]
Actions=Eject
Actions=Show

is not good

[Desktop Entry]
Actions=Eject;Show

is better
Comment 3 Dan Armak (RETIRED) gentoo-dev 2002-09-25 04:29:55 UTC
Well, this seems to be more appropriate for bugs.kde.org than bugs.gentoo.org. After all we don't modify our KDEs' .desktop files. So submit a bugreport about this to the kde devs and they'll decide whether or not anything needs to be modified upstream.  Tell me if this can eb closed, etc. 
Comment 4 Peter Ruskin 2002-09-25 08:14:03 UTC
http://bugs.kde.org/show_bug.cgi?id=48275
Comment 5 Peter Ruskin 2002-09-26 04:32:22 UTC
http://bugs.kde.org/show_bug.cgi?id=48275     
           Summary: Removable device icons don't open konqueror when clicked
           Product: kdesktop
           Version: unspecified
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: faure@kde.org
        ReportedBy: aoyu93@dsl.pipex.com


Version:            (using KDE KDE 3.0.3)
Installed from:    Gentoo Packages
Compiler:          gcc-3.2 
OS:          Linux

This happens with DVD-ROM, CDROM and floppy devices.  It mounts OK, then icon 
appears on taskbar "kfmclient %u" but konqueror never appears.  If I open
konqueror manually and navigate to /mnt/cdrom, /mnt/cdrw or /mnt/floppy, the
contents are displayed.

[21:08 peter@penguin: ~]
$ kfmclient openURL /mnt/cdrom
Mutex destroy failure: Device or resource busy
...but konqueror then opens

DVD-ROM.desktop:
[Desktop Action Eject]
Exec=kdeeject %v
Name=Eject

[Desktop Entry]
Actions=Eject
Dev=/dev/scsi/host0/bus0/target1/lun0/cd
FSType=auto
Icon=dvd_mount
MountPoint=/mnt/cdrom
ReadOnly=false
Type=FSDevice
UnmountIcon=dvd_unmount

KDE-3.0.3, Gentoo-1.4beta, gcc-3.2

If I alter DVD-ROM.desktop as follows, I can open konqueror by right-clicking,
but I would expect to mount and show with a single left-click like in previous
versions.

[Desktop Action Eject]
Exec=kdeeject %v
Name=Eject

[Desktop Action Show]
Exec=kfmclient openURL /mnt/cdrom
Name=Show

[Desktop Entry]
Actions=Eject;Show
Dev=/dev/scsi/host0/bus0/target1/lun0/cd
FSType=auto
Icon=dvd_mount
MountPoint=/mnt/cdrom
ReadOnly=false
Type=FSDevice
UnmountIcon=dvd_unmount

http://bugs.kde.org/show_bug.cgi?id=48275     
coolo@kde.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From coolo@kde.org  2002-09-26 10:38 -------
Subject: Re:  New: Removable device icons don't open konqueror when clicked

Am Wednesday 25 September 2002 15:11 schrieb Peter Ruskin:
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug, or are watching someone who is.
>
> http://bugs.kde.org/show_bug.cgi?id=48275
>            Summary: Removable device icons don't open konqueror when
> clicked Product: kdesktop
>            Version: unspecified
>           Platform: Gentoo Packages
>         OS/Version: Linux
>             Status: UNCONFIRMED
>           Severity: normal
>           Priority: NOR
>          Component: general
>         AssignedTo: faure@kde.org
>         ReportedBy: aoyu93@dsl.pipex.com
>
>
> Version:            (using KDE KDE 3.0.3)
> Installed from:    Gentoo Packages
> Compiler:          gcc-3.2
> OS:          Linux
>
> This happens with DVD-ROM, CDROM and floppy devices.  It mounts OK, then
> icon appears on taskbar "kfmclient %u" but konqueror never appears.  If I
> open konqueror manually and navigate to /mnt/cdrom, /mnt/cdrw or
> /mnt/floppy, the contents are displayed.
>
> [21:08 peter@penguin: ~]
> $ kfmclient openURL /mnt/cdrom
> Mutex destroy failure: Device or resource busy
> ...but konqueror then opens
>

It works as expected here. If I say "kfmclient exec 
$HOME/Desktop/DVD-ROM.desktop" konqueror will mount the DVD and open
/media/dvdrom.

I guess your kdeinit can't launch konqueror for whatever reasons. You can 
check from .xsession-errors

Greetings, Stephan

But it doesn't work here.  From .xsession-errors:
Syntax Error: Unknown command '/mnt/cdrom'
Mutex destroy failure: Device or resource busy
kdecore (KLibLoader): WARNING: KLibrary: /usr/kde/3/lib/libkdecore.so.4:
undefined symbol: init_kcm_konq
kdecore (KLibLoader): WARNING: KLibrary: The library kcm_konq does not offer an
init_kcm_konq function
Comment 6 Peter Ruskin 2002-10-01 04:05:58 UTC
This definitely seems to be a Gentoo bug.  I've just tried (on the same box)
Mandrake 9.0, which has the same KDE version (3.0.3) and gcc (3.2) compiler and
it works fine there.

I tried altering /dev/scsi/host0/bus0/target1/lun0/cd to /dev/cdroms/cdrom0 in
/etc/fstab and DVD-ROM.desktop but a left click on the icon still only mounts
and doesn't open konqueror - task bar says it's trying but it gives up.
Comment 7 Dan Armak (RETIRED) gentoo-dev 2002-10-04 07:39:08 UTC
I don't have a DVD disc near me (or even a cd with iso9660 on it, or a blank) 
and no way immediate way to get one for the next 10 days or so (we're 
rebuilding the stairs to the 2nd floor where my room is, so no access for now 
;-( ). Anyone else who can test/investigate please do, I can't for now. 
Comment 8 Peter Ruskin 2002-10-11 08:12:49 UTC
Still the same with KDE-3.0.4.

However, this works OK from konsole:
$ mount /mnt/cdrom; kfmclient openURL /mnt/cdrom
Mutex destroy failure: Device or resource busy
Comment 9 Dan Armak (RETIRED) gentoo-dev 2003-01-29 15:06:38 UTC
How about recent KDEs? How about 3.1? :-) 
Comment 10 Peter Ruskin 2003-01-29 16:09:56 UTC
Sorry, Dan.  I'd forgotten about this one.  It's working OK on 3.1 - it was OK
on the 3.1_rcs and 3.0.5a too.