Re: [Thunar-dev] thunar-volman 0.1.0

2007-01-16 Thread Samuel Verstraete
On Tue, 16 Jan 2007 15:58:26 -0600
Cory Christison <[EMAIL PROTECTED]> wrote:

> I had a similar problem, but plugging it into any Windows machine [I 
> used my friends laptop] and setting it through there works lovely. No 
> more fudding around for me!
> 
>  - Cory Christison
> 
> Mathias Brodala wrote:
> > Hello Benedikt.
> >
> > Benedikt Meurer, 16.01.2007 18:26:
> >   
> >> The volume.label is used if not-empty. Besides that there doesn't
> >> seem to be a lot of useful information available. Not even the
> >> info.vendor is set. We could use info.product, but that's not
> >> really useful either. 
> >
> > OK, then I guess it’s my turn to find out how to set labels for
> > fat32 devices.


$ mkfs.vfat
mkfs.vfat 2.11 (12 Mar 2005)
No device specified!
Usage: mkdosfs [-A] [-c] [-C] [-v] [-I] [-l bad-block-file] [-b
backup-boot-sector] [-m boot-msg-file] [-n volume-name] [-i volume-id]
   [-s sectors-per-cluster] [-S logical-sector-size] [-f
number-of-FATs] [-h hidden-sectors] [-F fat-size] [-r root-dir-entries]
[-R reserved-sectors] /dev/name [blocks]


hint... you want the volume-name ;)

> >
> > Thanks for your help once again. Oh, and thanks for thunar-volman
> > too of course!
> >
> >
> > Regards, Mathias
> 
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] thunar-volman 0.1.0

2007-01-16 Thread Cory Christison
I had a similar problem, but plugging it into any Windows machine [I 
used my friends laptop] and setting it through there works lovely. No 
more fudding around for me!


- Cory Christison

Mathias Brodala wrote:

Hello Benedikt.

Benedikt Meurer, 16.01.2007 18:26:
  

The volume.label is used if not-empty. Besides that there doesn't seem
to be a lot of useful information available. Not even the info.vendor is
set. We could use info.product, but that's not really useful either.



OK, then I guess it’s my turn to find out how to set labels for fat32 devices.

Thanks for your help once again. Oh, and thanks for thunar-volman too of course!


Regards, Mathias
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] thunar-volman 0.1.0

2007-01-16 Thread Mathias Brodala
Hello Benedikt.

Benedikt Meurer, 16.01.2007 18:26:
> The volume.label is used if not-empty. Besides that there doesn't seem
> to be a lot of useful information available. Not even the info.vendor is
> set. We could use info.product, but that's not really useful either.

OK, then I guess it’s my turn to find out how to set labels for fat32 devices.

Thanks for your help once again. Oh, and thanks for thunar-volman too of course!


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] thunar-volman 0.1.0

2007-01-16 Thread Benedikt Meurer
Mathias Brodala wrote:
> Hello Benedikt.
> 
> Benedikt Meurer, 16.01.2007 17:46:
>> Mathias Brodala wrote:
 With information about the device tree I could try to add some more
 smartness to exo-hal to figure out an even better name for your flashdisk.
