[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Mountable devices support in KDE
From:       Rafał Miłecki <zajec5 () gmail ! com>
Date:       2009-09-07 22:38:28
Message-ID: b170af450909071538p2fd35555h35029ba51f2a2bc1 () mail ! gmail ! com
[Download RAW message or body]

Hi,

I find DeviceNotifier not enought easy-to-use and I try to make
old-good-big sysinfo:/ work in KDE4. The problem is that RMB popup
menu doesn't provide (un)mount actions for devices. I would like to
ask you for help in solving that.

Currently KDE provides RMB popup menu with (un)mount operations for
desktop entry files only. It means you have to create file like:
[Desktop Entry]
Dev=/dev/sdb1
Type=FSDevice
and use RMB on it to see (un)mount.

So I see 2 solutions

1) On every RMB popup menu in sysinfo:/ create desktop entry file for
clicked devices (in some tmp dir) and call "emit popupMenu" for that
file

2) Link to something like "media:/sdb1" and change KDE's libs to offer
(un)mount also for that. Or maybe insted "media:/" we could just use
"/dev/sdb1/"?

What do you think about that solutions? Should we use any of these?

-- 
Rafał Miłecki

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic