From daniminas at gmail.com Tue Apr 8 20:11:36 2008 From: daniminas at gmail.com (Daniel Morales) Date: Tue, 8 Apr 2008 15:11:36 -0300 Subject: [Thunar-dev] Emblems in extensions? Message-ID: Hi all, I'm trying to add some emblems from a extensions. Looking at documentation i can't find a way to do that, so i ask here i anyone can point me to a file or way.., or give me some idea to do that. :) Thanks, and excuse my english. -- Daniel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://foo-projects.org/pipermail/thunar-dev/attachments/20080408/a4e294c4/attachment.html From noik00 at gmail.com Sun Apr 13 19:42:14 2008 From: noik00 at gmail.com (Kees Scherpenhuijzen) Date: Sun, 13 Apr 2008 19:42:14 +0200 Subject: [Thunar-dev] plugin-rightclickmenu Message-ID: <4cf306140804131042q57c3ec2dh151acb8c00643a2f@mail.gmail.com> Goodday, Using the tex-open-terminal and other plugins, i'm trying to make a plugin. Now i'm trying to make an menu in the right-click-menu. i've looked at the uca and multiple other plugins, but i saw there a lot of code for a menu. Is there a basic, not many code lines to make an start? i've tried using: http://library.gnome.org/devel/gtk-tutorial/stable/x1699.html /* Start from here with a menu */ item_factory = gtk_item_factory_new (GTK_TYPE_MENU, "
",NULL); gtk_item_factory_create_items (item_factory, nmenu_items, menu_items, NULL); menu = gtk_item_factory_get_widget (item_factory, "
"); actions = g_list_prepend (actions, menu); But this is giving me many errors. I'm sorry if this is a GTK question. -- Kees From jelledejong at powercraft.nl Tue Apr 15 17:50:05 2008 From: jelledejong at powercraft.nl (Jelle de Jong) Date: Tue, 15 Apr 2008 17:50:05 +0200 Subject: [Thunar-dev] thunar-actions-plugin - project description - v0.1.1j Message-ID: <4804CEAD.3010907@powercraft.nl> Hello everybody, I have been working with two other guys on a new thunar-plugin. As a evolution on the current thunar-uca-plugin. I created a nice document that introduce and explains the project to you all. Please take a fast look at the attached document. http://www.powercraft.nl/temp/thunar-actions-plugin-project-description-v0.1.1j.zip Currently we have some issues getting the right context menu to work, any help is really appreciated. If a wiki page is necessary, please send me a link to the page, and i will edit it. The attachment is also in available in OpenDocument Format for those who prefer. Hope to get some feedback from you all. Kind regards, Jelle From samuel.verstraete at gmail.com Wed Apr 16 09:44:36 2008 From: samuel.verstraete at gmail.com (samuel) Date: Wed, 16 Apr 2008 09:44:36 +0200 Subject: [Thunar-dev] thunar-actions-plugin - project description - v0.1.1j In-Reply-To: <4804CEAD.3010907@powercraft.nl> References: <4804CEAD.3010907@powercraft.nl> Message-ID: just throw your that document on the wiki of Xfce... it will make it much easier to read and to give you feedback... I for one, doesn't have the time to download a zip file, unzip it, see that it's in an unreadable format, etc etc... just my 2 pennies to help you get some input ;) gr,S. On Tue, Apr 15, 2008 at 5:50 PM, Jelle de Jong wrote: > Hello everybody, > > I have been working with two other guys on a new thunar-plugin. As a > evolution on the current thunar-uca-plugin. I created a nice document > that introduce and explains the project to you all. Please take a fast > look at the attached document. > > http://www.powercraft.nl/temp/thunar-actions-plugin-project-description-v0.1.1j.zip > > Currently we have some issues getting the right context menu to work, > any help is really appreciated. > > If a wiki page is necessary, please send me a link to the page, and i > will edit it. The attachment is also in available in OpenDocument Format > for those who prefer. > > Hope to get some feedback from you all. > > Kind regards, > > Jelle > > _______________________________________________ > Thunar-dev mailing list > Thunar-dev at xfce.org > http://foo-projects.org/mailman/listinfo/thunar-dev > From jelledejong at powercraft.nl Wed Apr 16 11:49:05 2008 From: jelledejong at powercraft.nl (Jelle de Jong) Date: Wed, 16 Apr 2008 11:49:05 +0200 Subject: [Thunar-dev] thunar-actions-plugin - project description - v0.1.1j In-Reply-To: References: <4804CEAD.3010907@powercraft.nl> Message-ID: <4805CB91.5020108@powercraft.nl> samuel wrote: > just throw your that document on the wiki of Xfce... it will make it > much easier to read and to give you feedback... I for one, doesn't > have the time to download a zip file, unzip it, see that it's in an > unreadable format, etc etc... > > just my 2 pennies to help you get some input ;) > > gr,S. > > On Tue, Apr 15, 2008 at 5:50 PM, Jelle de Jong > wrote: >> Hello everybody, >> >> I have been working with two other guys on a new thunar-plugin. As a >> evolution on the current thunar-uca-plugin. I created a nice document >> that introduce and explains the project to you all. Please take a fast >> look at the attached document. >> >> http://www.powercraft.nl/temp/thunar-actions-plugin-project-description-v0.1.1j.zip >> >> Currently we have some issues getting the right context menu to work, >> any help is really appreciated. >> >> If a wiki page is necessary, please send me a link to the page, and i >> will edit it. The attachment is also in available in OpenDocument Format >> for those who prefer. >> >> Hope to get some feedback from you all. >> >> Kind regards, >> >> Jelle >> Thanks Samuel, I will greate a wiki soon, and post the link in a mail. Kind regards, Jelle From noik00 at gmail.com Thu Apr 24 14:06:55 2008 From: noik00 at gmail.com (Kees Scherpenhuijzen) Date: Thu, 24 Apr 2008 14:06:55 +0200 Subject: [Thunar-dev] GTK rightclick-menu in thunarplugin Message-ID: <4cf306140804240506j66f3eda2k9a6509db13f4de0f@mail.gmail.com> Hi all, Like said in an earlier post on the mailinglist we have started a new project creating a thunar plugin. The wiki about the project is planned but not started yet. But information regarding this is found at: http://www.powercraft.nl/temp/thunar-actions-plugin-project-description-v0.1.1j.zip At the moment we are trying to get to know more about the plugin functions. Like the rightclick menu and how to insert things in it. We've already managed to insert actions in it, but we're stuck right now at inserting menu's. We have been examining the GTK tutorials and we've found a way to make menu's(attachement included), and tried to compile several GTK windows with different options in it, with succes. GTK looks easy mode. But when we try to combine GTK and a thunar plugin it isn't working the easy way anymore. The problem we're stuck on right now, is how to insert an GTK menu in the richtclick menu? Where does the created menu must be added to? We already tried several ways in the " *.*_get_file_actions "-function, but all with no results. We also haven't found any documentation online what's mentioning the GTK widgets that are made and can be used in a Thunar plugin. We have already examined the SVN and UCA plugin but without any result. I have included the plugin "framework" we use to create a menu. -- Kees -------------- next part -------------- A non-text attachment was scrubbed... Name: menuplugin.tar Type: application/x-tar Size: 30720 bytes Desc: not available Url : http://foo-projects.org/pipermail/thunar-dev/attachments/20080424/67c05c7c/menuplugin-0001.tar -------------- next part -------------- A non-text attachment was scrubbed... Name: example GTK.c Type: text/x-csrc Size: 1520 bytes Desc: not available Url : http://foo-projects.org/pipermail/thunar-dev/attachments/20080424/67c05c7c/exampleGTK-0001.bin From simon.steinbeiss at elfenbeinturm.at Tue Apr 29 15:33:11 2008 From: simon.steinbeiss at elfenbeinturm.at (Simon =?UTF-8?B?U3RlaW5iZWnDnw==?=) Date: Tue, 29 Apr 2008 15:33:11 +0200 Subject: [Thunar-dev] eject usb-harddrive Message-ID: <20080429153311.34e6d05e@eleggua> Hi everyone, I would like to implement the workaround that Kirill Belokurov wrote for KDE for this bug (https://bugs.launchpad.net/ubuntu/+bug/117713) for thunar. Since this bug applies to only a very limited range of harddrives (I guess it's only the WD Passport series) no one has really cared for a bugfix (yet). Anyways, I think that it could be sufficient as a workaround to: - either have a customised action in thunar only be applied to this specific drive and spinning it down - or trying to hack whatever function is used by thunar to "eject" media like usb-harddrives so that it would not just unmount but also spindown the drive. If anyone here has a suggestion which of the two options is way to go, that would be great. Also I'm not sure whether I could implement either of the two options without your help. Thanks for taking notice, Simon From corsac at debian.org Tue Apr 29 15:57:44 2008 From: corsac at debian.org (Yves-Alexis Perez) Date: Tue, 29 Apr 2008 15:57:44 +0200 Subject: [Thunar-dev] eject usb-harddrive In-Reply-To: <20080429153311.34e6d05e@eleggua> References: <20080429153311.34e6d05e@eleggua> Message-ID: <20080429135743.GE28054@molly.corsac.net> On Tue, Apr 29, 2008 at 01:33:11PM +0000, Simon Steinbei? wrote: > Hi everyone, > > I would like to implement the workaround that Kirill Belokurov wrote for KDE for this bug > (https://bugs.launchpad.net/ubuntu/+bug/117713) for thunar. Since this bug applies to > only a very limited range of harddrives (I guess it's only the WD Passport series) no one > has really cared for a bugfix (yet). > > Anyways, I think that it could be sufficient as a workaround to: > - either have a customised action in thunar only be applied to this specific drive and > spinning it down > - or trying to hack whatever function is used by thunar to "eject" media like > usb-harddrives so that it would not just unmount but also spindown the drive. > > If anyone here has a suggestion which of the two options is way to go, that would be > great. Also I'm not sure whether I could implement either of the two options without your > help. Using 'eject' doesnt work either? Maybe a more general solution (using hal or udev rules, or something like that) would be better, and cross-desktop? -- Yves-Alexis From tino.keitel+xfce at tikei.de Tue Apr 29 15:58:32 2008 From: tino.keitel+xfce at tikei.de (Tino Keitel) Date: Tue, 29 Apr 2008 15:58:32 +0200 Subject: [Thunar-dev] eject usb-harddrive In-Reply-To: <20080429153311.34e6d05e@eleggua> References: <20080429153311.34e6d05e@eleggua> Message-ID: <20080429135832.GB4597@dose.home.local> On Tue, Apr 29, 2008 at 15:33:11 +0200, Simon Steinbei? wrote: [...] > Anyways, I think that it could be sufficient as a workaround to: > - either have a customised action in thunar only be applied to this specific drive and > spinning it down > - or trying to hack whatever function is used by thunar to "eject" media like > usb-harddrives so that it would not just unmount but also spindown the drive. Forgot to ask one thing: do you have an "eject" button for your drive, or only "unmount"? The Xfce 4.4.2 release was somewhat buggy regarding the detection of removable media and providing the eject funktion in the GUI. If you only see "unmount" in the context menu of the drive, you could try exo-eject in the command line to see if that works for you. Regards, Tino From tino.keitel+xfce at tikei.de Tue Apr 29 15:54:58 2008 From: tino.keitel+xfce at tikei.de (Tino Keitel) Date: Tue, 29 Apr 2008 15:54:58 +0200 Subject: [Thunar-dev] eject usb-harddrive In-Reply-To: <20080429153311.34e6d05e@eleggua> References: <20080429153311.34e6d05e@eleggua> Message-ID: <20080429135458.GA4597@dose.home.local> On Tue, Apr 29, 2008 at 15:33:11 +0200, Simon Steinbei? wrote: > Hi everyone, > > I would like to implement the workaround that Kirill Belokurov wrote for KDE for this bug > (https://bugs.launchpad.net/ubuntu/+bug/117713) for thunar. Since this bug applies to > only a very limited range of harddrives (I guess it's only the WD Passport series) no one > has really cared for a bugfix (yet). What an ugly workaround (my impression is that the Ubuntu folks are great at implementing ugly workarounds instead of fixing the real issue). AFAIK Thunar uses exo, and exo uses DBus to instruct HAL to stop the device, so I'd rather try to fix HAL instead of thunar. My girlfried owns a WD Passort drive (2,5" external 160 GB hard disk), so I'll try to reproduce the issue. Regards, Tino From simon.steinbeiss at elfenbeinturm.at Tue Apr 29 16:30:10 2008 From: simon.steinbeiss at elfenbeinturm.at (Simon =?UTF-8?B?U3RlaW5iZWnDnw==?=) Date: Tue, 29 Apr 2008 16:30:10 +0200 Subject: [Thunar-dev] eject usb-harddrive In-Reply-To: <20080429135832.GB4597@dose.home.local> References: <20080429153311.34e6d05e@eleggua> <20080429135832.GB4597@dose.home.local> Message-ID: <20080429163010.66ebf696@eleggua> [...] > Using 'eject' doesnt work either? Well, actually using "eject" in thunar gives me a very generic error: Failed to eject "WD Passport". An unknown error occured. > Maybe a more general solution (using hal or udev rules, or something like > that) would be better, and cross-desktop? Well, I tried my best at writing a script (sorry, my skills are really quite low) that would be executed whenever I plugin the hdd (via a udev-rule) and give me a notification icon (with zenity) with which I could eject it. The script seemed to work fine with xubuntu 7.10 but since I switched to 8.04 it's stuck again in a loop... you can inspect the great failure here (if you really like): http://pastebin.org/32753 (However if you simply execute this script in a shell it does exactly what I ask for. The problem seems to be that udev doesn't really execute the RUN-command in a shell.) > What an ugly workaround (my impression is that the Ubuntu folks are > great at implementing ugly workarounds instead of fixing the real > issue). hmmm, yeah, well I guess you're right. As I said, I'm really not good at this. > Forgot to ask one thing: do you have an "eject" button for your drive, > or only "unmount"? The Xfce 4.4.2 release was somewhat buggy regarding > the detection of removable media and providing the eject funktion in > the GUI. If you only see "unmount" in the context menu of the drive, > you could try exo-eject in the command line to see if that works for > you. As mentioned above, I do see the "eject" button. Anyways, I tried "exo-eject" to see whether this would give me a more comprehensive error message, well here it is (the command I ran was "exo-eject -h SAME_AS_BELOW -e"): Failed to eject "/org/freedesktop/Hal/devices/storage_serial_WD_1200BEVExternal_575845333037343330353232_0_0". No property info.interfaces on device with id /org/freedesktop/Hal/devices/storage_serial_WD_1200BEVExternal_575845333037343330353232_0_0. > My girlfried owns a WD Passort drive (2,5" external 160 GB hard disk), > so I'll try to reproduce the issue. thanks, sounds great! greetings, simon From tino.keitel+xfce at tikei.de Tue Apr 29 17:00:21 2008 From: tino.keitel+xfce at tikei.de (Tino Keitel) Date: Tue, 29 Apr 2008 17:00:21 +0200 Subject: [Thunar-dev] eject usb-harddrive In-Reply-To: <20080429163010.66ebf696@eleggua> References: <20080429153311.34e6d05e@eleggua> <20080429135832.GB4597@dose.home.local> <20080429163010.66ebf696@eleggua> Message-ID: <20080429150021.GA13916@dose.home.local> On Tue, Apr 29, 2008 at 16:30:10 +0200, Simon Steinbei? wrote: [...] > As mentioned above, I do see the "eject" button. Anyways, I tried "exo-eject" to see > whether this would give me a more comprehensive error message, well here it is (the > command I ran was "exo-eject > -h SAME_AS_BELOW -e"): > Failed to eject > "/org/freedesktop/Hal/devices/storage_serial_WD_1200BEVExternal_575845333037343330353232_0_0". > No property info.interfaces on device with > id /org/freedesktop/Hal/devices/storage_serial_WD_1200BEVExternal_575845333037343330353232_0_0. Could you post the output of lshal while the drive is attached and mounted? Regards, Tino From simon.steinbeiss at elfenbeinturm.at Tue Apr 29 17:09:51 2008 From: simon.steinbeiss at elfenbeinturm.at (Simon =?UTF-8?B?U3RlaW5iZWnDnw==?=) Date: Tue, 29 Apr 2008 17:09:51 +0200 Subject: [Thunar-dev] eject usb-harddrive In-Reply-To: <20080429150021.GA13916@dose.home.local> References: <20080429153311.34e6d05e@eleggua> <20080429135832.GB4597@dose.home.local> <20080429163010.66ebf696@eleggua> <20080429150021.GA13916@dose.home.local> Message-ID: <20080429170951.5a0d4b0e@eleggua> > Could you post the output of lshal while the drive is attached and > mounted? here you go: http://pastebin.org/32767 (I tried to highlight the relevant lines) greetings, simon From tino.keitel+xfce at tikei.de Tue Apr 29 17:15:47 2008 From: tino.keitel+xfce at tikei.de (Tino Keitel) Date: Tue, 29 Apr 2008 17:15:47 +0200 Subject: [Thunar-dev] eject usb-harddrive In-Reply-To: <20080429150021.GA13916@dose.home.local> References: <20080429153311.34e6d05e@eleggua> <20080429135832.GB4597@dose.home.local> <20080429163010.66ebf696@eleggua> <20080429150021.GA13916@dose.home.local> Message-ID: <20080429151547.GA16022@dose.home.local> On Tue, Apr 29, 2008 at 17:00:21 +0200, Tino Keitel wrote: > On Tue, Apr 29, 2008 at 16:30:10 +0200, Simon Steinbei? wrote: > > [...] > > > As mentioned above, I do see the "eject" button. Anyways, I tried "exo-eject" to see > > whether this would give me a more comprehensive error message, well here it is (the > > command I ran was "exo-eject > > -h SAME_AS_BELOW -e"): > > Failed to eject > > "/org/freedesktop/Hal/devices/storage_serial_WD_1200BEVExternal_575845333037343330353232_0_0". > > No property info.interfaces on device with > > id /org/freedesktop/Hal/devices/storage_serial_WD_1200BEVExternal_575845333037343330353232_0_0. > > Could you post the output of lshal while the drive is attached and > mounted? Oh, and the ouput of mount and your exact exo-eject command line please. Regards, Tino From simon.steinbeiss at elfenbeinturm.at Tue Apr 29 17:23:08 2008 From: simon.steinbeiss at elfenbeinturm.at (Simon =?UTF-8?B?U3RlaW5iZWnDnw==?=) Date: Tue, 29 Apr 2008 17:23:08 +0200 Subject: [Thunar-dev] eject usb-harddrive In-Reply-To: <20080429151547.GA16022@dose.home.local> References: <20080429153311.34e6d05e@eleggua> <20080429135832.GB4597@dose.home.local> <20080429163010.66ebf696@eleggua> <20080429150021.GA13916@dose.home.local> <20080429151547.GA16022@dose.home.local> Message-ID: <20080429172308.1ef0792e@eleggua> > Oh, and the ouput of mount and your exact exo-eject command line > please. mount (/dev/wdpassport is set in my udev-rule): /dev/wdpassport on /media/WD Passport type vfat (rw,nosuid,nodev,uhelper=hal,utf8,shortname=winnt,uid=1000) my exo-eject command was (before taking a closer look at the output of lshal): exo-eject -e -h /org/freedesktop/Hal/devices/storage_serial_WD_1200BEVExternal_575845333037343330353232_0_0 but I also tried (which gave me the same result as thunar): exo-eject -e -h /org/freedesktop/Hal/devices/volume_uuid_D428_10E7 greetings, simon From tino.keitel+xfce at tikei.de Tue Apr 29 17:45:40 2008 From: tino.keitel+xfce at tikei.de (Tino Keitel) Date: Tue, 29 Apr 2008 17:45:40 +0200 Subject: [Thunar-dev] eject usb-harddrive In-Reply-To: <20080429172308.1ef0792e@eleggua> References: <20080429153311.34e6d05e@eleggua> <20080429135832.GB4597@dose.home.local> <20080429163010.66ebf696@eleggua> <20080429150021.GA13916@dose.home.local> <20080429151547.GA16022@dose.home.local> <20080429172308.1ef0792e@eleggua> Message-ID: <20080429154540.GA18164@dose.home.local> On Tue, Apr 29, 2008 at 17:23:08 +0200, Simon Steinbei? wrote: > > Oh, and the ouput of mount and your exact exo-eject command line > > please. > > mount (/dev/wdpassport is set in my udev-rule): > /dev/wdpassport on /media/WD Passport type vfat > (rw,nosuid,nodev,uhelper=hal,utf8,shortname=winnt,uid=1000) > > my exo-eject command was (before taking a closer look at the output of lshal): > exo-eject -e > -h /org/freedesktop/Hal/devices/storage_serial_WD_1200BEVExternal_575845333037343330353232_0_0 > > but I also tried (which gave me the same result as thunar): > exo-eject -e -h /org/freedesktop/Hal/devices/volume_uuid_D428_10E7 What about exo-eject /dev/wdpassport ? Regards, Tino From simon.steinbeiss at elfenbeinturm.at Tue Apr 29 17:51:07 2008 From: simon.steinbeiss at elfenbeinturm.at (Simon =?UTF-8?B?U3RlaW5iZWnDnw==?=) Date: Tue, 29 Apr 2008 17:51:07 +0200 Subject: [Thunar-dev] eject usb-harddrive In-Reply-To: <20080429154540.GA18164@dose.home.local> References: <20080429153311.34e6d05e@eleggua> <20080429135832.GB4597@dose.home.local> <20080429163010.66ebf696@eleggua> <20080429150021.GA13916@dose.home.local> <20080429151547.GA16022@dose.home.local> <20080429172308.1ef0792e@eleggua> <20080429154540.GA18164@dose.home.local> Message-ID: <20080429175107.3df9b190@eleggua> On Tue, 29 Apr 2008 17:45:40 +0200 Tino Keitel wrote: > What about exo-eject /dev/wdpassport ? tried that before, gives me: exo-eject: Must specify HAL device UDI or device file. greetings, simon From corsac at debian.org Tue Apr 29 18:07:59 2008 From: corsac at debian.org (Yves-Alexis Perez) Date: Tue, 29 Apr 2008 18:07:59 +0200 Subject: [Thunar-dev] eject usb-harddrive In-Reply-To: <20080429175107.3df9b190@eleggua> References: <20080429153311.34e6d05e@eleggua> <20080429135832.GB4597@dose.home.local> <20080429163010.66ebf696@eleggua> <20080429150021.GA13916@dose.home.local> <20080429151547.GA16022@dose.home.local> <20080429172308.1ef0792e@eleggua> <20080429154540.GA18164@dose.home.local> <20080429175107.3df9b190@eleggua> Message-ID: <20080429160759.GD9282@molly.corsac.net> On Tue, Apr 29, 2008 at 03:51:07PM +0000, Simon Steinbei? wrote: > On Tue, 29 Apr 2008 17:45:40 +0200 > Tino Keitel wrote: > > > What about exo-eject /dev/wdpassport ? > > tried that before, gives me: > exo-eject: Must specify HAL device UDI or device file. exo-eject -d /dev/wdpassport -- Yves-Alexis From simon.steinbeiss at elfenbeinturm.at Tue Apr 29 18:17:33 2008 From: simon.steinbeiss at elfenbeinturm.at (Simon =?UTF-8?B?U3RlaW5iZWnDnw==?=) Date: Tue, 29 Apr 2008 18:17:33 +0200 Subject: [Thunar-dev] eject usb-harddrive In-Reply-To: <20080429160759.GD9282@molly.corsac.net> References: <20080429153311.34e6d05e@eleggua> <20080429135832.GB4597@dose.home.local> <20080429163010.66ebf696@eleggua> <20080429150021.GA13916@dose.home.local> <20080429151547.GA16022@dose.home.local> <20080429172308.1ef0792e@eleggua> <20080429154540.GA18164@dose.home.local> <20080429175107.3df9b190@eleggua> <20080429160759.GD9282@molly.corsac.net> Message-ID: <20080429181733.296616e8@eleggua> On Tue, 29 Apr 2008 18:07:59 +0200 Yves-Alexis Perez wrote: > On Tue, Apr 29, 2008 at 03:51:07PM +0000, Simon Steinbei? wrote: > > On Tue, 29 Apr 2008 17:45:40 +0200 > > Tino Keitel wrote: > > > > > What about exo-eject /dev/wdpassport ? > > > > tried that before, gives me: > > exo-eject: Must specify HAL device UDI or device file. > > exo-eject -d /dev/wdpassport Thanks Yves-Alexis; unfortunately I get the same result as with using the HAL device UDI... greetings, simon From bjt23 at cornell.edu Tue Apr 29 20:08:59 2008 From: bjt23 at cornell.edu (Brian J. Tarricone) Date: Tue, 29 Apr 2008 11:08:59 -0700 Subject: [Thunar-dev] eject usb-harddrive In-Reply-To: <20080429170951.5a0d4b0e@eleggua> References: <20080429153311.34e6d05e@eleggua> <20080429135832.GB4597@dose.home.local> <20080429163010.66ebf696@eleggua> <20080429150021.GA13916@dose.home.local> <20080429170951.5a0d4b0e@eleggua> Message-ID: <4817643B.10601@cornell.edu> Simon Steinbei? wrote: >> Could you post the output of lshal while the drive is attached and >> mounted? > > here you go: http://pastebin.org/32767 > (I tried to highlight the relevant lines) Your device has storage.requires_eject=false -- so exo-eject won't do anything but unmount all volumes. Give 'eject -v /dev/whatever' a try *as root*. Often the SCSI eject command will work on drives like that. See if it fixes your problem. If it does, you might try adding a HAL .fdi file to your system that will set requires_eject properly for your drive. -brian From simon.steinbeiss at elfenbeinturm.at Tue Apr 29 20:22:18 2008 From: simon.steinbeiss at elfenbeinturm.at (Simon =?UTF-8?B?U3RlaW5iZWnDnw==?=) Date: Tue, 29 Apr 2008 20:22:18 +0200 Subject: [Thunar-dev] eject usb-harddrive In-Reply-To: <4817643B.10601@cornell.edu> References: <20080429153311.34e6d05e@eleggua> <20080429135832.GB4597@dose.home.local> <20080429163010.66ebf696@eleggua> <20080429150021.GA13916@dose.home.local> <20080429170951.5a0d4b0e@eleggua> <4817643B.10601@cornell.edu> Message-ID: <20080429202218.637f3ceb@eleggua> On Tue, 29 Apr 2008 11:08:59 -0700 "Brian J. Tarricone" wrote: > Your device has storage.requires_eject=false -- so exo-eject won't do > anything but unmount all volumes. > > Give 'eject -v /dev/whatever' a try *as root*. Often the SCSI eject > command will work on drives like that. See if it fixes your problem. > If it does, you might try adding a HAL .fdi file to your system that > will set requires_eject properly for your drive. > > -brian Tried "sudo eject -v /dev/wdpassport" with the output that the eject succeeded. (see the full output here: http://pastebin.org/32834) Anyhow, when I unplugged the usb-cable (that is also powering the hdd) it made this awful sound described in the bugreport mentioned earlier. So it seems "eject" simply doesn't spin down the harddrive. Should it? greetings, simon From tino.keitel+xfce at tikei.de Tue Apr 29 21:21:25 2008 From: tino.keitel+xfce at tikei.de (Tino Keitel) Date: Tue, 29 Apr 2008 21:21:25 +0200 Subject: [Thunar-dev] eject usb-harddrive In-Reply-To: <20080429202218.637f3ceb@eleggua> References: <20080429153311.34e6d05e@eleggua> <20080429135832.GB4597@dose.home.local> <20080429163010.66ebf696@eleggua> <20080429150021.GA13916@dose.home.local> <20080429170951.5a0d4b0e@eleggua> <4817643B.10601@cornell.edu> <20080429202218.637f3ceb@eleggua> Message-ID: <20080429192125.GA20985@dose.home.local> On Tue, Apr 29, 2008 at 20:22:18 +0200, Simon Steinbei? wrote: [...] > Tried "sudo eject -v /dev/wdpassport" with the output that the eject succeeded. (see the > full output here: http://pastebin.org/32834) > Anyhow, when I unplugged the usb-cable (that is also powering the hdd) it made this awful > sound described in the bugreport mentioned earlier. > So it seems "eject" simply doesn't spin down the harddrive. Should it? >From theory, if you use eject -s, eject sends a START STOP UNIT command, which should spin it down. I'll try to check it myself tomorrow. Btw., I attached an example fdi file for my card reader, to add the requires_eject property. Maybe HAL does the right thing if you adopt it to your hard disk and copy it to /etc/hal/fdi/policy (check with lshal if it is really set) and then use exo-eject. Regards, Tino From simon.steinbeiss at elfenbeinturm.at Tue Apr 29 22:28:49 2008 From: simon.steinbeiss at elfenbeinturm.at (Simon =?UTF-8?B?U3RlaW5iZWnDnw==?=) Date: Tue, 29 Apr 2008 22:28:49 +0200 Subject: [Thunar-dev] eject usb-harddrive In-Reply-To: <20080429192125.GA20985@dose.home.local> References: <20080429153311.34e6d05e@eleggua> <20080429135832.GB4597@dose.home.local> <20080429163010.66ebf696@eleggua> <20080429150021.GA13916@dose.home.local> <20080429170951.5a0d4b0e@eleggua> <4817643B.10601@cornell.edu> <20080429202218.637f3ceb@eleggua> <20080429192125.GA20985@dose.home.local> Message-ID: <20080429222849.5ed6fb96@eleggua> On Tue, 29 Apr 2008 21:21:25 +0200 Tino Keitel wrote: > Btw., I attached an example fdi file for my card reader, to add the > requires_eject property. Maybe HAL does the right thing if you adopt it > to your hard disk and copy it to /etc/hal/fdi/policy (check with lshal > if it is really set) and then use exo-eject. Quite a pity. I modified your fdi-file and now the hdd shows up as requires_eject = true, but when I try to use exo-eject on it, it still gives me the error. I still attached it, just in case. Actually this time I could see a notification (of notify-send obviously) popping up for a split-second saying that there is data that has to be written on the device... (whatever that means in this context) In the end there was the generic error message again. greetings, simon -------------- next part -------------- A non-text attachment was scrubbed... Name: wdpassport.fdi Type: application/octet-stream Size: 355 bytes Desc: not available Url : http://foo-projects.org/pipermail/thunar-dev/attachments/20080429/6b15e509/wdpassport.obj From bjt23 at cornell.edu Tue Apr 29 23:12:34 2008 From: bjt23 at cornell.edu (Brian J. Tarricone) Date: Tue, 29 Apr 2008 14:12:34 -0700 Subject: [Thunar-dev] eject usb-harddrive In-Reply-To: <20080429222849.5ed6fb96@eleggua> References: <20080429153311.34e6d05e@eleggua> <20080429135832.GB4597@dose.home.local> <20080429163010.66ebf696@eleggua> <20080429150021.GA13916@dose.home.local> <20080429170951.5a0d4b0e@eleggua> <4817643B.10601@cornell.edu> <20080429202218.637f3ceb@eleggua> <20080429192125.GA20985@dose.home.local> <20080429222849.5ed6fb96@eleggua> Message-ID: <48178F42.9050503@cornell.edu> Simon Steinbei? wrote: > On Tue, 29 Apr 2008 21:21:25 +0200 > Tino Keitel wrote: > >> Btw., I attached an example fdi file for my card reader, to add the >> requires_eject property. Maybe HAL does the right thing if you adopt it >> to your hard disk and copy it to /etc/hal/fdi/policy (check with lshal >> if it is really set) and then use exo-eject. > > Quite a pity. I modified your fdi-file and now the hdd shows up as requires_eject = true, > but when I try to use exo-eject on it, it still gives me the error. I still attached it, > just in case. Yeah, I'm not surprised -- it appears that eject just doesn't cause the drive to spin down. Not sure if this is a problem with the drive, with the kernel USB driver, or just a general deficiency that you'll unfortunately have to deal with out-of-band. -brian