>>> You’re talking about my devices? What exactly do you need?
>> hal-device dump of the volume, it's storage device and the parent of the
>> storage device might help.
> 
> Here it is:
> 
>> 0: udi = '/org/freedesktop/Hal/devices/volume_uuid_F874_A601'
>>   volume.unmount.valid_options = { 'lazy' } (string list)
>>   volume.mount.valid_options = { 'ro', 'sync', 'dirsync', 'noatime', 
>> 'nodiratime', 'noexec', 'quiet', 'remount', 'exec', 'utf8', 'shortname=', 
>> 'codepage=', 'iocharset=', 'umask=', 'dmask=', 'fmask=', 'uid=' } (string 
>> list)
>>   org.freedesktop.Hal.Device.Volume.method_execpaths = { 
>> 'hal-storage-mount', 'hal-storage-unmount', 'hal-storage-eject' } (string 
>> list)
>>   org.freedesktop.Hal.Device.Volume.method_argnames = { 'mount_point fstype 
>> extra_options', 'extra_options', 'extra_options' } (string list)
>>   org.freedesktop.Hal.Device.Volume.method_signatures = { 'ssas', 'as', 'as' 
>> } (string list)
>>   org.freedesktop.Hal.Device.Volume.method_names = { 'Mount', 'Unmount', 
>> 'Eject' } (string list)
>>   info.interfaces = { 'org.freedesktop.Hal.Device.Volume' } (string list)
>>   volume.ignore = false  (bool)
>>   info.udi = '/org/freedesktop/Hal/devices/volume_uuid_F874_A601'  (string)
>>   info.product = 'Volume (vfat)'  (string)
>>   volume.size = 131072000  (0x7d0)  (uint64)
>>   volume.num_blocks = 256000  (0x3e800)  (int)
>>   volume.block_size = 512  (0x200)  (int)
>>   info.capabilities = { 'volume', 'block' } (string list)
>>   info.category = 'volume'  (string)
>>   volume.is_partition = false  (bool)
>>   volume.is_disc = false  (bool)
>>   volume.linux.is_device_mapper = false  (bool)
>>   volume.is_mounted_read_only = false  (bool)
>>   volume.is_mounted = false  (bool)
>>   volume.mount_point = ''  (string)
>>   volume.label = ''  (string)
>>   volume.uuid = 'F874-A601'  (string)
>>   volume.fsversion = 'FAT32'  (string)
>>   volume.fsusage = 'filesystem'  (string)
>>   volume.fstype = 'vfat'  (string)
>>   storage.model = ''  (string)
>>   block.storage_device = 
>> '/org/freedesktop/Hal/devices/storage_serial_USB_USB_2_0_128MB_31191A401F52404B'
>>   (string)
>>   block.is_volume = true  (bool)
>>   block.minor = 0  (0x0)  (int)
>>   block.major = 8  (0x8)  (int)
>>   block.device = '/dev/sda'  (string)
>>   linux.hotplug_type = 3  (0x3)  (int)
>>   info.parent = 
>> '/org/freedesktop/Hal/devices/storage_serial_USB_USB_2_0_128MB_31191A401F52404B'
>>   (string)
>>   linux.sysfs_path_device = '/sys/block/sda/fakevolume'  (string)
>>   linux.sysfs_path = '/sys/block/sda/fakevolume'  (string)
>>
>> 1: udi = 
>> '/org/freedesktop/Hal/devices/storage_serial_USB_USB_2_0_128MB_31191A401F52404B'
>>   info.addons = { 'hald-addon-storage' } (string list)
>>   block.storage_device = 
>> '/org/freedesktop/Hal/devices/storage_serial_USB_USB_2_0_128MB_31191A401F52404B'
>>   (string)
>>   info.udi = 
>> '/org/freedesktop/Hal/devices/storage_serial_USB_USB_2_0_128MB_31191A401F52404B'
>>   (string)
>>   storage.partitioning_scheme = 'none'  (string)
>>   storage.removable.media_size = 131072000  (0x7d0)  (uint64)
>>   storage.requires_eject = false  (bool)
>>   storage.hotpluggable = true  (bool)
>>   info.capabilities = { 'storage', 'block' } (string list)
>>   info.category = 'storage'  (string)
>>   info.product = 'USB 2.0 128MB'  (string)
>>   info.vendor = ''  (string)
>>   storage.size = 0  (0x0)  (uint64)
>>   storage.removable = true  (bool)
>>   storage.removable.media_available = true  (bool)
>>   storage.physical_device = 
>> '/org/freedesktop/Hal/devices/usb_device_ea0_2168_31191A401F52404B_if0'  
>> (string)
>>   storage.lun = 0  (0x0)  (int)
>>   storage.firmware_version = '2.00'  (string)
>>   storage.serial = 'USB_USB_2.0_128MB_31191A401F52404B'  (string)
>>   storage.vendor = ''  (string)
>>   storage.model = 'USB 2.0 128MB'  (string)
>>   storage.drive_type = 'disk'  (string)
>>   storage.automount_enabled_hint = true  (bool)
>>   storage.media_check_enabled = true  (bool)
>>   storage.no_partitions_hint = false  (bool)
>>   storage.bus = 'usb'  (string)
>>   block.is_volume = false  (bool)
>>   block.minor = 0  (0x0)  (int)
>>   block.major = 8  (0x8)  (int)
>>   block.device = '/dev/sda'  (string)
>>   linux.hotplug_type = 3  (0x3)  (int)
>>   info.parent = 
>> '/org/freedesktop/Hal/devices/usb_device_ea0_2168_31191A401F52404B_if0_scsi_host_scsi_device_lun0'
>>   (string)
>>   linux.sysfs_path_device = '/sys/block/sda'  (string)
>>   linux.sysfs_path = '/sys/block/sda'  (string)
>>
> 
> I guess you could use volume.label of the device but I must admit that I don’t
> know how to set volume labels for fat32 partitions/devices. I tried mkdosfs 
> but
> the label did not appear in hal-device’s

Re: [Thunar-dev] thunar-volman 0.1.0

2007-01-16 Thread Mathias Brodala
Hello Benedikt.

Benedikt Meurer, 16.01.2007 17:46:
> Mathias Brodala wrote:
>>> With information about the device tree I could try to add some more
>>> smartness to exo-hal to figure out an even better name for your flashdisk.
>> You’re talking about my devices? What exactly do you need?
> 
> hal-device dump of the volume, it's storage device and the parent of the
> storage device might help.

Here it is:

> 0: udi = '/org/freedesktop/Hal/devices/volume_uuid_F874_A601'
>   volume.unmount.valid_options = { 'lazy' } (string list)
>   volume.mount.valid_options = { 'ro', 'sync', 'dirsync', 'noatime', 
> 'nodiratime', 'noexec', 'quiet', 'remount', 'exec', 'utf8', 'shortname=', 
> 'codepage=', 'iocharset=', 'umask=', 'dmask=', 'fmask=', 'uid=' } (string 
> list)
>   org.freedesktop.Hal.Device.Volume.method_execpaths = { 'hal-storage-mount', 
> 'hal-storage-unmount', 'hal-storage-eject' } (string list)
>   org.freedesktop.Hal.Device.Volume.method_argnames = { 'mount_point fstype 
> extra_options', 'extra_options', 'extra_options' } (string list)
>   org.freedesktop.Hal.Device.Volume.method_signatures = { 'ssas', 'as', 'as' 
> } (string list)
>   org.freedesktop.Hal.Device.Volume.method_names = { 'Mount', 'Unmount', 
> 'Eject' } (string list)
>   info.interfaces = { 'org.freedesktop.Hal.Device.Volume' } (string list)
>   volume.ignore = false  (bool)
>   info.udi = '/org/freedesktop/Hal/devices/volume_uuid_F874_A601'  (string)
>   info.product = 'Volume (vfat)'  (string)
>   volume.size = 131072000  (0x7d0)  (uint64)
>   volume.num_blocks = 256000  (0x3e800)  (int)
>   volume.block_size = 512  (0x200)  (int)
>   info.capabilities = { 'volume', 'block' } (string list)
>   info.category = 'volume'  (string)
>   volume.is_partition = false  (bool)
>   volume.is_disc = false  (bool)
>   volume.linux.is_device_mapper = false  (bool)
>   volume.is_mounted_read_only = false  (bool)
>   volume.is_mounted = false  (bool)
>   volume.mount_point = ''  (string)
>   volume.label = ''  (string)
>   volume.uuid = 'F874-A601'  (string)
>   volume.fsversion = 'FAT32'  (string)
>   volume.fsusage = 'filesystem'  (string)
>   volume.fstype = 'vfat'  (string)
>   storage.model = ''  (string)
>   block.storage_device = 
> '/org/freedesktop/Hal/devices/storage_serial_USB_USB_2_0_128MB_31191A401F52404B'
>   (string)
>   block.is_volume = true  (bool)
>   block.minor = 0  (0x0)  (int)
>   block.major = 8  (0x8)  (int)
>   block.device = '/dev/sda'  (string)
>   linux.hotplug_type = 3  (0x3)  (int)
>   info.parent = 
> '/org/freedesktop/Hal/devices/storage_serial_USB_USB_2_0_128MB_31191A401F52404B'
>   (string)
>   linux.sysfs_path_device = '/sys/block/sda/fakevolume'  (string)
>   linux.sysfs_path = '/sys/block/sda/fakevolume'  (string)
> 
> 1: udi = 
> '/org/freedesktop/Hal/devices/storage_serial_USB_USB_2_0_128MB_31191A401F52404B'
>   info.addons = { 'hald-addon-storage' } (string list)
>   block.storage_device = 
> '/org/freedesktop/Hal/devices/storage_serial_USB_USB_2_0_128MB_31191A401F52404B'
>   (string)
>   info.udi = 
> '/org/freedesktop/Hal/devices/storage_serial_USB_USB_2_0_128MB_31191A401F52404B'
>   (string)
>   storage.partitioning_scheme = 'none'  (string)
>   storage.removable.media_size = 131072000  (0x7d0)  (uint64)
>   storage.requires_eject = false  (bool)
>   storage.hotpluggable = true  (bool)
>   info.capabilities = { 'storage', 'block' } (string list)
>   info.category = 'storage'  (string)
>   info.product = 'USB 2.0 128MB'  (string)
>   info.vendor = ''  (string)
>   storage.size = 0  (0x0)  (uint64)
>   storage.removable = true  (bool)
>   storage.removable.media_available = true  (bool)
>   storage.physical_device = 
> '/org/freedesktop/Hal/devices/usb_device_ea0_2168_31191A401F52404B_if0'  
> (string)
>   storage.lun = 0  (0x0)  (int)
>   storage.firmware_version = '2.00'  (string)
>   storage.serial = 'USB_USB_2.0_128MB_31191A401F52404B'  (string)
>   storage.vendor = ''  (string)
>   storage.model = 'USB 2.0 128MB'  (string)
>   storage.drive_type = 'disk'  (string)
>   storage.automount_enabled_hint = true  (bool)
>   storage.media_check_enabled = true  (bool)
>   storage.no_partitions_hint = false  (bool)
>   storage.bus = 'usb'  (string)
>   block.is_volume = false  (bool)
>   block.minor = 0  (0x0)  (int)
>   block.major = 8  (0x8)  (int)
>   block.device = '/dev/sda'  (string)
>   linux.hotplug_type = 3  (0x3)  (int)
>   info.parent = 
> '/org/freedesktop/Hal/devices/usb_device_ea0_2168_31191A401F52404B_if0_scsi_host_scsi_device_lun0'
>   (string)
>   linux.sysfs_path_device = '/sys/block/sda'  (string)
>   linux.sysfs_path = '/sys/block/sda'  (string)
> 

I guess you could use volume.label of the device but I must admit that I don’t
know how to set volume labels for fat32 partitions/devices. I tried mkdosfs but
the label did not appear in hal-device’s output.


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature
__

Re: [Thunar-dev] thunar-volman 0.1.0

2007-01-16 Thread Benedikt Meurer
Mathias Brodala wrote:
> You got one point there. The information that the device is removable is not
> that useful since all devices in that section are. But the size at least 
> allows
> me to determine what’s what.

Right, I forgot about that. ;-)

But exo-hal cannot only be used for volumes, but for HAL devices in
general...

>> With information about the device tree I could try to add some more
>> smartness to exo-hal to figure out an even better name for your flashdisk.
> 
> You’re talking about my devices? What exactly do you need?

hal-device dump of the volume, it's storage device and the parent of the
storage device might help.

>>> Oh, and after
>>> plugging in the device, the following messages appeared:
>>>
 libhal-storage.c 1056 : INFO: called LIBHAL_FREE_DBUS_ERROR but dbusError 
 was not set.
 libhal-storage.c 1056 : INFO: called LIBHAL_FREE_DBUS_ERROR but dbusError 
 was not set.
 libhal-storage.c 1056 : INFO: called LIBHAL_FREE_DBUS_ERROR but dbusError 
 was not set.
>> Looks like an old HAL version.
> 
> Version 0.5.8.1 is running here. But since it’s only an info, I won’t worry
> about it.

Hm, 0.5.8.20061224 here, but I don't see that warning.

> Regards, Mathias

Benedikt
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] thunar-volman 0.1.0

