This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Device Actions - Kindle - Ebook reader - Manage with Calibre

Tags: None
(comma "," separated)
anandr
Registered Member
Posts
6
Karma
0
Can someone help me in configuring the device action "Manage with Calibre" for Kindle ebook reader. How exactly do i specify that the device is ebook reader?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Please compare the output of the following command before and after connecting your Kindle.
Are any entries added to the list?
Code: Select all
solid-hardware list

If any entries are added, please run the following command for each one, and post the output here:
Code: Select all
solid-hardware nonportableinfo <udi>

One example of this command is:
Code: Select all
solid-hardware nonportableinfo /org/freedesktop/UDisks/devices/sda1


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
anandr
Registered Member
Posts
6
Karma
0
Thanks for your reply. Below are the details.
Code: Select all
solid-hardware list
udi = '/org/freedesktop/UDisks2/drives/Kindle_Internal_Storage_B008A0A010251B32

(above entry corresponds to kindle presume)
Code: Select all
solid-hardware nonportableinfo /org/freedesktop/UDisks2/drives/Kindle_Internal_Storage_B008A0A010251B32
udi = '/org/freedesktop/UDisks2/drives/Kindle_Internal_Storage_B008A0A010251B32'
  CanPowerOff = true  (bool)
  CanPowerOff = true  (bool)
  Configuration =
  Configuration =
  ConnectionBus = 'usb'  (string)
  ConnectionBus = 'usb'  (string)
  Ejectable = true  (bool)
  Ejectable = true  (bool)
  Id = 'Kindle-Internal-Storage-B008A0A010251B32'  (string)
  Id = 'Kindle-Internal-Storage-B008A0A010251B32'  (string)
  Media = ''  (string)
  Media = ''  (string)
  MediaAvailable = false  (bool)
  MediaAvailable = false  (bool)
  MediaChangeDetected = true  (bool)
  MediaChangeDetected = true  (bool)
  MediaCompatibility = {}  (string list)
  MediaCompatibility = {}  (string list)
  MediaRemovable = true  (bool)
  MediaRemovable = true  (bool)
  Model = 'Internal Storage'  (string)
  Model = 'Internal Storage'  (string)
  Optical = false  (bool)
  Optical = false  (bool)
  OpticalBlank = false  (bool)
  OpticalBlank = false  (bool)
  OpticalNumAudioTracks = 0  (0x0)  (uint)
  OpticalNumAudioTracks = 0  (0x0)  (uint)
  OpticalNumDataTracks = 0  (0x0)  (uint)
  OpticalNumDataTracks = 0  (0x0)  (uint)
  OpticalNumSessions = 0  (0x0)  (uint)
  OpticalNumSessions = 0  (0x0)  (uint)
  OpticalNumTracks = 0  (0x0)  (uint)
  OpticalNumTracks = 0  (0x0)  (uint)
  Removable = true  (bool)
  Removable = true  (bool)
  Revision = '0100'  (string)
  Revision = '0100'  (string)
  RotationRate = -1  (0xffffffffffffffff)  (int)
  RotationRate = -1  (0xffffffffffffffff)  (int)
  Seat = 'seat0'  (string)
  Seat = 'seat0'  (string)
  Serial = 'B008A0A010251B32'  (string)
  Serial = 'B008A0A010251B32'  (string)
  SiblingId = '/sys/devices/pci0000:00/0000:00:1c.4/0000:0b:00.0/usb3/3-2/3-2:1.0'  (string)
  SiblingId = '/sys/devices/pci0000:00/0000:00:1c.4/0000:0b:00.0/usb3/3-2/3-2:1.0'  (string)
  Size = 0  (0x0)  (qulonglong)
  Size = 0  (0x0)  (qulonglong)
  SortKey = '01hotplug/1378870439629080'  (string)
  SortKey = '01hotplug/1378870439629080'  (string)
  TimeDetected = 1378870439629080  (0x4e6134abed118)  (qulonglong)
  TimeDetected = 1378870439629080  (0x4e6134abed118)  (qulonglong)
  TimeMediaDetected = 0  (0x0)  (qulonglong)
  TimeMediaDetected = 0  (0x0)  (qulonglong)
  Vendor = 'Kindle'  (string)
  Vendor = 'Kindle'  (string)
  WWN = ''  (string)
  WWN = ''  (string)
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Unfortunately Solid does not support filtering by any exact vendor, so this will have to be a generic action which will be offered for all storage devices.
I have no idea how other desktops specifically identify ebook reader devices.

To create a generic action, open System Settings > Device Actions, and add a new action. Change the "Parameter type" to "Device Interface Match" and select "Storage Drive" as the "Device Type". Once you have confirmed this (including selection of an icon, and giving it a name) you will need to logout and back in again for it to have effect.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
anandr
Registered Member
Posts
6
Karma
0
Thanks for replying. Will check it out.

In Cinnamon, there is an option though am yet to get it working.
Image


https://bugs.kde.org/show_bug.cgi?id=324686 I have raised a tracker as well.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Okay - I suspect they probably have the same issues...


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]