2007-01-16 Thread Mathias Brodala
Hello Benedikt.

Benedikt Meurer, 16.01.2007 17:34:
> Mathias Brodala wrote:
>> Thunar could be started, but it shows my flashdisk as „131M entfernbarer
>> Datenträger“ which is not that much better to me than just „sda“.
> 
> Well, this means that no better string could be determined. The fallback
> to the device file name was replaced with " Removable Volume",
> which is consistent with HAL and gnome-vfs. This is IMHO better than sda
> as it tells you (a) it's removable and (b) the size.

You got one point there. The information that the device is removable is not
that useful since all devices in that section are. But the size at least allows
me to determine what’s what.

> With information about the device tree I could try to add some more
> smartness to exo-hal to figure out an even better name for your flashdisk.

You’re talking about my devices? What exactly do you need?

>> Oh, and after
>> plugging in the device, the following messages appeared:
>>
>>> libhal-storage.c 1056 : INFO: called LIBHAL_FREE_DBUS_ERROR but dbusError 
>>> was not set.
>>> libhal-storage.c 1056 : INFO: called LIBHAL_FREE_DBUS_ERROR but dbusError 
>>> was not set.
>>> libhal-storage.c 1056 : INFO: called LIBHAL_FREE_DBUS_ERROR but dbusError 
>>> was not set.
> 
> Looks like an old HAL version.

Version 0.5.8.1 is running here. But since it’s only an info, I won’t worry
about it.


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] thunar-volman 0.1.0

2007-01-16 Thread Benedikt Meurer
Mathias Brodala wrote:
> Hello Benedikt.

Hey Matthias,

> Thunar could be started, but it shows my flashdisk as „131M entfernbarer
> Datenträger“ which is not that much better to me than just „sda“.

Well, this means that no better string could be determined. The fallback
to the device file name was replaced with " Removable Volume",
which is consistent with HAL and gnome-vfs. This is IMHO better than sda
as it tells you (a) it's removable and (b) the size.

With information about the device tree I could try to add some more
smartness to exo-hal to figure out an even better name for your flashdisk.

> Oh, and after
> plugging in the device, the following messages appeared:
> 
>> libhal-storage.c 1056 : INFO: called LIBHAL_FREE_DBUS_ERROR but dbusError 
>> was not set.
>> libhal-storage.c 1056 : INFO: called LIBHAL_FREE_DBUS_ERROR but dbusError 
>> was not set.
>> libhal-storage.c 1056 : INFO: called LIBHAL_FREE_DBUS_ERROR but dbusError 
>> was not set.

Looks like an old HAL version.

> Regards, Mathias

Benedikt
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] thunar-volman 0.1.0

2007-01-16 Thread Mathias Brodala
Hello Benedikt.

Benedikt Meurer, 16.01.2007 16:35:
> Mathias Brodala wrote:
>> Hello Benedikt.
>> 
>> Benedikt Meurer, 16.01.2007 08:39:
>>> Mathias Brodala wrote:
> […]
 This [error] appears when I try to compile libexo from SVN.
>>> Pass --enable-maintainer-mode to autogen.sh.
>> OK, this worked. Now could you tell me how I can point Thunar to look for
>> libexo in my special directory instead of the usual ones?
>> 
>> It is currently installed under ~/Archive/deb/xfce/exo/svn/install and
>> Thunar has to look there since my local version is too old.
> 
> Setting PKG_CONFIG_PATH, LDFLAGS and CPPFLAGS should do the trick. Tho, there
> I'm no sure if libtool will pick up the correct lib if the old one is
> installed in the linker default path.

It worked like a charm. The command I used, just for the archive:

> $ PKG_CONFIG_PATH=../../../exo/svn/install/lib/pkgconfig \ 
> LDFLAGS=-L../../../exo/svn/install/lib \ 
> CPPFLAGS=-I../../../exo/svn/install/include \
> ./autogen.sh --enable-maintainer-mode

Thunar could be started, but it shows my flashdisk as „131M entfernbarer
Datenträger“ which is not that much better to me than just „sda“. Oh, and after
plugging in the device, the following messages appeared:

> libhal-storage.c 1056 : INFO: called LIBHAL_FREE_DBUS_ERROR but dbusError was 
> not set.
> libhal-storage.c 1056 : INFO: called LIBHAL_FREE_DBUS_ERROR but dbusError was 
> not set.
> libhal-storage.c 1056 : INFO: called LIBHAL_FREE_DBUS_ERROR but dbusError was 
> not set.


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] thunar-volman 0.1.0

2007-01-16 Thread Benedikt Meurer
Mathias Brodala wrote:
> Hello Benedikt.
> 
> Benedikt Meurer, 16.01.2007 08:39:
>> Mathias Brodala wrote:
 […]
>>> This [error] appears when I try to compile libexo from SVN.
>> Pass --enable-maintainer-mode to autogen.sh.
> 
> OK, this worked. Now could you tell me how I can point Thunar to look for 
> libexo
> in my special directory instead of the usual ones?
> 
> It is currently installed under ~/Archive/deb/xfce/exo/svn/install and Thunar
> has to look there since my local version is too old.

Setting PKG_CONFIG_PATH, LDFLAGS and CPPFLAGS should do the trick. Tho,
there I'm no sure if libtool will pick up the correct lib if the old one
is installed in the linker default path.

> Regards, Mathias

Benedikt
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] thunar-volman 0.1.0

2007-01-16 Thread Mathias Brodala
Hello Benedikt.

Benedikt Meurer, 16.01.2007 08:39:
> Mathias Brodala wrote:
>>> […]
>> This [error] appears when I try to compile libexo from SVN.
> 
> Pass --enable-maintainer-mode to autogen.sh.

OK, this worked. Now could you tell me how I can point Thunar to look for libexo
in my special directory instead of the usual ones?

It is currently installed under ~/Archive/deb/xfce/exo/svn/install and Thunar
has to look there since my local version is too old.


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] thunar-vfs Ubuntu package

2007-01-16 Thread Gauvain Pocentek
Benedikt Meurer wrote:
> Jani Monoses wrote:
>   
>>> Checking the libthunar-vfs-1-2 Ubuntu package[1] I noticed that libjpeg
>>> is missing from the depencies. Without libjpeg, thunar will not be able
>>> to use the fast JPEG thumbnailer, nor the (very) recent EXIF thumbnail
>>> extractor. Because several users will want to use Thunar to access their
>>> digital cameras, I'd suggest to add libjpeg to the list of requirements.
>>>   
>> noted, thanks.
>> 
>
> Ah, and one additional note: You can drop the dependency on pmount now.
>   

I've just uploaded the fixes. Thanks!

> Benedikt
>   

Gauvain
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] Unmount CD by pressing eject button on device

2007-01-16 Thread Mike Massonnet
On Tue, Jan 16, 2007 at 08:47:06AM +0100, Benedikt Meurer wrote:
> Mike Massonnet wrote:
> > On Mon, Jan 15, 2007 at 04:59:24PM +0100, Benedikt Meurer wrote:
> >> Harold Aling wrote:
> >>> Until recently I was able to eject CDs/DVDs by pressing the physical
> >>> button on the device itself. It now seems that the only way to
> >>> eject is
> >>> by rightclicking the (mounted)device icon and selecting "Eject
> >>> Volume".
> >>>
> >>> My bad or buggy?
> >>> 
> >> HAL emits a signal when the Eject button is pressed, but I didn't care
> >> to check so far, and so Thunar never used that. Maybe you had some
> >> other
> >> software installed that was listening for this HAL signal?
> >> 
> > Dunno... Maybe something built into Ubuntu or something?
> >
> > Should this be filed as a feature request for Thunar in bugzilla?
> > 
>  Jap.
>    
> >>> Done. http://bugzilla.xfce.org/show_bug.cgi?id=2759
> >> Patch attached, please test.
> > 
> > I doesn't work on my laptop.  I listened to dbus events, but nothing is
> > happening if I press the eject button.  Is there anything else I can do
> > to check the event?
> 
> Did you try with dbus-monitor --system? If so and you don't see the
> DeviceCondition signal with the "EjectPressed" name, then HAL/Linux
> doesn't support the eject button on your CD-ROM drive.

OK, I didn't don't have this support for my drive.

> > Cheers,
> > Mike
> 
> Benedikt

Cheers,
-- 
 Mike (m8t) Massonnet http://massonnet.org/ __oo 
 GnuPG 0--" 0xF8C80F97  ---(_)_"> 
 C4DA 431D 52F9 F930 3E5B  3E3D 546C 89D9 F8C8 0F97 


signature.asc
Description: Digital signature
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] Unmount CD by pressing eject button on device

2007-01-16 Thread Harold Aling

Benedikt Meurer wrote:

Mike Massonnet wrote:
  

On Mon, Jan 15, 2007 at 04:59:24PM +0100, Benedikt Meurer wrote:


Harold Aling wrote:
  

Until recently I was able to eject CDs/DVDs by pressing the physical
button on the device itself. It now seems that the only way to
eject is
by rightclicking the (mounted)device icon and selecting "Eject
Volume".

My bad or buggy?



HAL emits a signal when the Eject button is pressed, but I didn't care
to check so far, and so Thunar never used that. Maybe you had some
other
software installed that was listening for this HAL signal?

  

Dunno... Maybe something built into Ubuntu or something?

Should this be filed as a feature request for Thunar in bugzilla?



Jap.
  
  

Done. http://bugzilla.xfce.org/show_bug.cgi?id=2759


Patch attached, please test.
  

I doesn't work on my laptop.  I listened to dbus events, but nothing is
happening if I press the eject button.  Is there anything else I can do
to check the event?



Did you try with dbus-monitor --system? If so and you don't see the
DeviceCondition signal with the "EjectPressed" name, then HAL/Linux
doesn't support the eject button on your CD-ROM drive.
  
I've tested the patch and it works fine on one of my 2 cd/dvd drives. I 
then checked the 'dbus-monitor --system' output and only one of the 
devices gave me the 'EjectPressed' signal, so it's probably unsupported 
in Linux.


Kinda weird though... I have a really mainstream HP desktop with an even 
more mainstream HL-DT-STDVD-ROM GDR8163B dvd-rom player...


-H-
  

Cheers,
Mike



Benedikt
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev
  


___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev